debian/0000755000000000000000000000000011666146060007174 5ustar debian/changelog0000644000000000000000000000621211666146042011047 0ustar wmbatppc (2.5-5) unstable; urgency=low * Switch to source format 3.0 (quilt). * debian/patches/fix_link_order.patch: + Fix link order for ld --as-needed, patch from Colin Watson (closes: #650276). -- Julien BLACHE Fri, 02 Dec 2011 13:01:03 +0000 wmbatppc (2.5-4) unstable; urgency=low * debian/control: + Bump Standards-Version to 3.9.2 (no changes). + Add ${misc:Depends}. -- Julien BLACHE Mon, 13 Jun 2011 11:09:16 +0200 wmbatppc (2.5-3) unstable; urgency=low * debian/control: + Bump Standards-Version to 3.8.0 (no changes). + Fix -1 build-dep. * debian/copyright: + Update and fixes. -- Julien BLACHE Fri, 25 Jul 2008 14:33:03 +0200 wmbatppc (2.5-2) unstable; urgency=low * debian/control: + Bump Standards-Version to 3.7.2 (no changes). * debian/compat, debian/control: + Switched to DH_COMPAT 5. * debian/rules: + Do not ignore make clean errors. * debian/menu: + Update for the new menu structure. + Added a description. -- Julien BLACHE Mon, 06 Aug 2007 12:31:45 +0200 wmbatppc (2.5-1) unstable; urgency=low * New upstream release. + Fixes compilation without XOSD. + Adds a switch to disable XOSD at runtime. * debian/control: + Replaced xlibs-dev B-D by B-D on the individual X libs packages. -- Julien BLACHE Wed, 13 Oct 2004 19:55:47 +0200 wmbatppc (2.4-2) unstable; urgency=low * wmbatppc.c + Fixed compilation without XOSD (closes: #244725). * debian/menu + Fixed the various errors. -- Julien BLACHE Thu, 20 May 2004 20:30:13 +0200 wmbatppc (2.4-1) unstable; urgency=low * New upstream release. + Fixed a crash when xosd cannot set a suitable font (wrt locale and UTF8). -- Julien BLACHE Sun, 22 Feb 2004 13:49:27 +0100 wmbatppc (2.3-1) unstable; urgency=low * New upstream release. + Fixed /proc/pmu/ parsing. * Bumped Standards-Version to 3.6.0 (no changes). -- Julien BLACHE Wed, 23 Jul 2003 16:48:46 +0200 wmbatppc (2.1-1) unstable; urgency=low * Small bugfix, this is the first version uploaded since 1.2-1. -- Julien BLACHE Sun, 26 Jan 2003 16:16:07 +0100 wmbatppc (2.0-1) unstable; urgency=low * New upstream release, a bunch of new features. * New description. -- Julien BLACHE Wed, 27 Nov 2002 22:09:30 +0100 wmbatppc (1.2-1) unstable; urgency=low * Added support for UNIX domain sockets (-u switch). * Added support for /proc/pmu (-p swithc). * Bumped upstream version, at author's request. -- Julien BLACHE Wed, 16 Oct 2002 20:40:58 +0200 wmbatppc (1.0-1) unstable; urgency=low * New upstream release. * Modified the menu to run wmbatppc -w (WindowMaker mode). -- Julien BLACHE Mon, 29 Oct 2001 13:23:46 +0100 wmbatppc (0.2-1) unstable; urgency=low * Initial Release (closes: Bug#114191). * Reworked the description. -- Julien BLACHE Sun, 2 Sep 2001 21:09:51 +0200 Local variables: mode: debian-changelog End: debian/compat0000644000000000000000000000000211666124547010400 0ustar 5 debian/menu0000644000000000000000000000030411666124547010066 0ustar ?package(wmbatppc):needs="X11" section="Applications/System/Monitoring" \ title="wmbatppc" command="/usr/bin/wmbatppc -w" \ description="WindowMaker battery monitor dockapp for Apple laptops" debian/control0000644000000000000000000000214411666124547010606 0ustar Source: wmbatppc Section: utils Priority: optional Maintainer: Julien BLACHE Build-Depends: debhelper (>= 5), libxosd-dev (>= 2.0.2), libxext-dev, libx11-dev, libxpm-dev Standards-Version: 3.9.2 Package: wmbatppc Architecture: powerpc Depends: ${shlibs:Depends}, ${misc:Depends} Suggests: wmaker, pmud Description: Battery monitor for Apple G3/G4 ibooks/powerbooks wmbatppc displays the status of your laptop's battery in a dock icon, and features an On-Screen Display to remind you of the battery state. This is aimed at PPC laptops, suchs as iBooks and PowerBooks G3 or G4 ; laptops with two batteries are supported. . A command-line utility called batppc is also provided to access battery information from the console. . The status infos include the charge of the battery, the voltage, whether your laptop is plugged in or not, whether the battery is charging or not, the time remaining (both use and charge) and the level of the battery (it indicates the level of each battery if your laptop has two bays). . This package suggests pmud which can be used as a source of information. debian/patches/0000755000000000000000000000000011666126072010624 5ustar debian/patches/fix_link_order.patch0000644000000000000000000000137011666126072014644 0ustar Description: fix link order to list libraries after objects Build fails with ld --as-needed because the libraries are listed after the objects that use them. Author: Colin Watson Bug-Debian: http://bugs.debian.org/650276 Index: wmbatppc-2.5/Makefile =================================================================== --- wmbatppc-2.5.orig/Makefile 2003-07-23 14:58:42.000000000 +0000 +++ wmbatppc-2.5/Makefile 2011-12-02 10:39:03.000000000 +0000 @@ -18,7 +18,7 @@ $(CC) -I/usr/X11R6/share/include $(FLAGS) -c -Wall wmbatppc.c -o $*.o wmbatppc: $(OBJS) wmbatppc.o - $(CC) $(FLAGS) -o wmbatppc $(OBJS) -lXext $(LIBDIR) $(LIBS) wmbatppc.o + $(CC) $(FLAGS) -o wmbatppc wmbatppc.o $(OBJS) -lXext $(LIBDIR) $(LIBS) all:: wmbatppc debian/patches/series0000644000000000000000000000002511666125247012041 0ustar fix_link_order.patch debian/source/0000755000000000000000000000000011666125020010465 5ustar debian/source/format0000644000000000000000000000001411666125020011673 0ustar 3.0 (quilt) debian/dirs0000644000000000000000000000001111666124547010056 0ustar usr/bin debian/docs0000644000000000000000000000001711666124547010053 0ustar COPYING README debian/copyright0000644000000000000000000000163311666124547011140 0ustar This package was debianized by Julien BLACHE on Sun, 2 Sep 2001 21:08:22 +0200. It was downloaded from http://jblache.nerim.net/wmbatppc/ (originally from http://titelou.free.fr/wmbatppc/) Upstream Authors: Carine BOURNEZ Julien BLACHE Copyright: Copyright (C) 2000-2002 Carine BOURNEZ Copyright (C) 2002-2004 Julien BLACHE This program is released under a totally free license, see /usr/share/doc/wmbatppc/COPYING for more infos. (in short: do what you want, and feel free to send feedback, ideas, bug reports and chocolate to its author - though note the address in this file is long outdated) However, it uses some piece of code from other software licensed under the terms of the GNU General Public License. On Debian systems, the text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. debian/rules0000755000000000000000000000264111666124547010265 0ustar #!/usr/bin/make -f # Sample debian/rules that uses debhelper. # GNU copyright 1997 to 1999 by Joey Hess. # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 configure: configure-stamp configure-stamp: dh_testdir # Add here commands to configure the package. touch configure-stamp build: configure-stamp build-stamp build-stamp: dh_testdir # Add here commands to compile the package. $(MAKE) touch build-stamp clean: dh_testdir dh_testroot rm -f build-stamp configure-stamp # Add here commands to clean up after the build process. $(MAKE) clean dh_clean install: build dh_testdir dh_testroot dh_clean -k dh_installdirs # Add here commands to install the package into debian/wmbatppc. $(MAKE) install DESTDIR=$(CURDIR)/debian/wmbatppc rm -f $(CURDIR)/debian/wmbatppc/usr/share/man/man1/batppc.1 # Build architecture-independent files here. binary-indep: build install # We have nothing to do by default. # Build architecture-dependent files here. binary-arch: build install dh_testdir dh_testroot dh_installdocs dh_installmenu dh_installman wmbatppc.1 dh_installchangelogs dh_link usr/share/man/man1/wmbatppc.1.gz usr/share/man/man1/batppc.1.gz \ usr/bin/wmbatppc usr/bin/batppc dh_strip dh_compress dh_fixperms dh_installdeb dh_shlibdeps dh_gencontrol dh_md5sums dh_builddeb binary: binary-indep binary-arch .PHONY: build clean binary-indep binary-arch binary install configure