--- acpitool-0.5.orig/debian/docs +++ acpitool-0.5/debian/docs @@ -0,0 +1,2 @@ +AUTHORS +TODO --- acpitool-0.5.orig/debian/rules +++ acpitool-0.5/debian/rules @@ -0,0 +1,70 @@ +#!/usr/bin/make -f + +include /usr/share/dpatch/dpatch.make + +DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) +DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) + +ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE)) + CROSS= --build $(DEB_BUILD_GNU_TYPE) --host $(DEB_HOST_GNU_TYPE) +else + CROSS= --build $(DEB_BUILD_GNU_TYPE) +endif + +clean: unpatch + dh_testdir + dh_testroot + rm -f build-stamp + rm -f config.guess config.sub + + [ ! -f Makefile ] || $(MAKE) distclean + + dh_clean + +config.status: configure patch-stamp + dh_testdir + +ifneq "$(wildcard /usr/share/misc/config.sub)" "" + cp -f /usr/share/misc/config.sub config.sub +endif +ifneq "$(wildcard /usr/share/misc/config.guess)" "" + cp -f /usr/share/misc/config.guess config.guess +endif + + CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs" ./configure $(CROSS) --prefix=/usr + +build: build-stamp +build-stamp: config.status + dh_testdir + + $(MAKE) + + touch build-stamp + +install: build + dh_testdir + dh_testroot + dh_clean -k + dh_installdirs + + $(MAKE) DESTDIR=$(CURDIR)/debian/acpitool install + +binary: binary-arch + +binary-arch: build install + dh_testdir + dh_testroot + dh_installchangelogs ChangeLog + dh_installdocs + dh_strip --dbg-package=acpitool-dbg + dh_compress + dh_fixperms + dh_installdeb + dh_shlibdeps + dh_gencontrol + dh_md5sums + dh_builddeb + +binary-indep: + +.PHONY: clean build install binary binary-arch binary-indep --- acpitool-0.5.orig/debian/control +++ acpitool-0.5/debian/control @@ -0,0 +1,38 @@ +Source: acpitool +Section: utils +Priority: optional +Maintainer: Daniel Baumann +Build-Depends: debhelper (>= 7), dpatch, autotools-dev +Standards-Version: 3.8.0 +Homepage: http://freeunix.dyndns.org:8088/site2/acpitool.shtml +Vcs-Browser: http://git.debian.net/?p=debian/acpitool.git +Vcs-Git: git://git.debian.net/git/debian/acpitool.git + +Package: acpitool +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Recommends: acpid [amd64 i386 ia64] +Description: command line ACPI client + AcpiTool is a Linux ACPI client. It's a small command line application, + intended to be a replacement for the apm tool. The primary target audience are + laptop users, since these people are most interested in things like battery + status, thermal status and the ability to suspend (sleep mode). The program + simply accesses the /proc/acpi or /sysfs entries to get or set ACPI values. + It also supports various extensions for Toshiba, Asus, and IBM Thinkpad + laptops. + +Package: acpitool-dbg +Section: devel +Priority: extra +Architecture: any +Depends: acpitool (= ${binary:Version}) +Description: command line ACPI client (debug) + AcpiTool is a Linux ACPI client. It's a small command line application, + intended to be a replacement for the apm tool. The primary target audience are + laptop users, since these people are most interested in things like battery + status, thermal status and the ability to suspend (sleep mode). The program + simply accesses the /proc/acpi or /sysfs entries to get or set ACPI values. + It also supports various extensions for Toshiba, Asus, and IBM Thinkpad + laptops. + . + This package contains the debugging symbols. --- acpitool-0.5.orig/debian/changelog +++ acpitool-0.5/debian/changelog @@ -0,0 +1,148 @@ +acpitool (0.5-2) unstable; urgency=low + + * Adding debug package. + + -- Daniel Baumann Sat, 20 Sep 2008 16:21:00 +0200 + +acpitool (0.5-1) unstable; urgency=low + + * New maintainer, Nicolas Weyland is mia. + * Acknowledging previous NMUs (Closes: #376793). + * New upstream release: + - works with current kernels (Closes: #443016, #463111). + * Redone debian packaging from scratch: + - removed watch file (Closes: #450030). + + -- Daniel Baumann Sat, 20 Sep 2008 15:24:00 +0200 + +acpitool (0.4.7-1.4) unstable; urgency=low + + * Non-maintainer upload. + * Recommend acpid only on supported archs [amd64 i386 ia64]. Thanks Robert + Lemmen. (Closes: #436637). + + -- Amaya Rodrigo Sastre Sun, 30 Mar 2008 21:41:08 +0200 + +acpitool (0.4.7-1.3) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with new GCC 4.3 (Closes: #417069). + + -- Luk Claes Tue, 25 Mar 2008 22:22:33 +0000 + +acpitool (0.4.7-1.2) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with recent GCC 4.3 (Closes: #417069). + + -- Luk Claes Fri, 14 Mar 2008 21:34:50 +0000 + +acpitool (0.4.7-1.1) unstable; urgency=medium + + * Non-maintainer upload. + * Fix FTBFS with GCC 4.3 (Closes: #417069). + + -- Luk Claes Sat, 08 Mar 2008 15:25:44 +0000 + +acpitool (0.4.7-1) unstable; urgency=low + + * New upstream release + + - fixed output for "acpitool --cpu" + + - code cleanup + + -- Nicolas Weyland Tue, 6 Feb 2007 22:30:57 +0100 + +acpitool (0.4.6-1) unstable; urgency=low + + * New upstream release: + + - fixes acpitool -c output (closes #365969) + + - fixes smp-bug (closes #376793) + + * Fixed the copyright in debian/copyright + + * Updated the policy-version to 3.7.2 + + -- Nicolas Weyland Wed, 20 Dec 2006 17:27:08 +0200 + +acpitool (0.4.5-0.1) unstable; urgency=low + + * Non-maintainer upload + * New upstream release + Fixed output of the "-c" parameter (Closes: #365969) + * Added 02-smp.dpatch (Closes: #376793) + Thanks to Chris Hanson for providing the patch. + * Fixed the homepage in debian/copyright + * Added the homepage to debian/control + * Bumped policy-version to 3.7.2 + + -- Mario Iseli Wed, 08 Aug 2006 22:54:22 +0200 + +acpitool (0.4.4-1) unstable; urgency=low + + * New upstream release + + * Updated copyright information (closes #342241) + + * Upstream fixes #342020 (closes #342020) + + -- Nicolas Weyland Sun, 5 Feb 2006 18:39:54 +0100 + +acpitool (0.4.3-1) unstable; urgency=low + + * New upstream release + + -- Nicolas Weyland Sun, 5 Feb 2006 04:45:24 +0100 + +acpitool (0.4.2-1) unstable; urgency=low + + * New upstream release + + -- Nicolas Weyland Sat, 21 Jan 2006 13:15:29 +0100 + +acpitool (0.4.1-1) unstable; urgency=low + + * New upstream release + + * Removed /patches/01-acpitool.dpatch (fixed by upstream author) + + * Added /patches/01-asus.dpatch (corrects copyright in src/asus.cpp) + + -- Nicolas Weyland Tue, 10 Jan 2006 21:49:25 +0100 + +acpitool (0.4.0-2) unstable; urgency=low + + * Added /patches/01-acpitool.dpatch (closes #342020) + + -- Nicolas Weyland Wed, 7 Dec 2005 19:49:00 +0200 + +acpitool (0.4.0-1) unstable; urgency=low + + * New upstream release + + -- Nicolas Weyland Mon, 28 Nov 2005 22:33:35 +0100 + +acpitool (0.3.0-2) unstable; urgency=low + + * deleted debian/dirs, README.Debian and unused build-depends + + -- Nicolas Weyland Thu, 3 Nov 2005 23:32:42 +0200 + +acpitool (0.3.0-1) unstable; urgency=low + + * New upstream release + + * acpid is now a recommended package for acpitool (closes: #334788) + + * The NEWS file isn't in the debian package anymore + + -- Nicolas Weyland Mon, 24 Oct 2005 17:12:35 +0200 + +acpitool (0.2.7-1) unstable; urgency=low + + * Initial release (closes: #329287) + + -- Nicolas Weyland Wed, 21 Sep 2005 14:59:12 +0200 --- acpitool-0.5.orig/debian/copyright +++ acpitool-0.5/debian/copyright @@ -0,0 +1,64 @@ +Author: David Leemans +Download: http://freeunix.dyndns.org:8088/site2/acpitool.shtml + +Files: * +Copyright: (C) 2004-2008 David Leemans +License: GPL-2+ + 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. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: src/asus.* +Copyright: + (C) 2004-2008 David Leemans + (C) 2006 Nicolas Weyland +License: GPL-2+ + 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. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. + +Files: debian/* +Copyright: (C) 2008 Daniel Baumann +License: GPL-2+ + 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. + . + You should have received a copy of the GNU General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + . + On Debian systems, the complete text of the GNU General Public License + can be found in /usr/share/common-licenses/GPL-2 file. --- acpitool-0.5.orig/debian/compat +++ acpitool-0.5/debian/compat @@ -0,0 +1 @@ +7 --- acpitool-0.5.orig/debian/patches/01-gcc43.dpatch +++ acpitool-0.5/debian/patches/01-gcc43.dpatch @@ -0,0 +1,40 @@ +#!/bin/sh /usr/share/dpatch/dpatch-run +## 01-gcc4.3.dpatch +## +## DP: Fix FTBFS with gcc 4.3. + +@DPATCH@ + +diff -Naurp acpitool-0.5.orig/src/acpitool.cpp acpitool-0.5/src/acpitool.cpp +--- acpitool-0.5.orig/src/acpitool.cpp 2008-07-23 22:27:29.000000000 +0000 ++++ acpitool-0.5/src/acpitool.cpp 2008-09-20 13:42:56.000000000 +0000 +@@ -33,6 +33,7 @@ + #include + #include + #include ++#include + #include + #include "acpitool.h" + #include "ac_adapter.h" +diff -Naurp acpitool-0.5.orig/src/freq.cpp acpitool-0.5/src/freq.cpp +--- acpitool-0.5.orig/src/freq.cpp 2008-07-20 22:47:55.000000000 +0000 ++++ acpitool-0.5/src/freq.cpp 2008-09-20 13:41:47.000000000 +0000 +@@ -28,6 +28,7 @@ + #endif + + #include ++#include + #include + #include + #include +diff -Naurp acpitool-0.5.orig/src/toshiba.cpp acpitool-0.5/src/toshiba.cpp +--- acpitool-0.5.orig/src/toshiba.cpp 2007-11-06 21:19:59.000000000 +0000 ++++ acpitool-0.5/src/toshiba.cpp 2008-09-20 13:42:17.000000000 +0000 +@@ -29,6 +29,7 @@ + #endif + + #include ++#include + #include + #include + #include --- acpitool-0.5.orig/debian/patches/00list +++ acpitool-0.5/debian/patches/00list @@ -0,0 +1 @@ +01-gcc43.dpatch