upower.guncellendi
This commit is contained in:
parent
1ee108154c
commit
55404cf083
Binary file not shown.
|
@ -0,0 +1,28 @@
|
||||||
|
From 28cee8e2845b094488c337c4ecfa84ada0b6be60 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Martin Pitt <martin.pitt@ubuntu.com>
|
||||||
|
Date: Tue, 23 Feb 2016 09:51:07 +0100
|
||||||
|
Subject: daemon: fix get_critical_action()
|
||||||
|
|
||||||
|
Fix copy&paste error from e7e9156f that called the wrong _complete_ function
|
||||||
|
for up_daemon_get_critical_action().
|
||||||
|
|
||||||
|
https://bugs.freedesktop.org/show_bug.cgi?id=94262
|
||||||
|
|
||||||
|
diff --git a/src/up-daemon.c b/src/up-daemon.c
|
||||||
|
index be14cbe..e95f904 100644
|
||||||
|
--- a/src/up-daemon.c
|
||||||
|
+++ b/src/up-daemon.c
|
||||||
|
@@ -435,8 +435,8 @@ up_daemon_get_critical_action (UpExportedDaemon *skeleton,
|
||||||
|
GDBusMethodInvocation *invocation,
|
||||||
|
UpDaemon *daemon)
|
||||||
|
{
|
||||||
|
- up_exported_daemon_complete_get_display_device (skeleton, invocation,
|
||||||
|
- up_backend_get_critical_action (daemon->priv->backend));
|
||||||
|
+ up_exported_daemon_complete_get_critical_action (skeleton, invocation,
|
||||||
|
+ up_backend_get_critical_action (daemon->priv->backend));
|
||||||
|
return TRUE;
|
||||||
|
}
|
||||||
|
|
||||||
|
--
|
||||||
|
cgit v0.10.2
|
||||||
|
|
|
@ -4,18 +4,23 @@
|
||||||
# Depends on: dbus-glib libusb intltool polkit gobject-introspection libgudev pm-utils
|
# Depends on: dbus-glib libusb intltool polkit gobject-introspection libgudev pm-utils
|
||||||
|
|
||||||
name=upower
|
name=upower
|
||||||
version=0.9.23
|
version=0.99.4
|
||||||
release=1
|
release=1
|
||||||
|
source=(http://$name.freedesktop.org/releases/$name-$version.tar.xz
|
||||||
source=(http://upower.freedesktop.org/releases/$name-$version.tar.xz)
|
fix-critical-action.patch)
|
||||||
|
|
||||||
build() {
|
build() {
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
./configure --prefix=/usr \
|
|
||||||
--sysconfdir=/etc \
|
patch -p 1 -i $SRC/fix-critical-action.patch
|
||||||
--enable-deprecated \
|
|
||||||
--localstatedir=/var \
|
./configure \
|
||||||
--disable-static
|
--prefix=/usr \
|
||||||
make
|
--sysconfdir=/usr/etc \
|
||||||
make DESTDIR=$PKG install
|
--localstatedir=/var \
|
||||||
|
--libexecdir=/usr/lib/$name \
|
||||||
|
--disable-man-pages
|
||||||
|
|
||||||
|
make
|
||||||
|
make DESTDIR=$PKG install
|
||||||
}
|
}
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
Pour utiliser la commande upower -w pour avoir des informations sur les réveils du processeur (c'est la commande utilisée par gnome-power-manager-3.4.0), vous devez activer CONFIG_TIMER_STATS. Cela se fait dans make menuconfig en vous rendant sur 'kernel-hacking' menu and selecting 'Collect kernel timers statistics'.
|
|
Loading…
Reference in New Issue