Commit graph

932 commits

Author SHA1 Message Date
Barry Kelly e2363d30fc wmmon I/O monitor bug fixes:
wmmon/CHANGES:
  Updated for 1.2b1.

wmmon/Makefile:
  Added debug build with -g3; default build with -O3. Note:
  This makefile isn't perfect. You must "make clean" when switching
  between "make" and "make debug" otherwise objects won't compile.
  I'm sure it's a simple dependency issue, but I am not an expert with
  Makefiles. I intend to fix this, but it's a low priority.

wmmon/wmmon/wmmon.c:
  Updated changelog. Added #define HISTORY_ENTRIES to replace hardcoded
  values.

  DrawStats_io():
    Removed static variable global_io_scale. Replaced with a local
    variable.  This should improve graphing - scale was growing, but
    never shrinking, meaning as time passed, graphed values were
    downscaled and not displayed.

    Fixed rounding errors caused by use of integer types which were
    causing very small values not to appear on graph. Added code to
    round very low values up, so they will appear on meter and graph.
    We are making a reasonable compromise between readability and
    accuracy. Side effect is that small peaks (greater than 0 but less
    than our rounded-up tiny values) will actually appear as dips
    instead of peaks. I feel this is acceptable, since it still conveys
    an impression of "jitter" to the user. Fixing this would have
    involved further modifying the data before we graph it, which would
    defeat the purpose of improving accuracy.

    Tweaked load bar scaling algorithm for reabality and sensitivity.

  update_stat_io():
    Added a "stale" timeout for static long maxdiskio (determines
    scaling of load bar). New behaviour is that every couple of minutes
    we discard our saved peak value and resample. This prevents an
    anomalously huge I/O spike from making more typical values fail to
    trigger the load bar for the rest of the app's lifetime. Side
    effect will be that every couple of minutes, we will get an
    anomalous spike in the load bar as it recalibrates. This anomaly
    only affects the bar, not the graph.

  getWidth():
    Fixed integer rounding issue similar to that in DrawStats_io().
    Added similar rounding code to round up very small values so we
    don't have the illusion of an idle system following a huge spike.
2012-03-26 08:48:39 +01:00
Rodolfo García Peñas (kix) eff65410df wmauda: Pixmap folder set as argument
The PIXMAP_DIR is set in the Makefile folder, using the prefix argument.
2012-03-25 10:55:00 +01:00
Carlos R. Mafra eea379d833 Strip off version numbers from dir name 2012-02-12 22:50:31 +00:00
Carlos R. Mafra 4a0855f460 wmauda: Fix installation dir
I'd get this:

Pilar:/home/mafra/git-repos/dockapps/wmauda-0.8 # make install
install -d /usr/local/bin
install -d /usr/local/share/pixmaps
install -d /usr/local/share/man/man1
install -m 0755 wmauda /usr/local/bin
install -m 0644 wmauda.xpm /usr/local/share/pixmaps
install -m 0644 wmauda.1 /usr/local/share/man/man1

[mafra@Pilar:wmauda-0.8]$ wmauda
ERROR: Couldn't find /usr/share/pixmaps/wmauda.xpm

So change the hardcoded installation prefix to be just /usr
instead of /usr/local
2012-02-12 18:14:28 +00:00
Carlos R. Mafra 053c6eda24 wmauda: Fix compilation error
On my openSUSE 12.1 I get this:

/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: wmauda.o: undefined reference to symbol 'XSetWMHints'
/usr/lib64/gcc/x86_64-suse-linux/4.6/../../../../x86_64-suse-linux/bin/ld: note: 'XSetWMHints' is defined in DSO /usr/lib64/libX11.so.6 so try adding it to the linker command line
/usr/lib64/libX11.so.6: could not read symbols: Invalid operation
collect2: ld returned 1 exit status

Fix it by adding -lX11 in LIBS.
2012-02-12 18:09:44 +00:00
Carlos R. Mafra cdd7c69452 Add wmauda-0.8 2012-02-12 17:52:17 +00:00
Carlos R. Mafra 21dafb3f09 Remove wmauda-0.3 2012-02-12 17:51:42 +00:00
Rodolfo García Peñas (kix) 0740b8c902 wmmon: wmmon manpage 2011-12-18 20:37:44 +00:00
Rodolfo García Peñas (kix) 996f7c41ad wmmon: remove wmgeneral.c typecasting warning
wmmon: Added -f to rm

