Commit graph

564 commits

Author SHA1 Message Date
Doug Torrance dae24a2f5d wmgeneral: Free pointer.
Fixes "(error) Memory leak: argv" found by cppcheck.
2015-05-20 10:44:40 +01:00
Doug Torrance 746c4b6b7c wmgeneral: Check if malloc fails.
Fixes "(error) Uninitialized variable: ret" found by cppcheck.
2015-05-20 10:44:40 +01:00
Doug Torrance fdb596cd42 wmweather+: Remove from repository.
This dockapp is still maintained by its original upstream author, Brad
Jorsch, and a newer version (2.15) is available at [1].  Therefore, it is
not appropriate for the Window Maker dockapps repository.

[1] https://sourceforge.net/projects/wmweatherplus/
2015-05-16 11:35:26 +01:00
Doug Torrance 89c9512c8d wmbattery: Bump to version 2.48. 2015-05-14 11:44:03 +01:00
Doug Torrance 0fa341ec37 wmbattery: Remove unnecessary brace.
Fixes "Invalid number of character ({) when these macros are defined"
errors given by cppcheck.
2015-05-14 11:44:03 +01:00
Doug Torrance 29e50127b6 wmbattery: Properly free malloced memory.
Fixes memory leak found by cppcheck.
2015-05-14 11:44:03 +01:00
Doug Torrance 7a04d6805b wmbattery: Fix typos.
Ran `codespell -w`.
2015-05-14 11:44:03 +01:00
Doug Torrance 81e95eabca wmbattery: Add -n option to disable dial graphic.
Thanks to Christoph Fritz for the feature request.
2015-05-14 11:44:03 +01:00
Doug Torrance 0b45f308ad wmbattery: Improve help text for -i option. 2015-05-14 11:44:03 +01:00
Doug Torrance 149ea78090 wmbattery: Expand -g option to allow positions relative to right or bottom.
Use '-' instead of '+', e.g., `wmbattery -g -0+0` will place wmbattery in
the upper right hand corner of the screen.

Thanks to Christoph Fritz for the feature request.
2015-05-14 11:44:03 +01:00
Christoph Fritz 9c6faa3682 wmbattery: upower - don't exit after suspend/hibernation wakup
Immediately after suspend/hibernation wakup cycle, up_client_get_devices()
can fail:

 libupower-glib-WARNING **: up_client_get_devices failed: Timeout was reached

