summaryrefslogtreecommitdiff
path: root/sysutils/xbattbar
diff options
context:
space:
mode:
authorlukem <lukem>2004-04-20 10:31:13 +0000
committerlukem <lukem>2004-04-20 10:31:13 +0000
commit2b1867e10f3bde38f66c8566c4f5e2095740d6f4 (patch)
treea0717c3a45642ea3469cd1bec429473a9f60ce07 /sysutils/xbattbar
parent07f5da793eaf401e719373c92243394ac7343c94 (diff)
downloadpkgsrc-2b1867e10f3bde38f66c8566c4f5e2095740d6f4.tar.gz
some manual page improvements
Diffstat (limited to 'sysutils/xbattbar')
-rw-r--r--sysutils/xbattbar/Makefile4
-rw-r--r--sysutils/xbattbar/distinfo3
-rw-r--r--sysutils/xbattbar/patches/patch-ac66
3 files changed, 70 insertions, 3 deletions
diff --git a/sysutils/xbattbar/Makefile b/sysutils/xbattbar/Makefile
index b425e82dd3b..e6d4ba661d3 100644
--- a/sysutils/xbattbar/Makefile
+++ b/sysutils/xbattbar/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.22 2004/04/18 23:05:58 snj Exp $
+# $NetBSD: Makefile,v 1.23 2004/04/20 10:31:13 lukem Exp $
DISTNAME= xbattbar_1.4.2
PKGNAME= ${DISTNAME:S/_/-/}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= sysutils x11
MASTER_SITES= http://iplab.aist-nara.ac.jp/member/suguru/
diff --git a/sysutils/xbattbar/distinfo b/sysutils/xbattbar/distinfo
index c8a3be90b88..0dfa07d6e9e 100644
--- a/sysutils/xbattbar/distinfo
+++ b/sysutils/xbattbar/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.9 2003/11/10 23:53:32 mrg Exp $
+$NetBSD: distinfo,v 1.10 2004/04/20 10:31:13 lukem Exp $
SHA1 (xbattbar_1.4.2.tar.gz) = 14e9aafd62919e4a625d3f84df3b074b9eef8279
Size (xbattbar_1.4.2.tar.gz) = 14079 bytes
SHA1 (patch-aa) = 3bd4b688ccaeebe766335245c1a8c5dde52768c2
SHA1 (patch-ab) = dfaf520dcc10228da4ab4c222210f0ecb4914f4f
+SHA1 (patch-ac) = 507cdf9b4e79dc577d020963142e262d04536527
diff --git a/sysutils/xbattbar/patches/patch-ac b/sysutils/xbattbar/patches/patch-ac
new file mode 100644
index 00000000000..cd78c907bb7
--- /dev/null
+++ b/sysutils/xbattbar/patches/patch-ac
@@ -0,0 +1,66 @@
+$NetBSD: patch-ac,v 1.1 2004/04/20 10:31:13 lukem Exp $
+
+--- xbattbar.man.orig 2001-02-02 16:25:29.000000000 +1100
++++ xbattbar.man
+@@ -36,8 +36,8 @@
+ .Sh DESCRIPTION
+ .Nm xbattbar
+ shows the current (laptop) battery status in the X window environment.
+-Battery status is obtained through the APM kernel module.
+-The APM kernel module depends on your UNIX platform,
++Battery status is obtained through the APM or ACPI kernel module.
++The APM and ACPI kernels module depends on your UNIX platform,
+ therefore, consult your documentation for its detail.
+ .Pp
+ .Nm xbattbar
+@@ -48,7 +48,7 @@ The thickness of the indicator is 3 pixe
+ you can set the thickness as a parameter of
+ .Nm -t
+ option.
+-This indicator is appeared in the bottom of the display, as its default.
++This indicator appears in the bottom of the display (by default).
+ The option
+ .Nm top,
+ .Nm left,
+@@ -57,12 +57,12 @@ or
+ forces the status indicator to be at the top, left, and right of the
+ display,
+ respectively.
+-Though it's a default, you can also use
+-.Nm buttom
++Though it's the default, you can also use
++.Nm bottom
+ as the option.
+ .Pp
+-In the case the AC line is on-line (plugged in),
+-its color of the bar indicator consists of "green" and "olive drab"
++When the AC line is on-line (plugged in),
++the color of the bar indicator consists of "green" and "olive drab"
+ portions.
+ The "green" portion shows its battery charging level.
+ These colors can be changed by
+@@ -71,19 +71,20 @@ and
+ .Nm -O
+ options.
+ In the other case (AC line is off-line),
++the color of the bar indicator consists of "blue" and "red";
+ the "blue" portion of the bar indicator shows the percentage of
+ its remaining battery level.
+-The color conbination for the AC off-line case can be changed by
++The color combination for the AC off-line case can be changed by
+ .Nm -i
+ and
+ .Nm -o
+ options.
+ .Pp
+ .Nm xbattbar
+-trys to know its battery status in every 10 seconds in default.
+-This is achived by APM polling.
++trys to know the battery status in every 10 seconds.
++This is achieved by APM or ACPI polling.
+ .Nm -p
+-option sets the polling interval in second.
++option changes the polling interval (in seconds).
+ .Pp
+ If the mouse cursor enters in the status indicator,
+ the diagnosis window appears in the center of the display,