The -f argument don't stop the make process if the file don't
exists.
2011-12-18 14:31:52 +00:00
Rodolfo García Peñas (kix) 7e6c32e926 wmmon: debian patches applied to upstream 2011-12-18 14:30:31 +00:00
Rodolfo García Peñas (kix) b603570f4a wmmon: Official release of wmmon 1.0b2 2011-12-18 14:30:15 +00:00
Michael Bienia fb7b05ed1e wmMoonClock: fix build with ld --as-needed
I'm forwarding a patch from Michael Bienia <geser@ubuntu.com> that
has been applied to the wmmoonclock package in Ubuntu.

It fixes a build issue that is caused by specifiying libraries before the object
files in the linker command line.
This causes a build failure as Ubuntu's ld defaults to --as-needed, see:
http://wiki.debian.org/ToolChain/DSOLinking#Only_link_with_needed_libraries

[Patch sent by: Felix Geyer <debfx@ubuntu.com>]
2011-11-08 17:29:52 +00:00
Rodolfo Garcia 38d60e97a1 Version 1.28 Debian patches in upstream 2011-09-21 12:30:46 +02:00
Rodolfo Garcia e3ceda0456 Fix FTBFS with ld --as-needed Patch sent by Angel Abad <angelabad@ubuntu.com> 2011-09-21 12:27:47 +02:00
Rodolfo García Peñas (kix) 894136e29d wmmixer: Problems with UTF-8 characters 2011-08-11 14:21:01 +02:00
Rodolfo kix Garcia 03491b39f1 wmmixer: Remove hidden .xvpics folder 2011-08-10 16:36:13 +02:00
Rodolfo García Peñas (kix) 8b8feebc1b wmmixer: Warnings about g++ const removed 2011-08-10 16:29:50 +02:00
Rodolfo kix Garcia a3bf2a318c wmmixer: Debian copyright and patches in format DEP-3 and DEP-5 2011-08-10 11:27:50 +02:00
Carlos R. Mafra c3ca024d89 wmmoonclock: Add wmmoonclock v1.27 from tarball 2011-07-27 14:06:34 +02:00
Carlos R. Mafra 474afcfe9e wmbiff: Change default colors
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:21:29 +02:00
Carlos R. Mafra 4bcb5314a5 wmbiff: Remove trailing colon from mailbox label
So now we have one extra char for the label name.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:17:59 +02:00
Carlos R. Mafra 623336526b wmbiff: Remove Licq, gnomeicu and finger support
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:17:52 +02:00
Carlos R. Mafra a0e1495bd6 wmbiff: Raise sleep interval to 20 secs
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:15:33 +02:00
Carlos R. Mafra 6f93d12d09 wmbiff: Trivial code cleanups
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:15:27 +02:00
Carlos R. Mafra d76ad29da2 wmbiff: Fix global notification
Global notification would only work if all 'notify' commands for all
mailboxes were unset (=='\0').

Fix that.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:15:23 +02:00
Carlos R. Mafra 66f11e0597 wmbiff: Remove autofetch on new email arrival
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:15:16 +02:00
Carlos R. Mafra b4d739d5a5 wmbiff: Remove 'beep' option for notification
Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:15:11 +02:00
Carlos R. Mafra 2773b5a718 wmbiff: Display "0" when there are no new emails
...instead of displaying the total number of emails in the mailbox.

On my gmail account with +16k emails, there was not enough space
to display the account label. Besides, the total number of emails
is useless information anyway.

Signed-off-by: Carlos R. Mafra <crmafra@gmail.com>
2011-07-18 15:14:50 +02:00
Carlos R. Mafra 52e69bfa0f wmmixer: Add 'debian' folder
From here

http://ftp.de.debian.org/debian/pool/main/w/wmmixer/wmmixer_1.6-1.debian.tar.gz

as requested by Rodolfo Garcia.
2011-07-15 20:33:10 +02:00
Rodolfo kix Garcia 02b63cb41c wmmixer patches 2011-07-13 11:38:14 +02:00
Carlos R. Mafra 17283d07a2 Rename wmmixer folder 2011-07-13 11:33:50 +02:00
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00