gnome-power-manager: update to 3.2.0.
This commit is contained in:
parent
bb3bb2a00d
commit
cd53828732
|
@ -1,31 +0,0 @@
|
|||
From 44503c5bca065290ce73b0d064a1a0db7de2936d Mon Sep 17 00:00:00 2001
|
||||
From: Matthias Clasen <mclasen@redhat.com>
|
||||
Date: Mon, 02 May 2011 23:18:58 +0000
|
||||
Subject: gpm-idle: manually update the status property
|
||||
|
||||
gnome-session doesn't emit PropertyChanged since it uses dbus-glib,
|
||||
therefore we need to manually update the cached property when
|
||||
receiving a SessionChanged signal.
|
||||
|
||||
https://bugzilla.redhat.com/show_bug.cgi?id=679083
|
||||
|
||||
Signed-off-by: Richard Hughes <richard@hughsie.com>
|
||||
---
|
||||
diff --git a/src/gpm-idle.c b/src/gpm-idle.c
|
||||
index 04225fc..0f2f1ee 100644
|
||||
--- src/gpm-idle.c
|
||||
+++ src/gpm-idle.c
|
||||
@@ -424,6 +424,11 @@ gpm_idle_dbus_signal_cb (GDBusProxy *proxy, const gchar *sender_name, const gcha
|
||||
return;
|
||||
}
|
||||
if (g_strcmp0 (signal_name, "StatusChanged") == 0) {
|
||||
+ guint status;
|
||||
+
|
||||
+ g_variant_get (parameters, "(u)", &status);
|
||||
+ g_dbus_proxy_set_cached_property (proxy, "status",
|
||||
+ g_variant_new ("u", status));
|
||||
g_debug ("Received gnome session status change");
|
||||
gpm_idle_evaluate (idle);
|
||||
return;
|
||||
--
|
||||
cgit v0.9
|
|
@ -1,15 +1,14 @@
|
|||
# Template file for 'gnome-power-manager'
|
||||
pkgname=gnome-power-manager
|
||||
version=3.0.2
|
||||
revision=1
|
||||
distfiles="${GNOME_SITE}/$pkgname/3.0/$pkgname-$version.tar.bz2"
|
||||
version=3.2.0
|
||||
distfiles="${GNOME_SITE}/$pkgname/3.2/$pkgname-$version.tar.xz"
|
||||
build_style=gnu_configure
|
||||
configure_args="--disable-scrollkeeper --localstatedir=/var --disable-schemas-compile"
|
||||
short_desc="GNOME power management tool"
|
||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||
homepage="http://www.gnome.org/projects/gnome-power-manager/"
|
||||
license="GPL-2"
|
||||
checksum=d0e00fdcfbc3bfb709f9ed82a14de325c51cf0bb86eeacefcda2dd7fcf6cbc2b
|
||||
checksum=d66f97f6cff716dd3c612f1a17b0e2b5dfb138deb92ea3d0a782a0144a7eab95
|
||||
long_desc="
|
||||
GNOME Power Manager is a session daemon for the GNOME desktop that takes care
|
||||
of system or desktop events related to power, and triggers actions
|
||||
|
@ -22,33 +21,20 @@ long_desc="
|
|||
components of the GNOME desktop."
|
||||
|
||||
triggers="gsettings-schemas"
|
||||
gtk_iconcache_dirs="/usr/share/icons/hicolor /usr/share/icons/gnome"
|
||||
gtk_iconcache_dirs="/usr/share/icons/hicolor"
|
||||
|
||||
Add_dependency run glibc
|
||||
Add_dependency run upower
|
||||
Add_dependency run gtk+3
|
||||
Add_dependency run glib
|
||||
Add_dependency run pango
|
||||
Add_dependency run cairo
|
||||
Add_dependency run gtk+3
|
||||
Add_dependency run libX11
|
||||
Add_dependency run libXext
|
||||
Add_dependency run libXrandr
|
||||
Add_dependency run libcanberra
|
||||
Add_dependency run libnotify
|
||||
Add_dependency run upower
|
||||
Add_dependency run GConf
|
||||
Add_dependency run libgnome-keyring
|
||||
Add_dependency run polkit-gnome
|
||||
Add_dependency run hicolor-icon-theme
|
||||
Add_dependency run desktop-file-utils
|
||||
|
||||
Add_dependency build pkg-config
|
||||
Add_dependency build intltool
|
||||
Add_dependency build gnome-doc-utils
|
||||
Add_dependency build gtk+3-devel
|
||||
Add_dependency build libXrandr-devel
|
||||
Add_dependency build libcanberra-devel
|
||||
Add_dependency build libnotify-devel
|
||||
Add_dependency build upower-devel
|
||||
Add_dependency build GConf-devel
|
||||
Add_dependency build libgnome-keyring-devel
|
||||
|
||||
Add_dependency full polkit-gnome
|
||||
Add_dependency full gnome-icon-theme
|
||||
Add_dependency full hicolor-icon-theme
|
||||
|
|
Loading…
Reference in New Issue