path: root/
AgeCommit message (Collapse)AuthorFilesLines
6 daysbuild: Remove libusb dependency in LinuxHEADmasterBastien Nocera1-1/+0
As the last user, the CSR support code, was removed.
2020-06-17build: Use a newer libplist if availableBastien Nocera1-1/+3
2019-09-03trivial: post release version bumpMartin Pitt1-1/+1
2019-05-18build: Migrate from intltool to gettextMartin Blanchard1-3/+1
2019-02-21Replace use of deprecated g_type_class_add_privateChristian Kellner1-1/+1
Use G_DEFINE_TYPE_WITH_CODE (..., G_PRIVATE_ADD (...)) instead of the (deprecated since glib 2.58) function g_type_class_add_private to add a private structure for a type. Bump the minimal required version of glib to 2.38.0, the version where G_PRIVATE_ADD was added.
2019-02-20trivial: post release version bumpChristian Kellner1-1/+1
2019-02-20Released UPower 0.99.10UPOWER_0_99_10Christian Kellner1-1/+1
2018-10-250.99.9UPOWER_0_99_9Bastien Nocera1-1/+1
2018-10-25doc: Fix dist not workingBastien Nocera1-1/+0
automake's documentation says that it works depth-first, but it doesn't actually go depth first when dist'ing a directory. So our .ref.xml files aren't generated when we try to get them added to the dist. Fix this with a big hammer by moving the generation to the current directory, rather than spending any more time working with automake. Can't wait for the meson port.
2017-11-28trivial: post release version bumpRichard Hughes1-1/+1
2017-09-11trivial: post release version bumpRichard Hughes1-1/+1
2017-07-24trivial: post release version bumpRichard Hughes1-1/+1
2016-02-16trivial: post release version bumpRichard Hughes1-1/+1
2015-08-10Fix build regressionArnaud Quette1-1/+1
The removal of dbus-glib and libdbus build dependencies has introduced a build regression on upower, which fails to link with gobject Signed-off-by: Richard Hughes <>
2015-07-29Share generated code between daemon and libraryCosimo Cecchi1-0/+1
Since we use the same GDBus code in libupower-glib and the daemon, auto-generate a private library that can be used by both.
2015-07-29build: remove dependency on dbus-glib and libdbusCosimo Cecchi1-2/+0
Nothing depends on it any more.
2015-07-07bsd: Add critical action support for *BSDEric Koegel1-0/+1
This patch adds support for using ConsoleKit2's DBUS API to implement the critical action for FreeBSD and OpenBSD. It does so by creating a common backend file both can use to implement the API calls.
2015-05-28trivial: post release version bumpRichard Hughes1-1/+1
2015-04-02build: Fix libimobiledevice msg in configureBastien Nocera1-1/+1
2014-12-18trivial: post release version bumpRichard Hughes1-1/+1
2014-12-18Released UPower 0.99.2UPOWER_0_99_2Richard Hughes1-1/+1
2014-09-16Bump GLib min req to 2.34Eric Koegel1-1/+1
UPower uses g_clear_pointer several places in the code, but is available starting in 2.34. Update UPowers minimum version to match. Signed-off-by: Richard Hughes <>
2014-08-18trivial: post release version bumpRichard Hughes1-1/+1
2014-07-14Remove polkit dependencyEric Koegel1-1/+0
With the removal of the suspend/hibernate code, there's no longer a need for upower to depend on polkit. This patch removes the old polkit code. Signed-off-by: Richard Hughes <>
2014-05-07all: Remove IsDocked propertyBastien Nocera1-1/+1
Removes the deprecated (for not very long) property, before we do a 1.0 release.
2013-10-29trivial: post release version bumpRichard Hughes1-1/+1
2013-10-21build: Fix --without-systemdunitdir / --without-systemdutildirBenedikt Morbach1-4/+8
would take the with_*=no as a value and try to install to a "no" directory
2013-10-17build: And bump sonameBastien Nocera1-2/+2
2013-10-17build: Bump version to 0.99.0Bastien Nocera1-2/+2
2013-10-14daemon: Require newer GLibBastien Nocera1-1/+1
And remove ifdef's.
2013-10-14lib: Build the new D-Bus glueBastien Nocera1-0/+1
2013-10-14Remove QoS interfaceBastien Nocera1-1/+0
It was added for some workloads, but ill-suited and never really got traction. Using cgroups to manage the resources of particular services (using systemd), or something separate like rtkit is a better bet.
2013-10-08trivial: post release version bumpMartin Pitt1-1/+1
2013-07-26trivial: post release version bumpRichard Hughes1-1/+1
2013-07-26Released UPower 0.9.21UPOWER_0_9_21Richard Hughes1-1/+1
2013-05-07build: detect udev rules dirTom Gundersen1-7/+5
Udev rules may live in either /lib/udev/rules.d or /usr/lib/udev/rules.d depending on the distro. Remove the heuristic for deciding the dir, use pkgconfig to detect the location and allow it to be set manually. v2: fix specifying --with-udevrulesdir Signed-off-by: Richard Hughes <>
2013-05-07Use PIE to better secure installed tools and also use full RELRO in the daemonRichard Hughes1-0/+12
2013-03-21Drop --enable-systemd and linking to libsystemd-daemonMartin Pitt1-32/+0
logind is now being detected at runtime (see previous commit ff39d23), so we do not need to link against libsystemd-daemon any more. Drop --enable-systemd configure option as well.
2013-03-18trivial: post release version bumpRichard Hughes1-1/+1
2013-02-12Add a --enable-deprecated configure argumentRichard Hughes1-0/+10
This is turned off by default. If this is not set, then any calls to Suspend(), SuspendAllowed(), Hibernate() or HibernateAllowed() will fail with an error. The error mesage tells the user what new method to port to in logind. I'm expecting to set --enable-deprecated for Fedora 17 and 18, but turn it off for Fedora 19, so other distributions probably want to follow suit to find out what other stuff needs to be ported to the new APIs early. GNOME should already be fine, but KDE will need some solid porting as I understand it. See for more information on future plans and for rationale.
2013-02-12trivial: Remove unused configure argumentsRichard Hughes1-8/+2
2013-02-12Raise the hard PolKit dep to 0.97Richard Hughes1-14/+1
2013-01-09Never use -WError when buildingRichard Hughes1-18/+0
2013-01-02trivial: post release version bumpRichard Hughes1-1/+1
2012-08-08trivial: post release version bumpRichard Hughes1-1/+1
2012-07-11Use systemd for suspend and hibernateMatthias Clasen1-8/+49
When running under systemd, call into systemd for suspend and hibernate instead of pm-utils. To capture resume events, install a small script that gets executed by systemd after resume and sends a dbus signal back to upower. To make this work, the upower backends gain a new signal, ::resuming, that they can optionally emit to signal that a resume happened. Backends opt in to this by returning TRUE from up_backend_emits_resuming(). In this case, upower doesn't assume the sleep command to block until resume, but instead waits for the ::resuming signal from the backend. The only backend that uses this mechanism is the linux backend when built with systemd support. Signed-off-by: Richard Hughes <>
2012-06-25trivial: post release version bumpRichard Hughes1-1/+1
2012-04-30trivial: post release version bumpRichard Hughes1-1/+1
2012-04-30Released UPower 0.9.16UPOWER_0_9_16Richard Hughes1-1/+1
2012-01-17Install a systemd service file if systemd is usedBenedikt Morbach1-0/+8
This makes dbus defer starting upowerd to systemd instead of doing it itself and thus puts the daemon under proper systemd supervision. Signed-off-by: Richard Hughes <>