Doug Torrance
e1e6fef2c9
wmsun: Escape hyphens in manpage.
...
Based on the patch for Debian by Denis Briand <denis@narcan.fr> [1].
[1] http://sources.debian.net/src/wmsun/1.03%2B1-2/debian/patches/02_fix_hyphen-used-as-minus-sign.diff/
2015-06-14 23:23:24 +01:00
Doug Torrance
a835dae3aa
wmsun: Fix need to restart for Daylight Savings change.
...
Based on patch by Martin Stigge <martin@stigge.org> to fix Debian
bug #414489 [1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414489
2015-06-14 23:23:24 +01:00
Doug Torrance
debdd1b74e
wmsun: Smart display refresh for fewer wake-ups and better responsiveness.
...
Patch by Peter Colberg <peterc@gmx.net> for Debian bug #446681 [1].
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446681
2015-06-14 23:23:24 +01:00
Doug Torrance
c968d3f755
wmsun: Update contact information.
2015-06-14 23:23:24 +01:00
Doug Torrance
770d8b3754
wmsun: Add ChangeLog; changes split from wmsun.c.
2015-06-14 23:23:24 +01:00
Doug Torrance
0db93a85e0
wmsun: Rename executable from wmSun to wmsun.
2015-06-14 23:23:24 +01:00
Doug Torrance
e46ebfcb20
wmgeneral, wmsun: Use threadsafe functions.
2015-06-14 23:23:24 +01:00
Doug Torrance
d8688d16d9
wmsun: Add -12 command line option to use 12-hour clock.
2015-06-14 23:23:24 +01:00
Doug Torrance
2fe82fe86e
wmsun: Reduce scope of variables.
2015-06-14 23:23:24 +01:00
Doug Torrance
35350143fa
wmsun: Remove unused UTTohhmm function.
2015-06-14 23:23:24 +01:00
Doug Torrance
c135b3a247
wmsun: Add support for wmgeneral -geometry command line option.
...
Also take the opportunity to fit -td option's help text on one line.
2015-06-14 23:23:24 +01:00
Doug Torrance
f886377b0f
wmsun: Remove trailing whitespace.
2015-06-14 23:23:24 +01:00
Doug Torrance
b919e2ddad
wmsun: Fix "overflow in implicit constant conversion" compiler warning.
2015-06-14 23:23:24 +01:00
Doug Torrance
11e5cd86da
wmsun: Fix "unused parameter" compiler warnings.
2015-06-14 23:23:24 +01:00
Doug Torrance
4d5bfe0d0a
wmsun: Add return types to functions.
2015-06-14 23:23:24 +01:00
Doug Torrance
02cb7fea1e
wmsun: Remove unused variables.
2015-06-14 23:23:23 +01:00
Doug Torrance
608ca0f523
wmsun: Fix implicit definition warnings.
...
Add declaration for SunRise() in wmSun.c and move Interp() earlier in
SunRise.c.
2015-06-14 23:23:23 +01:00
Doug Torrance
b5f8a9a4d5
wmsun: Update Makefile.
...
In particular,
- Remove INCDIR, DESTDIR, and LIBDIR definitions.
- Add PREFIX, BINDIR, MANDIR, and INSTALL definitions.
- Add -lm to LIBS.
- Drop COPTS, uname, and INCDIR and add CPPFLAGS and CFLAGS when compiling.
- Drop COPTS, SYSTEM, INCDIR, and LIBDIR and add LDFLAGS when linking.
- Use INSTALL when installing, create installation directories, use new
BINDIR and MANDIR directories.
2015-06-14 23:23:23 +01:00
Doug Torrance
a3f809008c
wmsun: Move source files to top directory.
2015-06-14 23:23:23 +01:00
Doug Torrance
414b635dbd
wmsun: Update to latest version of wmgeneral library.
2015-06-14 23:23:23 +01:00
Doug Torrance
22558c813b
wmsun: Add version 1.03 to repository.
...
Obtained from [1].
[1] http://snapshot.debian.org/archive/debian/20091106T012259Z/pool/main/w/wmsun/wmsun_1.03%2B1.orig.tar.gz
2015-06-14 23:22:04 +01:00