Commit graph

797 commits

Author SHA1 Message Date
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
Doug Torrance 621457313e wmifs: Fix "suggest braces around empty body in an ‘if’ statement" compiler warning. 2015-05-28 00:36:23 +01:00
Doug Torrance 8a2de61837 wmifs: Update Makefile.
In particular,
- Drop unnecessary definition of DESTDIR.
- Drop LIBDIR; pointed to deprecated X11R6 directory.
- Honors CPPFLAGS and LDFLAGS build flags.
- Remove out-of-date version number from installation message.

Based in part on a patch from the Debian package [1].

[1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/hardening.patch/
2015-05-28 00:36:23 +01:00
Doug Torrance abe2c4431a wmifs: Fix "variable 'ppp_old" set but not used" compiler warning.
Based on a patch from the Debian package [1].

[1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/fix-compiler-warning.patch/
2015-05-28 00:36:23 +01:00
Doug Torrance e913422bb8 wmifs: Fix spelling error and escape hyphen in manpage.
Based on a patch in the Debian package [1].

[1] https://sources.debian.net/src/wmifs/1.4-2/debian/patches/fix-manpage.patch/
2015-05-28 00:36:23 +01:00
Doug Torrance d1193f2302 wmifs: Move source files to top directory. 2015-05-28 00:36:23 +01:00
Doug Torrance 617d598a73 wmtime: Bump to version 1.3. 2015-05-26 08:22:15 +01:00
Doug Torrance 336b1afa17 wmtime: Update HINTS.
In particular,
- Add newer command line options.
- Update Window Maker instructions.
2015-05-26 08:22:15 +01:00
Doug Torrance fd46651d08 wmtime: Update README.
In particular,
- Fix typo.
- Mention newer command line options.
- Drop 17-year-old architecture information.
2015-05-26 08:22:15 +01:00
Doug Torrance 75a55e7ced wmtime: Add proper copyright header. 2015-05-26 08:22:15 +01:00
Doug Torrance a754e75a5c wmtime: Update TODO.
In particular,
- Remove note about version 1.0 (was never released).
- Remove note about LED colors (implemented).
- Remove note about language files (unnecessary with locale support).
- Update email address.
2015-05-26 08:22:15 +01:00
Doug Torrance fd199f0612 wmtime: Fix "ordered comparison of pointer with integer zero" warning.
Also take the opportunity to add an error message when iconv_open fails.
2015-05-26 08:22:15 +01:00
Doug Torrance 79d7c047ce wmtime: Replace C++ style comments. 2015-05-26 08:22:15 +01:00