Gentoo Archives: gentoo-commits

From: "Tim Harder (radhermit)" <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/inkscape: ChangeLog inkscape-0.48.5.ebuild
Date: Thu, 26 Jun 2014 06:56:35
Message-Id: 20140626065630.9873D2004E@flycatcher.gentoo.org
1 radhermit 14/06/26 06:56:30
2
3 Modified: ChangeLog
4 Added: inkscape-0.48.5.ebuild
5 Log:
6 Version bump (bug #514732).
7
8 (Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3)
9
10 Revision Changes Path
11 1.208 media-gfx/inkscape/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?rev=1.208&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?rev=1.208&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?r1=1.207&r2=1.208
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v
20 retrieving revision 1.207
21 retrieving revision 1.208
22 diff -u -r1.207 -r1.208
23 --- ChangeLog 14 Jun 2014 10:09:51 -0000 1.207
24 +++ ChangeLog 26 Jun 2014 06:56:30 -0000 1.208
25 @@ -1,6 +1,11 @@
26 # ChangeLog for media-gfx/inkscape
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.207 2014/06/14 10:09:51 phajdan.jr Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.208 2014/06/26 06:56:30 radhermit Exp $
30 +
31 +*inkscape-0.48.5 (26 Jun 2014)
32 +
33 + 26 Jun 2014; Tim Harder <radhermit@g.o> +inkscape-0.48.5.ebuild:
34 + Version bump (bug #514732).
35
36 14 Jun 2014; Pawel Hajdan jr <phajdan.jr@g.o>
37 inkscape-0.48.4-r1.ebuild:
38
39
40
41 1.1 media-gfx/inkscape/inkscape-0.48.5.ebuild
42
43 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/inkscape-0.48.5.ebuild?rev=1.1&view=markup
44 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/inkscape-0.48.5.ebuild?rev=1.1&content-type=text/plain
45
46 Index: inkscape-0.48.5.ebuild
47 ===================================================================
48 # Copyright 1999-2014 Gentoo Foundation
49 # Distributed under the terms of the GNU General Public License v2
50 # $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/inkscape-0.48.5.ebuild,v 1.1 2014/06/26 06:56:30 radhermit Exp $
51
52 EAPI=5
53
54 PYTHON_COMPAT=( python2_7 )
55 PYTHON_REQ_USE="xml"
56 GCONF_DEBUG=no
57
58 inherit autotools eutils flag-o-matic gnome2 toolchain-funcs python-single-r1
59
60 MY_P=${P/_/}
61
62 DESCRIPTION="A SVG based generic vector-drawing program"
63 HOMEPAGE="http://www.inkscape.org/"
64 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.bz2"
65
66 LICENSE="GPL-2 LGPL-2.1"
67 SLOT="0"
68 KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris"
69 IUSE="dia gnome postscript inkjar lcms nls spell wmf"
70
71 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
72
73 COMMON_DEPEND="
74 ${PYTHON_DEPS}
75 app-text/libwpd:0.9
76 app-text/libwpg:0.2
77 >=app-text/poppler-0.12.3-r3:=[cairo,xpdf-headers(+)]
78 dev-cpp/glibmm
79 >=dev-cpp/gtkmm-2.18.0:2.4
80 >=dev-libs/boehm-gc-6.4
81 >=dev-libs/glib-2.6.5
82 >=dev-libs/libsigc++-2.0.12
83 >=dev-libs/libxml2-2.6.20
84 >=dev-libs/libxslt-1.0.15
85 dev-libs/popt
86 dev-python/lxml[${PYTHON_USEDEP}]
87 media-gfx/imagemagick[cxx]
88 media-libs/fontconfig
89 media-libs/freetype:2
90 media-libs/libpng:0
91 sci-libs/gsl
92 x11-libs/libX11
93 >=x11-libs/gtk+-2.10.7:2
94 >=x11-libs/pango-1.4.0
95 gnome? ( >=gnome-base/gnome-vfs-2.0 )
96 lcms? ( media-libs/lcms:2 )
97 spell? (
98 app-text/aspell
99 app-text/gtkspell:2
100 )"
101
102 # These only use executables provided by these packages
103 # See share/extensions for more details. inkscape can tell you to
104 # install these so we could of course just not depend on those and rely
105 # on that.
106 RDEPEND="${COMMON_DEPEND}
107 dev-python/numpy[${PYTHON_USEDEP}]
108 media-gfx/uniconvertor
109 dia? ( app-office/dia )
110 postscript? ( app-text/ghostscript-gpl )
111 wmf? ( media-libs/libwmf )"
112
113 DEPEND="${COMMON_DEPEND}
114 dev-libs/boost
115 >=dev-util/intltool-0.29
116 sys-devel/gettext
117 virtual/pkgconfig"
118
119 S=${WORKDIR}/${MY_P}
120
121 RESTRICT="test"
122
123 src_prepare() {
124 gnome2_src_prepare
125 epatch \
126 "${FILESDIR}"/${PN}-0.48.0-spell.patch \
127 "${FILESDIR}"/${PN}-0.48.2-libwpg.patch \
128 "${FILESDIR}"/${PN}-0.48.3.1-desktop.patch \
129 "${FILESDIR}"/${PN}-0.48.4-epython.patch \
130 "${FILESDIR}"/${PN}-0.48.4-automake-1.13.patch \
131 "${FILESDIR}"/${PN}-0.48.4-gc74-configure.patch
132
133 sed -i \
134 -e "s#@EPYTHON@#${EPYTHON}#" \
135 src/extension/implementation/script.cpp || die
136
137 eautoreconf
138
139 # bug 421111
140 python_fix_shebang share/extensions
141 }
142
143 src_configure() {
144 G2CONF="${G2CONF}
145 --without-perl
146 --enable-poppler-cairo
147 $(use_with gnome gnome-vfs)
148 $(use_with inkjar)
149 $(use_enable lcms)
150 $(use_enable nls)
151 $(use_with spell aspell)
152 $(use_with spell gtkspell)"
153
154 # aliasing unsafe wrt #310393
155 append-flags -fno-strict-aliasing
156 gnome2_src_configure
157 }
158
159 src_compile() {
160 emake AR="$(tc-getAR)"
161 }
162
163 src_install() {
164 gnome2_src_install
165 python_optimize "${ED}"/usr/share/${PN}/extensions
166 }