summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Cardona <remi@gentoo.org>2007-09-29 08:16:38 +0000
committerRémi Cardona <remi@gentoo.org>2007-09-29 08:16:38 +0000
commit69b8e0a4b6ee645eefd318f08af1af6f8be9970c (patch)
tree2d110ba47c58045265255d501528abfdd034bd59 /gnome-base
parentfixed again the paralell make patch (diff)
downloadgentoo-2-69b8e0a4b6ee645eefd318f08af1af6f8be9970c.tar.gz
gentoo-2-69b8e0a4b6ee645eefd318f08af1af6f8be9970c.tar.bz2
gentoo-2-69b8e0a4b6ee645eefd318f08af1af6f8be9970c.zip
gnome-base/gnome-applets: Fix compatibility with gtk+ 2.12 (bug #193701)
(Portage version: 2.1.3.10)
Diffstat (limited to 'gnome-base')
-rw-r--r--gnome-base/gnome-applets/ChangeLog8
-rw-r--r--gnome-base/gnome-applets/files/digest-gnome-applets-2.18.0-r33
-rw-r--r--gnome-base/gnome-applets/files/gnome-applets-2.18.0-gtk+-2.12-compat.patch12
-rw-r--r--gnome-base/gnome-applets/gnome-applets-2.18.0-r3.ebuild116
4 files changed, 138 insertions, 1 deletions
diff --git a/gnome-base/gnome-applets/ChangeLog b/gnome-base/gnome-applets/ChangeLog
index b3b0fd1c5b7a..eef7f54323ef 100644
--- a/gnome-base/gnome-applets/ChangeLog
+++ b/gnome-base/gnome-applets/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for gnome-base/gnome-applets
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.232 2007/09/23 05:56:59 tgall Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/gnome-applets/ChangeLog,v 1.233 2007/09/29 08:16:38 remi Exp $
+
+*gnome-applets-2.18.0-r3 (29 Sep 2007)
+
+ 29 Sep 2007; Rémi Cardona <remi@gentoo.org>
+ +gnome-applets-2.18.0-r3.ebuild:
+ Fix compatibility with gtk+ 2.12 (bug #193701)
23 Sep 2007; Tom Gall <tgall@gentoo.org>
gnome-applets-2.18.0-r2.ebuild:
diff --git a/gnome-base/gnome-applets/files/digest-gnome-applets-2.18.0-r3 b/gnome-base/gnome-applets/files/digest-gnome-applets-2.18.0-r3
new file mode 100644
index 000000000000..b08b91a64e0c
--- /dev/null
+++ b/gnome-base/gnome-applets/files/digest-gnome-applets-2.18.0-r3
@@ -0,0 +1,3 @@
+MD5 db3ef99c00335798f30fc0a9162c0257 gnome-applets-2.18.0.tar.bz2 7133902
+RMD160 c9a18c717fd01ede9476a70784a8522968e52211 gnome-applets-2.18.0.tar.bz2 7133902
+SHA256 f8f23e0c5e156afb0811d7a7fcbfec8dc667b8e35fa8a1cfff0b4866014c2157 gnome-applets-2.18.0.tar.bz2 7133902
diff --git a/gnome-base/gnome-applets/files/gnome-applets-2.18.0-gtk+-2.12-compat.patch b/gnome-base/gnome-applets/files/gnome-applets-2.18.0-gtk+-2.12-compat.patch
new file mode 100644
index 000000000000..b08ee1fdf03f
--- /dev/null
+++ b/gnome-base/gnome-applets/files/gnome-applets-2.18.0-gtk+-2.12-compat.patch
@@ -0,0 +1,12 @@
+--- mixer.orig/Makefile.am 2007-09-29 11:03:19.000000000 +1000
++++ mixer/Makefile.am 2007-09-29 13:41:49.000000000 +1000
+@@ -1,9 +1,6 @@
+ SUBDIRS = docs
+
+ INCLUDES = -I. -I$(srcdir) \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGDK_DISABLE_DEPRECATED \
+ $(MIXER_CFLAGS) \
+ $(GNOME_APPLETS_CFLAGS) \
+ $(GNOMEDESKTOP_CFLAGS)
diff --git a/gnome-base/gnome-applets/gnome-applets-2.18.0-r3.ebuild b/gnome-base/gnome-applets/gnome-applets-2.18.0-r3.ebuild
new file mode 100644
index 000000000000..51a788d0e159
--- /dev/null
+++ b/gnome-base/gnome-applets/gnome-applets-2.18.0-r3.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2007 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.18.0-r3.ebuild,v 1.1 2007/09/29 08:16:38 remi Exp $
+
+inherit eutils gnome2 autotools
+
+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"
+
+RDEPEND=">=x11-libs/gtk+-2.6
+ >=dev-libs/glib-2.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
+ >=app-admin/system-tools-backends-1.1.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/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
+ )"
+
+DEPEND="${RDEPEND}
+ >=app-text/scrollkeeper-0.1.4
+ >=dev-util/pkgconfig-0.19
+ >=dev-util/intltool-0.35
+ dev-libs/libxslt
+ doc? (
+ app-text/docbook-sgml-utils
+ >=app-text/gnome-doc-utils-0.3.2
+ ~app-text/docbook-xml-dtd-4.3
+ )"
+
+DOCS="AUTHORS ChangeLog NEWS README"
+
+MAKEOPTS="${MAKEOPTS} -j1"
+
+pkg_setup() {
+ G2CONF="--disable-scrollkeeper --enable-flags \
+ $(use_with hal)
+ $(use_enable ipv6)
+ $(use_enable doc gtk-doc)"
+
+ 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_unpack() {
+ gnome2_src_unpack
+ epatch ${FILESDIR}/${P}-acpi-procfs.patch
+ epatch "${FILESDIR}/${P}-gtk+-2.12-compat.patch"
+ AT_M4DIR="m4" eautoreconf
+}
+
+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"
+
+ 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
+}