UPower-0.99.11

Introduction to UPower

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-10.0 platform.

Package Information

UPower Dependencies

Required

dbus-glib-0.110, libgudev-233, libusb-1.0.23, and Polkit-0.117

Optional (Required if building GNOME)

gobject-introspection-1.64.1

Optional

GTK-Doc-1.32, PyGObject-3.36.1, dbusmock-0.19, and umockdev-0.14.2 (for part of the test suite).

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/upower

Installation of 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

Command Explanations

--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.

Contents

Installed Program: upower
Installed Libraries: libupower-glib.so
Installed Directories: /etc/UPower, /usr/include/libupower-glib, and /var/lib/upower

Short Descriptions

upower

is the UPower command line tool.

libupower-glib.so

contains the UPower API functions.

Last updated on 2020-08-18 17:00:50 -0700