Commit graph

337 commits

Author SHA1 Message Date
Doug Torrance 7132ad5e81 wmcdplay: Add parentheses in cdctl.h.
This avoids the following warning during build: "warning: suggest parentheses
around assignment used as truth value [-Wparentheses]" .

Patch from Debian [1].

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/add_parentheses.patch/
2014-12-18 18:43:09 +00:00
Doug Torrance 60cb7c34e9 wmcdplay: Remove extra argument to format in fprintf.
This avoids the following warning during build: "warning: too many arguments
for format [-Wformat-extra-args]" .

Patch from Debian [1].

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/remove_extra_arg.patch/
2014-12-18 18:43:09 +00:00
Doug Torrance 149419b277 wmcdplay: Set remain variable to zero.
This avoids an possible undeclared variable error five lines later if remain is
never set: "if(remain<2250)".

Patch from Debian [1].

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/set_remain_to_zero.patch/
2014-12-18 18:43:09 +00:00
Doug Torrance ca89668d4e wmcdplay: Add -i option so users can specify cd polling interval.
Based on the patch from Debian by Marcelo E. Magallon <mmagallo@debian.org> [1],
which fixed Debian bug #25121.

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/add_interval_option.patch/
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=25121
2014-12-18 18:43:09 +00:00
Doug Torrance 34e3275338 wmcdplay: Add version 1.0beta1 to repository.
Obtained from
http://sourceforge.net/projects/wmcdplay/files/wmcdplay-1.0-beta1.tgz/download
2014-12-18 18:42:20 +00:00
Doug Torrance 87fdc14993 Add wmclock information for dockapps webpage. 2014-12-12 16:47:03 +00:00
Doug Torrance 8a1623ba05 wmclock: Bump to version 1.0.15. 2014-12-11 15:40:21 +00:00
Doug Torrance 16de20111c wmclock: Update documentation.
In particular, document installation changes after switch to autotools and
change maintainer to Window Maker Developers.
2014-12-11 15:40:21 +00:00
Doug Torrance 43310c6524 wmclock: Update manpage.
Changes include:
- Rename to wmclock.1.
- Use @prefix@ instead of /usr for the location of the language xpm files.
- Hardcode date instead of picking it up from a variable in the Makefile.
2014-12-11 15:40:21 +00:00
Doug Torrance 2e3c8ec5a1 wmclock: Choose language with ./configure.
This is a feature that was present in the pre-autotools configure script.

Note a syntax change:
./configure --lang foo
is now
./configure --with-lang=foo

Also remove the .xpm files in the root directory, as they are created during
configuration.
2014-12-11 15:40:21 +00:00
Doug Torrance 85720f0d1a wmclock: Switch build system from deprecated imake to autotools. 2014-12-11 15:40:21 +00:00
Doug Torrance f6dbc7ead1 wmclock: Remove trailing whitespace. 2014-12-11 15:40:21 +00:00
Doug Torrance b5fff28b2f wmclock: Remove wmclock.spec.in; not needed upstream. 2014-12-11 15:40:21 +00:00
Doug Torrance 0a2ff070a5 wmclock: Remove generated file wmclock.man. 2014-12-11 15:40:21 +00:00
Doug Torrance 2d571d6d07 wmclock: Add -interval option.
From the Debian patch:
http://sources.debian.net/src/wmclock/1.0.14-6/debian/patches/add_interval_option.patch/

For more information, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228986
2014-12-11 15:40:21 +00:00
Doug Torrance 84409015be wmclock: Show correct year when -year is given.
From the Debian patch:
http://sources.debian.net/src/wmclock/1.0.14-6/debian/patches/correct_year.patch/

For more information, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=723887
2014-12-11 15:40:21 +00:00
Doug Torrance db7fcf291b wmclock: Fix display when both -12 and -year are given.
Patch by Vino Fernando Crescini <jcrescin@cit.uws.edu.au>:
http://sources.debian.net/src/wmclock/1.0.14-6/debian/patches/fix_12_year_display.patch/

For more information, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=228985
2014-12-11 15:40:21 +00:00
Doug Torrance 706fa6cb9f wmclock: Add section to manpage about usage of translated XPM files.
Adapted from the Debian patch by Sandro Tosi <matrixhasu@gmail.com>:
http://sources.debian.net/src/wmclock/1.0.14-6/debian/patches/manpage_xpm_notes.patch/
2014-12-11 15:40:20 +00:00
Doug Torrance 0dffaa41cd wmclock: Fix first line of manpage.
Patch by Sandro Tosi <matrixhasu@gmail.com> from Debian package:
http://sources.debian.net/src/wmclock/1.0.14-6/debian/patches/manpage_fixes.patch/
2014-12-11 15:40:20 +00:00
Doug Torrance f95b6655d1 wmclock: Add version 1.0.14 to repository.
Obtained from:
http://www.bluestop.org/wmclock/wmclock-1.0.14.tar.gz
2014-12-11 15:40:20 +00:00
Doug Torrance fc4f7f845c wmifinfo: Bump to version 0.10. 2014-12-09 11:17:56 +00:00
Doug Torrance fedf1586c2 wmifinfo: Add valid timeval.
Patch by Julien BLACHE from Debian:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/patches/wmifinfo-timeval_fix.patch/

