diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2009-05-11 22:01:31 +0000 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2009-05-11 22:01:31 +0000 |
commit | 3a4811cf9e30ed021206fb63c85ac3170d4e21ae (patch) | |
tree | 8b3d4988c5dc83467e3107c2b8f8d589b92343db | |
parent | fix building with USE=java, bug #269131 (diff) | |
download | gentoo-2-3a4811cf9e30ed021206fb63c85ac3170d4e21ae.tar.gz gentoo-2-3a4811cf9e30ed021206fb63c85ac3170d4e21ae.tar.bz2 gentoo-2-3a4811cf9e30ed021206fb63c85ac3170d4e21ae.zip |
New version for GNOME 2.26. Use networkmanager, enable policykit, use split python bindings, drop libgnome, gstreamer-0.8 usage. Still provide a mixer applet based on gstreamer until people move to pulseaudio. Clean up old revisions.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
-rw-r--r-- | gnome-base/gnome-applets/ChangeLog | 16 | ||||
-rw-r--r-- | gnome-base/gnome-applets/files/gnome-applets-2.26.1-automagic-networkmanager.patch | 42 | ||||
-rw-r--r-- | gnome-base/gnome-applets/gnome-applets-2.20.1.ebuild | 135 | ||||
-rw-r--r-- | gnome-base/gnome-applets/gnome-applets-2.22.3.ebuild | 135 | ||||
-rw-r--r-- | gnome-base/gnome-applets/gnome-applets-2.24.1.ebuild | 128 | ||||
-rw-r--r-- | gnome-base/gnome-applets/gnome-applets-2.24.2.ebuild | 128 | ||||
-rw-r--r-- | gnome-base/gnome-applets/gnome-applets-2.26.1.ebuild | 146 |
7 files changed, 202 insertions, 528 deletions
diff --git a/gnome-base/gnome-applets/ChangeLog b/gnome-base/gnome-applets/ChangeLog index 49ba1ae9ff71..34852fa2dc97 100644 --- a/gnome-base/gnome-applets/ChangeLog +++ b/gnome-base/gnome-applets/ChangeLog @@ -1,6 +1,18 @@ # ChangeLog for gnome-base/gnome-applets -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.286 2009/04/27 13:57:23 jer Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.287 2009/05/11 22:01:31 eva Exp $ + +*gnome-applets-2.26.1 (11 May 2009) + + 11 May 2009; Gilles Dartiguelongue <eva@gentoo.org> + -gnome-applets-2.20.1.ebuild, -gnome-applets-2.22.3.ebuild, + -gnome-applets-2.24.1.ebuild, -gnome-applets-2.24.2.ebuild, + +gnome-applets-2.26.1.ebuild, + +files/gnome-applets-2.26.1-automagic-networkmanager.patch: + New version for GNOME 2.26. Use networkmanager, enable policykit, use + split python bindings, drop libgnome, gstreamer-0.8 usage. Still provide a + mixer applet based on gstreamer until people move to pulseaudio. Clean up + old revisions. 27 Apr 2009; Jeroen Roovers <jer@gentoo.org> gnome-applets-2.24.3.1: Stable for HPPA (bug #260063). diff --git a/gnome-base/gnome-applets/files/gnome-applets-2.26.1-automagic-networkmanager.patch b/gnome-base/gnome-applets/files/gnome-applets-2.26.1-automagic-networkmanager.patch new file mode 100644 index 000000000000..17f366dc0eb0 --- /dev/null +++ b/gnome-base/gnome-applets/files/gnome-applets-2.26.1-automagic-networkmanager.patch @@ -0,0 +1,42 @@ +--- + Gentoo: https://bugs.gentoo.org/show_bug.cgi?id=266056 + + configure.in | 23 +++++++++++++++-------- + 1 files changed, 15 insertions(+), 8 deletions(-) + +diff --git a/configure.in b/configure.in +index 113f3b3..3c42952 100644 +--- a/configure.in ++++ b/configure.in +@@ -311,16 +311,23 @@ AC_SUBST(LIBGWEATHER_LIBS) + AM_CONDITIONAL(BUILD_LIBGWEATHER_APPLETS, $build_libgweather_applets) + + dnl -- check for NetworkManager ----------------------------------------------- +-PKG_CHECK_MODULES(NETWORKMANAGER, NetworkManager >= $NETWORKMANAGER_REQUIRED, +- HAVE_NETWORKMANAGER="yes", HAVE_NETWORKMANAGER="no") +- +-if test "x$HAVE_NETWORKMANAGER" = "xyes"; then +- AC_DEFINE(HAVE_NETWORKMANAGER, 1, [NetworkManager available]) ++AC_ARG_ENABLE([networkmanager], ++ AC_HELP_STRING([--enable-networkmanager], ++ [Enable NetworkManager support @<:@default=yes@:>@]), ++ ENABLE_NETWORKMANAGER=$enableval, ENABLE_NETWORKMANAGER=yes) ++ ++HAVE_NETWORKMANAGER=no ++if test "x$ENABLE_NETWORKMANAGER" = "xyes"; then ++ PKG_CHECK_MODULES(NETWORKMANAGER, NetworkManager >= $NETWORKMANAGER_REQUIRED, ++ HAVE_NETWORKMANAGER=yes, HAVE_NETWORKMANAGER=no) ++ ++ if x$HAVE_NETWORKMANAGER = xyes; then ++ AC_DEFINE(HAVE_NETWORKMANAGER, 1, [NetworkManager available]) ++ AC_SUBST(NETWORKMANAGER_CFLAGS) ++ AC_SUBST(NETWORKMANAGER_LIBS) ++ fi + fi + +-AC_SUBST(NETWORKMANAGER_CFLAGS) +-AC_SUBST(NETWORKMANAGER_LIBS) +- + dnl -- check for the Mixer ---------------------------------------------------- + AC_ARG_ENABLE([mixer-applet], + AC_HELP_STRING([--enable-mixer-applet], [Enable the gstreamer-based mixer applet.]), diff --git a/gnome-base/gnome-applets/gnome-applets-2.20.1.ebuild b/gnome-base/gnome-applets/gnome-applets-2.20.1.ebuild deleted file mode 100644 index 89b2d630ffbb..000000000000 --- a/gnome-base/gnome-applets/gnome-applets-2.20.1.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.20.1.ebuild,v 1.12 2008/06/05 11:50:11 remi Exp $ - -inherit eutils gnome2 autotools python - -DESCRIPTION="Applets for the GNOME Desktop and Panel" -HOMEPAGE="http://www.gnome.org/" - -LICENSE="GPL-2 FDL-1.1 LGPL-2" -SLOT="2" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="acpi apm doc gnome gstreamer hal ipv6 test" - -RDEPEND=">=x11-libs/gtk+-2.11 - >=dev-libs/glib-2.13 - >=gnome-base/libgnome-2.8 - >=gnome-base/libgnomeui-2.8 - >=gnome-base/gconf-2.8 - >=gnome-base/gnome-panel-2.13.4 - >=gnome-base/libglade-2.4 - >=gnome-base/gail-1.1 - >=x11-libs/libxklavier-2.91 - >=x11-libs/libwnck-2.9.3 - >=gnome-base/gnome-desktop-2.11.1 - >=x11-libs/libnotify-0.3.2 - hal? ( >=sys-apps/hal-0.5.3 ) - >=dev-libs/dbus-glib-0.71 - >=x11-themes/gnome-icon-theme-2.15.91 - >=dev-libs/libxml2-2.5.0 - >=virtual/python-2.4 - apm? ( sys-apps/apmd ) - x11-apps/xrdb x11-libs/libX11 - gnome? ( - gnome-base/libgnomekbd - gnome-base/gnome-control-center - - >=gnome-extra/gucharmap-1.4 - >=gnome-base/libgtop-2.11.92 - >=gnome-base/gnome-vfs-2.15.4 - - >=dev-python/pygtk-2.6 - >=dev-python/gnome-python-2.10 - ) - gstreamer? ( - >=media-libs/gstreamer-0.10.2 - >=media-libs/gst-plugins-base-0.10.2 - )" - -# Remove gnome-system-tools 2.14 from RDEPEND to all because it is starting -# to cause more headache to keep it than to mask it. Supports only s-t-b-1 -# anyway. -# >=app-admin/system-tools-backends-1.1.3 - -DEPEND="${RDEPEND} - >=app-text/scrollkeeper-0.1.4 - >=app-text/gnome-doc-utils-0.3.2 - >=dev-util/pkgconfig-0.19 - >=dev-util/intltool-0.35 - dev-libs/libxslt - doc? ( - app-text/docbook-sgml-utils - ~app-text/docbook-xml-dtd-4.3 - ) - test? ( ~app-text/docbook-xml-dtd-4.3 )" - -DOCS="AUTHORS ChangeLog NEWS README" - -# to double check on next release -MAKEOPTS="${MAKEOPTS} -j1" - -src_unpack() { - gnome2_src_unpack - - # disable pyc compiling - mv py-compile py-compile.orig - ln -s $(type -P true) py-compile -} - -pkg_setup() { - G2CONF="${G2CONF} - --disable-scrollkeeper --enable-flags - $(use_with hal) - $(use_enable ipv6)" - - if use gstreamer; then - G2CONF="${G2CONF} --with-gstreamer=0.10" - fi - - if ! use ppc && ! use apm && ! use acpi; then - G2CONF="${G2CONF} --disable-battstat" - fi - - if use ppc && ! use apm; then - G2CONF="${G2CONF} --disable-battstat" - fi -} - -src_install() { - gnome2_src_install - - APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \ - gkb-new gswitchit gweather invest-applet mini-commander \ - mixer multiload null_applet stickynotes trashapplet" - - # modemlights is out because it needs system-tools-backends-1 - - for applet in ${APPLETS} ; do - docinto ${applet} - - for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do - [ -s ${applet}/${d} ] && dodoc ${applet}/${d} - done - done -} - -pkg_postinst() { - gnome2_pkg_postinst - - if use acpi && ! use hal ; then - elog "It is highly recommended that you install acpid if you use the" - elog "battstat applet to prevent any issues with other applications " - elog "trying to read acpi information." - fi - - # check for new python modules on bumps - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/invest -} - -pkg_postrm() { - gnome2_pkg_postrm - python_version - python_mod_cleanup -} diff --git a/gnome-base/gnome-applets/gnome-applets-2.22.3.ebuild b/gnome-base/gnome-applets/gnome-applets-2.22.3.ebuild deleted file mode 100644 index a562e11838c5..000000000000 --- a/gnome-base/gnome-applets/gnome-applets-2.22.3.ebuild +++ /dev/null @@ -1,135 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.22.3.ebuild,v 1.9 2008/11/13 19:32:17 ranger Exp $ - -inherit eutils gnome2 python - -DESCRIPTION="Applets for the GNOME Desktop and Panel" -HOMEPAGE="http://www.gnome.org/" - -LICENSE="GPL-2 FDL-1.1 LGPL-2" -SLOT="2" -KEYWORDS="alpha amd64 hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" -IUSE="acpi apm doc gnome gstreamer hal ipv6" - -# TODO: configure says python stuff is optional -# my secret script says cpufrequtils might be needed in RDEPEND - -RDEPEND=">=x11-libs/gtk+-2.11 - >=dev-libs/glib-2.15.6 - >=gnome-base/libgnome-2.8 - >=gnome-base/libgnomeui-2.8 - >=gnome-base/gconf-2.8 - >=gnome-base/gnome-panel-2.13.4 - >=gnome-base/libglade-2.4 - >=gnome-base/gail-1.1 - >=x11-libs/libxklavier-2.91 - >=x11-libs/libwnck-2.9.3 - >=gnome-base/gnome-desktop-2.11.1 - >=x11-libs/libnotify-0.3.2 - hal? ( >=sys-apps/hal-0.5.3 ) - >=dev-libs/dbus-glib-0.71 - >=x11-themes/gnome-icon-theme-2.15.91 - >=dev-libs/libgweather-2.22.1 - >=virtual/python-2.4 - apm? ( sys-apps/apmd ) - x11-apps/xrdb x11-libs/libX11 - gnome? ( - >=gnome-base/libgnomekbd-2.21.4.1 - gnome-base/gnome-settings-daemon - - >=gnome-extra/gucharmap-1.4 - >=gnome-base/libgtop-2.11.92 - >=gnome-base/gnome-vfs-2.15.4 - - >=dev-python/pygtk-2.6 - >=dev-python/gnome-python-2.10 - ) - gstreamer? ( - >=media-libs/gstreamer-0.10.2 - >=media-libs/gst-plugins-base-0.10.14 - )" - -# Remove gnome-system-tools 2.14 from RDEPEND to all because it is starting -# to cause more headache to keep it than to mask it. Supports only s-t-b-1 -# anyway. -# >=app-admin/system-tools-backends-1.1.3 - -DEPEND="${RDEPEND} - >=app-text/scrollkeeper-0.1.4 - >=app-text/gnome-doc-utils-0.3.2 - >=dev-util/pkgconfig-0.19 - >=dev-util/intltool-0.35 - dev-libs/libxslt - ~app-text/docbook-xml-dtd-4.3 - doc? ( - app-text/docbook-sgml-utils - )" - -DOCS="AUTHORS ChangeLog NEWS README" - -src_unpack() { - gnome2_src_unpack - - # disable pyc compiling - mv py-compile py-compile.orig - ln -s $(type -P true) py-compile -} - -pkg_setup() { - G2CONF="${G2CONF} - --disable-scrollkeeper - --disable-schemas-install - --enable-flags - $(use_with hal) - $(use_enable ipv6)" - - if use gstreamer; then - G2CONF="${G2CONF} --with-gstreamer=0.10" - fi - - if ! use ppc && ! use apm && ! use acpi; then - G2CONF="${G2CONF} --disable-battstat" - fi - - if use ppc && ! use apm; then - G2CONF="${G2CONF} --disable-battstat" - fi -} - -src_install() { - gnome2_src_install - - APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \ - gkb-new gswitchit gweather invest-applet mini-commander \ - mixer modemlights multiload null_applet stickynotes trashapplet" - - # modemlights is out because it needs system-tools-backends-1 - - for applet in ${APPLETS} ; do - docinto ${applet} - - for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do - [ -s ${applet}/${d} ] && dodoc ${applet}/${d} - done - done -} - -pkg_postinst() { - gnome2_pkg_postinst - - if use acpi && ! use hal ; then - elog "It is highly recommended that you install acpid if you use the" - elog "battstat applet to prevent any issues with other applications " - elog "trying to read acpi information." - fi - - # check for new python modules on bumps - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/invest -} - -pkg_postrm() { - gnome2_pkg_postrm - python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/invest -} diff --git a/gnome-base/gnome-applets/gnome-applets-2.24.1.ebuild b/gnome-base/gnome-applets/gnome-applets-2.24.1.ebuild deleted file mode 100644 index 94b55852a63d..000000000000 --- a/gnome-base/gnome-applets/gnome-applets-2.24.1.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.24.1.ebuild,v 1.1 2008/11/08 23:29:33 eva Exp $ - -inherit gnome2 python - -DESCRIPTION="Applets for the GNOME Desktop and Panel" -HOMEPAGE="http://www.gnome.org/" - -LICENSE="GPL-2 FDL-1.1 LGPL-2" -SLOT="2" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="acpi apm doc gnome gstreamer hal ipv6" - -# TODO: configure says python stuff is optional -# my secret script says cpufrequtils might be needed in RDEPEND - -RDEPEND=">=x11-libs/gtk+-2.13 - >=dev-libs/glib-2.18.0 - >=gnome-base/libgnome-2.8 - >=gnome-base/libgnomeui-2.8 - >=gnome-base/gconf-2.8 - >=gnome-base/gnome-panel-2.13.4 - >=x11-libs/libxklavier-2.91 - >=x11-libs/libwnck-2.9.3 - >=gnome-base/gnome-desktop-2.11.1 - >=x11-libs/libnotify-0.3.2 - hal? ( >=sys-apps/hal-0.5.3 ) - >=sys-apps/dbus-1.1.2 - >=dev-libs/dbus-glib-0.74 - >=dev-libs/libxml2-2.5.0 - >=x11-themes/gnome-icon-theme-2.15.91 - >=dev-libs/libgweather-2.22.1 - >=virtual/python-2.4 - apm? ( sys-apps/apmd ) - x11-libs/libX11 - gnome? ( - >=gnome-base/libgnomekbd-2.21.4.1 - gnome-base/gnome-settings-daemon - - >=gnome-extra/gucharmap-1.4 - >=gnome-base/libgtop-2.11.92 - - >=dev-python/pygtk-2.6 - >=dev-python/gnome-python-2.10 ) - gstreamer? ( - >=media-libs/gstreamer-0.10.2 - >=media-libs/gst-plugins-base-0.10.14 )" - -DEPEND="${RDEPEND} - >=app-text/scrollkeeper-0.1.4 - >=app-text/gnome-doc-utils-0.3.2 - >=dev-util/pkgconfig-0.19 - >=dev-util/intltool-0.35 - dev-libs/libxslt - ~app-text/docbook-xml-dtd-4.3 - doc? ( - app-text/docbook-sgml-utils - )" - -DOCS="AUTHORS ChangeLog NEWS README" - -src_unpack() { - gnome2_src_unpack - - # disable pyc compiling - mv py-compile py-compile.orig - ln -s $(type -P true) py-compile -} - -pkg_setup() { - G2CONF="${G2CONF} - --disable-scrollkeeper - --disable-schemas-install - --enable-flags - $(use_with hal) - $(use_enable ipv6) - --disable-polkit" - - if use gstreamer; then - G2CONF="${G2CONF} --with-gstreamer=0.10" - fi - - if ! use ppc && ! use apm && ! use acpi; then - G2CONF="${G2CONF} --disable-battstat" - fi - - if use ppc && ! use apm; then - G2CONF="${G2CONF} --disable-battstat" - fi -} - -src_install() { - gnome2_src_install - - local APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \ - gkb-new gswitchit gweather invest-applet mini-commander \ - mixer modemlights multiload null_applet stickynotes trashapplet" - - # modemlights is out because it needs system-tools-backends-1 - - for applet in ${APPLETS} ; do - docinto ${applet} - - for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do - [ -s ${applet}/${d} ] && dodoc ${applet}/${d} - done - done -} - -pkg_postinst() { - gnome2_pkg_postinst - - if use acpi && ! use hal ; then - elog "It is highly recommended that you install acpid if you use the" - elog "battstat applet to prevent any issues with other applications " - elog "trying to read acpi information." - fi - - # check for new python modules on bumps - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/invest -} - -pkg_postrm() { - gnome2_pkg_postrm - python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/invest -} diff --git a/gnome-base/gnome-applets/gnome-applets-2.24.2.ebuild b/gnome-base/gnome-applets/gnome-applets-2.24.2.ebuild deleted file mode 100644 index df3b282cc6fc..000000000000 --- a/gnome-base/gnome-applets/gnome-applets-2.24.2.ebuild +++ /dev/null @@ -1,128 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.24.2.ebuild,v 1.1 2008/11/29 12:14:58 eva Exp $ - -inherit gnome2 python - -DESCRIPTION="Applets for the GNOME Desktop and Panel" -HOMEPAGE="http://www.gnome.org/" - -LICENSE="GPL-2 FDL-1.1 LGPL-2" -SLOT="2" -KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc64 ~sparc ~x86" -IUSE="acpi apm doc gnome gstreamer hal ipv6" - -# TODO: configure says python stuff is optional -# my secret script says cpufrequtils might be needed in RDEPEND - -RDEPEND=">=x11-libs/gtk+-2.13 - >=dev-libs/glib-2.18.0 - >=gnome-base/libgnome-2.8 - >=gnome-base/libgnomeui-2.8 - >=gnome-base/gconf-2.8 - >=gnome-base/gnome-panel-2.13.4 - >=x11-libs/libxklavier-2.91 - >=x11-libs/libwnck-2.9.3 - >=gnome-base/gnome-desktop-2.11.1 - >=x11-libs/libnotify-0.3.2 - hal? ( >=sys-apps/hal-0.5.3 ) - >=sys-apps/dbus-1.1.2 - >=dev-libs/dbus-glib-0.74 - >=dev-libs/libxml2-2.5.0 - >=x11-themes/gnome-icon-theme-2.15.91 - >=dev-libs/libgweather-2.22.1 - >=virtual/python-2.4 - apm? ( sys-apps/apmd ) - x11-libs/libX11 - gnome? ( - >=gnome-base/libgnomekbd-2.21.4.1 - gnome-base/gnome-settings-daemon - - >=gnome-extra/gucharmap-1.4 - >=gnome-base/libgtop-2.11.92 - - >=dev-python/pygtk-2.6 - >=dev-python/gnome-python-2.10 ) - gstreamer? ( - >=media-libs/gstreamer-0.10.2 - >=media-libs/gst-plugins-base-0.10.14 )" - -DEPEND="${RDEPEND} - >=app-text/scrollkeeper-0.1.4 - >=app-text/gnome-doc-utils-0.3.2 - >=dev-util/pkgconfig-0.19 - >=dev-util/intltool-0.35 - dev-libs/libxslt - ~app-text/docbook-xml-dtd-4.3 - doc? ( - app-text/docbook-sgml-utils - )" - -DOCS="AUTHORS ChangeLog NEWS README" - -src_unpack() { - gnome2_src_unpack - - # disable pyc compiling - mv py-compile py-compile.orig - ln -s $(type -P true) py-compile -} - -pkg_setup() { - G2CONF="${G2CONF} - --disable-scrollkeeper - --disable-schemas-install - --enable-flags - $(use_with hal) - $(use_enable ipv6) - --disable-polkit" - - if use gstreamer; then - G2CONF="${G2CONF} --with-gstreamer=0.10" - fi - - if ! use ppc && ! use apm && ! use acpi; then - G2CONF="${G2CONF} --disable-battstat" - fi - - if use ppc && ! use apm; then - G2CONF="${G2CONF} --disable-battstat" - fi -} - -src_install() { - gnome2_src_install - - local APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \ - gkb-new gswitchit gweather invest-applet mini-commander \ - mixer modemlights multiload null_applet stickynotes trashapplet" - - # modemlights is out because it needs system-tools-backends-1 - - for applet in ${APPLETS} ; do - docinto ${applet} - - for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do - [ -s ${applet}/${d} ] && dodoc ${applet}/${d} - done - done -} - -pkg_postinst() { - gnome2_pkg_postinst - - if use acpi && ! use hal ; then - elog "It is highly recommended that you install acpid if you use the" - elog "battstat applet to prevent any issues with other applications " - elog "trying to read acpi information." - fi - - # check for new python modules on bumps - python_version - python_mod_optimize /usr/$(get_libdir)/python${PYVER}/site-packages/invest -} - -pkg_postrm() { - gnome2_pkg_postrm - python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/invest -} diff --git a/gnome-base/gnome-applets/gnome-applets-2.26.1.ebuild b/gnome-base/gnome-applets/gnome-applets-2.26.1.ebuild new file mode 100644 index 000000000000..9cf6e840c314 --- /dev/null +++ b/gnome-base/gnome-applets/gnome-applets-2.26.1.ebuild @@ -0,0 +1,146 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/gnome-applets-2.26.1.ebuild,v 1.1 2009/05/11 22:01:31 eva Exp $ + +inherit autotools eutils gnome2 python + +DESCRIPTION="Applets for the GNOME Desktop and Panel" +HOMEPAGE="http://www.gnome.org/" + +LICENSE="GPL-2 FDL-1.1 LGPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +IUSE="acpi apm doc gnome gstreamer hal ipv6 networkmanager policykit" + +# TODO: configure says python stuff is optional +# my secret script says cpufrequtils might be needed in RDEPEND + +RDEPEND=">=x11-libs/gtk+-2.13 + >=dev-libs/glib-2.18.0 + >=gnome-base/gconf-2.8 + >=gnome-base/gnome-panel-2.13.4 + >=x11-libs/libxklavier-2.91 + >=x11-libs/libwnck-2.9.3 + >=gnome-base/gnome-desktop-2.11.1 + >=x11-libs/libnotify-0.3.2 + hal? ( >=sys-apps/hal-0.5.3 ) + >=sys-apps/dbus-1.1.2 + >=dev-libs/dbus-glib-0.74 + >=dev-libs/libxml2-2.5.0 + >=x11-themes/gnome-icon-theme-2.15.91 + >=dev-libs/libgweather-2.22.1 + >=virtual/python-2.4 + apm? ( sys-apps/apmd ) + x11-libs/libX11 + gnome? ( + >=gnome-base/libgnomekbd-2.21.4.1 + gnome-base/gnome-settings-daemon + + >=gnome-extra/gucharmap-2.23 + >=gnome-base/libgtop-2.11.92 + + >=dev-python/pygobject-2.6 + >=dev-python/pygtk-2.6 + >=dev-python/libgnome-python-2.10 + >=dev-python/gconf-python-2.10 + >=dev-python/gnome-applets-python-2.10 ) + gstreamer? ( + >=media-libs/gstreamer-0.10.2 + >=media-libs/gst-plugins-base-0.10.14 ) + networkmanager? ( >=net-misc/networkmanager-0.7.0 ) + policykit? ( + >=sys-auth/policykit-0.7 + >=gnome-extra/policykit-gnome-0.7 )" + +DEPEND="${RDEPEND} + >=app-text/scrollkeeper-0.1.4 + >=app-text/gnome-doc-utils-0.3.2 + >=dev-util/pkgconfig-0.19 + >=dev-util/intltool-0.35 + dev-libs/libxslt + ~app-text/docbook-xml-dtd-4.3 + doc? ( app-text/docbook-sgml-utils )" + +DOCS="AUTHORS ChangeLog NEWS README" + +src_unpack() { + gnome2_src_unpack + + # disable pyc compiling + mv py-compile py-compile.orig + ln -s $(type -P true) py-compile + + # Networmanager is automagic, bug #266056 + epatch "${FILESDIR}/${P}-automagic-networkmanager.patch" + + # Make it libtool-1 compatible, bug #266248 + rm -v m4/lt* m4/libtool.m4 || die "removing libtool macros failed" + + intltoolize --force --copy --automake || die "intltoolize failed" + eautoreconf +} + +pkg_setup() { + G2CONF="${G2CONF} + --disable-scrollkeeper + --disable-schemas-install + --enable-flags + $(use_enable gstreamer mixer-applet) + $(use_with hal) + $(use_enable ipv6) + $(use_enable networkmanager) + $(use_enable policykit polkit)" + + if use gstreamer; then + G2CONF="${G2CONF} --with-gstreamer=0.10" + fi + + if ! use ppc && ! use apm && ! use acpi; then + G2CONF="${G2CONF} --disable-battstat" + fi + + if use ppc && ! use apm; then + G2CONF="${G2CONF} --disable-battstat" + fi +} + +src_test() { + unset DBUS_SESSION_BUS_ADDRESS + emake check || die "emake check failed" +} + +src_install() { + gnome2_src_install + + local APPLETS="accessx-status battstat charpick cpufreq drivemount geyes \ + gkb-new gswitchit gweather invest-applet mini-commander \ + mixer modemlights multiload null_applet stickynotes trashapplet" + + # modemlights is out because it needs system-tools-backends-1 + + for applet in ${APPLETS} ; do + docinto ${applet} + + for d in AUTHORS ChangeLog NEWS README README.themes TODO ; do + [ -s ${applet}/${d} ] && dodoc ${applet}/${d} + done + done +} + +pkg_postinst() { + gnome2_pkg_postinst + + if use acpi && ! use hal ; then + elog "It is highly recommended that you install acpid if you use the" + elog "battstat applet to prevent any issues with other applications " + elog "trying to read acpi information." + fi + + # check for new python modules on bumps + python_mod_optimize $(python_get_sitedir)/invest +} + +pkg_postrm() { + gnome2_pkg_postrm + python_mod_cleanup /usr/$(get_libdir)/python*/site-packages/invest +} |