mirror of
https://gitlab.freedesktop.org/upower/upower.git
synced 2026-01-17 15:10:53 +01:00
read-only-mirror of https://gitlab.freedesktop.org/upower/upower
In restricted environments such as package builds we do not have a system D-BUS running. In that case, don't just fail, but use the recently introduced up_daemon_set_bus_type() to run tests on the session D-BUS instead. Run up-self-tests under dbus-launch for this if available. Skip tests which need polkit if there is no system D-BUS, as we can't sensibly run this on the session bus. |
||
|---|---|---|
| doc | ||
| etc | ||
| libupower-glib | ||
| m4 | ||
| po | ||
| policy | ||
| rules | ||
| src | ||
| tools | ||
| .gitignore | ||
| AUTHORS | ||
| autogen.sh | ||
| configure.ac | ||
| COPYING | ||
| HACKING | ||
| Makefile.am | ||
| NEWS | ||
| README | ||
| RELEASE | ||
| upower-glib.pc.in | ||
=============== UPower =============== Requirements: glib-2.0 >= 2.6.0 gio-2.0 >= 2.16.1 dbus-1 >= 1.0 dbus-glib-1 >= 0.76 gudev-1.0 >= 001 polkit-gobject-1 >= 0.91 libusb UPower is an abstraction for 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.