For more information, see:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=503416
2014-12-09 11:17:56 +00:00
Doug Torrance e34aacbd37 wmifinfo: Fix -Wformat compiler warnings. 2014-12-09 11:17:56 +00:00
Doug Torrance e6cd763cba wmifinfo: Fix -Wpedantic compiler warning. 2014-12-09 11:17:56 +00:00
Doug Torrance 2c511c999b wmifinfo: Remove C++ style comments. 2014-12-09 11:17:56 +00:00
Doug Torrance 83981ad8a3 wmifinfo: Fix -Wunused-result compiler warnings. 2014-12-09 11:17:56 +00:00
Doug Torrance 2521cf102f wmifinfo: Fix -Wunused-but-set-variable compiler warning. 2014-12-09 11:17:56 +00:00
Doug Torrance 592cd44621 wmifinfo: Fix -Wpointer-sign compiler warnings. 2014-12-09 11:17:56 +00:00
Doug Torrance 0e62034030 wmifinfo: Add manpage.
Adapted from Debian manpage:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/wmifinfo.1/
2014-12-09 11:17:56 +00:00
Doug Torrance 6905ad773e wmifinfo: Update Makefile.
In particular, add support for common user-defined variables CFLAGS,
CPPFLAGS, LDFLAGS, DESTDIR, and PREFIX.  Also remove reference to
deprecated X11R6 directory and use install instead of cp for install
target.

Inspired by the Debian patches:
http://sources.debian.net/src/wmifinfo/0.09-7/debian/patches/makefile_add_ldflags.patch/
http://sources.debian.net/src/wmifinfo/0.09-7/debian/patches/makefile_patch.patch/
2014-12-09 11:17:56 +00:00
Robert Jacobs ad6d781c1a Keep mute state from getting out of sync with reality 2014-12-04 10:18:32 +00:00
Doug Torrance 20cb8b1e0f Add libdockapp information for dockapps webpage. 2014-11-28 18:08:48 +00:00
Doug Torrance 45e0863ded libdockapp: Release version 0.6.4. 2014-11-28 16:39:20 +00:00
Doug Torrance 7961c22e72 libdockapp: Update contact information. 2014-11-28 16:39:20 +00:00
Doug Torrance 536b9b677a libdockapp: Add update-changelog target to Makefile to update ChangeLog. 2014-11-28 16:39:20 +00:00
Doug Torrance 69a7c6f39b libdockapp: Add new ChangeLog, created by git2cl. 2014-11-28 16:39:20 +00:00
Doug Torrance 423d103fb3 libdockapp: Merge ChangeLog into NEWS (they were largely the same). 2014-11-28 16:39:20 +00:00
Doug Torrance 16088c0c34 libdockapp: Add #include <time.h> to basic example.
Otherwise, we get the following compiler warning:
basic.c: In function ‘main’:
basic.c:111:2: warning: implicit declaration of function ‘time’ [-Wimplicit-function-declaration]
  srandom(time(NULL));
  ^
2014-11-28 16:39:20 +00:00
Doug Torrance b22f634ce2 libdockapp: Replace example Imakefiles with Makefiles.
imake is deprecated.
2014-11-28 16:39:20 +00:00
Doug Torrance 19bf1f277f libdockapp: Use consistent code formatting.
Used uncrustify to minimize warnings and errors from checkpatch.pl in the
Window Maker source tree.
2014-11-28 16:39:20 +00:00
Doug Torrance b002ed2e01 libdockapp: Remove CVS cruft. 2014-11-28 16:39:20 +00:00
Doug Torrance d02f58d26d libdockapp: Remove trailing whitespace. 2014-11-28 16:30:06 +00:00
Doug Torrance 3c0684b235 libdockapp: Remove autotools-generated files. 2014-11-28 16:30:06 +00:00
Doug Torrance 2dd42394ac libdockapp: Add version 0.6.3 to repository.
Obtained from:
http://sourceforge.net/projects/libdockapp/files/libdockapp-0.6.3.tar.gz/download
2014-11-28 16:30:06 +00:00
Doug Torrance c34aababd9 wmacpi: Bump to version 2.3. 2014-11-24 09:35:58 +00:00
Doug Torrance 8530ba751d wmacpi: Fix -Wunused-result compiler warnings.
In particular,
libacpi.c: In function ‘power_init’:
libacpi.c:339:5: warning: ignoring return value of ‘fread’, declared with attribute warn_unused_result [-Wunused-result]
     fread(buf, 4096, 1, acpi);
     ^
libacpi.c: In function ‘procfs_get_power_status’:
libacpi.c:434:5: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result]
     fgets(buf, 1024, file);
     ^
2014-11-24 09:35:58 +00:00
Doug Torrance dde6a84b93 wmacpi: Fix -Wunused-but-set-variable compiler warning.
In particular,
libacpi.c: In function ‘procfs_get_battery_info’:
libacpi.c:582:9: warning: variable ‘buflen’ set but not used [-Wunused-but-set-variable]
     int buflen;
         ^
2014-11-24 09:35:58 +00:00
Doug Torrance 3b0dceb28e wmacpi: Respect DESTDIR variable in Makefile, e.g., for package creation. 2014-11-24 09:35:58 +00:00
Doug Torrance 7232482853 wmacpi: Merge clean and clean-all targets in Makefile.
"make clean" should do the expected thing.
2014-11-24 09:35:58 +00:00
Doug Torrance d2808842d3 wmacpi: Remove deprecated /usr/X11R6/include directory from CFLAGS. 2014-11-24 09:35:58 +00:00