Commit graph

65 commits

Author SHA1 Message Date
Alexey I. Froloff 2f27664839 wmpager: fix memory leaks pointed out by valgrind 2012-08-22 18:04:01 +01:00
Alexey I. Froloff aca75d2e2d wmpager: EWMH support 2012-08-22 18:04:01 +01:00
Alexey I. Froloff e707010e98 wmpager: drop tooltip suport 2012-08-22 18:04:01 +01:00
Rodolfo García Peñas (kix) 6f2ffca0e2 wmbutton: New version 0.7.0
This patch changes the wmbutton version to 0.7.0
2012-08-21 20:52:30 +01:00
Rodolfo García Peñas (kix) 501be68377 wmbutton: initTooltip has no argument
The function initTooltip don't have arguments, so their can be removed.
Now the function prototype has the void argument set.
2012-08-21 20:52:24 +01:00
Rodolfo García Peñas (kix) 1400c7f7a6 wmbutton: wmbutton.h and wmb_libs.c code clean
This patch is a code clean patch:

- Removes spaces and tabs at end of line.
- Remove curly brackets not needed.
- Change spaces by tabs.
- Add spaces after and before operators.
- Removes spaces not needed.
- Better code style.
- Added void as function argument.
2012-08-21 20:52:18 +01:00
Rodolfo García Peñas (kix) cc68392ccb wmbutton: Middle button enabled by default
The mouse middle button should be enabled by default (see the help
and the manpage). This patch solves this bug.

The MIDMOUSE definition is removed because the value of MIDMOUSE
changes the middle button behaviour. Now, the middle button always works,
except if the user uses the -m argument.

Now the manpage and the help show the same info.
2012-08-21 20:52:12 +01:00
Rodolfo García Peñas (kix) 991c54732d wmbutton: Added manpage
The manpage is added. This manpage was initially written for Debian,
but now is adapted to upstream (I removed a paragraph... nothing more).
2012-08-21 20:52:08 +01:00
Rodolfo García Peñas (kix) 77a89054f5 wmbutton: wmbutton.c code clean
This patch is a code clean patch:

- Removes spaces and tabs at end of line.
- Remove curly brackets not needed.
- Change spaces by tabs.
- Add spaces after and before operators.
- Removes spaces not needed.
- Better code style.
2012-08-21 20:52:03 +01:00
Rodolfo García Peñas (kix) e07b2facf2 wmbutton: Better Makefile
This patch is based in the code wrote by Christian Aichinger
for the Debian distribution.

Changes are:

- Removed the compilation of ctags by default
- Changed the include /usr/X11R6/include/X11 to /usr/include
- Created install option
2012-08-21 20:51:58 +01:00
Rodolfo García Peñas (kix) fbdcee1386 wmbutton: Version simplification
This patch is based in the code wrote by Christian Aichinger
for the Debian distribution.

The patch simplify the version number in the code.
2012-08-21 20:51:53 +01:00
Rodolfo García Peñas (kix) de5602b957 wmbutton: Support for global conf file
This patch is based in the code wrote by Christian Aichinger
for the Debian distribution.

The patch includes the /etc/wmbutton.conf as global configuration
file. This file is readed if $home/.wmbutton don't exists.
2012-08-21 20:51:48 +01:00
Rodolfo García Peñas (kix) 83e2e0f2f9 wmbutton: .wmbutton file renamed
The file .wmbutton is a hidden file, and is better to distribute
it as sample configuration file (sample.wmbutton).

Based on Christian Aichinger's patch.
2012-08-21 20:51:25 +01:00
Rodolfo García Peñas (kix) 2c6831ca68 wmbutton: Correct path for X11 libs
The X11 libraries are now in include/X11 folder, instead of include
folder. Now is possible to compile the application in new systems.

This patch changes the wmbutton version in the README file too.

Based on Christian Aichinger's patch.
2012-08-21 20:50:48 +01:00
Rodolfo García Peñas (kix) 6dcdbf0e6e wmbutton dockapp added
The original wmbutton 0.6.1 is added to the repository.

