summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2011-10-02 20:40:20 +0000
committerPacho Ramos <pacho@gentoo.org>2011-10-02 20:40:20 +0000
commitc3acd4ddfd886cfc0ed123a55fb0fc803aa26f7b (patch)
tree5c8cb4c496d1af3e58f922cbd9664a27dee29b63 /gnome-base/libgnomeprint
parentDrop DEPRECATED flags, bug #384743 (diff)
downloadgentoo-2-c3acd4ddfd886cfc0ed123a55fb0fc803aa26f7b.tar.gz
gentoo-2-c3acd4ddfd886cfc0ed123a55fb0fc803aa26f7b.tar.bz2
gentoo-2-c3acd4ddfd886cfc0ed123a55fb0fc803aa26f7b.zip
Drop DEPRECATED flags, bug #384807; remove old.
(Portage version: 2.1.10.20/cvs/Linux x86_64)
Diffstat (limited to 'gnome-base/libgnomeprint')
-rw-r--r--gnome-base/libgnomeprint/ChangeLog6
-rw-r--r--gnome-base/libgnomeprint/libgnomeprint-2.18.7.ebuild43
-rw-r--r--gnome-base/libgnomeprint/libgnomeprint-2.18.8.ebuild13
3 files changed, 17 insertions, 45 deletions
diff --git a/gnome-base/libgnomeprint/ChangeLog b/gnome-base/libgnomeprint/ChangeLog
index 44dba48c18db..de3f5769a07a 100644
--- a/gnome-base/libgnomeprint/ChangeLog
+++ b/gnome-base/libgnomeprint/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for gnome-base/libgnomeprint
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeprint/ChangeLog,v 1.189 2011/03/22 19:17:54 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeprint/ChangeLog,v 1.190 2011/10/02 20:40:20 pacho Exp $
+
+ 02 Oct 2011; Pacho Ramos <pacho@gentoo.org> -libgnomeprint-2.18.7.ebuild,
+ libgnomeprint-2.18.8.ebuild:
+ Drop DEPRECATED flags, bug #384807; remove old.
22 Mar 2011; Brent Baude <ranger@gentoo.org> libgnomeprint-2.18.8.ebuild:
Marking libgnomeprint-2.18.8 ppc stable for bug 353436
diff --git a/gnome-base/libgnomeprint/libgnomeprint-2.18.7.ebuild b/gnome-base/libgnomeprint/libgnomeprint-2.18.7.ebuild
deleted file mode 100644
index 8da16a7ff983..000000000000
--- a/gnome-base/libgnomeprint/libgnomeprint-2.18.7.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeprint/libgnomeprint-2.18.7.ebuild,v 1.8 2010/10/08 19:49:29 ssuominen Exp $
-
-GCONF_DEBUG="no"
-
-inherit gnome2
-
-DESCRIPTION="Printer handling for Gnome"
-HOMEPAGE="http://www.gnome.org/"
-
-LICENSE="GPL-2 LGPL-2.1"
-SLOT="2.2"
-KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
-IUSE="cups doc"
-
-RDEPEND=">=dev-libs/glib-2
- >=media-libs/libart_lgpl-2.3.7
- >=x11-libs/pango-1.5
- >=dev-libs/libxml2-2.4.23
- >=media-libs/fontconfig-1
- >=media-libs/freetype-2.0.5
- sys-libs/zlib
- cups? (
- >=net-print/cups-1.1.20
- >=net-print/libgnomecups-0.2 )"
-DEPEND="${RDEPEND}
- sys-devel/gettext
- >=dev-util/intltool-0.35
- >=dev-util/pkgconfig-0.9
- sys-devel/flex
- sys-devel/bison
- doc? (
- ~app-text/docbook-xml-dtd-4.1.2
- >=dev-util/gtk-doc-0.9 )"
-
-DOCS="AUTHORS BUGS ChangeLog* NEWS README"
-
-pkg_setup() {
- # Disable papi support until papi is in portage; avoids automagic
- # dependencies on an untracked library.
- G2CONF="$(use_with cups) --without-papi --disable-static"
-}
diff --git a/gnome-base/libgnomeprint/libgnomeprint-2.18.8.ebuild b/gnome-base/libgnomeprint/libgnomeprint-2.18.8.ebuild
index 10417e0face0..23733f9f3dd1 100644
--- a/gnome-base/libgnomeprint/libgnomeprint-2.18.8.ebuild
+++ b/gnome-base/libgnomeprint/libgnomeprint-2.18.8.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeprint/libgnomeprint-2.18.8.ebuild,v 1.6 2011/03/22 19:17:54 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomeprint/libgnomeprint-2.18.8.ebuild,v 1.7 2011/10/02 20:40:20 pacho Exp $
EAPI="3"
GCONF_DEBUG="no"
@@ -42,3 +42,14 @@ pkg_setup() {
# dependencies on an untracked library.
G2CONF="${G2CONF} $(use_with cups) --without-papi --disable-static"
}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Drop DEPRECATED flags, bug #384807
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED::g' \
+ configure.in configure || die
+ sed -i -e 's:-D[A-Z_]*DISABLE_DEPRECATED:$(NULL):g' \
+ libgnomeprint/ttsubset/Makefile.am \
+ libgnomeprint/ttsubset/Makefile.in || die
+}