The following patches add a few features and clean up the source code for 
wmbattery.  While
I was at it, I ran the script to delete the trailing whitespaces on the entire 
dockapps
repository.

Carlos, if these patches are accepted, can you tag the last patch 
wmbattery-2.45?

Thanks!

Doug Torrance (8):
  Remove trailing whitespace.
  wmbattery: Remove Debian-specific distribution and urgency from
    ChangeLog.
  wmbattery: Add -x option to run a command when battery is critical.
  wmbattery: Consistent formatting in source.
  wmbattery: Add copyright header to source.
  wmbattery: Add -v option to display version number.
  wmbattery: Restore BSD support.
  wmbattery: Bump to version 2.45.

 AlsaMixer.app/AMixer/AChannel.cc                   |   2 +-
 AlsaMixer.app/AMixer/AItem.h                       |   2 +-
 AlsaMixer.app/AMixer/AMixer.cc                     |   6 +-
 AlsaMixer.app/Main.cc                              |   8 +-
 AlsaMixer.app/Mixer.cc                             |  40 +-
 AlsaMixer.app/Mixer.h                              |   8 +-
 AlsaMixer.app/README                               |  22 +-
 AlsaMixer.app/Xpm.cc                               |  16 +-
 AlsaMixer.app/Xpm.h                                |   8 +-
 AlsaMixer.app/olddoc/ChangeLog.Mixer.app           |  26 +-
 AlsaMixer.app/olddoc/README.Mixer.app              |  24 +-
 Temperature.app/ChangeLog                          |   2 +-
 Temperature.app/INSTALL                            |   6 +-
 Temperature.app/Main.cc                            |   8 +-
 Temperature.app/README                             |  14 +-
 Temperature.app/Temperature.cc                     |  30 +-
 Temperature.app/Temperature.h                      |  12 +-
 Temperature.app/Xpm.cc                             |  22 +-
 Temperature.app/Xpm.h                              |   8 +-
 wmCalClock/CHANGES                                 |   4 +-
 wmCalClock/HINTS                                   |  10 +-
 wmCalClock/INSTALL                                 |   4 +-
 wmCalClock/README                                  |   6 +-
 wmCalClock/Src/Makefile                            |   4 +-
 wmCalClock/Src/Makefile.sgi                        |   4 +-
 wmCalClock/Src/Makefile.solaris                    |   4 +-
 wmCalClock/Src/wmCalClock.1                        |  16 +-
 wmCalClock/Src/wmCalClock.c                        | 104 ++--
 wmCalClock/Src/wmcalclock.patch                    |  32 +-
 wmCalClock/Src/xutils.c                            |  48 +-
 wmCalClock/Src/xutils.h                            |   4 +-
 wmCalClock/TODO                                    |   8 +-
 wmMatrix/COPYING.BSD                               |   2 +-
 wmMatrix/Makefile                                  |   8 +-
 wmMatrix/config.h                                  |  26 +-
 wmMatrix/images/matrix.xbm                         |  72 +--
 wmMatrix/matrix.c                                  |   6 +-
 wmMatrix/wmMatrix.1                                |   2 +-
 wmMatrix/xutils.c                                  |  24 +-
 wmMatrix/xutils.h                                  |   2 +-
 wmMatrix/yarandom.h                                |   2 +-
 wmSMPmon/Changelog                                 |   4 +-
 wmSMPmon/wmSMPmon/Makefile                         |   4 +-
 wmSMPmon/wmSMPmon/general.c                        |  20 +-
 wmSMPmon/wmSMPmon/standards.h                      |  20 +-
 wmSMPmon/wmgeneral/wmgeneral.c                     |  12 +-
 wmWeather/CHANGES                                  |  18 +-
 wmWeather/HINTS                                    |   2 +-
 wmWeather/INSTALL                                  |   4 +-
 wmWeather/Src/GrabWeather                          |   4 +-
 wmWeather/Src/Makefile                             |   4 +-
 wmWeather/Src/wmWeather.1                          |   8 +-
 wmWeather/Src/wmWeather.c                          | 100 ++--
 wmWeather/Src/xutils.c                             |  48 +-
 wmWeather/Src/xutils.h                             |   4 +-
 wmacpi/AUTHORS                                     |   2 +-
 wmacpi/ChangeLog                                   | 102 ++--
 wmacpi/INSTALL                                     |   2 +-
 wmacpi/Makefile                                    |   6 +-
 wmacpi/TODO                                        |   4 +-
 wmacpi/libacpi.c                                   | 124 ++---
 wmacpi/libacpi.h                                   |  14 +-
 wmacpi/wmacpi-cli.c                                |  10 +-
 wmacpi/wmacpi.1                                    |  12 +-
 wmacpi/wmacpi.c                                    | 104 ++--
 wmacpiload/AUTHORS                                 |   2 +-
 wmacpiload/doc/wmacpiload.1                        |   8 +-
 wmacpiload/src/main.c                              |   8 +-
 wmauda/Makefile                                    |   2 +-
 wmauda/wmauda.1                                    |   2 +-
 wmauda/wmauda.c                                    |  48 +-
 wmbatteries/AUTHORS                                |  16 +-
 wmbatteries/README                                 |   2 +-
 wmbatteries/THANKS                                 |  12 +-
 wmbatteries/doc/wmbatteries.1                      |  14 +-
 wmbatteries/src/main.c                             |  90 ++--
 wmbattery/ChangeLog                                | 160 +++---
 wmbattery/Makefile                                 |   2 -
 wmbattery/README                                   |   2 +-
 wmbattery/TODO                                     |   2 +-
 wmbattery/acpi.c                                   | 148 +++---
 wmbattery/acpi.h                                   |  18 +-
 wmbattery/apm.h                                    |  31 +-
 wmbattery/autoconf/install-sh                      |  16 +-
 wmbattery/configure.ac                             |   9 +-
 wmbattery/simplehal.c                              | 114 ++---
 wmbattery/simplehal.h                              |   4 +-
 wmbattery/sonypi.c                                 |  44 +-
 wmbattery/sonypi.h                                 |  16 +-
 wmbattery/upower.c                                 |  45 +-
 wmbattery/wmbattery.1x                             |  14 +-
 wmbattery/wmbattery.c                              | 546 ++++++++++++++-------
 wmbattery/wmbattery.h                              |  47 +-
 wmbiff/AUTHORS                                     |   8 +-
 wmbiff/FAQ                                         |  40 +-
 wmbiff/Makefile.am                                 |   6 +-
 wmbiff/NEWS                                        | 100 ++--
 wmbiff/README                                      |  48 +-
 wmbiff/TODO                                        |  18 +-
 wmbiff/autoconf/Makefile.am                        |   2 +-
 wmbiff/configure.ac                                |  16 +-
 wmbiff/scripts/security.debian.rb                  |  40 +-
 wmbiff/wmbiff/Client.h                             |   2 +-
 wmbiff/wmbiff/Imap4Client.c                        |  12 +-
 wmbiff/wmbiff/Makefile.am                          |  12 +-
 wmbiff/wmbiff/Pop3Client.c                         |  12 +-
 wmbiff/wmbiff/ShellClient.c                        |  12 +-
 wmbiff/wmbiff/charutil.c                           |   2 +-
 wmbiff/wmbiff/charutil.h                           |   2 +-
 wmbiff/wmbiff/gnutls-common.c                      |  32 +-
 wmbiff/wmbiff/maildirClient.c                      |   2 +-
 wmbiff/wmbiff/mboxClient.c                         |   4 +-
 wmbiff/wmbiff/passwordMgr.c                        |  10 +-
 wmbiff/wmbiff/sample.wmbiffrc                      |   8 +-
 wmbiff/wmbiff/socket.c                             |   6 +-
 wmbiff/wmbiff/test_wmbiff.c                        |  12 +-
 wmbiff/wmbiff/tlsComm.c                            |   4 +-
 wmbiff/wmbiff/tlsComm.h                            |   8 +-
 wmbiff/wmbiff/wmbiff.1                             |   6 +-
 wmbiff/wmbiff/wmbiff.c                             |   2 +-
 wmbiff/wmbiff/wmbiffrc.5.in                        |  40 +-
 wmbiff/wmgeneral/Makefile.am                       |   2 +-
 wmbiff/wmgeneral/misc.c                            |   6 +-
 wmbiff/wmgeneral/wmgeneral.c                       |   6 +-
 wmbutton/Makefile                                  |   2 +-
 wmbutton/README                                    |  50 +-
 wmbutton/mask.xbm                                  |   8 +-
 wmbutton/sample.wmbutton                           |   2 +-
 wmcalendar/CHANGES                                 |   8 +-
 wmcalendar/HINTS                                   |   4 +-
 wmcalendar/INSTALL                                 |   8 +-
 wmcalendar/README                                  |   4 +-
 wmcalendar/Src/Makefile                            |  10 +-
 wmcalendar/Src/calendar.c                          |  84 ++--
 wmcalendar/Src/calendar.h                          |   2 +-
 wmcalendar/Src/calendarfunc.c                      |  46 +-
 wmcalendar/Src/calendarfunc.h                      |  10 +-
 wmcalendar/Src/settings.c                          |  48 +-
 wmcalendar/Src/wmCalendar.1                        | 116 ++---
 wmcalendar/Src/wmCalendar.c                        |  92 ++--
 wmcalendar/Src/wmCalendar.h                        |   8 +-
 wmcalendar/TODO                                    |   2 +-
 wmckgmail/INSTALL                                  |  12 +-
 wmckgmail/README                                   |  32 +-
 wmckgmail/wmckgmail/wmckgmail.1                    |  10 +-
 wmckgmail/wmckgmail/wmckgmail.c                    |  48 +-
 wmckgmail/wmgeneral/list.c                         |  12 +-
 wmckgmail/wmgeneral/list.h                         |   2 +-
 wmckgmail/wmgeneral/misc.c                         |  24 +-
 wmckgmail/wmgeneral/wmgeneral.c                    |  26 +-
 wmcpuload/ChangeLog                                |   2 +-
 wmcpuload/doc/wmcpuload.1                          |   2 +-
 wmcpuload/src/cpu_linux.c                          |   2 +-
 wmcpuload/src/cpu_netbsd.c                         |   2 +-
 wmfemon/makefile                                   |   2 +-
 wmfemon/wmfemon.c                                  |  30 +-
 wmfu/Makefile                                      |   2 +-
 wmfu/extra/Makefile                                |   2 +-
 wmfu/list.h                                        |  10 +-
 wmifinfo/Changelog                                 |   3 +-
 wmifinfo/Makefile                                  |   8 +-
 wmifinfo/README                                    |   7 +-
 wmifinfo/nwn.c                                     |  18 +-
 wmifinfo/wmifinfo.c                                | 162 +++---
 wmifinfo/xutils.c                                  |  48 +-
 wmifinfo/xutils.h                                  |   4 +-
 wmitime/BUGS                                       |   2 +-
 wmitime/CHANGES                                    |   2 +-
 wmitime/README                                     |   4 +-
 wmitime/wmgeneral/list.c                           |  12 +-
 wmitime/wmgeneral/list.h                           |   2 +-
 wmitime/wmgeneral/misc.c                           |  24 +-
 wmitime/wmgeneral/wmgeneral.c                      |  26 +-
 wmitime/wmitime/wmitime.c                          |  60 +--
 wmix/NEWS                                          |   2 +-
 wmix/README                                        |   6 +-
 wmix/ui_x.c                                        |  18 +-
 wmix/wmix.c                                        |   4 +-
 wmkeys/wmgeneral/list.c                            |  12 +-
 wmkeys/wmgeneral/list.h                            |   2 +-
 wmkeys/wmgeneral/misc.c                            |  24 +-
 wmkeys/wmgeneral/wmgeneral.c                       |  20 +-
 wmkeys/wmkeys.c                                    |   8 +-
 wmmemload/doc/wmmemload.1                          |   2 +-
 wmmemload/src/main.c                               |  28 +-
 wmmemload/src/mem_openbsd.c                        |   2 +-
 wmmixer/CHANGES                                    |   2 +-
 wmmixer/debian/changelog                           |   4 +-
 wmmixer/debian/patches/01_debian_paths.patch       |   4 +-
 .../debian/patches/02_Makefile_optimization.patch  |   6 +-
 wmmixer/exception.h                                |   2 +-
 wmmixer/mixctl.cc                                  |   4 +-
 wmmixer/mixctl.h                                   |   4 +-
 wmmixer/wmmixer.1                                  |   6 +-
 wmmixer/wmmixer.cc                                 |  52 +-
 wmmixer/xhandler.cc                                |  92 ++--
 wmmixer/xhandler.h                                 |   6 +-
 wmmon/CHANGES                                      |  12 +-
 wmmon/HINTS                                        |   8 +-
 wmmon/README                                       |  22 +-
 wmmon/TODO                                         |   2 +-
 wmmon/wmgeneral/list.c                             |  12 +-
 wmmon/wmgeneral/list.h                             |   2 +-
 wmmon/wmgeneral/misc.c                             |  24 +-
 wmmon/wmgeneral/wmgeneral.c                        |  20 +-
 wmmon/wmmon/Makefile                               |   2 +-
 wmmon/wmmon/wmmon-mask.xbm                         |   8 +-
 wmmon/wmmon/wmmon.1                                |   2 +-
 wmmon/wmmon/wmmon.c                                |  60 +--
 wmmoonclock/changelog                              |   6 +-
 wmmoonclock/src/CalcEphem.c                        |  22 +-
 wmmoonclock/src/Makefile                           |   2 +-
 wmmoonclock/src/Moon.c                             |  46 +-
 wmmoonclock/src/MoonRise.c                         |   2 +-
 wmmoonclock/src/wmMoonClock.1                      |  20 +-
 wmmoonclock/src/wmMoonClock.c                      | 126 ++---
 wmmoonclock/src/xutils.c                           |  48 +-
 wmmoonclock/src/xutils.h                           |   4 +-
 wmnet/Changelog                                    |  20 +-
 wmnet/Imakefile                                    |   6 +-
 wmnet/README                                       |  24 +-
 wmnet/config.h                                     |  12 +-
 wmnet/drivers.c                                    |  92 ++--
 wmnet/wmnet.c                                      | 140 +++---
 wmnet/wmnet.h                                      |  22 +-
 wmnet/wmnet.man                                    |  16 +-
 wmnotify/README                                    |   2 +-
 wmnotify/doc/wmnotify.man                          |   2 +-
 wmnotify/src/Makefile.am                           |   2 +-
 wmnotify/src/configfile.c                          |  42 +-
 wmnotify/src/dockapp.c                             |  56 +--
 wmnotify/src/imap.c                                |  28 +-
 wmnotify/src/network.c                             |  26 +-
 wmnotify/src/options.c                             |   2 +-
 wmnotify/src/pop3.c                                |  20 +-
 wmnotify/src/sound.c                               |  54 +-
 wmnotify/src/wmnotify.c                            |  32 +-
 wmnotify/src/xevents.c                             |   8 +-
 wmpager/README                                     |  32 +-
 wmpager/man/wmpager.1x                             |  22 +-
 wmpager/src/wmpager.c                              |  42 +-
 wmpager/themes/Makefile.am                         |   2 +-
 wmpower/ChangeLog                                  |  10 +-
 wmpower/LEGGIMI                                    |   8 +-
 wmpower/README                                     |   2 +-
 wmpower/configure.in                               |   2 +-
 wmpower/src/open_syslog_on_stderr.c                |   6 +-
 wmpower/src/power_management/acpi/libacpi.c        |  18 +-
 wmpower/src/power_management/apm/libapm.c          |   2 +-
 wmpower/src/power_management/apm/libapm.h          |   4 +-
 wmpower/src/power_management/compal/compal_lib.c   |   4 +-
 wmpower/src/power_management/compal/compal_lib.h   |   2 +-
 wmpower/src/power_management/cpufreq/cpufreq.c     |  10 +-
 wmpower/src/power_management/dell/dell_lib.c       |   2 +-
 wmpower/src/power_management/power_management.c    |   2 +-
 wmpower/src/power_management/toshiba/hci.c         |  14 +-
 wmpower/src/power_management/toshiba/hci.h         |  10 +-
 wmpower/src/power_management/toshiba/sci.c         |  10 +-
 wmpower/src/power_management/toshiba/sci.h         |  14 +-
 wmpower/src/power_management/toshiba/toshiba_lib.c |   6 +-
 wmpower/src/power_management/toshiba/toshiba_lib.h |   2 +-
 wmpower/src/wmpower.c                              |   2 +-
 wmpower/wmpower.spec                               |   2 +-
 wmsm.app/CHANGELOG                                 |   4 +-
 wmsm.app/INSTALL                                   |   2 +-
 wmsm.app/wmgeneral/list.c                          |  12 +-
 wmsm.app/wmgeneral/list.h                          |   2 +-
 wmsm.app/wmgeneral/misc.c                          |  24 +-
 wmsm.app/wmgeneral/wmgeneral.c                     |  26 +-
 wmsm.app/wmsm/wmsm.c                               |   8 +-
 wmsmixer/Imakefile                                 |   2 +-
 wmsmixer/README                                    |   2 +-
 wmsmixer/home.wmsmixer                             |   2 +-
 wmsmixer/wmsmixer.cc                               |  12 +-
 wmstickynotes/wmstickynotes.c                      |   6 +-
 wmsupermon/README                                  |   4 +-
 wmsupermon/TODO                                    |   2 +-
 wmsupermon/dockapp.c                               |  28 +-
 wmsupermon/dockapp.h                               |  20 +-
 wmsupermon/panes.c                                 |   2 +-
 wmsupermon/panes.h                                 |   2 +-
 wmsupermon/stat_dev.c                              |   2 +-
 wmsupermon/wmsupermon.c                            |   4 +-
 wmtime/HINTS                                       |   6 +-
 wmtime/INSTALL                                     |  10 +-
 wmtime/Imakefile                                   |   2 +-
 wmtime/wmgeneral/list.c                            |  12 +-
 wmtime/wmgeneral/list.h                            |   2 +-
 wmtime/wmgeneral/misc.c                            |  24 +-
 wmtime/wmgeneral/wmgeneral.c                       |  20 +-
 wmtime/wmtime/wmtime.1                             |   2 +-
 wmtime/wmtime/wmtime.c                             |  58 +--
 wmtv/CHANGES                                       |  14 +-
 wmtv/README                                        |  56 +--
 wmtv/src/channels.h                                |  10 +-
 wmtv/src/wmgeneral/list.c                          |  12 +-
 wmtv/src/wmgeneral/list.h                          |   2 +-
 wmtv/src/wmgeneral/misc.c                          |  24 +-
 wmtv/src/wmgeneral/wmgeneral.c                     |  22 +-
 wmtv/src/wmtv.c                                    | 114 ++---
 wmtz/BUGS                                          |   4 +-
 wmtz/CHANGES                                       |  24 +-
 wmtz/INSTALL                                       |  10 +-
 wmtz/README                                        |  18 +-
 wmtz/wmgeneral/list.c                              |  12 +-
 wmtz/wmgeneral/list.h                              |   2 +-
 wmtz/wmgeneral/misc.c                              |  24 +-
 wmtz/wmgeneral/wmgeneral.c                         |  26 +-
 wmtz/wmtz/Makefile                                 |   2 +-
 wmtz/wmtz/wmtz.1                                   |  22 +-
 wmtz/wmtz/wmtz.c                                   | 124 ++---
 wmtz/wmtz/wmtzrc                                   |  32 +-
 wmweather+/HINTS                                   |   2 +-
 wmweather+/animation.c                             |   2 +-
 wmweather+/avn.c                                   |   6 +-
 wmweather+/b0rken/memcmp.c                         |   2 +-
 wmweather+/convert.c                               |  16 +-
 wmweather+/diff.c                                  |   2 +-
 wmweather+/dock.c                                  |   6 +-
 wmweather+/eta.c                                   |   6 +-
 wmweather+/forecast.c                              |  10 +-
 wmweather+/m4/xpm.m4                               |   8 +-
 wmweather+/metar.c                                 |  12 +-
 wmweather+/moon.c                                  |   6 +-
 wmweather+/mrf.c                                   |   8 +-
 wmweather+/radar.c                                 |  10 +-
 wmweather+/subst.c                                 |   4 +-
 wmweather+/warnings.c                              |   4 +-
 wmweather+/wmgeneral/xpm_trans.c                   |   2 +-
 wmweather+/wmweather+.1.in                         |   8 +-
 wmweather+/wmweather+.c                            |   4 +-
 wmwifi/ChangeLog                                   |  12 +-
 wmwifi/README                                      |  78 +--
 wmwifi/debian/README.Debian                        |   4 +-
 wmwifi/debian/changelog                            |   8 +-
 wmwifi/debian/copyright                            |   2 +-
 wmwifi/debian/rules                                |   6 +-
 wmwifi/src/Makefile.am                             |   4 +-
 wmwifi/src/wireless.c                              |   4 +-
 wmwifi/src/wmwifi.h                                |   2 +-
 wmwifi/wmwifi.1                                    |  20 +-
 wmwlmon/wl.c                                       |  16 +-
 wmwlmon/wl.h                                       |   2 +-
 wmwlmon/wmwlmon.c                                  |  16 +-
 wmwlmon/xutils.c                                   |  12 +-
 345 files changed, 3637 insertions(+), 3415 deletions(-)

-- 
1.9.1


-- 
To unsubscribe, send mail to wmaker-dev-unsubscr...@lists.windowmaker.org.

Reply via email to