[arch-commits] Commit in gnome-power-manager/trunk (PKGBUILD fix-suspend.patch)

Ionut Biru ibiru at archlinux.org
Thu Sep 1 15:14:07 UTC 2011


    Date: Thursday, September 1, 2011 @ 11:14:06
  Author: ibiru
Revision: 136793

update to 3.1.90

Modified:
  gnome-power-manager/trunk/PKGBUILD
Deleted:
  gnome-power-manager/trunk/fix-suspend.patch

-------------------+
 PKGBUILD          |   17 ++++++-----------
 fix-suspend.patch |   31 -------------------------------
 2 files changed, 6 insertions(+), 42 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-01 14:48:20 UTC (rev 136792)
+++ PKGBUILD	2011-09-01 15:14:06 UTC (rev 136793)
@@ -2,31 +2,26 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=gnome-power-manager
-pkgver=3.0.2
-pkgrel=2
+pkgver=3.1.90
+pkgrel=1
 pkgdesc="Session daemon that makes it easy to manage your laptop or desktop system."
 arch=(i686 x86_64)
 url="http://www.gnome.org/projects/gnome-power-manager/"
 license=('GPL')
-depends=('libnotify' 'gconf' 'libcanberra' 'gnome-icon-theme' 'upower'
-         'libgnome-keyring' 'dconf')
-makedepends=('intltool' 'gnome-doc-utils' 'gnome-control-center')
+depends=('gtk3' 'upower' 'dconf' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnome-doc-utils')
 options=(!emptydirs)
 install=gnome-power-manager.install
 groups=(gnome)
-source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
-        fix-suspend.patch)
-sha256sums=('d0e00fdcfbc3bfb709f9ed82a14de325c51cf0bb86eeacefcda2dd7fcf6cbc2b'
-            '898454c9a22ecdf56e555687d4d41a0dfa3d590408dc2a17ef6cf4eaec83b262')
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('2a7ae60d64a4fb8e3a2af99e03669cce27ee21e28b6b673363255b578aac1768')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  patch -Np1 -i "${srcdir}/fix-suspend.patch"
   ./configure --prefix=/usr --sysconfdir=/etc \
       --localstatedir=/var \
       --libexecdir=/usr/lib/gnome-power-manager \
       --disable-scrollkeeper \
-      --with-dbus-services=/usr/share/dbus-1/services \
       --disable-schemas-compile
   make
 }

Deleted: fix-suspend.patch
===================================================================
--- fix-suspend.patch	2011-09-01 14:48:20 UTC (rev 136792)
+++ fix-suspend.patch	2011-09-01 15:14:06 UTC (rev 136793)
@@ -1,31 +0,0 @@
-From 44503c5bca065290ce73b0d064a1a0db7de2936d Mon Sep 17 00:00:00 2001
-From: Matthias Clasen <mclasen at 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 at hughsie.com>
----
-diff --git a/src/gpm-idle.c b/src/gpm-idle.c
-index 04225fc..0f2f1ee 100644
---- a/src/gpm-idle.c
-+++ b/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




More information about the arch-commits mailing list