wmbutton is a dockapp with nine buttons (3x3), capable of launch 27
different applications using the left, middle and right buttons.
2012-08-21 20:40:59 +01:00
Alexey I. Froloff 8e7ead2816 wmMatrix: cleanup the Makefile
Set default location to /usr, remove /usr/X11R6 stuff.  Install manpage.
2012-08-14 15:21:17 +01:00
Alexey I. Froloff 4dba2e59f8 Import manpage from Debian 2012-08-14 15:21:17 +01:00
Alexey I. Froloff 324a28e4ba indent -linux -l144 -i4 -ts4 **/*.[ch] 2012-08-14 14:12:24 +01:00
Alexey I. Froloff cb310ed1a1 Removed dead code, eliminated empty cycles, reduced doubleclick timeout from 1.5sec to 0.5sec 2012-08-14 14:12:24 +01:00
Alexey I. Froloff 18524ce06f Better select(2) usage 2012-08-14 14:12:24 +01:00
Alexey I. Froloff 0c2fd260dd Applied wmMatrix-0.2-alt-right-doubleclick.patch 2012-08-14 14:12:24 +01:00
Alexey I. Froloff 75fced152e Applied wmMatrix-0.2-debian-fixes.patch 2012-08-14 14:12:24 +01:00
Alexey I. Froloff faedc9bd18 Cleanup licensing stuff 2012-08-14 14:12:24 +01:00
Alexey I. Froloff 902e9790e6 Imported wmMatrix-0.2.tar.gz 2012-08-14 14:12:24 +01:00
Rodolfo García Peñas (kix) 91a59cb9a4 wmmon: Code style clean.
This patch only includes code clean (curly brackets, tabs, ...).
2012-06-17 17:30:46 +01:00
Wade Berrier d93ab227a0 wmbiff: slight automake/autoconf refresh
AM_PATH_LIBGNUTLS seems to be obsolete.
Replace the check with pkg-config using PKG_CHECK_MODULES.

AM_CONFIG_HEADER also seems to be obsolete.
Replace with AC_CONFIG_HEADER.

Fix installing an extra script (security.debian.rb)

Signed-off-by: Wade Berrier <wberrier@gmail.com>
2012-06-14 20:55:17 +01:00
Alexey I. Froloff 792a5d290a Mass update FSF address
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
2012-06-05 20:50:13 +01:00
Alexey I. Froloff 579a119590 Make autoreconf happy
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
2012-06-05 20:50:13 +01:00
Alexey I. Froloff 6e6cb38e37 Removed all autogenerated autotools and imake stuff
There's no need to keep autogenerated files in
repository.  Those dockapps which use autotoold must be
autoreconf'ed prior to build, those which use imake must be
xmkmf'ed.  As of wmbiff, AC_PATH_XTRA_CORRECTED was a hack to
avoid bug in older autoconf version, which is no longer needed
(it's 2012 now already).

Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
2012-06-05 20:48:52 +01:00
Alexey I. Froloff 31c2845466 Mass update GPLv2 from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
2012-06-05 20:45:40 +01:00
B. Kelly (wbk) 53d8bad0f4 wmmon: Add -b flag, etc
Added -b flag to include buffers and cache in total memory usage.
Added global show_buffers, -b parsing code, associated logic in
update_stat_mem(), and usage information.

wmmon.1
  Added -b documentation.
2012-04-02 10:35:56 +01:00
B. Kelly (wbk) a5f88e5e59 wmmon: Merged patch suggested by Bernard Cafarelli at Gentoo to prevent clobbering environment.
TODO: Still need to fix dependencies.

wmmon.c:
  Updated version string to 1.2b2 (forgot this for 1.2b1).

  Fixed compiler warnings: added error checking for filesystem calls
  and commented out some preprocessor/C code that was apparently used
  to hardcode test cases.

  TODO: remove completely  soon if no ill effect.
2012-04-02 10:32:59 +01:00
B. Kelly (wbk) b2ce70a147 Makefile: changed erroneous -O3 flag to -O2. 2012-03-26 23:17:44 +01:00
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