[arch-commits] Commit in gnome-power-manager/repos (6 files)

Ionut Biru ibiru at archlinux.org
Sat Oct 1 14:58:13 EDT 2011


    Date: Saturday, October 1, 2011 @ 14:58:13
  Author: ibiru
Revision: 139313

db-move: moved gnome-power-manager from [testing] to [extra] (x86_64)

Added:
  gnome-power-manager/repos/extra-x86_64/PKGBUILD
    (from rev 139207, gnome-power-manager/repos/testing-x86_64/PKGBUILD)
  gnome-power-manager/repos/extra-x86_64/gnome-power-manager.install
    (from rev 139207, gnome-power-manager/repos/testing-x86_64/gnome-power-manager.install)
Deleted:
  gnome-power-manager/repos/extra-x86_64/PKGBUILD
  gnome-power-manager/repos/extra-x86_64/fix-suspend.patch
  gnome-power-manager/repos/extra-x86_64/gnome-power-manager.install
  gnome-power-manager/repos/testing-x86_64/

-----------------------------+
 PKGBUILD                    |   69 +++++++++++++++++++-----------------------
 fix-suspend.patch           |   31 ------------------
 gnome-power-manager.install |   38 +++++++++++------------
 3 files changed, 51 insertions(+), 87 deletions(-)

Deleted: extra-x86_64/PKGBUILD
===================================================================
--- extra-x86_64/PKGBUILD	2011-10-01 18:58:11 UTC (rev 139312)
+++ extra-x86_64/PKGBUILD	2011-10-01 18:58:13 UTC (rev 139313)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Jan de Groot <jgc at archlinux.org>
-
-pkgname=gnome-power-manager
-pkgver=3.0.2
-pkgrel=2
-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')
-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')
-
-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
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
-}

Copied: gnome-power-manager/repos/extra-x86_64/PKGBUILD (from rev 139207, gnome-power-manager/repos/testing-x86_64/PKGBUILD)
===================================================================
--- extra-x86_64/PKGBUILD	                        (rev 0)
+++ extra-x86_64/PKGBUILD	2011-10-01 18:58:13 UTC (rev 139313)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Jan de Groot <jgc at archlinux.org>
+
+pkgname=gnome-power-manager
+pkgver=3.2.0
+pkgrel=1
+pkgdesc="Power management tools."
+arch=(i686 x86_64)
+url="http://www.gnome.org/projects/gnome-power-manager/"
+license=('GPL')
+depends=('gtk3' 'upower' 'dconf' 'hicolor-icon-theme')
+makedepends=('intltool' 'gnome-doc-utils')
+options=(!emptydirs)
+install=gnome-power-manager.install
+groups=(gnome-extra)
+source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz)
+sha256sums=('d66f97f6cff716dd3c612f1a17b0e2b5dfb138deb92ea3d0a782a0144a7eab95')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --localstatedir=/var \
+      --libexecdir=/usr/lib/gnome-power-manager \
+      --disable-scrollkeeper \
+      --disable-schemas-compile
+  make
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+}

Deleted: extra-x86_64/fix-suspend.patch
===================================================================
--- extra-x86_64/fix-suspend.patch	2011-10-01 18:58:11 UTC (rev 139312)
+++ extra-x86_64/fix-suspend.patch	2011-10-01 18:58:13 UTC (rev 139313)
@@ -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

Deleted: extra-x86_64/gnome-power-manager.install
===================================================================
--- extra-x86_64/gnome-power-manager.install	2011-10-01 18:58:11 UTC (rev 139312)
+++ extra-x86_64/gnome-power-manager.install	2011-10-01 18:58:13 UTC (rev 139313)
@@ -1,19 +0,0 @@
-post_install() {
-  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
-  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
-  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
-}
-
-pre_upgrade() {
-  if (( $(vercmp $2 2.91.92) < 0 )); then
-    usr/sbin/gconfpkg --uninstall gnome-power-manager
-  fi
-}
-
-post_upgrade() {
-  post_install
-}
-
-post_remove() {
-  post_install
-}

Copied: gnome-power-manager/repos/extra-x86_64/gnome-power-manager.install (from rev 139207, gnome-power-manager/repos/testing-x86_64/gnome-power-manager.install)
===================================================================
--- extra-x86_64/gnome-power-manager.install	                        (rev 0)
+++ extra-x86_64/gnome-power-manager.install	2011-10-01 18:58:13 UTC (rev 139313)
@@ -0,0 +1,19 @@
+post_install() {
+  usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+  gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+  gtk-update-icon-cache -q -t -f usr/share/icons/gnome
+}
+
+pre_upgrade() {
+  if (( $(vercmp $2 2.91.92) < 0 )); then
+    usr/sbin/gconfpkg --uninstall gnome-power-manager
+  fi
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  post_install
+}



More information about the arch-commits mailing list