Commit graph

413 commits

Author SHA1 Message Date
Doug Torrance ef546fc369 wmmenu: Add version 1.2 to repository.
Obtained from [1] at the request of Nerijus Baliunas [2].

[1] https://web.archive.org/web/20110720231607/http://www.fcoutant.freesurf.fr/download/wmmenu-1.2.tar.gz
[2] http://lists.windowmaker.org/dev/msg07991.html
2015-01-22 23:13:20 +00:00
Doug Torrance da9608cbd8 Add wmfsm information for dockapps webpage. 2015-01-22 16:21:12 +00:00
Doug Torrance c312b63d2d wmfsm: Bump to version 0.35. 2015-01-22 11:12:11 +00:00
Doug Torrance 7d029d2db1 wmfsm: Update README with new installation instructions. 2015-01-22 11:12:11 +00:00
Doug Torrance e8d40e3115 wmfsm: Combine ChangeLog and ChangeLog.old.
As ChangeLog is no longer automatically generated by arch, there is no need
to keep these files separate.
2015-01-22 11:12:10 +00:00
Doug Torrance b117ac7474 wmfsm: Impove version number handling.
In particular,
- Add new --version command line option.  (This was already documented in
  the manpage.)  Remove this information from the --help text.  Also took
  the opportunity to properly align the --fire line in the --help text.
- Remove WMFSM_VERSION macro in favor of PACKAGE_VERSION from autconf.
- Remove hard-coded version number at top of source file for
  maintainability.
2015-01-22 11:12:10 +00:00
Doug Torrance d379db1092 wmfsm: Update with new contact information. 2015-01-22 11:12:10 +00:00
Doug Torrance d9d5dd1343 wmfsm: Add -a command line option to select appearance at runtime.
Also update Makefile to install appearance XPMs during "make install".
2015-01-22 11:12:10 +00:00
Doug Torrance fa0bdfaeba wmfsm: Add --with-xpm option to configure to select appearance at compile time.
Note that wmfsm/wmfsm_master.xpm has been removed, as it is now created as a
symlink during configure.  It is also removed by "make clean".
2015-01-22 11:12:10 +00:00
Doug Torrance 9c22691eda wmfsm: Remove TODO; all the items have been done. 2015-01-22 11:12:10 +00:00
Doug Torrance 9b9ef2f6d2 wmfsm: Fix -Wunused-result compiler warnings.
In particular, if fscanf does not read the expected number of items from
/etc/mtab, print a warning message.
2015-01-22 11:12:10 +00:00
Doug Torrance 331af1daa2 wmfsm: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt. 2015-01-22 11:12:10 +00:00
Doug Torrance 18898f871f wmfsm: Update Free Software Foundation address in copyright header. 2015-01-22 11:12:10 +00:00
Doug Torrance 70c80a41a5 wmfsm: Remove trailing whitespace. 2015-01-22 11:12:10 +00:00
Doug Torrance bec2a56a92 wmfsm: Update sample configuration file.
Patch by Arthur Korn <arthur@korn.ch> to fix Debian bug #226298 [1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=226298
2015-01-22 11:12:10 +00:00
Doug Torrance 2401e76fa4 wmfsm: Improve manpage.
In particular,
- Apply, with some modification, a patch by Jari Aalto
  <jari.aalto@poboxes.com> to clarify the format of the configuration file.
  See [1].
- Escape minus signs to avoid hyphen-used-as-minus-sign Lintian warning in
  the Debian package.
- Remove docbook-to-man comments to avoid manpage-has-errors-from-man
  Lintian warning in the Debian package.
- Add commas between short and long options for readability.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=226274
2015-01-22 11:12:10 +00:00
Doug Torrance aef6c49d83 wmfsm: Apply further Debian patches.
The individual patches no longer seem to exist, so I submit them together.
According to debian/changelog entries by Arthur Korn <arthur@debian.org>,
these patches include:
* fixed memleak introduced in 0.34-2 with the patch by Timo Benk.
  global char *mp[] was assigned the result of stdup() repeatedly
  without free. My ugly fix is to free it all up at the beginning of
  readFileSystems(). Now I'm a proud Perl coder ... closes: #196057
