Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 467234 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-12 / +22 lines)
Line  Link Here
0
-- media-gfx/inkscape/inkscape-0.48.4.ebuild
0
++ media-gfx/inkscape/inkscape-0.48.4-r1.ebuild
Lines 4-15 Link Here
4
4
5
EAPI=5
5
EAPI=5
6
6
7
PYTHON_DEPEND="2"
8
PYTHON_USE_WITH="xml"
9
10
GCONF_DEBUG=no
7
GCONF_DEBUG=no
11
8
12
inherit autotools eutils flag-o-matic gnome2 python toolchain-funcs
9
PYTHON_COMPAT=( python2_6 python2_7 )
10
PYTHON_REQ_USE="xml"
11
inherit autotools eutils flag-o-matic python-single-r1 gnome2 toolchain-funcs
13
12
14
MY_P="${P/_/}"
13
MY_P="${P/_/}"
15
S="${WORKDIR}/${MY_P}"
14
S="${WORKDIR}/${MY_P}"
Lines 20-31 Link Here
20
19
21
LICENSE="GPL-2 LGPL-2.1"
20
LICENSE="GPL-2 LGPL-2.1"
22
SLOT="0"
21
SLOT="0"
23
KEYWORDS="amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
22
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
24
IUSE="dia gnome postscript inkjar lcms nls spell wmf"
23
IUSE="dia gnome postscript inkjar lcms nls spell wmf"
25
24
26
RESTRICT="test"
25
RESTRICT="test"
27
26
28
COMMON_DEPEND="
27
COMMON_DEPEND="
28
	${PYTHON_DEPS}
29
	>=app-text/poppler-0.12.3-r3[cairo,xpdf-headers(+)]
29
	>=app-text/poppler-0.12.3-r3[cairo,xpdf-headers(+)]
30
	dev-cpp/glibmm
30
	dev-cpp/glibmm
31
	>=dev-cpp/gtkmm-2.18.0:2.4
31
	>=dev-cpp/gtkmm-2.18.0:2.4
Lines 35-45 Link Here
35
	>=dev-libs/libxml2-2.6.20
35
	>=dev-libs/libxml2-2.6.20
36
	>=dev-libs/libxslt-1.0.15
36
	>=dev-libs/libxslt-1.0.15
37
	dev-libs/popt
37
	dev-libs/popt
38
	dev-python/lxml
38
	dev-python/lxml[${PYTHON_USEDEP}]
39
	media-gfx/imagemagick[cxx]
39
	media-gfx/imagemagick[cxx]
40
	media-libs/fontconfig
40
	media-libs/fontconfig
41
	media-libs/freetype:2
41
	media-libs/freetype:2
42
	>=media-libs/libpng-1.2
42
	media-libs/libpng:0
43
	app-text/libwpd:0.9
43
	app-text/libwpd:0.9
44
	app-text/libwpg:0.2
44
	app-text/libwpg:0.2
45
	sci-libs/gsl
45
	sci-libs/gsl
Lines 59-65 Link Here
59
# on that.
59
# on that.
60
RDEPEND="
60
RDEPEND="
61
	${COMMON_DEPEND}
61
	${COMMON_DEPEND}
62
	dev-python/numpy
62
	dev-python/numpy[${PYTHON_USEDEP}]
63
	media-gfx/uniconvertor
63
	media-gfx/uniconvertor
64
	dia? ( app-office/dia )
64
	dia? ( app-office/dia )
65
	postscript? ( app-text/ghostscript-gpl )
65
	postscript? ( app-text/ghostscript-gpl )
Lines 78-90 Link Here
78
	epatch "${FILESDIR}"/${PN}-0.48.0-spell.patch \
78
	epatch "${FILESDIR}"/${PN}-0.48.0-spell.patch \
79
		"${FILESDIR}"/${PN}-0.48.2-libwpg.patch \
79
		"${FILESDIR}"/${PN}-0.48.2-libwpg.patch \
80
		"${FILESDIR}"/${PN}-0.48.3.1-desktop.patch \
80
		"${FILESDIR}"/${PN}-0.48.3.1-desktop.patch \
81
		"${FILESDIR}"/${P}-python2.patch \
81
		"${FILESDIR}"/${PN}-0.48.4-epython.patch \
82
		"${FILESDIR}"/${PN}-0.48.4-fix-member-decl.patch
82
		"${FILESDIR}"/${PN}-0.48.4-fix-member-decl.patch \
83
		"${FILESDIR}"/${PN}-0.48.4-automake-1.3.patch
84
85
	sed -i \
86
		-e "s#@EPYTHON@#${EPYTHON}#" \
87
		src/extension/implementation/script.cpp || die
83
88
84
	eautoreconf
89
	eautoreconf
85
90
86
	# bug 421111
91
	# bug 421111
87
	python_convert_shebangs -r 2 share/extensions
92
	python_fix_shebang share/extensions
88
}
93
}
89
94
90
src_configure() {
95
src_configure() {
Lines 106-108 Link Here
106
src_compile() {
111
src_compile() {
107
	emake AR="$(tc-getAR)"
112
	emake AR="$(tc-getAR)"
108
}
113
}
114
115
src_install() {
116
	gnome2_src_install
117
	python_optimize "${ED}"/usr/share/${PN}/extensions
118
}

Return to bug 467234