Commit graph

17 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 6815d16aa3 wmitime: Bump to version 0.4. 2014-12-20 09:55:06 +00:00
Doug Torrance b310c99a4d wmitime: Do not include or compile unused wmgeneral files. 2014-12-20 09:55:06 +00:00
Doug Torrance 65ecf5568e wmitime: Remove wmitime-master-led.xpm; unused duplicate file. 2014-12-20 09:55:06 +00:00
Doug Torrance c4592ca321 wmitime: Add desktop file.
Adapted from Debian [1].

[1] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/wmitime.desktop/
2014-12-20 09:55:06 +00:00
Doug Torrance 2d363c7607 wmitime: Add manpage.
Adapted from Debian [1].

[1] http://sources.debian.net/src/wmitime/0.3%2B20120605-1/debian/wmitime.1/
2014-12-20 09:55:06 +00:00
Doug Torrance 5cbe821b8c wmitime: Update contact information. 2014-12-20 09:55:06 +00:00
Doug Torrance d5bf493727 wmitime: Remove references to config file in source; nonexistent feature. 2014-12-20 09:55:06 +00:00
Doug Torrance fe61e81905 wmitime: Remove C++ style comments. 2014-12-20 09:55:06 +00:00
Doug Torrance cc801880a5 wmitime: Improve locale support.
Previously, wmitime only had support for English, French, and (in Debian
only) Hungarian.  In addition, the choice was made at compile time.

This patch adds run-time support for any language using the Latin alphabet.
The locale is determined by the user's environment or may be specified on
the command line with the "-l" option.  Note that users whose environment
specifies a non-Latin locale may wish to use, e.g., "-l C", as otherwise
no date will appear.

Note that, for simplicity, the month and day are now displayed as "01 JAN"
as opposed to "JAN 01".  (Previously, the former format was used for English
and the latter for French.)
2014-12-20 09:55:06 +00:00
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 612921ae43 Remove trailing whitespace. 2014-10-05 19:18:49 +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 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
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00