summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2011-08-19 10:49:13 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2011-08-19 10:49:13 +0000
commitee6e75735ef362dc43af024aaff0b102ec3186ae (patch)
treeb8edb2686bdec47cea5b0516266713aaa467bf48 /gnome-extra
parentMore gracefully handle dependency between KDE & NLS USE-flags, as requested b... (diff)
downloadhistorical-ee6e75735ef362dc43af024aaff0b102ec3186ae.tar.gz
historical-ee6e75735ef362dc43af024aaff0b102ec3186ae.tar.bz2
historical-ee6e75735ef362dc43af024aaff0b102ec3186ae.zip
Bump to 3.0.2, from gnome overlay for GNOME 3
Package-Manager: portage-2.2.0_alpha51/cvs/Linux x86_64
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-power-manager/ChangeLog10
-rw-r--r--gnome-extra/gnome-power-manager/Manifest22
-rw-r--r--gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-idle-status.patch31
-rw-r--r--gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-screensaver.patch146
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-3.0.2-r1.ebuild95
5 files changed, 299 insertions, 5 deletions
diff --git a/gnome-extra/gnome-power-manager/ChangeLog b/gnome-extra/gnome-power-manager/ChangeLog
index c1079c68231d..6f7b5ae1c1da 100644
--- a/gnome-extra/gnome-power-manager/ChangeLog
+++ b/gnome-extra/gnome-power-manager/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for gnome-extra/gnome-power-manager
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.158 2011/08/13 17:35:01 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.159 2011/08/19 10:49:13 nirbheek Exp $
+
+*gnome-power-manager-3.0.2-r1 (19 Aug 2011)
+
+ 19 Aug 2011; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +gnome-power-manager-3.0.2-r1.ebuild,
+ +files/gnome-power-manager-3.0.2-idle-status.patch,
+ +files/gnome-power-manager-3.0.2-screensaver.patch:
+ Bump to 3.0.2, from gnome overlay for GNOME 3
13 Aug 2011; Raúl Porcel <armin76@gentoo.org>
gnome-power-manager-2.32.0-r1.ebuild:
diff --git a/gnome-extra/gnome-power-manager/Manifest b/gnome-extra/gnome-power-manager/Manifest
index 4a1f84aa1522..b5c4e8b3008c 100644
--- a/gnome-extra/gnome-power-manager/Manifest
+++ b/gnome-extra/gnome-power-manager/Manifest
@@ -6,17 +6,31 @@ AUX gnome-power-manager-2.32.0-convert-percentage.patch 1012 RMD160 63e9f3bcef8d
AUX gnome-power-manager-2.32.0-libnotify-0.7.patch 1106 RMD160 36510c89182bbbd2ae29bf8a3a78021a21b3d4cc SHA1 46be9d07d8d6b3f7387dcdc78156732d5f0e4ae7 SHA256 50e2f726281805f2b1eb3fbce2e8aa7a4258de12a20bb09e57527235c82760d2
AUX gnome-power-manager-2.32.0-no-xfce.patch 1253 RMD160 e566b92c33beb2550bc7b3417a2068c71f0cfc15 SHA1 607adf86682588fc8a60b5a62d2e05016e3cb2a1 SHA256 a08eb3ff292bba66dd0c3478185cf617ec1ffe8742772452165d06820bf7e6fc
AUX gnome-power-manager-2.32.0-xbacklight-crash.patch 858 RMD160 1600e619702c2f8c4b5b0c8f4684f255835719f2 SHA1 b84354de68790577251a4c17ebb982aaca07f0b8 SHA256 b4ebcd2aa0c012fb6e5cd7c09643801af0ad30ae0ba51d93e9c3793325fc390a
+AUX gnome-power-manager-3.0.2-idle-status.patch 1120 RMD160 2cba64367f331a0dd5befabdbec62a4588611a46 SHA1 2e2b15a085abe0218e55261175f7408da0498b80 SHA256 898454c9a22ecdf56e555687d4d41a0dfa3d590408dc2a17ef6cf4eaec83b262
+AUX gnome-power-manager-3.0.2-screensaver.patch 4719 RMD160 c4c1ee6de129fc73c0a1c84155b9d31142eaebca SHA1 6b8bca909849576abfd91372020a819969e45aa7 SHA256 7847de2ed1c739f1d61f34a2e5b7da13cf2ab5dfae092f1a594af0d9d659d7cf
DIST gnome-power-manager-2.32.0-keyboard-backlight.patch.xz 16632 RMD160 51e545ac23057deaa6997042f263b9073bf5d324 SHA1 73b7eda2ee700b1084fbc40318128f6d0b4adb14 SHA256 3f57906b0fea33ab1e6fa20e8772ae7dd685413a7ae64e182b15a80bc4d1a58b
DIST gnome-power-manager-2.32.0.tar.bz2 3892164 RMD160 77e8b95ba6d34d83b94b410d860f23d2efb953c8 SHA1 829d65addba1dc3a7e91ebb871525dc16223a082 SHA256 17fa301bf7e133285c0e054ae3be2b0f690c48f59b09f67e04d6ed339b330476
+DIST gnome-power-manager-3.0.2.tar.bz2 4081620 RMD160 b4d32f03453c4939bc1b847a691d0d6a8a86cb07 SHA1 dbbce43c1b418f6d9d8b5b80ac6ba741e2e6efbf SHA256 d0e00fdcfbc3bfb709f9ed82a14de325c51cf0bb86eeacefcda2dd7fcf6cbc2b
EBUILD gnome-power-manager-2.32.0-r1.ebuild 3124 RMD160 cf3c462165379bf6d6798b6dcfd249a90bb40ce8 SHA1 d1519d3a8f122b5db2d1cc2e1d5d60560a061a1b SHA256 d8cd5740c5a67e8ffaeed6e68072afe2c6aea9cde48782721892b88be5dda040
EBUILD gnome-power-manager-2.32.0-r2.ebuild 3859 RMD160 1676b05cce7dab658013d303e54e85bace04d6dd SHA1 f8e3bd8520912f0ee16c50a72c30b4cf1151daf2 SHA256 f6582e82e9f831ca9251233975ef08352debeca31d07c2a035eb2db503558f11
EBUILD gnome-power-manager-2.32.0.ebuild 3071 RMD160 49dd288e5a74c55ac340418605a3ba5fba67a75b SHA1 65406135a6080b201f2febef1f154c6e56d2041d SHA256 0b35c5dbe1ee81e7858ad9112d81ae70a0509f2935971fbc0a3829d8160f83f6
-MISC ChangeLog 26797 RMD160 b12aa2ff1d65ee954d72871af61c5528bc313a03 SHA1 7ddce694ba2daa1331c738561ec51acc74a34a08 SHA256 a75a8247ae12ee0a280a582b58c563001ec804302c4324341b3694d6ce55b42d
+EBUILD gnome-power-manager-3.0.2-r1.ebuild 2620 RMD160 da900a1b13e4a5f7d7218b3c5feb541685163713 SHA1 1d27bc9b6a4215aa1c883abc77001bada3b69a84 SHA256 d0b938498d1ee69c0702c2b18f0892a809dbbc343c1cf3bc3177ea81cd74aa9f
+MISC ChangeLog 27094 RMD160 952f0ec500c80a8aa1217fe45f4960f0525955cc SHA1 687f095798fa7e130d6f0c4dc128468111b214d9 SHA256 7d65baf284838f476edf268bb94204cd8a8f86ee445af913b4ebd38fbb9f4007
MISC metadata.xml 401 RMD160 f8df805516184795fc0eae8621e623000179dcf7 SHA1 f34033fb88478710119be397997f9fdb6fba56d9 SHA256 6c07ca73308c0284c064e45eecff3b959b6d84c5cdf0b557eca7b4fc398ea639
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (GNU/Linux)
-iEYEARECAAYFAk5GtcwACgkQuQc30/atMkCsRwCfYI7QoT7e9yjTmS5x4+4Z46uU
-bkMAn0QQeR2sRcpeSwwBqq5qnhbZexS4
-=I5CA
+iQIcBAEBAgAGBQJOTj+uAAoJEO/kOhxWD91kvWkP/08Q53L+Kq7/ddvrP4+e6qIB
+2K4CYVypGxI+4o2FZjYhTWu40HtJPPpaWYsqObcmkm5ikMAERUf6r/A31CHU+l2d
+lYf+UFieO5B5JSxKZAMMkFt61tC26gVvz7vZXnvm5m5wKA6l0kuxP460o+efK34e
+lrg/3tyD/xZ37U9FMnWLJI239Cv6uiBXu5kT+cG26r8dqe6717YEfEgMc7CocfnV
+fGKqmLsh1EgyUU+8DXALb7MFAbSL4eOjN8a2UFQAPebSxcngAOJC9GFDtozVlnC0
+f15p9LjZdk7CsGmpsg/6RhiiIvPbhcQ4Ilglonq8EpjV2WsWTLbnj73h3ZG+uL3z
+t3Oi6I/8U/tdUXSalHb86vH0Rp5jXgnSQdGioIEkXFh81oV/N19lEJvBp2Nqx21p
+g1USXJzEj3V+ly0g9xG3v+2dpc8gXBaFChVBuRLHRfW4x4WvYFHFmYrD7hlZRTYV
+QRv7SUCQRnoup9JiphDbNB5+fYTyamCaDXsMexx4Pyz1Pd3yMgujjJ73jPefcV+h
+HWBTQ3ofn+lqq0xJv9JTFrA0Sq/wPo4CWitiGiwAQ/pF3H3lgi0fTyF3FC8WWi1K
+E9uL6SQ3wJbU62vjEsnv0Lmc6Mmam+eZ5s81wrr03UVeZmhaJGqD7VmfFMkPQrm4
+IyAolzCrYR0Z89Eh2GEa
+=615u
-----END PGP SIGNATURE-----
diff --git a/gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-idle-status.patch b/gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-idle-status.patch
new file mode 100644
index 000000000000..acd9093cd949
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-idle-status.patch
@@ -0,0 +1,31 @@
+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
+--- 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
diff --git a/gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-screensaver.patch b/gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-screensaver.patch
new file mode 100644
index 000000000000..1ff7cc6d785b
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/files/gnome-power-manager-3.0.2-screensaver.patch
@@ -0,0 +1,146 @@
+From c36c35b2ecd818e54de975fe81885eca05a1be98 Mon Sep 17 00:00:00 2001
+From: Gary Ching-Pang Lin <chingpang@gmail.com>
+Date: Wed, 08 Jun 2011 16:01:33 +0000
+Subject: Query gnome-screensaver settings with GSettings
+
+https://bugzilla.gnome.org/show_bug.cgi?id=650464
+---
+diff --git a/configure.ac b/configure.ac
+index 90bbe5f..3134ae4 100644
+--- a/configure.ac
++++ b/configure.ac
+@@ -107,7 +107,6 @@ PKG_CHECK_MODULES(CANBERRA, libcanberra-gtk3 >= 0.10)
+
+ PKG_CHECK_MODULES(GNOME, [
+ gtk+-3.0 >= 2.91.0
+- gconf-2.0 >= 2.31.1
+ gnome-keyring-1 >= 0.6.0
+ cairo >= 1.0.0])
+
+diff --git a/src/gpm-common.h b/src/gpm-common.h
+index b540c05..dabda1a 100644
+--- a/src/gpm-common.h
++++ b/src/gpm-common.h
+@@ -129,8 +129,8 @@ G_BEGIN_DECLS
+ #define GPM_SETTINGS_INFO_LAST_DEVICE "info-last-device"
+
+ /* gnome-screensaver */
+-#define GS_CONF_DIR "/apps/gnome-screensaver"
+-#define GS_CONF_PREF_LOCK_ENABLED GS_CONF_DIR "/lock_enabled"
++#define GS_SETTINGS_SCHEMA "org.gnome.desktop.screensaver"
++#define GS_SETTINGS_PREF_LOCK_ENABLED "lock-enabled"
+
+ typedef enum {
+ GPM_ICON_POLICY_PRESENT,
+diff --git a/src/gpm-control.c b/src/gpm-control.c
+index 0fc864d..902db44 100644
+--- a/src/gpm-control.c
++++ b/src/gpm-control.c
+@@ -38,7 +38,6 @@
+
+ #include <glib/gi18n.h>
+ #include <gnome-keyring.h>
+-#include <gconf/gconf-client.h>
+ #include <libupower-glib/upower.h>
+
+ #include "egg-console-kit.h"
+@@ -51,8 +50,8 @@
+
+ struct GpmControlPrivate
+ {
+- GConfClient *conf;
+ GSettings *settings;
++ GSettings *settings_ss;
+ UpClient *client;
+ };
+
+@@ -118,7 +117,7 @@ gpm_control_get_lock_policy (GpmControl *control, const gchar *policy)
+ See bug #331164 for all the juicy details. :-) */
+ use_ss_setting = g_settings_get_boolean (control->priv->settings, GPM_SETTINGS_LOCK_USE_SCREENSAVER);
+ if (use_ss_setting) {
+- do_lock = gconf_client_get_bool (control->priv->conf, GS_CONF_PREF_LOCK_ENABLED, NULL);
++ do_lock = g_settings_get_boolean (control->priv->settings_ss, GS_SETTINGS_PREF_LOCK_ENABLED);
+ g_debug ("Using ScreenSaver settings (%i)", do_lock);
+ } else {
+ do_lock = g_settings_get_boolean (control->priv->settings, policy);
+@@ -256,8 +255,8 @@ gpm_control_finalize (GObject *object)
+ g_return_if_fail (GPM_IS_CONTROL (object));
+ control = GPM_CONTROL (object);
+
+- g_object_unref (control->priv->conf);
+ g_object_unref (control->priv->settings);
++ g_object_unref (control->priv->settings_ss);
+ g_object_unref (control->priv->client);
+
+ g_return_if_fail (control->priv != NULL);
+@@ -306,7 +305,7 @@ gpm_control_init (GpmControl *control)
+
+ control->priv->client = up_client_new ();
+ control->priv->settings = g_settings_new (GPM_SETTINGS_SCHEMA);
+- control->priv->conf = gconf_client_get_default ();
++ control->priv->settings_ss = g_settings_new (GS_SETTINGS_SCHEMA);
+ }
+
+ /**
+diff --git a/src/gpm-screensaver.c b/src/gpm-screensaver.c
+index 842ea7c..f41baed 100644
+--- a/src/gpm-screensaver.c
++++ b/src/gpm-screensaver.c
+@@ -25,7 +25,6 @@
+ #include <glib.h>
+ #include <glib/gi18n.h>
+ #include <gio/gio.h>
+-#include <gconf/gconf-client.h>
+
+ #include "gpm-screensaver.h"
+ #include "gpm-common.h"
+@@ -41,7 +40,7 @@ static void gpm_screensaver_finalize (GObject *object);
+ struct GpmScreensaverPrivate
+ {
+ GDBusProxy *proxy;
+- GConfClient *conf;
++ GSettings *settings;
+ };
+
+ enum {
+@@ -63,7 +62,7 @@ gpm_screensaver_lock_enabled (GpmScreensaver *screensaver)
+ {
+ gboolean enabled;
+ g_return_val_if_fail (GPM_IS_SCREENSAVER (screensaver), FALSE);
+- enabled = gconf_client_get_bool (screensaver->priv->conf, GS_CONF_PREF_LOCK_ENABLED, NULL);
++ enabled = g_settings_get_boolean (screensaver->priv->settings, GS_SETTINGS_PREF_LOCK_ENABLED);
+ return enabled;
+ }
+
+@@ -296,7 +295,7 @@ gpm_screensaver_init (GpmScreensaver *screensaver)
+ g_warning ("failed to setup screensaver proxy: %s", error->message);
+ g_error_free (error);
+ }
+- screensaver->priv->conf = gconf_client_get_default ();
++ screensaver->priv->settings = g_settings_new (GS_SETTINGS_SCHEMA) ;
+ }
+
+ /**
+@@ -313,7 +312,7 @@ gpm_screensaver_finalize (GObject *object)
+ screensaver = GPM_SCREENSAVER (object);
+ screensaver->priv = GPM_SCREENSAVER_GET_PRIVATE (screensaver);
+
+- g_object_unref (screensaver->priv->conf);
++ g_object_unref (screensaver->priv->settings);
+ g_object_unref (screensaver->priv->proxy);
+
+ G_OBJECT_CLASS (gpm_screensaver_parent_class)->finalize (object);
+diff --git a/src/gpm-statistics.c b/src/gpm-statistics.c
+index e7eb21b..a444c2e 100644
+--- a/src/gpm-statistics.c
++++ b/src/gpm-statistics.c
+@@ -27,7 +27,6 @@
+ #include <glib/gi18n.h>
+
+ #include <gtk/gtk.h>
+-#include <gconf/gconf-client.h>
+ #include <libupower-glib/upower.h>
+
+ #include "gpm-array-float.h"
+--
+cgit v0.9
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-3.0.2-r1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-3.0.2-r1.ebuild
new file mode 100644
index 000000000000..589305543942
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-3.0.2-r1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-3.0.2-r1.ebuild,v 1.1 2011/08/19 10:49:13 nirbheek Exp $
+
+EAPI="4"
+GCONF_DEBUG="no"
+GNOME_TARBALL_SUFFIX="bz2"
+
+inherit eutils gnome2 virtualx
+
+DESCRIPTION="Gnome Power Manager"
+HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
+IUSE="doc test"
+
+# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic)
+RESTRICT="test"
+
+# Latest libcanberra is needed due to gtk+:3 API changes
+COMMON_DEPEND=">=dev-libs/glib-2.25.9
+ >=x11-libs/gtk+-2.91.7:3
+ >=gnome-base/gnome-keyring-0.6.0
+ >=x11-libs/libnotify-0.7.0
+ >=x11-libs/cairo-1.0.0
+ >=gnome-base/gconf-2.31.1:2
+ >=media-libs/libcanberra-0.26-r2[gtk3]
+ >=sys-power/upower-0.9.1
+ >=x11-apps/xrandr-1.3
+ >=x11-proto/xproto-7.0.15
+ x11-libs/libX11
+ x11-libs/libXext"
+RDEPEND="${COMMON_DEPEND}
+ >=sys-auth/consolekit-0.4[policykit]
+ sys-auth/polkit
+ gnome-extra/polkit-gnome"
+DEPEND="${COMMON_DEPEND}
+ x11-proto/randrproto
+
+ sys-devel/gettext
+ app-text/scrollkeeper
+ app-text/docbook-xml-dtd:4.3
+ >=dev-util/pkgconfig-0.9
+ >=dev-util/intltool-0.35
+ >=app-text/gnome-doc-utils-0.3.2
+ doc? (
+ app-text/xmlto
+ app-text/docbook-sgml-utils
+ app-text/docbook-xml-dtd:4.4
+ app-text/docbook-sgml-dtd:4.1
+ app-text/docbook-xml-dtd:4.1.2 )
+ test? ( sys-apps/dbus )"
+
+# docbook-sgml-utils and docbook-sgml-dtd-4.1 used for creating man pages
+# (files under ${S}/man).
+# docbook-xml-dtd-4.4 and -4.1.2 are used by the xml files under ${S}/docs.
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable test tests)
+ $(use_enable doc docbook-docs)
+ --disable-strict
+ --enable-compile-warnings=minimum
+ --disable-schemas-compile"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+ if ! use doc; then
+ G2CONF="${G2CONF} DOCBOOK2MAN=$(type -p false)"
+ fi
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # https://bugzilla.redhat.com/show_bug.cgi?id=679083
+ # will be in next release
+ epatch "${FILESDIR}/${P}-idle-status.patch"
+
+ # https://bugzilla.gnome.org/show_bug.cgi?id=650464
+ # will be in next release
+ epatch "${FILESDIR}/${P}-screensaver.patch"
+
+ # Drop debugger CFLAGS from configure
+ # XXX: touch configure.ac only if running eautoreconf, otherwise
+ # maintainer mode gets triggered -- even if the order is correct
+ sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' \
+ -i configure || die "debugger sed failed"
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ Xemake check || die "Test phase failed"
+}