--- acpi-0.09.orig/acpi.1
+++ acpi-0.09/acpi.1
@@ -0,0 +1,52 @@
+.TH "ACPI" "1"
+.SH "NAME"
+acpi - Shows battery status and other ACPI information
+.SH "SYNOPSIS"
+.PP
+\fBacpi\fP [\fBoptions\fP]
+.SH "DESCRIPTION"
+.PP
+\fBacpi\fP
+Shows information from the /proc filesystem, such as battery status or
+thermal information.
+.PP
+This manual page was written for the \fBDebian\fP distribution
+because the original program does not have a manual page.
+.SH "OPTIONS"
+.IP "\fB-b | --battery\fP " 10
+show battery information
+.IP "\fB-B | --without-battery\fP " 10
+suppress battery information
+.IP "\fB-t | --thermal\fP " 10
+show thermal information
+.IP "\fB-T | --without-thermal\fP " 10
+suppress thermal information
+.IP "\fB-a | --ac-adapter\fP " 10
+show ac adapter information
+.IP "\fB-A | --without-ac-adapter\fP " 10
+suppress ac-adapter information
+.IP "\fB-V | --everything\fP " 10
+show every device, overrides above options
+.IP "\fB-s | --show-empty\fP " 10
+show non-operational devices
+.IP "\fB-S | --hide-empty\fP " 10
+hide non-operational devices
+.IP "\fB-c | --celcius\fP " 10
+use celcius as the temperature unit (default)
+.IP "\fB-f | --fahrenheit\fP " 10
+use fahrenheit as the temperature unit
+.IP "\fB-k | --kelvin\fP " 10
+use kelvin as the temperature unit
+.IP "\fB-d | --directory
\fP " 10
+path to ACPI info (/proc/acpi)
+.IP "\fB-h | --help\fP " 10
+display help and exit
+.IP "\fB-v | --version\fP " 10
+output version information and exit
+
+.SH "AUTHOR"
+.PP
+This manual page was written by Paul Telford for
+the \fBDebian\fP system (but may be used by others). Permission is
+granted to copy, distribute and/or modify this document under
+the terms of the GNU GPL.
--- acpi-0.09.orig/acpi.de.1
+++ acpi-0.09/acpi.de.1
@@ -0,0 +1,47 @@
+.TH "ACPI" "1"
+.SH "NAME"
+acpi - zeigt den Batterieladestand an
+.SH "SYNOPSIS"
+.PP
+\fBacpi\fP [\fBOptionen\fP]
+.SH "DESCRIPTION"
+.PP
+\fBacpi\fP
+Liest Informationen aus dem /proc-Dateisystem über den Batteriestatus und die Temperatur aus und zeigt sie an.
+.PP
+Diese Handbuchseite wurde für die Debian-Distribution geschrieben, da das Originalprogramm über keine Handbuchseite verfügt.
+.SH "OPTIONS"
+.IP "\fB-b | --battery\fP " 10
+zeigt den Batterieladestand an
+.IP "\fB-B | --without-battery\fP " 10
+zeigt den Batterieladestand NICHT an
+.IP "\fB-t | --thermal\fP " 10
+zeigt die Temperatur an
+.IP "\fB-T | --without-thermal\fP " 10
+zeigt die Temperatur NICHT an
+.IP "\fB-a | --ac-adapter\fP " 10
+zeigt an, ob die Batterie geladen wird
+.IP "\fB-A | --without-ac-adapter\fP " 10
+zeigt NICHT an, ob die Batterie geladen wird
+.IP "\fB-V | --everything\fP " 10
+zeigt alles an (ignoriert die anderen Optionen)
+.IP "\fB-s | --show-empty\fP " 10
+zeigt nicht-funktionierende Geräte an
+.IP "\fB-S | --hide-empty\fP " 10
+zeigt nicht-funktionierende Geräte NICHT an
+.IP "\fB-c | --celcius\fP " 10
+verwendet Celsius als Temperatureinheit
+.IP "\fB-f | --fahrenheit\fP " 10
+verwendet Fahrenheit als Temperatureinheit
+.IP "\fB-k | --kelvin\fP " 10
+verwendet Kelvin als Temperatureinheit
+.IP "\fB-d | --directory \fP " 10
+Pfad zu den ACPI-Informationen (/proc/acpi)
+.IP "\fB-h | --help\fP " 10
+die Hilfeseite anzeigen und beenden
+.IP "\fB-v | --version\fP " 10
+die Versionsnummer anzeigen und beenden
+
+.SH "AUTHOR"
+.PP
+Diese Handbuchseite wurde von Paul Telford für das \fBDebian\fP-System geschrieben, sie darf jedoch auch von anderen verwendet werden. Dieses Dokument darf unter den Bedingungen der GNU GPL kopiert, verteilt und/oder verändert werden.
--- acpi-0.09.orig/debian/dirs
+++ acpi-0.09/debian/dirs
@@ -0,0 +1 @@
+usr/bin
--- acpi-0.09.orig/debian/rules
+++ acpi-0.09/debian/rules
@@ -0,0 +1,62 @@
+#!/usr/bin/make -f
+
+CFLAGS=-O2 -Wall -g
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ aclocal
+ autoheader
+ automake -a
+ autoconf
+ ./configure --prefix=/usr --mandir=\$${prefix}/share/man
+ # Automake. Sigh.
+ grep -v AMDEP_TRUE Makefile > Makefile.new ; mv -f Makefile.new Makefile
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ dh_testdir
+ $(MAKE) CFLAGS="$(CFLAGS)"
+ touch build-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp configure-stamp
+ -$(MAKE) distclean
+ dh_clean doc/acpi.1 install-sh depcomp missing mkinstalldirs \
+ aclocal.m4 config.log config.status config.h config.cache \
+ COPYING INSTALL configure Makefile.in stamp-h stamp-h.in \
+ Makefile config.h.in
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ dh_installman acpi.1 acpi.de.1
+ $(MAKE) install prefix=$(CURDIR)/debian/acpi/usr
+
+# 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 README AUTHORS
+ dh_installchangelogs ChangeLog
+ dh_link
+ 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
--- acpi-0.09.orig/debian/changelog
+++ acpi-0.09/debian/changelog
@@ -0,0 +1,164 @@
+acpi (0.09-3ubuntu1) gutsy; urgency=low
+
+ * Allow acpi to build on lpia as well.
+
+ -- Adam Conrad Wed, 15 Aug 2007 23:35:40 +1000
+
+acpi (0.09-3) unstable; urgency=low
+
+ * Man page improvements. Closes: #327398
+
+ -- Joey Hess Thu, 8 Feb 2007 18:55:44 -0500
+
+acpi (0.09-2) unstable; urgency=low
+
+ * Added a German man page contributed by Oliver Grimm. Closes: #406087
+
+ -- Joey Hess Mon, 8 Jan 2007 16:08:32 -0500
+
+acpi (0.09-1) unstable; urgency=low
+
+ * New upstream release:
+ - Deal with missing discharge or charging rates. Closes: #226306
+ - Better handling of "unknown" "charging rate" and "present state" fields.
+ Closes: #169351
+ - BugFree(TM) !
+ * Corrected messed up version number in last changelog entry.
+
+ -- Joey Hess Wed, 13 Apr 2005 14:39:43 -0400
+
+acpi (0.08-1) unstable; urgency=low
+
+ * New upstream release:
+ - Fix rounding error in percent charged that went over 100%.
+ Closes: #288378
+ - Fix units for K. Closes: #275564
+ - Fix spelling of --celsius switch. Closes: #229870
+ * Note in description that it does not do acpi suspending. Closes: #294680
+
+ -- Joey Hess Wed, 13 Apr 2005 11:53:30 -0400
+
+acpi (0.07-3) unstable; urgency=low
+
+ * Add a man page, based on work by Paul Telford. Closes: #235554
+ * Add amd64 to the list of supported arches. Closes: #249053
+
+ -- Joey Hess Tue, 18 May 2004 16:49:14 -0300
+
+acpi (0.07-1) unstable; urgency=low
+
+ * New upstream release.
+ * New website.
+ * Add watch file.
+
+ -- Joey Hess Sun, 30 Nov 2003 12:32:07 -0500
+
+acpi (0.06-5) unstable; urgency=low
+
+ * Pass -n option to help2man to generate a sane NAME paragraph in the man
+ page. Closes: #212867
+
+ -- Joey Hess Mon, 29 Sep 2003 20:04:53 -0400
+
+acpi (0.06-4) unstable; urgency=low
+
+ * Added missing entry for --everything to getopt structure.
+ Closes: #212161
+
+ -- Joey Hess Mon, 22 Sep 2003 14:03:58 -0400
+
+acpi (0.06-3) unstable; urgency=low
+
+ * Remove multiline string. Closes: #195280
+
+ -- Joey Hess Fri, 30 May 2003 11:07:23 -0400
+
+acpi (0.06-2) unstable; urgency=low
+
+ * If the units are in dK, divide by ten and subtract absolute zero, patch
+ from Mario Lang, Closes: #173812
+ * Update build-dependency to use the (ugly) new "automaken" virtual package.
+
+ -- Joey Hess Sat, 1 Feb 2003 17:34:11 -0500
+
+acpi (0.06-1) unstable; urgency=low
+
+ * New (old) upstream release. Fixes divide by zero problem, Closes: #149770
+
+ -- Joey Hess Mon, 23 Sep 2002 20:22:36 -0400
+
+acpi (0.0.5-4) unstable; urgency=low
+
+ * Added a horrible hack to work around automake 1.5/1.6 problems with
+ AMDEP_TRUE appearing in the Makefile. Automake continues to suck.
+
+ -- Joey Hess Wed, 10 Jul 2002 15:48:56 -0400
+
+acpi (0.0.5-3) unstable; urgency=low
+
+ * Debhelper v4.
+ * Added support for DEB_BUILD_OPTIONS.
+
+ -- Joey Hess Wed, 10 Jul 2002 15:37:45 -0400
+
+acpi (0.0.5-2) unstable; urgency=low
+
+ * Erm, I maintain this.
+ * Added ia64 to arch list, Closes: #145846
+ * Call automake -a when I'm building it from CVS.
+
+ -- Joey Hess Fri, 17 May 2002 09:40:46 -0400
+
+acpi (0.0.5-1) unstable; urgency=low
+
+ * New upstream release. Changelog confusion resolved.
+
+ -- Joey Hess Sun, 7 Apr 2002 01:35:46 -0500
+
+acpi (0.0.4-2) unstable; urgency=low
+
+ * New upstream release.
+ * Fixed minor problem with 2.4.18 ACPI compatability, again.
+
+ -- Joey Hess Sat, 6 Apr 2002 23:18:09 -0500
+
+acpi (0.0.4-1) unstable; urgency=low
+
+ * merged patch from Joey Hess to add
+ compatibility support for the old /proc layout
+ * added the -V option and updated manpage
+
+ -- Grahame Bowland Sat, 6 Apr 2002 12:18:29 +0800
+
+acpi (0.0.3-2) unstable; urgency=low
+
+ * First release for Debian.
+ * Patched to continue to work with 2.4.18's ACPI.
+ * Bumped version number in main.c.
+ * Taking over where upstream's debianization left off.
+ * Limited architecture to i386. If some other arch does support ACPI,
+ I'll add it when I'm told of it.
+ * Remove README.Debian on build, as it is empty.
+ * Other minor debianization changes.
+
+ -- Joey Hess Fri, 5 Apr 2002 13:48:32 -0500
+
+acpi (0.0.3-1) unstable; urgency=low
+
+ * fix to work with new /proc layout, as of ACPI patch 20020329
+
+ -- Grahame Bowland Wed, 3 Apr 2002 02:40:49 +0800
+
+acpi (0.0.2-1) unstable; urgency=low
+
+ * Acer TM517 support; bugfixes by Ulrich Hahn
+ * autoconf/automake for builds now
+ * general bugfixes
+
+ -- Grahame Bowland Thu, 6 Sep 2001 22:26:15 +0800
+
+acpi (0.0.1-1) unstable; urgency=low
+
+ * Initial Release.
+
+ -- Grahame Bowland Thu, 6 Sep 2001 22:26:15 +0800
--- acpi-0.09.orig/debian/copyright
+++ acpi-0.09/debian/copyright
@@ -0,0 +1,19 @@
+This package was debianized by Grahame Bowland on
+Thu, 6 Sep 2001 22:26:15 +0800.
+
+It was downloaded from http://grahame.angrygoats.net/acpi.shtml
+
+ * Copyright (C) 2001 Grahame Bowland
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+
+On Debian GNU/Linux systems, the text of the GPL can be found in
+/usr/share/common-licenses/GPL.
--- acpi-0.09.orig/debian/docs
+++ acpi-0.09/debian/docs
@@ -0,0 +1 @@
+README
--- acpi-0.09.orig/debian/watch
+++ acpi-0.09/debian/watch
@@ -0,0 +1,2 @@
+version=2
+http://grahame.angrygoats.net/source/acpi/acpi-(.*).tar.gz
--- acpi-0.09.orig/debian/control
+++ acpi-0.09/debian/control
@@ -0,0 +1,16 @@
+Source: acpi
+Section: utils
+Priority: optional
+Maintainer: Ubuntu Core Developers
+XSBC-Original-Maintainer: Joey Hess
+Build-Depends: debhelper (>= 4), automaken, autoconf, help2man, dpkg-dev (>= 1.9.0)
+Standards-Version: 3.7.2
+XS-Vcs-Svn: svn://svn.kitenet.net/joey/trunk/src/packages/acpi
+
+Package: acpi
+Architecture: i386 ia64 amd64 lpia
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: displays information on ACPI devices
+ Attempts to replicate the functionality of the 'old' apm command on
+ ACPI systems, including battery and thermal information. Does not support
+ ACPI suspending, only displays information about ACPI devices.
--- acpi-0.09.orig/debian/compat
+++ acpi-0.09/debian/compat
@@ -0,0 +1 @@
+4