summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2009-03-11 15:10:44 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2009-03-11 15:10:44 +0000
commitfe65519753f5d00a8237d0faa06451560605eb0b (patch)
tree7d89459f3397415a3d6f0217d358abd0c8b57fb7 /gnome-extra
parentMarking djbdns-1.05-r22 ppc64 for bug 260014 (diff)
downloadhistorical-fe65519753f5d00a8237d0faa06451560605eb0b.tar.gz
historical-fe65519753f5d00a8237d0faa06451560605eb0b.tar.bz2
historical-fe65519753f5d00a8237d0faa06451560605eb0b.zip
Add gnome-power-manager-2.24.4 from overlay (p.masked due to bug 247614)
Package-Manager: portage-2.2_rc23/cvs/Linux i686
Diffstat (limited to 'gnome-extra')
-rw-r--r--gnome-extra/gnome-power-manager/ChangeLog9
-rw-r--r--gnome-extra/gnome-power-manager/Manifest7
-rw-r--r--gnome-extra/gnome-power-manager/files/org.freedesktop.hal.power-management.policy27
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4.ebuild103
-rw-r--r--gnome-extra/gnome-power-manager/metadata.xml4
5 files changed, 147 insertions, 3 deletions
diff --git a/gnome-extra/gnome-power-manager/ChangeLog b/gnome-extra/gnome-power-manager/ChangeLog
index 82e268fc3931..13b211ffd926 100644
--- a/gnome-extra/gnome-power-manager/ChangeLog
+++ b/gnome-extra/gnome-power-manager/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for gnome-extra/gnome-power-manager
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.100 2009/02/07 15:48:10 ford_prefect Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.101 2009/03/11 15:10:43 nirbheek Exp $
+
+*gnome-power-manager-2.24.4 (11 Mar 2009)
+
+ 11 Mar 2009; Nirbheek Chauhan <nirbheek@gentoo.org>
+ +files/org.freedesktop.hal.power-management.policy, metadata.xml,
+ +gnome-power-manager-2.24.4.ebuild:
+ Bump to 2.24.4 -- p.masked due to CPU freq regression bug 247614
07 Feb 2009; Arun Raghavan <ford_prefect@gentoo.org>
gnome-power-manager-2.22.1.ebuild:
diff --git a/gnome-extra/gnome-power-manager/Manifest b/gnome-extra/gnome-power-manager/Manifest
index 0dcefd5d4c27..5a83980f19af 100644
--- a/gnome-extra/gnome-power-manager/Manifest
+++ b/gnome-extra/gnome-power-manager/Manifest
@@ -1,11 +1,14 @@
AUX gnome-power-manager-2.16.3-doc.patch 3920 RMD160 a5afc7b63f52769f080d02d2f1883f23c41e5aaf SHA1 03485842cf6a96b5270592db9813ffa3d3982b77 SHA256 0c8b96a0ca75faf7132d3a80424175cac1ffe7271e7614fe956516fe67cf92fa
+AUX org.freedesktop.hal.power-management.policy 850 RMD160 42a5da73e27416a897d374f0289ecfdbd59ecdf2 SHA1 eed04e5c57fc20348b4d0ecc6c47322f162329fb SHA256 ec600302d7cb80241c12edaa5c1429997f63b53195d7526923f4496eb62b1b43
DIST gnome-power-manager-2.16.3.tar.gz 2382038 RMD160 97a93de5904e9c01567ba8eed6080d452ca61317 SHA1 2d9a1391b97a10bfd03829a3ea60550403b66ec5 SHA256 2e2c5b06f6c75903e48a017f7a909ef37292ffc60a9dea4877f3c61624664126
DIST gnome-power-manager-2.20.0.tar.bz2 2588839 RMD160 6f5cc9e9c57c1e913f0ef8a1d2d16784194bbd45 SHA1 117e8f5bc81ae81a110052df173eb75d87b08049 SHA256 bc1a3428bc98bfcab473e0f62387f32205c40693f6c6897931204ef4800aa1e5
DIST gnome-power-manager-2.20.2.tar.bz2 3020529 RMD160 d798acf683c74901465caf4b144a3cf40dd33eab SHA1 7cda3b71ae8ccc5825f194b6865326b9727f0da9 SHA256 60c9f8e6893123d1837f3cd1fcf834e66bc6f69b9efea5e590b1a9a97e1850c2
DIST gnome-power-manager-2.22.1.tar.bz2 3002440 RMD160 88522f58589ece86127a84ebf52f87c0c462aa91 SHA1 bba77f4403643f10a26d7abf5a4681cd50ff08d4 SHA256 967dc61382e85dd6d8a8da74e9847760bbb429a3fdb97ab2f4f69bf574b0c1c4
+DIST gnome-power-manager-2.24.4.tar.bz2 2997032 RMD160 c0b16ead610ffeae9d801f8bde44507464808e53 SHA1 ea9c895a78761c59fea13701e074946a20c50fe6 SHA256 00da3aa929c444a600f7e5ccabd7a20f9b43710562b951c69cbe68ea4db37ef1
EBUILD gnome-power-manager-2.16.3.ebuild 1980 RMD160 a0736c6a261198cd942a0ffcf4c0b37cf40bcd6e SHA1 d7491bfb521a9201cd1f2a8131841c87baf41503 SHA256 e11eb5fd3fd2b1f0dda05720849ae34d6a2c6a1ebfd96be8fad422b59c4c124a
EBUILD gnome-power-manager-2.20.0-r1.ebuild 2478 RMD160 714e9fea3ff88e72f12ecf1afaac5f68c36e80a4 SHA1 dc3aa761367f652fbfed98d0cdde10d9490cc9ec SHA256 8fbe4e67370ab99bb994e2a4f30d93ba21ff34a2681dd4e2aae54de6d8cfb4c3
EBUILD gnome-power-manager-2.20.2.ebuild 2234 RMD160 f2d01d04e2a92b87a6ee6b1d4c0a70eed73020ef SHA1 8cf62ef89d0eaa16d9861b3822f50b3a795f63f9 SHA256 223d3710f2999b1681f65b8788c7ad9c8660e84745fc290c6e946c4568dfbcde
EBUILD gnome-power-manager-2.22.1.ebuild 2723 RMD160 4ce2281f8ad838a71d1c55e6c18d65740dd70cbb SHA1 4120137d1067331cf932fba56dbb2cfd08116e3a SHA256 4199da671daba8851e004ba54df976d9bed3f6b536666c54f21f613141f46f0e
-MISC ChangeLog 15696 RMD160 a343bea57dd9f8b813d2f1a1e41dbab2eeab033b SHA1 c5c82fff2c1edbc2da4bd853ec05f10c382e8323 SHA256 f5378f4ec1f570c3bfbd7355c66bf5332aa224c0d00cd0542f11c8ff8ea48656
-MISC metadata.xml 328 RMD160 e83b5cef91422ece7e4991cc9f9422220d36b775 SHA1 c25df9c021e54eaf6c9add8db1c9954ac710b95e SHA256 2507b21284e65f9e7f5608d9865921192d0d6cdf46a35a705b0b2cb220583794
+EBUILD gnome-power-manager-2.24.4.ebuild 2705 RMD160 7135171015f2ae163c3b2e503b518513d912fd87 SHA1 eb9d6a756e95a015a050380ac3237301013506e4 SHA256 9b778710ac510cf36a88013bf848de878f38efe4cc7d91a6b98a89bcfa2af13d
+MISC ChangeLog 15963 RMD160 f16e7f0e283d500787445d1e6baae780e2fd0f1b SHA1 0e4bbd9669358249ff409dcb9e97455e01bdf14e SHA256 f45e2853f7f94ed0eace74aaed72b97787474ecd3f6ce601628f5e6cba6c93af
+MISC metadata.xml 438 RMD160 919237398a61022183868a6ad78259f5ba1ddb29 SHA1 22296b3f6619e92d83b5fa85e2ad1d3f15a1ba2a SHA256 b56e882af9618f6dc68e4c6d28bf85eb1cd0e12c2da53218551547760e63a489
diff --git a/gnome-extra/gnome-power-manager/files/org.freedesktop.hal.power-management.policy b/gnome-extra/gnome-power-manager/files/org.freedesktop.hal.power-management.policy
new file mode 100644
index 000000000000..0711ec8a8168
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/files/org.freedesktop.hal.power-management.policy
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE policyconfig PUBLIC
+ "-//freedesktop//DTD PolicyKit Policy Configuration 1.0//EN"
+ "http://www.freedesktop.org/standards/PolicyKit/1.0/policyconfig.dtd">
+
+<policyconfig>
+
+ <action id="org.freedesktop.hal.power-management.suspend">
+ <description>Suspend the system</description>
+ <message>System policy prevents suspending the system</message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+ <action id="org.freedesktop.hal.power-management.hibernate">
+ <description>Hibernate the system</description>
+ <message>System policy prevents hibernating the system</message>
+ <defaults>
+ <allow_inactive>no</allow_inactive>
+ <allow_active>yes</allow_active>
+ </defaults>
+ </action>
+
+
+</policyconfig>
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4.ebuild
new file mode 100644
index 000000000000..d3c2cb1af1e9
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4.ebuild
@@ -0,0 +1,103 @@
+# Copyright 1999-2009 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-2.24.4.ebuild,v 1.1 2009/03/11 15:10:43 nirbheek Exp $
+
+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 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc policykit test"
+
+# See bug #196490
+RESTRICT="test"
+
+RDEPEND=">=dev-libs/glib-2.6.0
+ >=x11-libs/gtk+-2.11.0
+ >=gnome-base/gnome-keyring-0.6.0
+ >=gnome-base/libgnome-2.14.0
+ >=gnome-base/libgnomeui-2.14.0
+ >=sys-apps/hal-0.5.9
+ >=dev-libs/dbus-glib-0.71
+ >=gnome-base/libglade-2.5.0
+ >=x11-libs/libnotify-0.4.3
+ >=x11-libs/libwnck-2.10.0
+ >=x11-libs/cairo-1.0.0
+ >=gnome-base/gnome-panel-2
+ >=gnome-base/gconf-2
+ =media-libs/gstreamer-0.10*
+
+ >=x11-apps/xrandr-1.2
+
+ x11-libs/libX11
+ x11-libs/libXext"
+DEPEND="${RDEPEND}
+ sys-devel/gettext
+ ~app-text/docbook-xml-dtd-4.3
+ >=dev-util/pkgconfig-0.9
+ >=dev-util/intltool-0.35
+ app-text/scrollkeeper
+ >=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
+ )"
+
+# 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.
+
+DOCS="AUTHORS ChangeLog NEWS README TODO"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ $(use_enable test tests)
+ $(use_enable doc docbook-docs)
+ $(use_enable policykit)
+ $(use_enable policykit gconf-defaults)
+ --with-dpms-ext
+ --enable-xevents
+ --enable-applets"
+}
+
+src_unpack() {
+ gnome2_src_unpack
+
+ if ! use doc; then
+ # Remove the docbook2man rules here since it's not handled by a proper
+ # parameter in configure.in.
+ sed -i -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' "${S}/man/Makefile.in"
+ fi
+
+ # glibc splits this out, whereas other libc's do not tend to
+ use elibc_glibc || sed -i -e 's/-lresolv//' configure
+}
+
+src_test() {
+ Xemake check || die "Test phase failed"
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use policykit; then
+ insinto /usr/share/PolicyKit/policy
+ doins "${FILESDIR}/org.freedesktop.hal.power-management.policy"
+ fi
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+ elog
+ elog "To enable frequency scaling interface, use the following command:"
+ elog " gconftool-2 /apps/gnome-power-manager/ui/cpufreq_show"
+ elog "Note that this will conflict with other power managment utility"
+ elog "like app-laptop/laptop-mode-tools."
+ elog
+}
diff --git a/gnome-extra/gnome-power-manager/metadata.xml b/gnome-extra/gnome-power-manager/metadata.xml
index be43eccdb570..401f431e919c 100644
--- a/gnome-extra/gnome-power-manager/metadata.xml
+++ b/gnome-extra/gnome-power-manager/metadata.xml
@@ -6,5 +6,9 @@
Power Manager daemon for the GNOME desktop environment that makes it
easy to manage your laptop or desktop system.
</longdescription>
+ <use>
+ <flag name="policykit">Enable <pkg>sys-auth/policykit</pkg>
+ authentication support</flag>
+ </use>
</pkgmetadata>