* memleak news: avoid it if there are more than 9 filesystems too.
* Fixed filesystem name corruption, thanks to Ralf Horstmann and Cristian
  Ionescu-Idbohrn for the patch.
2015-01-22 11:12:10 +00:00
Doug Torrance 3eb9307a7b wmfsm: Read newly mounted filesystems.
Patch by Timo Benk <t_benk@web.de> to fix Debian bug #186826 [1].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?archive=yes&bug=186826
2015-01-22 11:12:10 +00:00
Doug Torrance b143ff46a6 wmfsm: Hide "system" file systems.
Patch [1] by roma1390 and Michele Noberasco to fix Gentoo bug #50148 [2].

[1] http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/x11-plugins/wmfsm/files/wmfsm-0.34.linux-fs.patch
[2] https://bugs.gentoo.org/show_bug.cgi?id=50148
2015-01-22 11:12:10 +00:00
Doug Torrance 443124b998 wmfsm: Autotools updates.
In particular,
- Update AM_INIT_AUTOMAKE to silence "two- and three-arguments forms are
  deprecated" warnings.
- Update AC_DEFINEs to silence "missing template" warnings.
2015-01-22 11:12:10 +00:00
Doug Torrance 4ece1f4ee8 wmfsm: Rename configure.in to configure.ac. 2015-01-22 11:12:10 +00:00
Doug Torrance 8f6c8d13a6 wmfsm: Remove autotools-generated files. 2015-01-22 11:12:10 +00:00
Doug Torrance 34d838198a wmfsm: Add version 0.34 to repository.
Obtained from [1].

[1] http://snapshot.debian.org/archive/debian/20050312T000000Z/pool/main/w/wmfsm/wmfsm_0.34.orig.tar.gz
2015-01-22 11:11:18 +00:00
Doug Torrance 59949f4749 wmbattery: Bump to version 2.46. 2015-01-17 15:02:06 +00:00
Ludwig Nussel 9db8262d65 wmbattery: update upower support
* reuse dbus connection
* set delay to actually refresh values
2015-01-17 15:02:06 +00:00
Ludwig Nussel bdc9f33956 wmbattery: make it work without libapm
libapm and apm.h are not necessarily available on Linux either so make it work
without.
2015-01-17 15:02:06 +00:00
Carlos R. Mafra 8345c9ca76 wmnet: increase polling delay to 0.1 sec and maxrate to 120kb 2015-01-11 21:31:40 +00:00
Carlos R. Mafra 49944a01ae wmnet: simplify updateStats_dev() a bit
There is no need to have a variable holding the interface name and
doing the exercise of stripping the trailing colon. It is enough
to just compare the line to check whether it contains the device
name. And only if it does we sscanf() its contents.
2015-01-11 21:04:02 +00:00
Carlos R. Mafra cd4947f139 wmnet: Cope with interface name longer than 6 characters
After a recent change in the kernel (their commit 6e094bd) my
wireless interface name is 8 characters long, wlp3s0b1. But
the wmnet code to read the received bytes

	totalbytes_in = strtoul(&buffer[7], NULL, 10);

assumed that the interface name in /proc/net/dev would be 6 characters
long (and would start reading at position 7).

In the linux kernel mailing list I reported the regression and none
other than Al Viro replied,

> I am not sure if 'wmnet' could do this better (any suggestions?),

*snort*

well, yes - it's called scanf().  And if one is really, really nervous
about the overhead of <gasp> parsing a bunch of integers (as if fopen/
fgets/fclose alone won't cost enough to make constantly calling that
sucker a bad idea), just use ptr + <something> - 6 instead of
&buffer[<something>] in there.  That thing has just found where the
colon was (and replaced it with NUL), so dealing with "the first field
turned out to be too long and shifted everything past it" isn't hard.

******

I also took the oportunity to remove the unused variables diffpackets_{in,out}
2015-01-11 13:16:40 +00:00
Doug Torrance e3c0e9452b Add wmcalc information for dockapps webpage. 2015-01-10 20:45:59 +00:00
Doug Torrance 050001c0f1 wmcalc: Bump to version 0.5. 2015-01-10 19:02:57 +00:00
Doug Torrance 773c07acd7 wmcalc: Remove C++ style comments. 2015-01-10 19:02:57 +00:00
Doug Torrance c3bef2f247 wmcalc: Fix -Woverflow compiler warnings. 2015-01-10 19:02:57 +00:00
Doug Torrance 544c36b79c wmcalc: Allow installation without root access.
Drop "-p -o root -g root" from the INSTALL_* Makefile variables and honor
the CONF Makefile variable for accessing the global config file instead of
hardcoding it as /etc.

