Commit graph

18 commits

Author SHA1 Message Date
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
Doug Torrance e544f254ac wmbattery: Bump to version 2.45. 2014-10-05 19:18:50 +01:00
Doug Torrance 02bce1c90f wmbattery: Restore BSD support.
Code that was ripped out of wmbattery for version 1.22, which introduced the
dependency on libapm but dropped support for the BSDs, has been restored.
2014-10-05 19:18:50 +01:00
Doug Torrance a750a6b25f wmbattery: Add -v option to display version number.
Also, in order to facilitate this, keep track of version number in configure.ac.
It was previously only mentioned in ChangeLog.
2014-10-05 19:18:50 +01:00
Doug Torrance 8b8f2745fb wmbattery: Add copyright header to source.
Copyright information used to be in debian/copyright, which was removed
upstream.
2014-10-05 19:18:50 +01:00
Doug Torrance 539ef9f52c wmbattery: Consistent formatting in source.
Modified source files to minimize warnings from checkpatch.pl in Window Maker
source tree.
2014-10-05 19:18:50 +01:00
Doug Torrance 8e5aa5c7e4 wmbattery: Add -x option to run a command when battery is critical.
This is based on the patch by Cristoph Fritz submitted to Debian.  See
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=543674
2014-10-05 19:18:49 +01:00
Doug Torrance 77dabcc884 wmbattery: Remove Debian-specific distribution and urgency from ChangeLog. 2014-10-05 19:18:49 +01:00
Doug Torrance 612921ae43 Remove trailing whitespace. 2014-10-05 19:18:49 +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