summaryrefslogtreecommitdiff
path: root/upower
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2020-04-17 13:25:48 +1000
committerDanny Rawlins <monster.romster@gmail.com>2020-04-17 13:26:10 +1000
commite707c9f2c61c683d8c69b6d634e0c85d0747def5 (patch)
tree38a7e1101582c430d1a40807dcc8cbe89b7c18fd /upower
parent503926a4b2498b0c5745fa035631979969ad2d06 (diff)
downloadopt-e707c9f2c61c683d8c69b6d634e0c85d0747def5.tar.gz
opt-e707c9f2c61c683d8c69b6d634e0c85d0747def5.tar.xz
upower: 0.99.7 -> 0.99.11
Diffstat (limited to 'upower')
-rw-r--r--upower/.footprint13
-rw-r--r--upower/.signature11
-rw-r--r--upower/Pkgfile16
-rw-r--r--upower/UPower.776
-rw-r--r--upower/upower.1133
-rw-r--r--upower/upowerd.8109
6 files changed, 347 insertions, 11 deletions
diff --git a/upower/.footprint b/upower/.footprint
index 45f625832..0a8f65287 100644
--- a/upower/.footprint
+++ b/upower/.footprint
@@ -1,14 +1,12 @@
drwxr-xr-x root/root etc/
drwxr-xr-x root/root etc/UPower/
-rw-r--r-- root/root etc/UPower/UPower.conf
-drwxr-xr-x root/root etc/dbus-1/
-drwxr-xr-x root/root etc/dbus-1/system.d/
--rw-r--r-- root/root etc/dbus-1/system.d/org.freedesktop.UPower.conf
drwxr-xr-x root/root lib/
drwxr-xr-x root/root lib/udev/
drwxr-xr-x root/root lib/udev/rules.d/
-rw-r--r-- root/root lib/udev/rules.d/95-upower-csr.rules
-rw-r--r-- root/root lib/udev/rules.d/95-upower-hid.rules
+-rw-r--r-- root/root lib/udev/rules.d/95-upower-hidpp.rules
-rw-r--r-- root/root lib/udev/rules.d/95-upower-wup.rules
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
@@ -46,8 +44,17 @@ drwxr-xr-x root/root usr/share/dbus-1/interfaces/
-rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.UPower.xml
drwxr-xr-x root/root usr/share/dbus-1/system-services/
-rw-r--r-- root/root usr/share/dbus-1/system-services/org.freedesktop.UPower.service
+drwxr-xr-x root/root usr/share/dbus-1/system.d/
+-rw-r--r-- root/root usr/share/dbus-1/system.d/org.freedesktop.UPower.conf
drwxr-xr-x root/root usr/share/gir-1.0/
-rw-r--r-- root/root usr/share/gir-1.0/UPowerGlib-1.0.gir
+drwxr-xr-x root/root usr/share/man/
+drwxr-xr-x root/root usr/share/man/man1/
+-rw-r--r-- root/root usr/share/man/man1/upower.1.gz
+drwxr-xr-x root/root usr/share/man/man7/
+-rw-r--r-- root/root usr/share/man/man7/UPower.7.gz
+drwxr-xr-x root/root usr/share/man/man8/
+-rw-r--r-- root/root usr/share/man/man8/upowerd.8.gz
drwxr-xr-x root/root var/
drwxr-xr-x root/root var/lib/
drwxr-xr-x root/root var/lib/upower/
diff --git a/upower/.signature b/upower/.signature
index bcf8e5dc5..717d1c0e0 100644
--- a/upower/.signature
+++ b/upower/.signature
@@ -1,5 +1,8 @@
untrusted comment: verify with /etc/ports/opt.pub
-RWSE3ohX2g5d/Q9eBjpaNKv1swsJ1Wr5/cRwTVqFVTj0/AXdzReKAF1BVBRQa2OhgREJ6SSAcxFdkfFWxiNeDSyiquCEEeBSnQo=
-SHA256 (Pkgfile) = 85dae02b014fc3f5de6e629a42e6e122f52bde73ca2feca9b736f7ee3cc33cea
-SHA256 (.footprint) = c4c9d681801ba72df7fdf0d7391324c6f96d03d2020e5c80130914c7b94d0d97
-SHA256 (upower-0.99.7.tar.xz) = 24bcc2f6ab25a2533bac70b587bcb019e591293076920f5b5e04bdedc140a401
+RWSE3ohX2g5d/cgC+dsueQQvbquPZfyCwraUKPKY1vOcBpO4AYlVjWladxp/5q3RXLbRQKkUMYT3M1uB+Dezlp2dF215cCVYnQs=
+SHA256 (Pkgfile) = f0d7bdec6e1a2f417061fdb59f0e563668b9172e58ddad64d3ed53861729a600
+SHA256 (.footprint) = f0e2f2153f4348add384180806a7425aa512ff4404508fa952457f1f48d1dfde
+SHA256 (upower-0.99.11.tar.xz) = 64b5ffbfccd5bdb15d925777979a4dbee1a957f9eaeb158dc76175267eddbdef
+SHA256 (upower.1) = c4e05bc89b31c9ddc206a33d97c15c2babbce5330f79e0849c84fb878e896c6b
+SHA256 (UPower.7) = 50b3e3b2cec513492c88e270fcf3dee2f98d11f52130827740f804a1492b6dd8
+SHA256 (upowerd.8) = d31cd082985a171a92d63126304964453d5dc3c1431960885f2fe2259784786f
diff --git a/upower/Pkgfile b/upower/Pkgfile
index 6b72157ea..cdc00b822 100644
--- a/upower/Pkgfile
+++ b/upower/Pkgfile
@@ -2,11 +2,13 @@
# URL: http://upower.freedesktop.org/
# Maintainer: Danny Rawlins, crux at romster dot me
# Depends on: dbus-glib intltool libgudev libusb
+# Optional: gtk-doc
name=upower
-version=0.99.7
+version=0.99.11
release=1
-source=(https://$name.freedesktop.org/releases/$name-$version.tar.xz)
+source=(https://$name.freedesktop.org/releases/$name-$version.tar.xz
+ upower.1 UPower.7 upowerd.8)
build() {
cd $name-$version
@@ -16,9 +18,15 @@ build() {
--sysconfdir=/etc \
--localstatedir=/var \
--libexecdir=/usr/lib/$name \
- --disable-nls \
- --disable-man-pages
+ --disable-nls
make
make DESTDIR=$PKG install
+
+ if [ ! -e 'usr/share/pkgconfig/gtk-doc.pc' ]; then
+ install -Dm644 $SRC/upower.1 $PKG/usr/share/man/man1/upower.1
+ install -Dm644 $SRC/UPower.7 $PKG/usr/share/man/man7/UPower.7
+ install -Dm644 $SRC/upowerd.8 $PKG/usr/share/man/man8/upowerd.8
+ fi
+
}
diff --git a/upower/UPower.7 b/upower/UPower.7
new file mode 100644
index 000000000..18e46397f
--- /dev/null
+++ b/upower/UPower.7
@@ -0,0 +1,76 @@
+'\" t
+.\" Title: UPower
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\" Date: March 2008
+.\" Manual: UPower
+.\" Source: UPower
+.\" Language: English
+.\"
+.TH "UPOWER" "7" "March 2008" "UPower" "UPower"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+
+
+
+
+
+ .SH "NAME"
+UPower \- System\-wide Power Management
+
+
+ .SH "DESCRIPTION"
+
+ .PP
+UPower provides an interface to enumerate power sources on the system and control system\-wide power management\&. Any application can access the
+\fIorg\&.freedesktop\&.UPower\fR
+service on the system message bus\&.
+
+
+
+ .SH "AUTHOR"
+
+ .PP
+Written by David Zeuthen
+<davidz@redhat\&.com>, Richard Hughes
+<richard@hughsie\&.com>
+and with a lot of help from many others\&.
+
+
+
+ .SH "BUGS"
+
+
+ .PP
+Please send bug reports to either the distribution or the DeviceKit mailing list, see
+\m[blue]\fB\%http://lists.freedesktop.org/mailman/listinfo/devkit-devel\fR\m[]
+on how to subscribe\&.
+
+
+
+ .SH "SEE ALSO"
+
+
+ .PP
+\fBPolicyKit\fR(8),
+\fBupowerd\fR(8),
+\fBupower\fR(1)
+
+
diff --git a/upower/upower.1 b/upower/upower.1
new file mode 100644
index 000000000..c5a31f6cd
--- /dev/null
+++ b/upower/upower.1
@@ -0,0 +1,133 @@
+'\" t
+.\" Title: upower
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\" Date: April 2008
+.\" Manual: upower
+.\" Source: upower
+.\" Language: English
+.\"
+.TH "UPOWER" "1" "April 2008" "upower" "upower"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+
+
+
+
+
+ .SH "NAME"
+upower \- UPower command line tool
+
+
+ .SH "SYNOPSIS"
+
+ .HP \w'\fBupower\fR\ 'u
+
+ \fBupower\fR
+ [\fB\-\-dump\fR]
+ [\fB\-\-enumerate\fR]
+ [\fB\-\-monitor\-detail\fR]
+ [\fB\-\-monitor\fR]
+ [\fB\-\-show\-info\fR]
+ [\fB\-\-version\fR]
+ [\fB\-\-wakeups\fR]
+ [\fB\-\-help\fR]
+
+
+
+
+
+ .SH "DESCRIPTION"
+
+ .PP
+\fIupower\fR
+is a simple command line client for the
+\fBUPower\fR(7)
+daemon\&. TODO: not fully documented\&.
+
+
+
+ .SH "OPTIONS"
+
+
+
+
+ .PP
+\fB\-\-monitor\fR
+.RS 4
+
+
+
+ Connect to the UPower daemon and print a line every time a power source is added, removed or changed\&.
+
+
+ .RE
+ .PP
+\fB\-\-monitor\-detail\fR
+.RS 4
+
+
+
+ Like
+\fB\-\-monitor\fR
+but prints the full details of the power source whenever an event happens\&.
+
+
+ .RE
+ .PP
+\fB\-\-help\fR
+.RS 4
+
+
+
+ Show help options\&.
+
+
+ .RE
+
+
+
+ .SH "AUTHOR"
+
+ .PP
+Written by David Zeuthen
+<davidz@redhat\&.com>
+with a lot of help from many others\&.
+
+
+
+ .SH "BUGS"
+
+
+ .PP
+Please send bug reports to either the distribution or the DeviceKit mailing list, see
+\m[blue]\fB\%http://lists.freedesktop.org/mailman/listinfo/devkit-devel\fR\m[]
+on how to subscribe\&.
+
+
+
+ .SH "SEE ALSO"
+
+
+ .PP
+\fBupowerd\fR(8),
+\fBUPower\fR(7),
+
+
diff --git a/upower/upowerd.8 b/upower/upowerd.8
new file mode 100644
index 000000000..a8340c38a
--- /dev/null
+++ b/upower/upowerd.8
@@ -0,0 +1,109 @@
+'\" t
+.\" Title: upowerd
+.\" Author: [see the "AUTHOR" section]
+.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
+.\" Date: April 2008
+.\" Manual: upowerd
+.\" Source: upowerd
+.\" Language: English
+.\"
+.TH "UPOWERD" "8" "April 2008" "upowerd" "upowerd"
+.\" -----------------------------------------------------------------
+.\" * Define some portability stuff
+.\" -----------------------------------------------------------------
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.\" http://bugs.debian.org/507673
+.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
+.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+.ie \n(.g .ds Aq \(aq
+.el .ds Aq '
+.\" -----------------------------------------------------------------
+.\" * set default formatting
+.\" -----------------------------------------------------------------
+.\" disable hyphenation
+.nh
+.\" disable justification (adjust text to left margin only)
+.ad l
+.\" -----------------------------------------------------------------
+.\" * MAIN CONTENT STARTS HERE *
+.\" -----------------------------------------------------------------
+
+
+
+
+
+ .SH "NAME"
+upowerd \- UPower Daemon
+
+
+ .SH "SYNOPSIS"
+
+ .HP \w'\fBupowerd\fR\ 'u
+
+ \fBupowerd\fR
+ [\fB\-\-help\fR]
+
+
+
+
+
+ .SH "DESCRIPTION"
+
+ .PP
+\fIupowerd\fR
+provides the
+\fIorg\&.freedesktop\&.UPower\fR
+service on the system message bus\&. Users or administrators should never need to start this daemon as it will be automatically started by
+\fBdbus-daemon\fR(1)
+whenever an application calls into the
+\fIorg\&.freedesktop\&.UPower\fR
+service\&.
+
+
+
+ .SH "OPTIONS"
+
+
+
+
+ .PP
+\fB\-\-help\fR
+.RS 4
+
+
+
+ Show help options\&.
+
+
+ .RE
+
+
+
+ .SH "AUTHOR"
+
+ .PP
+Written by David Zeuthen
+<davidz@redhat\&.com>
+with a lot of help from many others\&.
+
+
+
+ .SH "BUGS"
+
+
+ .PP
+Please send bug reports to either the distribution or the DeviceKit mailing list, see
+\m[blue]\fB\%http://lists.freedesktop.org/mailman/listinfo/devkit-devel\fR\m[]
+on how to subscribe\&.
+
+
+
+ .SH "SEE ALSO"
+
+
+ .PP
+\fBUPower\fR(7),
+\fBupower\fR(1),
+\fBdbus-daemon\fR(1),
+
+

Generated by cgit