These changes allow users without root access to install wmcalc in their home
directory.
2015-01-10 19:02:57 +00:00
Doug Torrance a43ce43092 wmcalc: Update README.
In particular,
- Update maintainer.
- Remove version-specific information.
- Update installation instructions.
- Add previously released version 0.4 to changelog.
2015-01-10 19:02:57 +00:00
Doug Torrance 0ac867513a wmcalc: Update COPYING from http://www.gnu.org/licenses/gpl-2.0.txt. 2015-01-10 19:02:57 +00:00
Doug Torrance 3803ee4cd5 wmcalc: Remove redundant .wmcalc*; essentially the same as wmcalc.conf. 2015-01-10 19:02:57 +00:00
Doug Torrance 6b282a4b4d wmcalc: Remove trailing whitespace. 2015-01-10 19:02:57 +00:00
Doug Torrance 587fe05cc1 wmcalc: Fix -Wunused-result compiler warning. 2015-01-10 19:02:57 +00:00
Doug Torrance d5d266d6d1 wmcalc: Fix -Warray-bounds compiler warning. 2015-01-10 19:02:57 +00:00
Doug Torrance 304860b38d wmcalc: Fix -Wunused-but-set-variable compiler warnings. 2015-01-10 19:02:57 +00:00
Doug Torrance 9d9d2500d7 wmcalc: Switch #include <XKBlib.h> to #include <X11/XKBlib.h>.
Otherwise, wmcalc fails to build.
2015-01-10 19:02:57 +00:00
Doug Torrance 550de54682 wmcalc: Update Makefile.
In particular,
- Drop INCLUDES and LIBINC variables; referenced deprecated X11R6 directories
  and INCLUDES unnecessarily included the default path.
- Switch hard-coded gcc for CC variable.
- Move hard-coded -02 and -Wall flags to new CFLAGS variable.
- Switch ${} to $() for consistency.
- Add new INSTALL_DIR variable for creating installation directories.
- Respect CPPFLAGS and LDFLAGS.
2015-01-10 19:02:57 +00:00
Doug Torrance 2f0aab0f8f wmcalc: Add manpage from Debian.
Obtained from:
http://snapshot.debian.org/package/wmcalc/0.3-7/

Additionally, add rule to Makefile to install new manpage.
2015-01-10 19:02:57 +00:00
Doug Torrance a50001bbe9 wmcalc: Add version 0.4 to repository.
Source obtained from:
ftp://ftp.afterstep.org/stable/rpms/misc-tarballs/wmcalc-0.4.tar.gz
2015-01-10 19:02:57 +00:00
Doug Torrance 4b9666e97d wmtime: Bump to version 1.2. 2015-01-03 22:31:44 +00:00
Doug Torrance 59e8a712dc wmtime: Remove unnecessary references to current version number.
To simplify maintenace, all references to the current version number outside
of the appropriate macro in in wmtime.c have been removed.  Note that this
macro had been WMMON_VERSION, likely a copy/paste error, and has been
renamed to WMTIME_VERSION.
2015-01-03 22:31:44 +00:00
Doug Torrance ea19c5c3ca wmtime: Add -l option to specify locale.
Based on a similar patch for wmitime [1].

[1] cc801880a5
2015-01-03 22:31:44 +00:00
Doug Torrance ad27c973c1 wmtime: Update Makefile.
In particular,
- Remove reference to deprecated X11R6 directory.
- Honor PREFIX and INSTALL variables.
- Change definition of CFLAGS from += to =; perhaps users don't want to
  append -O2. Also move -Wall to CFLAGS.
- Use C*FLAGS only when compiling and LDFLAGS only when linking.
- Create directories if needed during install.
- Install manpage.
2015-01-03 22:31:44 +00:00
Doug Torrance 937d1d280a wmtime: Move source files to top directory.
Ease the build process by skipping the initial "cd wmtime" step.  Document
this in INSTALL.
2015-01-03 22:31:44 +00:00