yacpi (3.0-2) debian-dir only changes

Summary

 debian/NEWS                         |   10 ++++
 debian/changelog                    |   79 ++++++++++++++++++++++++++++++++++++
 debian/compat                       |    1 
 debian/control                      |   18 ++++++++
 debian/copyright                    |   29 +++++++++++++
 debian/docs                         |    2 
 debian/patches/00list               |    2 
 debian/patches/01_makefile.dpatch   |   19 ++++++++
 debian/patches/02_fixacstate.dpatch |   18 ++++++++
 debian/rules                        |   56 +++++++++++++++++++++++++
 10 files changed, 234 insertions(+)

    
download this patch

Patch contents

--- yacpi-3.0.orig/debian/NEWS
+++ yacpi-3.0/debian/NEWS
@@ -0,0 +1,10 @@
+yacpi (3.0-1) unstable; urgency=low
+
+    * This release is a complete rewrite of yacpi so watch you setups.
+    * -m option removed, not needed anymore.
+    * New options to enable or disable features (battery, therm, etc).
+      Have a look at yacpi -h
+    * Samples are completely dropped, they are not needed anymore.
+    * -t is now -p since -t is used to enable thermal information.
+
+ -- Nico Golde <nion@debian.org>  Thu, 09 Aug 2007 19:05:00 +0200
--- yacpi-3.0.orig/debian/control
+++ yacpi-3.0/debian/control
@@ -0,0 +1,18 @@
+Source: yacpi
+Section: utils
+Priority: optional
+Maintainer: Nico Golde <nion@debian.org>
+Build-Depends: debhelper (>= 5), libncurses5-dev, dpatch, libacpi-dev
+Homepage: http://www.ngolde.de/yacpi/
+Standards-Version: 3.7.2
+
+Package: yacpi
+Architecture: i386 ia64 amd64
+Depends: ${shlibs:Depends}
+Description: ncurses based acpi monitor for text mode
+ yacpi (yet another configuration and power interface) is an ncurses based
+ ACPI monitoring program for notebooks. There is also a text-only output
+ so it is possible to include it in scripts.
+ It displays various ACPI information like battery status, temperature,
+ charging circuits and AC status.
+ Additionally it displays CPU govenor and current frequency.
--- yacpi-3.0.orig/debian/compat
+++ yacpi-3.0/debian/compat
@@ -0,0 +1 @@
+5
--- yacpi-3.0.orig/debian/docs
+++ yacpi-3.0/debian/docs
@@ -0,0 +1,2 @@
+README
+THANKS
--- yacpi-3.0.orig/debian/changelog
+++ yacpi-3.0/debian/changelog
@@ -0,0 +1,79 @@
+yacpi (3.0-2) unstable; urgency=low
+
+  * Added 02_fixacstate to add missing call to read_acpi_acstate
+    which causes yacpi to not recognize a change of the ac
+    state (Closes: #448305).
+  * Switched from Homepage tag to the new Homepage control field.
+
+ -- Nico Golde <nion@debian.org>  Sun, 28 Oct 2007 02:21:27 +0200
+
+yacpi (3.0-1) unstable; urgency=low
+
+  * New upstream release.
+  * Now depend on libacpi, this version is based in libacpi.
+  * Updated copyright file since Simon Fowler has
+    not copyright on the code anymore.
+
+ -- Nico Golde <nion@debian.org>  Thu, 09 Aug 2007 19:05:00 +0200
+
+yacpi (2.1-1) unstable; urgency=low
+
+  * New upstream release.
+  * Changed maintainer address.
+  * Bumped compat level to 5.
+  * Removed dirs file since it's not needed anymore.
+  * New dependency on dpatch and adapted rules for un/patch.
+  * Added patch to fix Makfile.
+
+ -- Nico Golde <nion@debian.org>  Sun, 18 Mar 2007 17:05:46 +0100
+
+yacpi (2.0.1.1-1) unstable; urgency=low
+
+  * New upstream release (Closes: #385260).
+  * Removed dh_installexamples from rules, its not needed.
+
+ -- Nico Golde <nico@ngolde.de>  Thu, 31 Aug 2006 14:33:37 +0200
+
+yacpi (2.0.1-1) unstable; urgency=low
+
+  * New upstream release
+    - recognizes terminal color now (Closes: #337071).
+    - fixed delay option (Closes: #337076).
+    - fixed spelling mistake in error message (Closes: #337076).
+  * Adapted to current policy version.
+
+ -- Nico Golde <nico@ngolde.de>  Wed, 24 May 2006 21:35:27 +0200
+
+yacpi (2.0-2) unstable; urgency=low
+
+  * Added legal notice to copyright.
+  * Added space to homepage tag.
+
+ -- Nico Golde <nico@ngolde.de>  Sat, 15 Oct 2005 21:58:06 +0200
+
+yacpi (2.0-1) unstable; urgency=low
+
+  * New upstream release.
+
+ -- Nico Golde <nico@ngolde.de>  Tue, 16 Aug 2005 22:13:56 +0200
+
+yacpi (1.3-1) unstable; urgency=low
+
+  * New upstream release (Closes: #305359, #305358).
+  * Changed standards version
+
+ -- Nico Golde <nico@ngolde.de>  Sun, 31 Jul 2005 16:28:03 +0200
+ 
+yacpi (1.2-1) unstable; urgency=low
+
+  * New upstream release. 
+  * Changed architectures because acpi isn't available on all platforms
+
+ -- Nico Golde <nico@ngolde.de>  Sat, 26 Mar 2005 17:54:50 +0100
+
+yacpi (1.0-1) unstable; urgency=low
+
+  * Initial Release.(Closes: #289176) 
+
+ -- Nico Golde <nico@ngolde.de>  Fri, 07 Jan 2005 15:07:58 +0100
+
--- yacpi-3.0.orig/debian/patches/01_makefile.dpatch
+++ yacpi-3.0/debian/patches/01_makefile.dpatch
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 01_makefile.dpatch by Nico Golde <nion@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad yacpi-2.1~/Makefile yacpi-2.1/Makefile
+--- yacpi-2.1~/Makefile	2007-03-18 16:58:47.000000000 +0100
++++ yacpi-2.1/Makefile	2007-03-18 17:16:24.000000000 +0100
+@@ -45,7 +45,7 @@
+ 	@mkdir -p ${DOCPATH}
+ 	@mkdir -p ${INSPATH}
+ 	@mkdir -p ${MANPATH}
+-	install -m644 CHANGELOG README THANKS COPYING ${DOCPATH}
++	install -m644 README THANKS ${DOCPATH}
+ 	install -m644 yacpi.1 ${MANPATH}
+ 	install ${BIN} ${INSPATH}
+ 
--- yacpi-3.0.orig/debian/patches/02_fixacstate.dpatch
+++ yacpi-3.0/debian/patches/02_fixacstate.dpatch
@@ -0,0 +1,18 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 02_fixacstate.dpatch by Nico Golde <nion@debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+@DPATCH@
+diff -urNad yacpi-3.0~/yacpi.c yacpi-3.0/yacpi.c
+--- yacpi-3.0~/yacpi.c	2007-08-09 18:47:47.000000000 +0200
++++ yacpi-3.0/yacpi.c	2007-10-28 02:18:19.000000000 +0200
+@@ -150,6 +150,7 @@
+ 	adapter_t *ac = &global->adapt;
+ 
+ 	if(!ac) return;
++	read_acpi_acstate(global);
+ 	if(t){
+ 		if(ac_s == SUCCESS && ac->ac_state == P_BATT)
+ 			printf("| ac = off-line ");
--- yacpi-3.0.orig/debian/patches/00list
+++ yacpi-3.0/debian/patches/00list
@@ -0,0 +1,2 @@
+01_makefile
+02_fixacstate
--- yacpi-3.0.orig/debian/copyright
+++ yacpi-3.0/debian/copyright
@@ -0,0 +1,29 @@
+This package was debianized by Nico Golde <nion@debian.org> on
+Fri, 07 Jan 2005 15:07:58 +0100.
+
+It was downloaded from http://www.ngolde.de/yacpi.html
+
+Copyright: 2005-2007 Nico Golde
+
+Upstream Author: Nico Golde <nico@ngolde.de>
+
+License:
+
+   This software is copyright (c) 2005-2007 by Nico Golde.
+
+   This package 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; version 2 dated June, 1991.
+
+   This package 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 package; if not, write to the Free Software Foundation,
+   Inc., 51 Franklin St, Fifth Floor, Boston,
+   MA 02110-1301, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
--- yacpi-3.0.orig/debian/rules
+++ yacpi-3.0/debian/rules
@@ -0,0 +1,56 @@
+#!/usr/bin/make -f
+
+include /usr/share/dpatch/dpatch.make
+
+build: build-stamp
+
+build-stamp: patch-stamp
+	dh_testdir
+
+	$(MAKE)
+
+	touch build-stamp
+
+clean: unpatch
+	dh_testdir
+	dh_testroot
+	rm -f build-stamp configure-stamp
+
+	$(MAKE) clean
+
+	dh_clean 
+
+install: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k 
+	dh_installdirs
+
+	$(MAKE) install prefix=$(CURDIR)/debian/yacpi/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_installchangelogs CHANGELOG
+	dh_installdocs
+	dh_install
+	dh_installman
+	dh_compress 
+	dh_link
+	dh_strip
+	dh_fixperms
+	dh_makeshlibs
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install