Commit graph

346 commits

Author SHA1 Message Date
Doug Torrance 3ca8afb4af update-dockapps.pl: Avoid ambiguous argument error.
It is possible that, when running update-dockapps.pl, a filename may match a
revision, giving an error, e.g.,
fatal: ambiguous argument 'wmbattery': both revision and filename
Use '--' to separate paths from revisions, like this:
'git <command> [<revision>...] -- [<file>...]'

This patch fixes this problem by inserting "--" where needed.
2014-09-21 23:03:59 +01:00
Doug Torrance a98548fdb6 wmbattery: Add to webpage database.
Based on https://web.archive.org/web/20121031045139/http://dockapps.windowmaker.org/file.php/id/34.
2014-09-21 10:11:55 +01:00
Doug Torrance 8b0428332e wmbattery: Remove config.h.in; automatically generated by autotools. 2014-09-21 10:11:55 +01:00
Doug Torrance 773552ebd8 wmbattery: Avoid uninitialized variable warning.
Move assignment of old_status until after cur_info is initialized in
wmbattery.c.
2014-09-21 10:11:55 +01:00
Doug Torrance 21c37ad492 wmbattery: Escape hyphen in manpage. 2014-09-21 10:11:55 +01:00
Doug Torrance ac49e66ad3 wmbattery: Remove unnecessary .gitattributes file.
The only attributes given were to debian/changelog, which no longer exists.
2014-09-21 10:11:55 +01:00
Doug Torrance 2baab6379d wmbattery: Add ChangeLog (renamed from debian/changelog).
Since wmbattery was previously a Debian native package, all the changes were
documented in debian/changelog.  Since the debian directory has been removed in
the upstream source, this file is being renamed to ChangeLog in the root
directory.
2014-09-21 10:11:55 +01:00
Doug Torrance 4fbaede435 wmbattery: Remove debian directory.
wmbattery was previously a Debian native package.  The debian directory should
no longer be included in the upstream source.
2014-09-21 10:11:55 +01:00
Doug Torrance 51380525e7 wmbattery: Add to repository.
Version 2.44.  Source obtained from:
http://ftp.de.debian.org/debian/pool/main/w/wmbattery/wmbattery_2.44.tar.gz
2014-09-21 10:11:55 +01:00
Doug Torrance 0e0d4944ac wmppp.app: Update support email address and webpage. 2014-09-15 11:30:07 +01:00
Doug Torrance 3f3a1f86ac wmppp.app: Use build flags.
Compile with CPPFLAGS and LDFLAGS and append, rather than overwrite, CFLAGS.

This enables the Debian package to be built with hardening options.  See
https://wiki.debian.org/Hardening.
2014-09-15 11:30:07 +01:00
Doug Torrance 33d2784d26 wmppp.app: Use rm -f for make clean
This patch prevents "make clean" from failing when the source tree is already
clean.
2014-09-15 11:30:07 +01:00
Doug Torrance ae3f75c09e wmppp.app: Display speed in K when too high.
When the download speed is too high, wmppp can't display it because it has
only 5 digit. The most significant digits are hidden !

This small patch display the speed in K when it is too high.

Based on the patch by jguiton <jguiton@free.fr>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328699.
2014-09-15 11:30:07 +01:00
Doug Torrance e81a5eb522 wmppp.app: Stampfile handling.
This patch adds support for "stampfile" in config file, as described in
manual page.

