diff options
9 files changed, 17 insertions, 613 deletions
diff --git a/gnome-extra/gnome-power-manager/ChangeLog b/gnome-extra/gnome-power-manager/ChangeLog index bfb84440471a..d2e6f4b7585b 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-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.113 2010/01/25 15:32:01 mrpouet Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/ChangeLog,v 1.114 2010/03/08 14:42:28 eva Exp $ + + 08 Mar 2010; Gilles Dartiguelongue <eva@gentoo.org> + -files/gnome-power-manager-2.16.3-doc.patch, + -gnome-power-manager-2.20.0-r1.ebuild, gnome-power-manager-2.22.1.ebuild, + gnome-power-manager-2.24.4-r2.ebuild, -gnome-power-manager-2.26.4.ebuild, + -gnome-power-manager-2.28.1.ebuild, -gnome-power-manager-2.28.2.ebuild: + Clean up old revisions. Re-keyword ~x86-fbsd where dependencies are + satisfied. *gnome-power-manager-2.28.3 (25 Jan 2010) diff --git a/gnome-extra/gnome-power-manager/files/gnome-power-manager-2.16.3-doc.patch b/gnome-extra/gnome-power-manager/files/gnome-power-manager-2.16.3-doc.patch deleted file mode 100644 index 436c9a97b3a3..000000000000 --- a/gnome-extra/gnome-power-manager/files/gnome-power-manager-2.16.3-doc.patch +++ /dev/null @@ -1,102 +0,0 @@ -diff -ur gnome-power-manager-2.16.3.orig/help/C/gnome-power-manager.xml gnome-power-manager-2.16.3/help/C/gnome-power-manager.xml ---- gnome-power-manager-2.16.3.orig/help/C/gnome-power-manager.xml 2007-01-30 02:04:57.000000000 +0200 -+++ gnome-power-manager-2.16.3/help/C/gnome-power-manager.xml 2007-11-21 22:44:57.000000000 +0200 -@@ -23,6 +23,12 @@ - - <articleinfo> - <title>&application; Manual</title> -+ <abstract role="description"> -+ <para> -+ &application; is a session daemon for the GNOME Desktop that -+ manages the power settings for your laptop or desktop computer. -+ </para> -+ </abstract> - <copyright> - <year>2006</year> - <holder>Richard Hughes (richard@hughsie.com)</holder> -@@ -40,7 +46,7 @@ - <!-- An address can be added to the publisher information. If a role is - not specified, the publisher/author is the same for all versions of the - document. --> -- <publisher> -+ <publisher role="maintainer"> - <publishername>Richard Hughes</publishername> - </publisher> - -@@ -50,7 +56,7 @@ - any of this. --> - - <authorgroup> -- <author> -+ <author role="maintainer"> - <firstname>Richard</firstname> - <surname>Hughes</surname> - <email>richard@hughsie.com</email> -diff -ur gnome-power-manager-2.16.3.orig/help/ru/gnome-power-manager.xml gnome-power-manager-2.16.3/help/ru/gnome-power-manager.xml ---- gnome-power-manager-2.16.3.orig/help/ru/gnome-power-manager.xml 2007-01-30 02:04:57.000000000 +0200 -+++ gnome-power-manager-2.16.3/help/ru/gnome-power-manager.xml 2007-11-21 22:45:35.000000000 +0200 -@@ -21,6 +21,12 @@ - - <articleinfo> - <title><application>GNOME Power Manager</application> Manual</title> -+ <abstract role="description"> -+ <para> -+ &application; is a session daemon for the GNOME Desktop that -+ manages the power settings for your laptop or desktop computer. -+ </para> -+ </abstract> - <copyright> - <year>2006</year> - <holder>Richard Hughes (richard@hughsie.com)</holder> -@@ -38,7 +44,7 @@ - <!-- An address can be added to the publisher information. If a role is - not specified, the publisher/author is the same for all versions of the - document. --> -- <publisher> -+ <publisher role="maintainer"> - <publishername>Richard Hughes</publishername> - </publisher> - -@@ -64,7 +70,7 @@ - any of this. --> - - <authorgroup> -- <author> -+ <author role="maintainer"> - <firstname>Richard</firstname> - <surname>Hughes</surname> - <email>richard@hughsie.com</email> -diff -ur gnome-power-manager-2.16.3.orig/help/sv/gnome-power-manager.xml gnome-power-manager-2.16.3/help/sv/gnome-power-manager.xml ---- gnome-power-manager-2.16.3.orig/help/sv/gnome-power-manager.xml 2007-01-30 02:04:57.000000000 +0200 -+++ gnome-power-manager-2.16.3/help/sv/gnome-power-manager.xml 2007-11-21 22:45:22.000000000 +0200 -@@ -21,6 +21,12 @@ - - <articleinfo> - <title>Handbok för <application>GNOME-strömhanterare</application></title> -+ <abstract role="description"> -+ <para> -+ &application; is a session daemon for the GNOME Desktop that -+ manages the power settings for your laptop or desktop computer. -+ </para> -+ </abstract> - <copyright> - <year>2006</year> - <holder>Richard Hughes (richard@hughsie.com)</holder> -@@ -38,7 +44,7 @@ - <!-- An address can be added to the publisher information. If a role is - not specified, the publisher/author is the same for all versions of the - document. --> -- <publisher> -+ <publisher role="maintainer"> - <publishername>Richard Hughes</publishername> - </publisher> - -@@ -64,7 +70,7 @@ - any of this. --> - - <authorgroup> -- <author> -+ <author role="maintainer"> - <firstname>Richard</firstname> - <surname>Hughes</surname> - <email>richard@hughsie.com</email> diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.20.0-r1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.20.0-r1.ebuild deleted file mode 100644 index 46f503c84855..000000000000 --- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.20.0-r1.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# 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.20.0-r1.ebuild,v 1.11 2009/04/22 22:15:29 eva Exp $ - -inherit gnome2 eutils virtualx - -DESCRIPTION="Gnome Power Manager" -HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86-fbsd" -IUSE="doc" - -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.8 - >=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-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() { - # TODO :: policykit should have a pam useflag - - # xevents are disabled only because it only breaks the icon from appearing, and nothing else in version 2.20.0 and older - # Reconsider on bump after there is upstream opinion on http://bugzilla.gnome.org/show_bug.cgi?id=413360#c41 (bump might include the necessary patch too) - G2CONF="$(use_enable doc docbook-docs) \ - --with-dpms-ext --disable-policykit \ - --disable-xevents --enable-applets" -} - -src_unpack() { - gnome2_src_unpack - - if use doc; then - # Actually install all html files, not just the index - sed -i -e 's:\(htmldoc_DATA = \).*:\1$(SPEC_HTML_FILES):' \ - "${S}/docs/Makefile.in" - else - # 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() { - Xmake check || die "Test phase failed" -} diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.22.1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.22.1.ebuild index 15cdce85e8dd..95be13798965 100644 --- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.22.1.ebuild +++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.22.1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.22.1.ebuild,v 1.13 2009/02/07 15:48:10 ford_prefect Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.22.1.ebuild,v 1.14 2010/03/08 14:42:28 eva Exp $ inherit gnome2 eutils virtualx @@ -9,7 +9,7 @@ HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" LICENSE="GPL-2" SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86" +KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" IUSE="doc test" # See bug #196490 diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4-r2.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4-r2.ebuild index a26ec0dc9823..d1e4b207547d 100644 --- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4-r2.ebuild +++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4-r2.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.24.4-r2.ebuild,v 1.2 2009/09/28 19:37:52 eva Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.24.4-r2.ebuild,v 1.3 2010/03/08 14:42:28 eva Exp $ inherit autotools eutils gnome2 virtualx @@ -10,7 +10,7 @@ SRC_URI="${SRC_URI} mirror://gentoo/${P}-cpufreq-patches.tar.bz2" LICENSE="GPL-2" SLOT="0" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" IUSE="doc policykit test" # See bug #196490 diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4-r1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4-r1.ebuild index 50efda35b52c..e19e8fcc4c8d 100644 --- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4-r1.ebuild +++ b/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2009 Gentoo Foundation +# 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.26.4-r1.ebuild,v 1.1 2009/10/26 16:06:59 remi Exp $ +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4-r1.ebuild,v 1.2 2010/03/08 14:42:28 eva Exp $ EAPI="2" diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild deleted file mode 100644 index 6b2eece09ef6..000000000000 --- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.26.4.ebuild +++ /dev/null @@ -1,131 +0,0 @@ -# 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.26.4.ebuild,v 1.2 2009/09/28 19:37:52 eva Exp $ - -EAPI="2" - -inherit autotools eutils gnome2 virtualx - -DESCRIPTION="Gnome Power Manager" -HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" -SRC_URI="${SRC_URI} - mirror://gentoo/${P}-cpufreq-patches.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc policykit test" - -# See bug #196490 & bug #575500 -#RESTRICT="test" - -RDEPEND=">=dev-libs/glib-2.6.0 - >=x11-libs/gtk+-2.11.0 - >=gnome-base/gnome-keyring-0.6.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.10 - >=media-libs/libcanberra-0.10[gtk] - >=sys-apps/devicekit-001 - >=sys-apps/devicekit-power-005 - >=dev-libs/libunique-1 - - >=x11-apps/xrandr-1.2 - x11-libs/libX11 - x11-libs/libXext - - policykit? ( - >=sys-auth/policykit-0.8 - >=sys-apps/hal-0.5.12_rc1-r2[policykit] - >=gnome-extra/policykit-gnome-0.8 )" -DEPEND="${RDEPEND} - 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) - $(use_enable policykit gconf-defaults) - --enable-compile-warnings=minimum - --with-dpms-ext - --enable-legacy-buttons - --enable-applets" -} - -src_prepare() { - gnome2_src_prepare - - # Drop debugger CFLAGS - sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' -i configure.ac \ - || die "sed 2 failed" - - # Drop test that needs a running daemon - sed 's:^\(.*gpm_inhibit_test (test);\)://\1:' -i src/gpm-self-test.c \ - || die "sed 3 failed" - - # Skip crazy compilation warnings, bug #263078 - epatch "${FILESDIR}/${PN}-2.26.0-gcc44-options.patch" - - # Resurrect cpufreq in capplet, bug #263891 - epatch "${WORKDIR}/${PN}-2.26.0-cpufreq-libhal-glib.patch" - epatch "${WORKDIR}/${PN}-2.26.0-cpufreq-support.patch" - epatch "${WORKDIR}/${PN}-2.26.0-cpufreq-ui.patch" - epatch "${WORKDIR}/${PN}-2.26.3-cpufreq-po.patch" - - # Fix uninstalled cpufreq schemas, bug #266995 - epatch "${WORKDIR}/${PN}-2.26.0-cpufreq-schemas.patch" - - intltoolize --force --copy --automake || die "intltoolize failed" - - # Make it libtool-1 compatible - rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed" - eautoreconf - - 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 "sed 1 failed" - fi - - # glibc splits this out, whereas other libc's do not tend to - use elibc_glibc || sed -e 's/-lresolv//' -i configure || die "sed 4 failed" -} - -src_test() { - unset DBUS_SESSION_BUS_ADDRESS - Xemake check || die "Test phase failed" -} - -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/gnome-power-manager-2.28.1.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.1.ebuild deleted file mode 100644 index f3e9b95e4438..000000000000 --- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.1.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# 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.28.1.ebuild,v 1.1 2009/10/29 23:46:49 eva Exp $ - -EAPI="2" - -inherit autotools eutils gnome2 virtualx - -DESCRIPTION="Gnome Power Manager" -HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" -# FIXME: Finish the patchset including translations updates for feature forward port -SRC_URI="${SRC_URI} - http://dev.gentoo.org/~mrpouet/pub/patches/${P}-cpufreq-patches.tar.lzma" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +hal policykit test" - -# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic) -RESTRICT="test" - -# HAL is used purely as a fallback for setting brightness if xrandr fail -COMMON_DEPEND=">=dev-libs/glib-2.6.0 - >=x11-libs/gtk+-2.17.7 - >=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-apps/devicekit-power-008 - >=dev-libs/libunique-1 - >=x11-apps/xrandr-1.2 - x11-libs/libX11 - x11-libs/libXext - - hal? ( >=sys-apps/hal-0.5.9 ) -" -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 hal) - $(use_enable test tests) - $(use_enable doc docbook-docs) - $(use_enable policykit gconf-defaults) - --enable-compile-warnings=minimum - --with-dpms-ext - --enable-applets" - - if ! use hal; then - ewarn "hal support disabled, cpufreq applet will not be built" - fi -} - -src_prepare() { - gnome2_src_prepare - - # Fix crazy cflags - sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.ac configure \ - || die "sed 1 failed" - - # Drop debugger CFLAGS - sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' -i configure.ac \ - || die "sed 2 failed" - - # Drop test that needs a running daemon - sed 's:^\(.*gpm_inhibit_test (test);\)://\1:' -i src/gpm-self-test.c \ - || die "sed 3 failed" - - # Skip crazy compilation warnings, bug #263078 - epatch "${FILESDIR}/${PN}-2.26.0-gcc44-options.patch" - - # Resurrect cpufreq in capplet, bug #263891 - epatch "${WORKDIR}/${P}-cpufreq-libhal-glib.patch" - epatch "${WORKDIR}/${P}-cpufreq-support.patch" - epatch "${WORKDIR}/${P}-cpufreq-ui.patch" -# epatch "${WORKDIR}/${PN}-2.26.3-cpufreq-po.patch" - - # Fix uninstalled cpufreq schemas, bug #266995 - epatch "${WORKDIR}/${P}-cpufreq-schemas.patch" - - # Make it libtool-1 compatible - rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed" - - intltoolize --force --copy --automake || die "intltoolize failed" - eautoreconf - - 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 "sed 4 failed" - fi - - # glibc splits this out, whereas other libc's do not tend to - use elibc_glibc || sed -e 's/-lresolv//' -i configure || die "sed 5 failed" -} - -src_test() { - unset DBUS_SESSION_BUS_ADDRESS - Xemake check || die "Test phase failed" -} - -pkg_postinst() { - gnome2_pkg_postinst - - elog "cpufreq capplet is a feature maintained by Gentoo GNOME team." - elog "Please DO NOT REPORT bugs on upstream bugzilla if you have a problem with it" - elog "Please report on http://bugs.gentoo.org instead." - - if use hal; then - 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." - fi -} diff --git a/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.2.ebuild b/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.2.ebuild deleted file mode 100644 index d967d908f75c..000000000000 --- a/gnome-extra/gnome-power-manager/gnome-power-manager-2.28.2.ebuild +++ /dev/null @@ -1,145 +0,0 @@ -# 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.28.2.ebuild,v 1.1 2009/12/17 23:44:28 eva Exp $ - -EAPI="2" - -inherit autotools eutils gnome2 virtualx - -DESCRIPTION="Gnome Power Manager" -HOMEPAGE="http://www.gnome.org/projects/gnome-power-manager/" -# FIXME: Finish the patchset including translations updates for feature forward port -SRC_URI="${SRC_URI} - http://dev.gentoo.org/~mrpouet/pub/patches/${PN}-2.28.1-cpufreq-patches.tar.lzma" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="doc +hal policykit test" - -# FIXME: Interactive testsuite (upstream ? I'm so...pessimistic) -RESTRICT="test" - -# HAL is used purely as a fallback for setting brightness if xrandr fail -COMMON_DEPEND=">=dev-libs/glib-2.6.0 - >=x11-libs/gtk+-2.17.7 - >=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-apps/devicekit-power-008 - >=dev-libs/libunique-1 - >=x11-apps/xrandr-1.2 - x11-libs/libX11 - x11-libs/libXext - - hal? ( >=sys-apps/hal-0.5.9 ) -" -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 hal) - $(use_enable test tests) - $(use_enable doc docbook-docs) - $(use_enable policykit gconf-defaults) - --enable-compile-warnings=minimum - --with-dpms-ext - --enable-applets" - - if ! use hal; then - ewarn "hal support disabled, cpufreq applet will not be built" - fi -} - -src_prepare() { - gnome2_src_prepare - - # Fix crazy cflags - sed 's:-DG.*DISABLE_DEPRECATED::g' -i configure.ac configure \ - || die "sed 1 failed" - - # Drop debugger CFLAGS - sed -e 's:^CPPFLAGS="$CPPFLAGS -g"$::g' -i configure.ac \ - || die "sed 2 failed" - - # Drop test that needs a running daemon - sed 's:^\(.*gpm_inhibit_test (test);\)://\1:' -i src/gpm-self-test.c \ - || die "sed 3 failed" - - # Skip crazy compilation warnings, bug #263078 - epatch "${FILESDIR}/${PN}-2.26.0-gcc44-options.patch" - - # Resurrect cpufreq in capplet, bug #263891 - epatch "${WORKDIR}/${PN}-2.28.1-cpufreq-libhal-glib.patch" - epatch "${WORKDIR}/${PN}-2.28.1-cpufreq-support.patch" - epatch "${WORKDIR}/${PN}-2.28.1-cpufreq-ui.patch" -# epatch "${WORKDIR}/${PN}-2.26.3-cpufreq-po.patch" - - # Fix uninstalled cpufreq schemas, bug #266995 - epatch "${WORKDIR}/${PN}-2.28.1-cpufreq-schemas.patch" - - # Make it libtool-1 compatible - rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed" - - intltoolize --force --copy --automake || die "intltoolize failed" - eautoreconf - - 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 "sed 4 failed" - fi - - # glibc splits this out, whereas other libc's do not tend to - use elibc_glibc || sed -e 's/-lresolv//' -i configure || die "sed 5 failed" -} - -src_test() { - unset DBUS_SESSION_BUS_ADDRESS - Xemake check || die "Test phase failed" -} - -pkg_postinst() { - gnome2_pkg_postinst - - elog "cpufreq capplet is a feature maintained by Gentoo GNOME team." - elog "Please DO NOT REPORT bugs on upstream bugzilla if you have a problem with it" - elog "Please report on http://bugs.gentoo.org instead." - - if use hal; then - 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." - fi -} |