summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2010-03-14 22:31:49 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2010-03-14 22:31:49 +0000
commit0d10bd01ed7e042e7fafe912c1f5dc3e5f8e1b7c (patch)
treefecefd75ba9ff03875de7102bbc6947996a144fa /x11-libs/gtkglext
parentamd64/arm stable, bug #305081 (diff)
downloadgentoo-2-0d10bd01ed7e042e7fafe912c1f5dc3e5f8e1b7c.tar.gz
gentoo-2-0d10bd01ed7e042e7fafe912c1f5dc3e5f8e1b7c.tar.bz2
gentoo-2-0d10bd01ed7e042e7fafe912c1f5dc3e5f8e1b7c.zip
Remove active deprecation definitions, bug #308973.
(Portage version: 2.2_rc65/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/gtkglext')
-rw-r--r--x11-libs/gtkglext/ChangeLog7
-rw-r--r--x11-libs/gtkglext/gtkglext-1.2.0.ebuild20
2 files changed, 22 insertions, 5 deletions
diff --git a/x11-libs/gtkglext/ChangeLog b/x11-libs/gtkglext/ChangeLog
index e7cf6d8e711d..bbfa9ab1cd83 100644
--- a/x11-libs/gtkglext/ChangeLog
+++ b/x11-libs/gtkglext/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for x11-libs/gtkglext
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglext/ChangeLog,v 1.66 2009/05/05 16:14:30 ssuominen Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglext/ChangeLog,v 1.67 2010/03/14 22:31:49 eva Exp $
+
+ 14 Mar 2010; Gilles Dartiguelongue <eva@gentoo.org> gtkglext-1.2.0.ebuild:
+ Remove active deprecation definitions, bug #308973.
05 May 2009; Samuli Suominen <ssuominen@gentoo.org> gtkglext-1.2.0.ebuild:
Move to EAPI2 and remove USE doc which didn't do anything since the
diff --git a/x11-libs/gtkglext/gtkglext-1.2.0.ebuild b/x11-libs/gtkglext/gtkglext-1.2.0.ebuild
index 547c3b180fe4..6137353a2013 100644
--- a/x11-libs/gtkglext/gtkglext-1.2.0.ebuild
+++ b/x11-libs/gtkglext/gtkglext-1.2.0.ebuild
@@ -1,8 +1,9 @@
-# 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/x11-libs/gtkglext/gtkglext-1.2.0.ebuild,v 1.18 2009/05/05 16:14:30 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/gtkglext/gtkglext-1.2.0.ebuild,v 1.19 2010/03/14 22:31:49 eva Exp $
+
+EAPI="2"
-EAPI=2
inherit gnome2
DESCRIPTION="GL extensions for Gtk+ 2.0"
@@ -23,3 +24,16 @@ DEPEND="${RDEPEND}
dev-util/pkgconfig"
DOCS="AUTHORS ChangeLog* NEWS README TODO"
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Remove development knobs, bug #308973
+ sed -i 's:-D\(G.*DISABLE_DEPRECATED\):-D__\1__:g' \
+ examples/Makefile.am examples/Makefile.in \
+ gdk/Makefile.am gdk/Makefile.in \
+ gdk/win32/Makefile.am gdk/win32/Makefile.in \
+ gdk/x11/Makefile.am gdk/x11/Makefile.in \
+ gtk/Makefile.am gtk/Makefile.in \
+ || die "sed failed"
+}