1 |
radhermit 15/02/01 21:11:11 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: inkscape-0.91.ebuild |
5 |
Log: |
6 |
Version bump. |
7 |
|
8 |
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 4AB3E85B4F064CA3) |
9 |
|
10 |
Revision Changes Path |
11 |
1.222 media-gfx/inkscape/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?rev=1.222&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?rev=1.222&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/ChangeLog?r1=1.221&r2=1.222 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v |
20 |
retrieving revision 1.221 |
21 |
retrieving revision 1.222 |
22 |
diff -u -r1.221 -r1.222 |
23 |
--- ChangeLog 26 Jan 2015 15:27:43 -0000 1.221 |
24 |
+++ ChangeLog 1 Feb 2015 21:11:11 -0000 1.222 |
25 |
@@ -1,6 +1,11 @@ |
26 |
# ChangeLog for media-gfx/inkscape |
27 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.221 2015/01/26 15:27:43 mrueg Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-gfx/inkscape/ChangeLog,v 1.222 2015/02/01 21:11:11 radhermit Exp $ |
30 |
+ |
31 |
+*inkscape-0.91 (01 Feb 2015) |
32 |
+ |
33 |
+ 01 Feb 2015; Tim Harder <radhermit@g.o> +inkscape-0.91.ebuild: |
34 |
+ Version bump. |
35 |
|
36 |
*inkscape-0.91_pre4 (26 Jan 2015) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 media-gfx/inkscape/inkscape-0.91.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/inkscape-0.91.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/inkscape/inkscape-0.91.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: inkscape-0.91.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2015 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.91.ebuild,v 1.1 2015/02/01 21:11:11 radhermit Exp $ |
51 |
|
52 |
EAPI=5 |
53 |
PYTHON_COMPAT=( python2_7 ) |
54 |
PYTHON_REQ_USE="xml" |
55 |
|
56 |
inherit autotools eutils flag-o-matic gnome2-utils fdo-mime toolchain-funcs python-single-r1 |
57 |
|
58 |
MY_P=${P/_/} |
59 |
|
60 |
DESCRIPTION="A SVG based generic vector-drawing program" |
61 |
HOMEPAGE="http://www.inkscape.org/" |
62 |
SRC_URI="https://inkscape.global.ssl.fastly.net/media/resources/file/${P}.tar.bz2" |
63 |
|
64 |
LICENSE="GPL-2 LGPL-2.1" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~sparc-solaris ~x86-solaris" |
67 |
IUSE="cdr dia dbus exif gnome imagemagick openmp postscript inkjar jpeg lcms nls spell static-libs visio wpg" |
68 |
REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
69 |
|
70 |
WPG_DEPS=" |
71 |
|| ( |
72 |
( app-text/libwpg:0.3 dev-libs/librevenge ) |
73 |
( app-text/libwpd:0.9 app-text/libwpg:0.2 ) |
74 |
) |
75 |
" |
76 |
COMMON_DEPEND=" |
77 |
${PYTHON_DEPS} |
78 |
>=app-text/poppler-0.26.0:=[cairo] |
79 |
>=dev-cpp/glibmm-2.28 |
80 |
>=dev-cpp/gtkmm-2.18.0:2.4 |
81 |
>=dev-cpp/cairomm-1.9.8 |
82 |
>=dev-cpp/glibmm-2.32 |
83 |
>=dev-libs/boehm-gc-6.4 |
84 |
>=dev-libs/glib-2.28 |
85 |
>=dev-libs/libsigc++-2.0.12 |
86 |
>=dev-libs/libxml2-2.6.20 |
87 |
>=dev-libs/libxslt-1.0.15 |
88 |
dev-libs/popt |
89 |
dev-python/lxml[${PYTHON_USEDEP}] |
90 |
media-libs/fontconfig |
91 |
media-libs/freetype:2 |
92 |
media-libs/libpng:0 |
93 |
sci-libs/gsl |
94 |
x11-libs/libX11 |
95 |
>=x11-libs/gtk+-2.10.7:2 |
96 |
>=x11-libs/pango-1.24 |
97 |
cdr? ( |
98 |
media-libs/libcdr |
99 |
${WPG_DEPS} |
100 |
) |
101 |
dbus? ( dev-libs/dbus-glib ) |
102 |
exif? ( media-libs/libexif ) |
103 |
gnome? ( >=gnome-base/gnome-vfs-2.0 ) |
104 |
imagemagick? ( media-gfx/imagemagick:=[cxx] ) |
105 |
jpeg? ( virtual/jpeg:0 ) |
106 |
lcms? ( media-libs/lcms:2 ) |
107 |
spell? ( |
108 |
app-text/aspell |
109 |
app-text/gtkspell:2 |
110 |
) |
111 |
visio? ( |
112 |
media-libs/libvisio |
113 |
${WPG_DEPS} |
114 |
) |
115 |
wpg? ( ${WPG_DEPS} ) |
116 |
" |
117 |
|
118 |
# These only use executables provided by these packages |
119 |
# See share/extensions for more details. inkscape can tell you to |
120 |
# install these so we could of course just not depend on those and rely |
121 |
# on that. |
122 |
RDEPEND="${COMMON_DEPEND} |
123 |
dev-python/numpy[${PYTHON_USEDEP}] |
124 |
media-gfx/uniconvertor |
125 |
dia? ( app-office/dia ) |
126 |
postscript? ( app-text/ghostscript-gpl ) |
127 |
" |
128 |
|
129 |
DEPEND="${COMMON_DEPEND} |
130 |
>=dev-libs/boost-1.36 |
131 |
>=dev-util/intltool-0.40 |
132 |
>=sys-devel/gettext-0.17 |
133 |
virtual/pkgconfig |
134 |
" |
135 |
|
136 |
S=${WORKDIR}/${MY_P} |
137 |
|
138 |
RESTRICT="test" |
139 |
|
140 |
pkg_pretend() { |
141 |
if use openmp; then |
142 |
tc-has-openmp || die "Please switch to an openmp compatible compiler" |
143 |
fi |
144 |
} |
145 |
|
146 |
src_prepare() { |
147 |
epatch \ |
148 |
"${FILESDIR}"/${PN}-0.91_pre3-automagic.patch \ |
149 |
"${FILESDIR}"/${PN}-0.91_pre3-cppflags.patch \ |
150 |
"${FILESDIR}"/${PN}-0.91_pre3-desktop.patch \ |
151 |
"${FILESDIR}"/${PN}-0.91_pre3-exif.patch \ |
152 |
"${FILESDIR}"/${PN}-0.91_pre3-sk-man.patch \ |
153 |
"${FILESDIR}"/${PN}-0.48.4-epython.patch |
154 |
|
155 |
sed -i "s#@EPYTHON@#${EPYTHON}#" src/extension/implementation/script.cpp || die |
156 |
|
157 |
eautoreconf |
158 |
|
159 |
# bug 421111 |
160 |
python_fix_shebang share/extensions |
161 |
} |
162 |
|
163 |
src_configure() { |
164 |
# aliasing unsafe wrt #310393 |
165 |
append-flags -fno-strict-aliasing |
166 |
|
167 |
econf \ |
168 |
$(use_enable static-libs static) \ |
169 |
$(use_enable nls) \ |
170 |
$(use_enable openmp) \ |
171 |
$(use_enable exif) \ |
172 |
$(use_enable jpeg) \ |
173 |
$(use_enable lcms) \ |
174 |
--enable-poppler-cairo \ |
175 |
$(use_enable wpg) \ |
176 |
$(use_enable visio) \ |
177 |
$(use_enable cdr) \ |
178 |
$(use_enable dbus dbusapi) \ |
179 |
$(use_enable imagemagick magick) \ |
180 |
$(use_with gnome gnome-vfs) \ |
181 |
$(use_with inkjar) \ |
182 |
$(use_with spell gtkspell) \ |
183 |
$(use_with spell aspell) |
184 |
} |
185 |
|
186 |
src_compile() { |
187 |
emake AR="$(tc-getAR)" |
188 |
} |
189 |
|
190 |
src_install() { |
191 |
default |
192 |
|
193 |
prune_libtool_files |
194 |
python_optimize "${ED}"/usr/share/${PN}/extensions |
195 |
} |
196 |
|
197 |
pkg_preinst() { |
198 |
gnome2_icon_savelist |
199 |
} |
200 |
|
201 |
pkg_postinst() { |
202 |
gnome2_icon_cache_update |
203 |
fdo-mime_desktop_database_update |
204 |
} |
205 |
|
206 |
pkg_postrm() { |
207 |
gnome2_icon_cache_update |
208 |
fdo-mime_desktop_database_update |
209 |
} |