The UPower package provides an interface to enumerating power devices, listening to device events and querying history and statistics. Any application or service on the system can access the org.freedesktop.UPower service via the system message bus.
This package is known to build and work properly using an LFS-8.4 platform.
Download (HTTP): https://gitlab.freedesktop.org/upower/upower/uploads/2282c7c0e53fb31816b824c9d1f547e8/upower-0.99.9.tar.xz
Download MD5 sum: 3b2f729ab05afa5df70d0c387194c9fc
Download size: 440 KB
Estimated disk space required: 11 MB
Estimated build time: 0.1 SBU
dbus-glib-0.110, libgudev-232, libusb-1.0.22, and Polkit-0.115
GTK-Doc-1.29, PyGObject-3.30.4, umockdev, and python-dbusmock (for part of the testsuite).
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/upower
Install UPower by running the following commands:
./configure --prefix=/usr \ --sysconfdir=/etc \ --localstatedir=/var \ --enable-deprecated \ --disable-static && make
To test the results, issue: make check. Some checks may not pass due to missing files. Test suite should be run from a local GUI session started with dbus-launch.
Now, as the root
user:
make install
--enable-deprecated
: This
switch enables deprecated functionality which is still needed by
some applications.
--disable-static
: This
switch prevents installation of static versions of the libraries.
--enable-gtk-doc
: Use this parameter if
GTK-Doc is installed and you wish
to rebuild and install the API documentation.
Last updated on 2019-02-20 23:16:01 -0800