Based on the patch by Juan Cespedes <cespedes@debian.org>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97509.
2014-09-15 11:30:07 +01:00
Doug Torrance b47834fe0b wmppp.app: Allow ISDN devices.
Users of ISDN dialup lines (such as me) cannot use wmppp as shipped,
because it rejects to use any device except those beginning with `ppp'.

The patch attached solves this.

Based on the patch by Juan Cespedes <cespedes@debian.org>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97509.
2014-09-15 11:30:07 +01:00
Doug Torrance 9e02f15e59 wmppp.app: Rename system wide fixed options configuration file for consistency. 2014-09-15 11:30:06 +01:00
Doug Torrance 070bddbe13 wmppp.app: Add manpage (obtained from Debian package). 2014-09-15 11:30:06 +01:00
Doug Torrance a60b95bc13 wmppp.app: Remove trailing whitespace. 2014-09-15 11:30:06 +01:00
Doug Torrance bf86800181 wmppp.app: Remove getmodemspeed binary from source. 2014-09-15 11:30:06 +01:00
Doug Torrance de32f3e432 wmtime: Update README contact information; remove trailing whitespaces. 2014-08-27 15:31:05 +01:00
Doug Torrance 9356597905 wmtime: Update GPLv2 from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt. 2014-08-27 15:31:05 +01:00
Doug Torrance af59d08e27 wmtime: Update FSF address. 2014-08-27 15:31:05 +01:00
Doug Torrance 0119083b0a wmtime: Use rm -f in make clean.
This patch uses the -f option for rm in make clean so that no error occurs when
make clean is run while no object or binary files exist.  (It also adds a
newline at the end of the Makefile thanks to emacs.)
2014-08-27 15:31:05 +01:00
Doug Torrance d6ef017638 wmtime: Remove unused variables.
This patch removes the unused variables nexttime and old_time_struct to avoid a
warning when -Wunused-but-set-variable is passed.
2014-08-27 15:31:05 +01:00
Doug Torrance 9005023ad2 dockapps.db.in: Update wmacpi webpage, add wmacpi-ng. 2014-08-22 20:29:03 +01:00
Doug Torrance c4d9e36efd update-dockapps.pl: Handle earlier versions of dockapps with alternate names.
Some dockapps earlier versions of dockapps, e.g. the recently added wmacpi-ng,
may have different names than the directories they appear in.  This patch adds
the ability to handle this situation by keeping track of the directory for
getting git information and skipping these dockapps when creating the "+date"
versions.
2014-08-22 20:29:03 +01:00
Doug Torrance db658544cf update-dockapps.pl: Correctly sort alpha, beta, and release candidate versions. 2014-08-22 20:29:03 +01:00
Doug Torrance a1cd5cadce wmacpi: Bump to version 2.2.
Five years is long enough to have a release candidate, I think.  :)
2014-08-19 18:13:58 +01:00
Doug Torrance ffbe9ddcee wmacpi: Update bug report email address. 2014-08-19 18:13:58 +01:00
Doug Torrance 72be1b46ab wmacpi: Restore FSF address and GPLv2.
The Free Software Foundation's address was updated in the wmacpi copyright
notice in commit 792a5d2 and the GNU General Public License version 2.0 text
was updated in commit 31c2845, but these were overwritten when later versions of
wmacpi were added to the repository.
2014-08-19 18:13:58 +01:00
Doug Torrance 5a909dc18b wmacpi: Remove VCS files. 2014-08-19 18:13:57 +01:00
Doug Torrance 4d0cc7db43 wmacpi: Respect CFLAGS and LDFLAGS.
Allow additional flags to be appended to CFLAGS and/or LDFLAGS.

Based on the patch from Debian:
http://sources.debian.net/src/wmacpi/2.2~rc5%2Bds-1/debian/patches/fix_compiler_flags.patch/
2014-08-19 18:13:57 +01:00
Doug Torrance ffffcb9241 wmacpi: Rename acpi to wmacpi-cli.
To avoid conflict with acpiclient (http://sourceforge.net/projects/acpiclient/),
which also provides an executable binary named acpi, the acpi binary included
with wmacpi is being renamed to wmacpi-cli.

Based on the patch from Debian:
http://sources.debian.net/src/wmacpi/2.2~rc5%2Bds-1/debian/patches/rename_acpi_to_wmacpi-cli.patch/
2014-08-19 18:13:57 +01:00
Doug Torrance 0165115fe9 wmacpi: Install manpages to PREFIX/share/man/man1.
By default, the manpages are installed in PREFIX/man/man1, which does not
conform to the Filesystem Hierarchy Standard.  This patch installs them
correctly to PREFIX/share/man/man1.

Based on the patch from Debian:
http://sources.debian.net/src/wmacpi/2.2~rc5%2Bds-1/debian/patches/install_manpages_to_usr_share.patch/
2014-08-19 18:13:57 +01:00
Doug Torrance 413a212a2e wmacpi: Bump to version 2.2rc5.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2009 August 10 2.2rc5
	Small Makefile fix to allow compiling on newer GCCs, supplied
	Michael Shigorin of ALT Linux.
2014-08-19 18:13:57 +01:00
Doug Torrance aa177b7402 wmacpi: Bump to version 2.2rc4.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2008 November 14 2.2rc4
	Change the way that we sleep/wait for activity, to use select
	rather than a fixed-length sleep, supplied by Julien Blache of
	Debian:

	Hi,

	The attached patch for wmacpi makes it use select() instead of
	sleeping. It also adjusts the timeout of the select() call
	depending on the blink & scroll options.

	If scrolling is not activated, there's no reason to wake up
	10x/sec. If blinking is activated, waking up once per second is
	enough. If blinking is not activated, then we can wake up just to
	update the data and we're fine.

	With scrolling and blinking disabled, this saves a number of
	wakeups and helps battery life. Unfortunately there's another
	source of wakeups that's probably due to libdockapp that still
	makes 6 wakeups/seconds (in another thread it seems).

	With this patch wmacpi makes a best effort to match the sample
	rate set by the user, but that's hardly an issue I think.

	I haven't released this patch yet in Debian, so if you like it and
	want to roll out a release, feel free :) Otherwise I'll add it to
	the package soon.

	Thanks,

	JB.
2014-08-19 18:13:57 +01:00
Doug Torrance 61cad1c561 wmacpi: Bump to version 2.2rc3.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2008 March 18 2.2rc3
	Some fixes for the sysfs interface support, supplied by
	jblache@debian.org:

	> Okay, I finally found time to make a new release including this
	> patch - 2.2rc2. It's up on my website now.

	I don't remember sending you the updated patch, as it turned out that
	you can have different attributes in sysfs depending on what the
	battery reports.

	The current version is attached.

	Thanks,

	JB.

Source obtained from http://sourceforge.net/projects/wmacpi/files/.
2014-08-19 18:13:57 +01:00
Doug Torrance ffd4b11477 wmacpi: Bump to version 2.2rc1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2007 July 14 2.2rc1
	Major changes to command line handling and to the way we use
	libdockapp, courtesy of Patrice Dumas. This should hopefully fix
	several long-standing bugs with non-wmaker window managers (in
	particular Debian bugs #280495 and 293546).

	Updated to support newer kernels that no longer support
	/proc/acpi/info - thanks to Samuel Ortiz.

	Fixed a longstanding issue with redrawing - thanks to Vito
	Caputo.

	This version changes a number of command line options (little used
	ones, but they're still incompatible changes) due to the
	libdockapp work. In particular, -w becomes -x, -v becomes -V (and
	takes an argument rather than being repeated), and -V becomes -v
	(thanks to libdockapp grabbing -h, -v and -w for itself). Also,
	long options are now supported for everything in wmacpi (but not
	acpi, since it doesn't use libdockapp for command line parsing).
2014-08-19 18:13:57 +01:00
Doug Torrance ea8b68a3ce wmacpi: Bump to version 2.2a1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2007 January 10 2.2a1
	Added a patch from Patrice Dumas to support newer versions of
	libdockapp.

	Updated email address in AUTHORS and manpages.
2014-08-19 18:13:57 +01:00
Doug Torrance 82eb5a6035 wmacpi: Bump to version 2.1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2005 February 2 2.1
	Finalised libdockapp-0.5.0 port - no changes from 2.1rc1.
2014-08-19 18:13:57 +01:00
Doug Torrance be98421494 wmacpi: Bump to version 2.1rc1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2005 Jan 5 2.1rc1
	Typo fix in the manpage.

	Ported to libdockapp-0.5.0 - all this needed was changing the
	type of the dockapp width and height to unsigned short.
2014-08-19 18:13:57 +01:00
Doug Torrance 2eeca91cc0 wmacpi: Bump to version 2.0.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 October 24 2.0
	Upped version number to 2.0.

	Small typo fixes.

	wmacpi 2.0 goes gold . . .
2014-08-19 18:13:57 +01:00
Doug Torrance f52c697212 wmacpi: Bump to version 2.0rc1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 September 28 2.0rc1
	Added support for switching to capacity mode automatically, on
	detecting dodgy reports from the battery.

	Added support for capacity mode on charging, with automatic
	enabling as per discharging.

	Various cleanups.

	Hopefully last release before the final 2.0.
2014-08-19 18:13:57 +01:00
Doug Torrance 6014b452cb wmacpi: Bump to version 1.99r7.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 August 18 1.99r7
	Implemented the libdockapp port - this seems to close Debian bug
	#227819, but it hasn't received sufficient testing.

	Implemented a capacity mode for calculating time remaining (as
	opposed to the normal current rate mode) - this mode samples the
	remaining capacity of the battery and notes the time at which it
	was sampled, and uses a history of samples to estimate the rate of
	drain on the battery. From there it calculates a value for time
	remaining.

	Also, various cleanups have gone in:

	* a reworking of the scrolling code

	* generic battery number support (rather than just
	using two pixmaps, one for b1 and one for b2)

	* stopped the battery glyph from blinking when running on AC
2014-08-19 18:13:57 +01:00
Doug Torrance dd9ef3519f wmacpi: Bump to version 1.99r6.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 July 19 1.99r6
	Fix for Debian bug #250792 - the parser for the acpi files was
	too stupid to deal with error conditions. I've now added some
	basic checking to make it handle the error that caused the bug
	report, but I'll need to add more later.
2014-08-19 18:13:57 +01:00
Doug Torrance 38bd883523 wmacpi: Bump to version 1.99r5.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 April 23 1.99r5
	Collected fixes for the collected fixes below . . .

	* Manpage fixes, to reflect the reality of the current code.

	* Code cleanups, to make a few things more sensible. Most notably,
	the interface for setting the samplerate has changed so that it's
	no longer inverted and illogical - you now say how many times you
	want to sample per minute.

	* Fixed an issue with initialisation - I'd moved the power_init()
	call below the options parsing code, without dealing with the -m
	option properly. The end result was that if you told it to monitor
	a battery number, it would fail saying the battery didn't exist. I
	moved the check for this out of the options parsing and after the
	power_init() call.

	* Fixed a leaking file descriptor in init_ac_adapters.

	* Implemented a way to handle changing batteries - reinitialise
	the battery info periodically. I don't know of a better way to do
	that, since we'd have to do all that parsing anyway to find out if
	it had changed . . .

	libdockapp is waiting, but I think that's the only change left
	without more bug repots . . .
2014-08-19 18:13:57 +01:00
Doug Torrance e5eb888b1f wmacpi: Bump to version 1.99r4.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 April 15 1.99r4
	Collected fixes for various small issues.

	* Fixed a problem with placement of the window when using the
	click to place mode - turned out to be a sizehints problem.

	* Some fixes to the manpage.

	* Reenabled the CLI build by default - the Debian patches can
	handle disabling it themselves.

	* Added a way to disable the scrolling message, since some users
	find this annoying.

	I've left the big changes that are needed (like using libdockapp,
	in the hope that it'll solve the docking problems) until later, so
	that I can get these smaller fixes out. Hopefully soon . . .
2014-08-19 18:13:57 +01:00
Doug Torrance 9c6f407b38 wmacpi: Bump to version 1.99r3.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 January 12 1.99r3
	. . . and a fix for a fix that didn't fix it . . .
2014-08-19 18:13:57 +01:00
Doug Torrance 2de3883e99 wmacpi: Bump to version 1.99r2.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.

2004 January 12 1.99r2
	Some cleanups and bugfixes found by the wonderful Debian users.

	It's finally in testing!
2014-08-19 18:13:57 +01:00
Doug Torrance e5b50109b6 wmacpi: Bump to version 1.99r1.
Source obtained from http://sourceforge.net/projects/wmacpi/files/.
2014-08-19 18:13:57 +01:00