[Pkg-wmaker-commits] [wmacpi] 68/105: patch to refer to acpi as acpi-ng in documentation

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 18 01:13:46 UTC 2015


This is an automated email from the git hooks/post-receive script.

dtorrance-guest pushed a commit to branch master
in repository wmacpi.

commit 098134447328218a62e20d5d1e0e17bab66f4d66
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Jul 20 01:07:17 2014 -0500

    patch to refer to acpi as acpi-ng in documentation
---
 debian/patches/rename_acpi_to_acpi-ng.patch | 68 +++++++++++++++++++++++++++++
 debian/patches/series                       |  1 +
 2 files changed, 69 insertions(+)

diff --git a/debian/patches/rename_acpi_to_acpi-ng.patch b/debian/patches/rename_acpi_to_acpi-ng.patch
new file mode 100644
index 0000000..dba7dee
--- /dev/null
+++ b/debian/patches/rename_acpi_to_acpi-ng.patch
@@ -0,0 +1,68 @@
+Description: Rename acpi to acpi-ng.
+ To avoid conflict with the acpi package, which also provides /usr/bin/acpi,
+ the acpi binary file provided with this package is being renamed to acpi-ng.
+ This was a former name of this file in a previous release, and it is still
+ referred to as such several places in the source.  This patch updates the
+ documentation to reflect this change.
+Author: Doug Torrance <dtorrance at monmouthcollege.edu>
+Last-Update: <2014-07-20>
+
+--- wmacpi-2.2~rc5.orig/acpi.c
++++ wmacpi-2.2~rc5/acpi.c
+@@ -45,7 +45,7 @@ void usage(char *name)
+ 
+ void print_version(void)
+ {
+-	printf("acpi version %s\n", ACPI_VER);
++	printf("acpi-ng version %s\n", ACPI_VER);
+ 	printf(" Using libacpi version %s\n", LIBACPI_VER);
+ }
+ 
+--- wmacpi-2.2~rc5.orig/wmacpi.1
++++ wmacpi-2.2~rc5/wmacpi.1
+@@ -2,7 +2,7 @@
+ .SH NAME
+ wmacpi \- Battery status monitor for systems supporting ACPI
+ .SH NAME
+-acpi \- Query battery status for systems supporting ACPI
++acpi-ng \- Query battery status for systems supporting ACPI
+ .SH SYNOPSIS
+ .B wmacpi
+ [
+@@ -39,7 +39,7 @@ samples ]
+ .RI -h
+ ]
+ .PP
+-.B acpi
++.B acpi-ng
+ [
+ .RI -a
+ samples ]
+@@ -77,7 +77,7 @@ and a scrolling message with some hopefu
+ Clicking on the window cycles through the batteries that the ACPI
+ system knows about.
+ .PP
+-.B acpi
++.B acpi-ng
+ queries the battery status from the command line. It prints the power
+ status, the percentage remaining for each battery found, and the time
+ remaining if the system is on battery, or the time remaining for each
+@@ -115,8 +115,7 @@ rate.
+ .TP
+ .B \-x, --cmdline
+ Run wmacpi in command line mode - this operates identically to 
+-.B acpi
+-..
++.B acpi-ng\&.
+ .TP
+ .B \-a, --samples=samples
+ Average the time remaining over num samples. This greatly improves the
+@@ -136,7 +135,7 @@ Disable scrolling message.
+ .B \-h, --help
+ Display help.
+ .TP
+-.B acpi
++.B acpi-ng
+ .TP
+ .B \-a num
+ Average the time remaining over num samples. This greatly improves the
diff --git a/debian/patches/series b/debian/patches/series
index 19a2c58..39b433e 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix_compiler_flags.patch
+rename_acpi_to_acpi-ng.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmacpi.git



More information about the Pkg-wmaker-commits mailing list