summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Meier <maekke@gentoo.org>2008-03-15 16:57:04 +0000
committerMarkus Meier <maekke@gentoo.org>2008-03-15 16:57:04 +0000
commit7759ec4c73c3bc1d89425a8723cd25614ab2cc42 (patch)
treedc8dab6f08c6d2812f5383a9ee543dc02d320950 /media-gfx/inkscape
parentVersion bump. (diff)
downloadgentoo-2-7759ec4c73c3bc1d89425a8723cd25614ab2cc42.tar.gz
gentoo-2-7759ec4c73c3bc1d89425a8723cd25614ab2cc42.tar.bz2
gentoo-2-7759ec4c73c3bc1d89425a8723cd25614ab2cc42.zip
fix building with poppler, reported in bug #213026
(Portage version: 2.1.4.4)
Diffstat (limited to 'media-gfx/inkscape')
-rw-r--r--media-gfx/inkscape/ChangeLog5
-rw-r--r--media-gfx/inkscape/inkscape-0.46.ebuild11
2 files changed, 13 insertions, 3 deletions
diff --git a/media-gfx/inkscape/ChangeLog b/media-gfx/inkscape/ChangeLog
index b0962c51a324..8f43bd648620 100644
--- a/media-gfx/inkscape/ChangeLog
+++ b/media-gfx/inkscape/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for media-gfx/inkscape
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.84 2008/03/15 09:47:22 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.85 2008/03/15 16:57:04 maekke Exp $
+
+ 15 Mar 2008; Markus Meier <maekke@gentoo.org> inkscape-0.46.ebuild:
+ fix building with poppler, reported in bug #213026
15 Mar 2008; Markus Meier <maekke@gentoo.org> inkscape-0.46.ebuild:
add missing boost (bug #213454) and imagemagick dependency. reorder the deps
diff --git a/media-gfx/inkscape/inkscape-0.46.ebuild b/media-gfx/inkscape/inkscape-0.46.ebuild
index 408d3cbb43fd..3a7b08b6a357 100644
--- a/media-gfx/inkscape/inkscape-0.46.ebuild
+++ b/media-gfx/inkscape/inkscape-0.46.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.46.ebuild,v 1.2 2008/03/15 09:47:22 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.46.ebuild,v 1.3 2008/03/15 16:57:04 maekke Exp $
inherit gnome2 eutils
@@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2 LGPL-2.1"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
-IUSE="dia doc gnome inkjar jabber lcms mmx perl postscript spell wmf"
+IUSE="dia doc gnome inkjar jabber lcms mmx pdf perl postscript spell wmf"
RESTRICT="test"
COMMON_DEPEND="
@@ -38,6 +38,7 @@ COMMON_DEPEND="
gnome-base/libgnomeprintui
)
lcms? ( >=media-libs/lcms-1.14 )
+ pdf? ( app-text/poppler-bindings )
perl? (
dev-perl/XML-Parser
dev-perl/XML-XQL
@@ -67,6 +68,11 @@ pkg_setup() {
eerror "you need to emerge media-gfx/pstoedit with plotutils support."
die "remerge media-gfx/pstoedit with USE=\"plotutils\""
fi
+ # bug 213026
+ if use pdf && ! built_with_use app-text/poppler-bindings cairo ; then
+ eerror "you need to emerge app-text/poppler-bindings with cairo support."
+ die "remerge app-text/poppler-bindings with USE=\"cairo\""
+ fi
G2CONF="${G2CONF} --with-xft"
G2CONF="${G2CONF} $(use_with spell gtkspell)"
@@ -76,6 +82,7 @@ pkg_setup() {
G2CONF="${G2CONF} $(use_with gnome gnome-vfs)"
G2CONF="${G2CONF} $(use_with gnome gnome-print)"
G2CONF="${G2CONF} $(use_enable lcms)"
+ G2CONF="${G2CONF} $(use_enable pdf poppler-cairo)"
G2CONF="${G2CONF} $(use_with perl)"
}