Commit graph

444 commits

Author SHA1 Message Date
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
Doug Torrance 3f77d709f9 wmmenu: Update Makefile.
In particular,
- Remove option to compile with deprecated GDK-PixBuf 1.0.
- Remove *ROOT variables; libdockapp should be in the default include search
  path and X11R6 directories are deprecated.
- Remove /opt/gtk2/bin from PIXBUF_CFG; pkg-config is likely elsewhere.
- Remove CPPFLAGS from CFLAGS and INCDIRS and DEFINES from CFLAGS; we  don't
  want these to disappear if user defines different flags.

Inspired in part by similar patches in Gentoo [1] and by Nerijus Baliunas [2].

[1] http://mirrors.telepoint.bg/gentoo-portage/x11-plugins/wmmenu/files/wmmenu-1.2-Makefile.patch
[2] http://lists.windowmaker.org/dev/msg07994.html
2015-01-24 18:40:48 +00:00
Doug Torrance ef546fc369 wmmenu: Add version 1.2 to repository.
Obtained from [1] at the request of Nerijus Baliunas [2].

[1] https://web.archive.org/web/20110720231607/http://www.fcoutant.freesurf.fr/download/wmmenu-1.2.tar.gz
[2] http://lists.windowmaker.org/dev/msg07991.html
2015-01-22 23:13:20 +00:00
Doug Torrance da9608cbd8 Add wmfsm information for dockapps webpage. 2015-01-22 16:21:12 +00:00
Doug Torrance c312b63d2d wmfsm: Bump to version 0.35. 2015-01-22 11:12:11 +00:00
Doug Torrance 7d029d2db1 wmfsm: Update README with new installation instructions. 2015-01-22 11:12:11 +00:00
Doug Torrance e8d40e3115 wmfsm: Combine ChangeLog and ChangeLog.old.
As ChangeLog is no longer automatically generated by arch, there is no need
to keep these files separate.
2015-01-22 11:12:10 +00:00
Doug Torrance b117ac7474 wmfsm: Impove version number handling.
In particular,
- Add new --version command line option.  (This was already documented in
  the manpage.)  Remove this information from the --help text.  Also took
  the opportunity to properly align the --fire line in the --help text.
- Remove WMFSM_VERSION macro in favor of PACKAGE_VERSION from autconf.
- Remove hard-coded version number at top of source file for
  maintainability.
2015-01-22 11:12:10 +00:00
Doug Torrance d379db1092 wmfsm: Update with new contact information. 2015-01-22 11:12:10 +00:00
Doug Torrance d9d5dd1343 wmfsm: Add -a command line option to select appearance at runtime.
Also update Makefile to install appearance XPMs during "make install".
2015-01-22 11:12:10 +00:00
Doug Torrance fa0bdfaeba wmfsm: Add --with-xpm option to configure to select appearance at compile time.
Note that wmfsm/wmfsm_master.xpm has been removed, as it is now created as a
symlink during configure.  It is also removed by "make clean".
2015-01-22 11:12:10 +00:00
Doug Torrance 9c22691eda wmfsm: Remove TODO; all the items have been done. 2015-01-22 11:12:10 +00:00
Doug Torrance 9b9ef2f6d2 wmfsm: Fix -Wunused-result compiler warnings.
In particular, if fscanf does not read the expected number of items from
/etc/mtab, print a warning message.
2015-01-22 11:12:10 +00:00
Doug Torrance 331af1daa2 wmfsm: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt. 2015-01-22 11:12:10 +00:00
Doug Torrance 18898f871f wmfsm: Update Free Software Foundation address in copyright header. 2015-01-22 11:12:10 +00:00
Doug Torrance 70c80a41a5 wmfsm: Remove trailing whitespace. 2015-01-22 11:12:10 +00:00
Doug Torrance bec2a56a92 wmfsm: Update sample configuration file.
Patch by Arthur Korn <arthur@korn.ch> to fix Debian bug #226298 [1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=226298
2015-01-22 11:12:10 +00:00
Doug Torrance 2401e76fa4 wmfsm: Improve manpage.
In particular,
- Apply, with some modification, a patch by Jari Aalto
  <jari.aalto@poboxes.com> to clarify the format of the configuration file.
  See [1].
- Escape minus signs to avoid hyphen-used-as-minus-sign Lintian warning in
  the Debian package.
- Remove docbook-to-man comments to avoid manpage-has-errors-from-man
  Lintian warning in the Debian package.
- Add commas between short and long options for readability.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=226274
2015-01-22 11:12:10 +00:00
Doug Torrance aef6c49d83 wmfsm: Apply further Debian patches.
The individual patches no longer seem to exist, so I submit them together.
According to debian/changelog entries by Arthur Korn <arthur@debian.org>,
these patches include:
* fixed memleak introduced in 0.34-2 with the patch by Timo Benk.
  global char *mp[] was assigned the result of stdup() repeatedly
  without free. My ugly fix is to free it all up at the beginning of
  readFileSystems(). Now I'm a proud Perl coder ... closes: #196057
* memleak news: avoid it if there are more than 9 filesystems too.
* Fixed filesystem name corruption, thanks to Ralf Horstmann and Cristian
  Ionescu-Idbohrn for the patch.
2015-01-22 11:12:10 +00:00
Doug Torrance 3eb9307a7b wmfsm: Read newly mounted filesystems.
Patch by Timo Benk <t_benk@web.de> to fix Debian bug #186826 [1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=186826
2015-01-22 11:12:10 +00:00
Doug Torrance b143ff46a6 wmfsm: Hide "system" file systems.
Patch [1] by roma1390 and Michele Noberasco to fix Gentoo bug #50148 [2].

[1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch
[2] https://bugs.gentoo.org/show_bug.cgi?id=50148
2015-01-22 11:12:10 +00:00