summaryrefslogtreecommitdiff
path: root/src/Makefile.am
AgeCommit message (Collapse)AuthorFilesLines
2013-10-18linux: Fix UMockdev typelib not being foundBastien Nocera1-1/+1
The Makefile rule was using GI_REPOSITORY_PATH instead of GI_TYPELIB_PATH meaning that if a custom typelib path was needed (jhbuild for example) it wouldn't be found.
2013-10-14Remove QoS interfaceBastien Nocera1-10/+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-14daemon: Remove obsolete featuresBastien Nocera1-7/+0
2013-10-08Linux integration tests: First test case for libraryMartin Pitt1-1/+1
Start testing the client-side library through gobject-introspection. This covers https://bugs.freedesktop.org/show_bug.cgi?id=70283
2013-05-07trivial: Fix the gitignore filesRichard Hughes1-0/+1
2013-05-07Use PIE to better secure installed tools and also use full RELRO in the daemonRichard Hughes1-0/+5
2013-03-21Drop --enable-systemd and linking to libsystemd-daemonMartin Pitt1-2/+2
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-02-20integration-test: Always run on a fake system busMartin Pitt1-3/+1
Drop the two modes depending on whether or not the test gets run as root or not. Set up a fake system bus and always use that. This also eliminates the need for upowerd's --test option. Drop usage of dbus-launch, as this leaves dbus-daemon running after the tests. Use GioTestDBus instead, which cleans up properly.
2013-01-14Don't use the deprecated INCLUDES in Makefile.amRichard Hughes1-1/+1
2012-09-19build: Fix srcdir != builddirColin Walters1-5/+5
Signed-off-by: Richard Hughes <richard@hughsie.com>
2012-07-11Use systemd for suspend and hibernateMatthias Clasen1-2/+10
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 <richard@hughsie.com>
2012-01-17Install a systemd service file if systemd is usedBenedikt Morbach1-7/+20
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 <richard@hughsie.com>
2011-12-05Fix invocation of src/linux/integration-testMartin Pitt1-1/+1
In Makefile.am "check", do not call the test suite through "python". Just call it directly and let the hashbang take care of the interpreter.
2011-10-04Add --with-historydir to specify where we want the history files to be storedLandry Breuil1-1/+2
Signed-off-by: Richard Hughes <richard@hughsie.com>
2011-07-19Use git.mk and remove the manual .gitignore filesRichard Hughes1-0/+5
2011-05-04Respect $PYTHON for running the test suiteMartin Pitt1-1/+1
On systems which have an older (< 2.7) Python by default, this allows you to run make check under PYTHON=python2.7.
2011-05-04up-self-test: Run subset of tests when system D-BUS is not availableMartin Pitt1-0/+1
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.
2011-04-26trivial: Fix Linux integration test dependency on upowerdMartin Pitt1-0/+8
With nested Makefiles we can't depend on a generated file in a different directory (breaks "make clean && make check"). Thus move the call of the Linux integration test suite into src/Makefile.am, and only run it if we build the Linux backend.
2011-04-13fix up-self-test buildMartin Pitt1-0/+2
It uses up_config_*() functions, so we need to build it against up-config.{h,c} Fixes build failure: up_self_test-up-daemon.o: In function `up_daemon_init': /home/martin/upstream/upower/src/up-daemon.c:1047: undefined reference to `up_config_new' [...]
2011-03-21openbsd: add openbsd backend SUBDIRLandry Breuil1-1/+6
Signed-off-by: Richard Hughes <richard@hughsie.com>
2011-03-14Add a config option 'EnableWattsUpPro' to disable the Watts Up Pro deviceRichard Hughes1-0/+2
Annoyingly, the device used in the Watts Up Pro device seems to be a generic USB->serial adaptor, which means it doesn't have a unique vendor and product ID. If we try to probe for the WUP device, we can actually upset other devices that are not expecing to be probed. This fixes #33846 although we actually still need to be more strict in detecting a true WUP device.
2011-03-09Depend on stable GUdev APIMichael Biebl1-1/+0
The GUdev API was declared stable in udev release 147. Bump the version in the configure check and drop the G_UDEV_API_IS_SUBJECT_TO_CHANGE defines. Signed-off-by: Richard Hughes <richard@hughsie.com>
2011-02-23Drop devkit and devkit-power-daemon symlinksMichael Biebl1-3/+0
Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-11-01Port from EggDebug to the GLib built-in logging frameworkRichard Hughes1-5/+1
2010-10-11Add support for controlling leds keyboard backlightsAlex Murray1-0/+10
Add a new DBus interface based on the QoS one to provide for controlling a keyboard backlight via the Linux leds interface. Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-06-05Port to GTestRichard Hughes1-4/+4
2010-05-28Add battery query support for iDevicesBastien Nocera1-1/+2
https://bugs.freedesktop.org/show_bug.cgi?id=28286 Signed-off-by: Richard Hughes <richard@hughsie.com>
2010-05-18Port UPower to libusb1 to avoid crappy unfixable crashesRichard Hughes1-0/+1
2010-03-26Convert the daemon to using objects from libupower-glib, not ↵Richard Hughes1-6/+2
devkit-power-gobject
2010-03-26Make dummy backend usable for architectures without a native backendMichael Biebl1-1/+1
Currently, the dummy backend is mostly used to run the unit tests. We want to make it usable though on architectures, like GNU/Hurd, which dont't have a native backend yet. Compile two different flavours of the dummy backend: one with the TEST code enabled and which is used by up_self_test, and one without the TEST code, used by upowerd when the dummy backend is selected. Patch is based on work by Pino Toscano. Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-03-26Remove libdevkit-power-gobject dependency from backendsMichael Biebl1-5/+4
The backends [linux/freebsd/dummy] no longer require libdevkit-power-gobject, so - remove -I$(top_srcdir)/devkit-power-gobject from the include path - don't link the backends against libdevkit-power-gobject but upowerd (which unfortunately still needs it). Signed-off-by: Martin Pitt <martin.pitt@ubuntu.com>
2010-02-06devkit-power-gobject/up-enum.h be goneMichael Biebl1-1/+3
Port from devkit-power-gobject/up-enum.h to libupower-glib/up-types.h
2010-02-06Make sure the tests link against all necessary libraries.Michael Biebl1-2/+3
2010-02-05Move the history files to /var/lib/upowerMichael Biebl1-1/+1
Distros should move existing files from /var/lib/DeviceKit-power to /var/lib/upower on upgrades in their maintainer scripts.
2010-02-05Remove EGG_* log define.Michael Biebl1-4/+0
The EGG_* log defines don't seem to be used and still reference the old DeviceKit-power name. So just remove it.
2010-01-21Rename the man pages and rename the main daemon binary nameRichard Hughes1-16/+18
2010-01-18Rename the DBus service from org.freedesktop.DeviceKit.Power to ↵Richard Hughes1-18/+18
org.freedesktop.UPower
2010-01-18trivial: rename some internal defines for the upower moveRichard Hughes1-6/+6
2010-01-18trivial: DkpWakeups -> UpWakeups (no ABI or API break)Richard Hughes1-1/+1
2010-01-18trivial: DkpQos -> UpQos (no ABI or API break)Richard Hughes1-1/+1
2010-01-18trivial: switch to using the new internal library name (no ABI or API break)Richard Hughes1-4/+4
2010-01-18trivial: switch to using the new marshal names internally (no ABI or API break)Richard Hughes1-2/+2
2010-01-18trivial: DkpDevice -> UpDevice (no ABI or API break)Richard Hughes1-1/+1
2010-01-18trivial: DkpDaemon -> UpDaemon (no ABI or API break)Richard Hughes1-1/+1
2010-01-18trivial: Rename a lot of the source files from dkp-foo to up-foo, no API or ↵Richard Hughes1-59/+60
ABI changes
2010-01-03import the FreeBSD backendJoe Marcus Clarke1-1/+7
Add a backend for FreeBSD supporting AC power lines, batteries, and lid state.
2009-09-11Add some self tests and fix up some obvious bugsRichard Hughes1-0/+42
2009-09-11trivial: fix make distcheckRichard Hughes1-7/+16
2009-09-11Fix compile for Linux backendRichard Hughes1-12/+6
2009-09-11Fix conflicts in the mergeRichard Hughes1-0/+4