Since we do not interpret the UPower signals, just don't exit wmbattery after
first up_client_get_devices() failure.
2015-05-14 11:44:03 +01:00
Christoph Fritz a8858dedde wmbattery: Makefile - use autoheader too
instead, configure complains about:
   config.status: error: cannot find input file: `config.h.in'
2015-05-14 11:44:03 +01:00
Doug Torrance 6615b04e77 wmbattery: Change manpage section from deprecated 1x to 1. 2015-05-14 11:44:02 +01:00
Doug Torrance f97c49286f wmbattery: Escape hyphen in manpage.
Fixes hyphen-used-as-minus-sign Lintian warning in the Debian package.  Patch
from [1].

[1] https://sources.debian.net/src/wmbattery/2.47-1/debian/patches/escape_manpage_hyphens.patch/
2015-05-14 11:44:02 +01:00
Doug Torrance 593a6266ea wmload: Bump to version 0.9.6. 2015-04-15 16:41:44 +01:00
Doug Torrance 7cc19cb1cc wmload: Clarify copyright information.
Add copyright header to wmload.c and COPYING file, obtained from
https://www.gnu.org/licenses/gpl-2.0.txt.
2015-04-15 16:41:44 +01:00
Doug Torrance 24463263ba Add wmload information for dockapps webpage. 2015-04-07 13:28:31 +01:00
Doug Torrance 39a4b7b58f wmload: Bump to version 0.9.5.
Skipping 0.9.3 and 0.9.4 since they've essentially already been released as
asload.
2015-04-07 09:01:41 +01:00
Doug Torrance 4f64133cbe wmload: Replace deprecated usleep with nanosleep. 2015-04-07 09:01:40 +01:00
Doug Torrance 8f06836b0f wmload: Cast data from client message event to Atom for comparison.
Fixes -Wsign-compare compiler warning.
2015-04-07 08:54:08 +01:00
Doug Torrance 04a36b3ae4 wmload: Check if Execute string is empty by testing first character.
Fixes "the address of ‘Execute’ will always evaluate as ‘true’ [-Waddress]"
warning.
2015-04-07 08:54:07 +01:00
Doug Torrance 615412876a wmload: Remove ">/dev/console" from default command to execute on click.
Otherwise, user may receive "permission denied" errors.
2015-04-07 08:54:07 +01:00
Doug Torrance 6ff9ad80f5 wmload: Include sys/wait.h.
Needed to fix "implicit declaration of function ‘waitpid’" warning
introduced after merging asload-0.9.4.
2015-04-07 08:54:07 +01:00
Doug Torrance 4aedbc5823 wmload: Remove trailing whitespace. 2015-04-07 08:54:07 +01:00
Doug Torrance d5e87688a3 wmload: Incorporate changes from asload-0.9.4.
Obtained from [1].

[1] http://tigr.net/afterstep/download/asload/asload-0.9.4.tar.gz
2015-04-07 08:54:07 +01:00
Doug Torrance eec170c034 wmload: Incorporate changes from asload-0.9.3.
Obtained from [1].

[1] http://tigr.net/afterstep/download/asload/asload-0.9.3.tar.gz
2015-04-07 08:54:07 +01:00
Doug Torrance 746c64c377 wmload: Split ChangeLog off from README.
Also remove redundant INSTALL section.
2015-04-07 08:54:07 +01:00
Doug Torrance 9f1c62ec91 wmload: Add manpage from Debian.
Slightly modified from [1].  Also modify Makefile to install manpage.

[1] http://manned.org/wmload/a214d0b5/src
2015-04-07 08:54:07 +01:00
Doug Torrance 920a4b8c3b wmload: Pass XCreateBitmapFromData a pointer to char as expected.
Previously, a pointer to an unsigned char was passed, causing a "pointer
targets differ in signedness [-Wpointer-sign]" warning.
2015-04-07 08:54:07 +01:00
Doug Torrance 6ee0dc71aa wmload: Add more missing headers.
Fixes -Wimplicit-function-declaration warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance 44bf7d58e4 wmload: Add missing format arguments to fprintf().
Fixes "format not a string literal and no format arguments
[-Wformat-security]" warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance b3196ffdb4 wmload: Add missing headers.
Fixes "incompatible implicit declaration of built-in function" warnings.
2015-04-07 08:54:07 +01:00
Doug Torrance b0b77c699d wmload: Replace deprecated Imakefile with Makefile.
Update INSTALL to reflect changes.
2015-04-07 08:54:07 +01:00
Doug Torrance 9694733979 wmload: Add version 0.9.2 to repository.
Obtained from [1].

[1] http://snapshot.debian.org/archive/debian-archive/20090802T004153Z/debian/pool/main/w/wmload/wmload_0.9.2.orig.tar.gz
2015-04-07 08:54:07 +01:00
Doug Torrance 4e7d572d13 wmmemload: Bump to version 0.1.8. 2015-04-07 08:52:22 +01:00
Doug Torrance f094d448e2 wmmemload: Use sysctl for swap usage information in FreeBSD.
Use sysctl instead of kvm_getswapinfo() to read the swap usage information
in FreeBSD.  This removes the need for a dependency on libkvm and for a
setgid binary.

Based on the Debian patch [1].

[1] https://sources.debian.net/src/wmmemload/0.1.7-2/debian/patches/sysctl_swap.patch/
2015-04-07 08:52:22 +01:00
Doug Torrance 38c74350b0 wmbattery: Bump to version 2.47. 2015-02-20 16:59:53 +00:00
Doug Torrance afdfdc07eb wmbattery: Avoid redefinition of apm_read/apm_exists in *BSD.
The two functions are defined if the BSD-specific apm headers are found and
if libapm is not found.  Both of these conditions will be true on BSD
systems, so we use #elif instead of the separate #if statements.
2015-02-20 16:59:53 +00:00
Doug Torrance 535b83d232 wmbattery: Use AC_CHECK_LIB instead of AC_CHECK_HEADERS to check for libapm.
If autoconf finds an apm.h other than the one belonging to libapm, we get
builds errors like the ones reported by Haroldo Gambini Santos in [1].

[1] http://lists.windowmaker.org/dev/msg07937.html
2015-02-20 16:59:53 +00:00
Doug Torrance 085f47b758 Add wmmenu information for dockapps webpage. 2015-01-24 23:39:21 +00:00
Doug Torrance 8eb16e1eb8 wmmenu: Bump to version 1.3. 2015-01-24 18:40:48 +00:00
Doug Torrance adcf7d75f2 wmmenu: Remove trailing whitespace. 2015-01-24 18:40:48 +00:00
Doug Torrance 0a64f9e23d wmmenu: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt. 2015-01-24 18:40:48 +00:00
Doug Torrance 2167b4c354 wmmenu: Fix -Wsign-compare compiler warning.
Use size_t instead of int since comparing with sizeof.
2015-01-24 18:40:48 +00:00
Doug Torrance 28ea752c44 wmmenu: Fix -Wunused-value compiler warnings. 2015-01-24 18:40:48 +00:00
Doug Torrance 93bb8f6267 wmmenu: Fix -Woverlength-strings compiler warning.
Instead of printing one giant string for the help text, we print each line
individually.
2015-01-24 18:40:48 +00:00
Doug Torrance 1bda233d76 wmmenu: Fix -Wdeprecated-declarations compiler warnings.
The function gdk_pixbuf_unref is deprecated.  We replace it with
g_object_unref.  This requires linking against gobject-2.0.
2015-01-24 18:40:48 +00:00
Doug Torrance aa1149d5f9 wmmenu: Fix -Wunused-result compiler warning.
Print a warning message if system() fails.
2015-01-24 18:40:48 +00:00
Doug Torrance a29eaa2fb2 wmmenu: Replace deprecated DAInitialize() from libdockapp.
Patch from Gentoo [1].

[1] http://mirrors.telepoint.bg/gentoo-portage/x11-plugins/wmmenu/files/wmmenu-1.2-support-libdockapp-0.5.0.patch
2015-01-24 18:40:48 +00:00
Doug Torrance 906ed7723c wmmenu: Update to compile with modern GDK-PixBuf.
In particular,
- We need to link against gdk_pixbuf-2.0 in addition to
  gdk_pixbuf_xlib-2.0.
- The header gdk-pixbuf-xlib.h has been moved to the gdk-pixbuf-xlib
  directory.
- The function gdk_pixbuf_new_from_file now requires two arguments.
- We need to define GdkColor ourselves since we don't include gdk.h.

Inspired by a patch by Nerijus Baliunas [1].

[1] http://lists.windowmaker.org/dev/msg07994.html
2015-01-24 18:40:48 +00:00