Commit graph

809 commits

Author SHA1 Message Date
Doug Torrance d0c4bbca70 wmsun: Bump to version 1.04. 2015-06-14 23:23:24 +01:00
Doug Torrance 238c627724 wmsun: Update includes using include-what-you-use. 2015-06-14 23:23:24 +01:00
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
Doug Torrance ca490e32b0 Remove wmstickynotes from repository.
Upstream is still active, and version 0.7 was recently released (we only
have version 0.1).  Therefore, wmstickynotes is not appropriate for the
repository.
2015-06-13 13:28:04 -06:00
Doug Torrance cd1071e875 Add wmshutdown information for dockapps webpage. 2015-06-13 11:01:10 -06:00
Doug Torrance 2085fdd1c8 wmshutdown: Bump to version 1.4. 2015-06-13 06:02:21 -06:00
Doug Torrance d810f277f1 wmshutdown: Update contact information. 2015-06-13 06:02:21 -06:00
Doug Torrance 89c7d43b85 wmshutdown: Fix 'mixed declarations and code' compiler warnings. 2015-06-13 06:02:21 -06:00
Doug Torrance 2644a1e8f5 wmshutdown: Fix 'unused parameter' compiler warnings. 2015-06-13 06:02:21 -06:00
Doug Torrance 1b9fd1dbe5 wmshutdown: Remove autotools-generated files. 2015-06-13 06:02:21 -06:00
Doug Torrance ea797c7461 wmshutdown: Add version 1.3 to repository.
Obtained from [1].

[1] https://github.com/d-torrance/wmshutdown/releases/download/upstream%2F1.3/wmshutdown-1.3.tar.gz
2015-06-13 06:01:41 -06:00
Doug Torrance 0a5f2cf8b5 wmifs: Bump to version 1.5. 2015-05-28 00:36:23 +01:00
Doug Torrance 89da4045af wmifs: Update README.
In particular,
- Remove version-specific information in header.
- Clarify webhost information in Credits section.
2015-05-28 00:36:23 +01:00
Doug Torrance 3033f80310 wmifs: Remove first two installation steps in INSTALL.
The user must have already done these two things already to be able to
read INSTALL in the first place.
2015-05-28 00:36:23 +01:00
Doug Torrance 619ee7c8ca wmifs: Update Window Maker instructions in HINTS. 2015-05-28 00:36:23 +01:00
Doug Torrance 88a398ff01 wmifs: Add proper copyright header. 2015-05-28 00:36:23 +01:00
Doug Torrance 8a960f1d3b wmifs: Convert strtok() calls to thread-safe strtok_r(). 2015-05-28 00:36:23 +01:00
Doug Torrance 78ad4e4380 wmifs: Reduce scopes of variables (fixes style warnings from cppcheck). 2015-05-28 00:36:23 +01:00
Doug Torrance ea33cf06ce wmifs: Tidy #includes using include-what-you-use. 2015-05-28 00:36:23 +01:00
Doug Torrance 951f7624c6 wmifs: Throw out first /proc/net/dev reading.
If we keep it, we start with a huge spike and everything else is zero
until the spike finally leaves the window several moments later.
2015-05-28 00:36:23 +01:00
Doug Torrance 9601a58aae wmifs: Don't ignore geometry strings beginning with '-'. 2015-05-28 00:36:23 +01:00
Doug Torrance a332db862a wmgeneral: Add support for X geometry strings to -geometry option.
In particular, we can specify the offsets from the right and bottom of the
screen using '-', e.g., '-geometry -64-64' places the dockapp in the lower
right corner of the screen.
2015-05-28 00:36:23 +01:00
Doug Torrance ea884d8b78 wmifs: Honor CONF Makefile variable when parsing system config files. 2015-05-28 00:36:23 +01:00
Doug Torrance c16a5a9d8d wmifs: Add support for wmgeneral's -geometry command line option.
Also take the opportunity to correct the manpage; the -d option should be
-display.
2015-05-28 00:36:23 +01:00
Doug Torrance a51ad11229 wmifs: Reformat help text for readability. 2015-05-28 00:36:23 +01:00
Doug Torrance bcd1d50e02 wmifs: Add -c command line option allowing users to set color. 2015-05-28 00:36:23 +01:00
Doug Torrance 627f693e36 wmifs: Replace deprecated usleep with nanosleep.
Although defining _DEFAULT_SOURCE is overkill for nanosleep, it also fixes
"field ‘b’ has incomplete type" errors, as we need __USE_MISC defined to
pick up the definition of ifreq in <net/if.h>.
2015-05-28 00:36:23 +01:00
Doug Torrance 90565e05d5 wmifs: Replace deprecated caddr_t with void *. 2015-05-28 00:36:23 +01:00
Doug Torrance c7834d29fd wmifs: Fix "overflow in implicit constant conversion" compiler warnings. 2015-05-28 00:36:23 +01:00
Doug Torrance 6f26dd2f99 wmifs: Fix "comparison between signed and unsigned integer expressions" compiler warning. 2015-05-28 00:36:23 +01:00