Commit graph

1053 commits

Author SHA1 Message Date
Doug Torrance 0fbe3d839a wmitime: Update Makefile.
In particular,
- Remove reference to deprecated X11R6 directory.
- Replace FLAGS variable with CFLAGS, CPPFLAGS, and LDFLAGS.
- Honor CC, PREFIX, and DESTDIR variables.
- Use INSTALL instead of cp for installation.
- Remove redundant -lXext flag.
- Move contents of wmitime directory to top directory to ease the building
  process.

Inspired in part by the Debian patches [1,2].

[1] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/patches/20-makefile-CC.patch/
[2] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/patches/make-install.patch/
2014-12-20 09:55:06 +00:00
Doug Torrance 7bc4cffcc7 wmitime: Allow -display option with no argument
Previously, if a user ran wmitime with the -display option and no argument,
a segmentation fault would occur. Print a warning instead.

Patch from Debian [1] to fix bug #716466 [2].

[1] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/patches/allow_display_with_no_args.patch/
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=716466
2014-12-20 09:55:06 +00:00
Doug Torrance cd2840a93c Add wmcdplay information for dockapps webpage. 2014-12-18 19:57:34 +00:00
Doug Torrance 15ce9df18c wmcdplay: Bump to version 1.1. 2014-12-18 18:43:10 +00:00
Doug Torrance 8489a703fd wmcdplay: Create ChangeLog.
Previously, release history was kept in README.  This has been separated out
into a new file to avoid a "no-upstream-changelog" Lintian warning in the
Debian package.
2014-12-18 18:43:10 +00:00
Doug Torrance bcc28cb972 wmcdplay: Add manpage.
Obtained, with slight modification, from Debian [1].

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/wmcdplay.1x/
2014-12-18 18:43:10 +00:00
Doug Torrance 8ee63ea3db wmcdplay: Update installation documentation. 2014-12-18 18:43:10 +00:00
Doug Torrance 9e71c28003 wmcdplay: Centralize version number.
Previously, the wmcdplay version number was found in numerous places.  To ease
future releases, it now appears only in configure.ac.
2014-12-18 18:43:10 +00:00
Doug Torrance f59aef482d wmcdplay: Fix -Wsign-compare compiler warnings. 2014-12-18 18:43:10 +00:00
Doug Torrance 0716c46281 wmcdplay: Fix -Wunused-result compiler warnings.
In particular, fix warnings of the form "warning: ignoring return value of
‘char* fgets(char*, int, FILE*)’, declared with attribute warn_unused_result" by
checking return value of fgets.
2014-12-18 18:43:10 +00:00
Doug Torrance 7959aa4cda wmcdplay: Fix -Wwrite-string compiler warnings.
Previously, compiling wmcdplay caused a large number of warnings of the form
"deprecated conversion from string constant to ‘char*’".  This was fixed by
changing "char *" declarations to "const char *", especially in the .xpm files,
and using "const_cast" as needed when an external library expected a non-const.
2014-12-18 18:43:10 +00:00
Doug Torrance 1b1afe2d37 wmcdplay: Install art script.
Changes include:
- The artwork files XPM/*.art are now created during build time and
  therefore have been removed from the repository.
- The script which creates them is now installed alongside the art files in
  case users would like to design their own artwork.
- The "makeall" script, whose function has been replaced by the Makefile,
  has been removed.
- The default artwork can now be chosen at compile time by the --with-art
  option to ./configure.
- Changes have been documented in ARTWORK.

Inspired in part by the Debian patch [1].

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/install_art_scripts.patch/
2014-12-18 18:43:10 +00:00
Doug Torrance dbcf95f2a2 wmcdplay: Change artwork installation directory.
Switch from deprecated X11R6 directory to conform to Filesystem Hierarcy
Standards.

Adapted from the original Debian patch by Marcelo E. Magallon
<mmagallo@debian.org> [1] to take advantage of automake.

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/change_artwork_dir.patch/
2014-12-18 18:43:10 +00:00
Doug Torrance e3c1ce78d6 wmcdplay: Switch build system from deprecated imake to autotools. 2014-12-18 18:43:10 +00:00
Doug Torrance 4e9f4c66ab wmcdplay: Port to FreeBSD.
As is, wmcdplay does not build on FreeBSD systems. Although it has since been
deleted, a port of wmcdplay for FreeBSD was available. It consisted primarily
of a patch to cdctl.h [1].  Include this patch when building for FreeBSD.

Based on the Debian patch [2].

[1] https://svnweb.freebsd.org/ports/head/audio/wmcdplay/files/ patch-aa?revision=56594&view=co&pathrev=56594
[2] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/kfreebsd_port.patch/
2014-12-18 18:43:10 +00:00
Doug Torrance a16e508465 wmcdplay: Build on the Hurd.
Fails to build from source on GNU/Hurd due to inclusion of a linux-specific
header <linux/cdrom.h>. Instead include <sys/cdrom.h>.

Patch by Samuel Thibault <sthibault@debian.org> [1], which fixes Debian bug

[1] http://sources.debian.net/src/wmcdplay/1.0beta1-13/debian/patches/fix_hurd_ftbfs.patch/
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=647964
2014-12-18 18:43:10 +00:00
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