summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2010-10-17 19:00:44 +0000
committerPacho Ramos <pacho@gentoo.org>2010-10-17 19:00:44 +0000
commite65be4bf2aa09241319ff14e666c7f4d02d4fcc6 (patch)
tree1581266b000fa9fc65a622b50c6058261da10205 /gnome-extra/gnome-power-manager
parentVersion bump. (diff)
downloadgentoo-2-e65be4bf2aa09241319ff14e666c7f4d02d4fcc6.tar.gz
gentoo-2-e65be4bf2aa09241319ff14e666c7f4d02d4fcc6.tar.bz2
gentoo-2-e65be4bf2aa09241319ff14e666c7f4d02d4fcc6.zip
Version bump for Gnome 2.32: Remove last traces of DeviceKit-power, add new 6 hours period in power history stats, use device icons from the icon name specification, remove the use of HAL from gnome-power-manager, other bugfixes and translation updates.
(Portage version: 2.1.9.19/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/gnome-power-manager')
-rw-r--r--gnome-extra/gnome-power-manager/ChangeLog11
-rw-r--r--gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0.ebuild101
2 files changed, 111 insertions, 1 deletions
diff --git a/gnome-extra/gnome-power-manager/ChangeLog b/gnome-extra/gnome-power-manager/ChangeLog
index 2e70987cc0a0..84c0ea14b434 100644
--- a/gnome-extra/gnome-power-manager/ChangeLog
+++ b/gnome-extra/gnome-power-manager/ChangeLog
@@ -1,6 +1,15 @@
# ChangeLog for gnome-extra/gnome-power-manager
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.139 2010/10/17 15:23:44 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.140 2010/10/17 19:00:44 pacho Exp $
+
+*gnome-power-manager-2.32.0 (17 Oct 2010)
+
+ 17 Oct 2010; Pacho Ramos <pacho@gentoo.org>
+ +gnome-power-manager-2.32.0.ebuild:
+ Version bump for Gnome 2.32: Remove last traces of DeviceKit-power, add
+ new 6 hours period in power history stats, use device icons from the icon
+ name specification, remove the use of HAL from gnome-power-manager, other
+ bugfixes and translation updates.
17 Oct 2010; Raúl Porcel <armin76@gentoo.org>
gnome-power-manager-2.30.1.ebuild:
diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0.ebuild
new file mode 100644
index 000000000000..3878d99a589d
--- /dev/null
+++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.32.0.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2010 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.32.0.ebuild,v 1.1 2010/10/17 19:00:44 pacho Exp $
+
+EAPI="3"
+GCONF_DEBUG="no"
+
+inherit autotools 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 policykit test"
+
+# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic)
+RESTRICT="test"
+
+COMMON_DEPEND=">=dev-libs/glib-2.13.0
+ >=x11-libs/gtk+-2.17.7:2
+ >=gnome-base/gconf-2.10.0
+ >=gnome-base/gnome-keyring-0.6.0
+ >=dev-libs/dbus-glib-0.71
+ >=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.10
+ >=media-libs/libcanberra-0.10[gtk]
+ >=sys-power/upower-0.9.1
+ >=dev-libs/libunique-1.1.0:0
+ >=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?]
+ policykit? ( gnome-extra/polkit-gnome )"
+DEPEND="${COMMON_DEPEND}
+ 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 )"
+
+# 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 gconf-defaults)
+ --enable-compile-warnings=minimum
+ --enable-applets"
+ DOCS="AUTHORS ChangeLog NEWS README TODO"
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix intltoolize broken file, see upstream #577133
+ sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \
+ || die "sed libtoolize failed"
+
+ # Drop debugger CFLAGS from configure
+ sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' -i configure.ac -i configure \
+ || die "debugger sed failed"
+
+ if ! use doc; then
+ # Remove the docbook2man rules here since it's not handled by a proper
+ # parameter in configure.in.
+ sed -e 's:@HAVE_DOCBOOK2MAN_TRUE@.*::' \
+ -i "${S}/man/Makefile.in" || die "docbook sed failed"
+ fi
+
+ # glibc splits this out, whereas other libc's do not tend to
+ use elibc_glibc || { sed -e 's/-lresolv//' -i configure \
+ || die "resolv sed failed"; }
+
+ # FIXME: This is required to prevent maintainer mode after "debugger sed"
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+}
+
+src_test() {
+ unset DBUS_SESSION_BUS_ADDRESS
+ dbus-launch Xemake check || die "Test phase failed"
+}