Commit graph

6 commits

Author SHA1 Message Date
Rodolfo García Peñas (kix) 91fc6b9f12 wmitime uses libdockapp
wmitime uses now the new library libdockapp that includes the old
wmgeneral library.

Signed-off-by: Rodolfo García Peñas (kix) <kix@kix.es>
2015-08-16 09:41:07 +01:00
Doug Torrance b310c99a4d wmitime: Do not include or compile unused wmgeneral files. 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 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