wmsun: Bump to version 1.04.

This commit is contained in:
Doug Torrance 2015-06-14 17:04:56 -05:00 committed by Carlos R. Mafra
parent 238c627724
commit d0c4bbca70
2 changed files with 43 additions and 2 deletions

View file

@ -1,3 +1,44 @@
Version 1.04 - released June 14, 2015
Update to latest version of wmgeneral library.
Move source files to top directory.
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.
Fix implicit definition warnings. Add declaration for SunRise() in
wmSun.c and move Interp() earlier in SunRise.c.
Remove unused variables.
Add return types to functions.
Fix "unused parameter" compiler warnings.
Fix "overflow in implicit constant conversion" compiler warning.
Remove trailing whitespace.
Add support for wmgeneral -geometry command line option. Also take the
opportunity to fit -td option's help text on one line.
Remove unused UTTohhmm function.
Reduce scope of variables.
Add -12 command line option to use 12-hour clock.
Use threadsafe functions.
Rename executable from wmSun to wmsun.
Add ChangeLog; changes split from wmsun.c.
Update contact information.
Smart display refresh for fewer wake-ups and better responsiveness
Patch by Peter Colberg <peterc@gmx.net> for Debian bug #446681 [1].
Fix need to restart for Daylight Savings change. Based on patch by
Martin Stigge <martin@stigge.org> to fix Debian bug #414489 [2]
Escape hyphens in manpage. Based on the patch for Debian by Denis
Briand <denis@narcan.fr> [3].
Update includes using include-what-you-use.
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=446681
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=414489
[3] http://sources.debian.net/src/wmsun/1.03%2B1-2/debian/patches/
02_fix_hyphen-used-as-minus-sign.diff/
Version 1.03 - released February 4, 1999.
cosmetic for AfterStep users. removed spurious black line at RHS edge an
mask.

View file

@ -1,6 +1,6 @@
/*
*
* wmSun-1.03 (C) 1999 Mike Henderson (mghenderson@lanl.gov)
* wmSun (C) 1999 Mike Henderson (mghenderson@lanl.gov)
*
* - Shows Sun Rise/Set Times....
*
@ -63,7 +63,7 @@
* Delay between refreshes (in microseconds)
*/
#define DELAY 1000000L
#define WMSUN_VERSION "1.03"
#define WMSUN_VERSION "1.04"
#define DegPerRad 57.29577951308232087680
#define RadPerDeg 0.01745329251994329576