1 |
commit: 8cdc8c876e8dd460e7749511d8c5478104e14246 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 2 12:48:05 2016 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 2 13:30:33 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cdc8c87 |
7 |
|
8 |
gnome-base/librsvg: Drop old |
9 |
|
10 |
Package-Manager: portage-2.3.0_rc1 |
11 |
|
12 |
gnome-base/librsvg/Manifest | 1 - |
13 |
.../files/librsvg-2.40.13-filters-crash.patch | 53 ----------- |
14 |
gnome-base/librsvg/librsvg-2.40.13-r1.ebuild | 102 --------------------- |
15 |
gnome-base/librsvg/librsvg-2.40.13.ebuild | 99 -------------------- |
16 |
4 files changed, 255 deletions(-) |
17 |
|
18 |
diff --git a/gnome-base/librsvg/Manifest b/gnome-base/librsvg/Manifest |
19 |
index e6b127b..659fa99 100644 |
20 |
--- a/gnome-base/librsvg/Manifest |
21 |
+++ b/gnome-base/librsvg/Manifest |
22 |
@@ -1,3 +1,2 @@ |
23 |
DIST librsvg-2.40.11.tar.xz 539428 SHA256 611ac0f544debd0c9bf1ef5509c990d218e83dd1d8c83297075c4b29796a2e02 SHA512 89fc4f94150ab47665ab1b6c26979c8072efe40dd74ff13284598cb63de8594e7cfe4b73a151e54002a4811b5de56b93f5d52215ef0862b994d230fafe04b4fc WHIRLPOOL 7c9a0292faf42dd396a59b38c6900a1b78a254c8bd8c724b5636d506c41934d19c924fbf86c2faab7151c065dd134252b78adfd94940b09acd601ef2dc86a5cc |
24 |
-DIST librsvg-2.40.13.tar.xz 552900 SHA256 4d6ea93ec05f5dabe7262d711d246a0a99b2311e215360dd3dcabd6afe3b9804 SHA512 7549f78d25c3319b5b74803c46cc0d1bd5c53a425b632a5b306eb238080df0da2b4bcefb159064988bd56cb1d69e0c94ecd0a073315acff14abb187ba6d4c788 WHIRLPOOL 9113a1ae41a8f2146dd55f9d3a9d47f4f45c7926434d91cf94387ab054b6585371a6d6175699588481f331f0dba98ffccd7597c7792c73d8ba009ce5b1cfa8c8 |
25 |
DIST librsvg-2.40.15.tar.xz 554608 SHA256 d9cac4a123eec6e553a26e120979bab7425def9ae7ce7c079eba5e4a45db05f4 SHA512 1169c02247dbf3d71d3d4bfb1aa2580a4b1e243e1c2c6d1c86aaa09c54c66857b959df4358a1ca6a34ec5fbb34b9529963b993fc978ec1fe401dbc56ac460101 WHIRLPOOL 687e9afc6c1c46079fa9005c94ed329ff6f681a9fb784df999efca36ba1fac05a05f3d6413105993ff4af60a62a36b647e2f1335ab1245c621de2ff76ccef479 |
26 |
|
27 |
diff --git a/gnome-base/librsvg/files/librsvg-2.40.13-filters-crash.patch b/gnome-base/librsvg/files/librsvg-2.40.13-filters-crash.patch |
28 |
deleted file mode 100644 |
29 |
index f5503d1..0000000 |
30 |
--- a/gnome-base/librsvg/files/librsvg-2.40.13-filters-crash.patch |
31 |
+++ /dev/null |
32 |
@@ -1,53 +0,0 @@ |
33 |
-From d937c691678803ceda6be701587d997ccd03a1da Mon Sep 17 00:00:00 2001 |
34 |
-From: Benjamin Otte <otte@××××××.com> |
35 |
-Date: Fri, 29 Jan 2016 12:49:55 +0100 |
36 |
-Subject: Don't crash when filters don't exist |
37 |
- |
38 |
-We put a new surface on the stack if a filter existed by name but we |
39 |
-didn't pop it if the name didn't resolve to a real filter. |
40 |
- |
41 |
-New test: crash/bug759084.svg |
42 |
- |
43 |
-https://bugzilla.gnome.org/show_bug.cgi?id=759084 |
44 |
---- |
45 |
- rsvg-cairo-draw.c | 6 +++--- |
46 |
- tests/fixtures/crash/bug759084.svg | 9 +++++++++ |
47 |
- 2 files changed, 12 insertions(+), 3 deletions(-) |
48 |
- create mode 100644 tests/fixtures/crash/bug759084.svg |
49 |
- |
50 |
-diff --git a/rsvg-cairo-draw.c b/rsvg-cairo-draw.c |
51 |
-index 4d8fbc2..4152cb7 100644 |
52 |
---- a/rsvg-cairo-draw.c |
53 |
-+++ b/rsvg-cairo-draw.c |
54 |
-@@ -819,10 +819,10 @@ rsvg_cairo_pop_render_stack (RsvgDrawingCtx * ctx) |
55 |
- cairo_surface_t *output; |
56 |
- |
57 |
- filter = rsvg_acquire_node (ctx, state->filter); |
58 |
-- if (filter && RSVG_NODE_TYPE (filter) == RSVG_NODE_TYPE_FILTER) { |
59 |
-- output = render->surfaces_stack->data; |
60 |
-- render->surfaces_stack = g_list_delete_link (render->surfaces_stack, render->surfaces_stack); |
61 |
-+ output = render->surfaces_stack->data; |
62 |
-+ render->surfaces_stack = g_list_delete_link (render->surfaces_stack, render->surfaces_stack); |
63 |
- |
64 |
-+ if (filter && RSVG_NODE_TYPE (filter) == RSVG_NODE_TYPE_FILTER) { |
65 |
- needs_destroy = TRUE; |
66 |
- surface = rsvg_filter_render ((RsvgFilter *) filter, output, ctx, &render->bbox, "2103"); |
67 |
- /* Don't destroy the output surface, it's owned by child_cr */ |
68 |
-diff --git a/tests/fixtures/crash/bug759084.svg b/tests/fixtures/crash/bug759084.svg |
69 |
-new file mode 100644 |
70 |
-index 0000000..9e8f8f1 |
71 |
---- /dev/null |
72 |
-+++ b/tests/fixtures/crash/bug759084.svg |
73 |
-@@ -0,0 +1,9 @@ |
74 |
-+<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"> |
75 |
-+ <defs> |
76 |
-+ <filter id="filter"> |
77 |
-+ </filter> |
78 |
-+ </defs> |
79 |
-+ <g filter="url(#filter)"> |
80 |
-+ <rect fill="red" width="10" height="10" filter="url(#doesnotexist)" /> |
81 |
-+ </g> |
82 |
-+</svg> |
83 |
--- |
84 |
-cgit v0.12 |
85 |
- |
86 |
|
87 |
diff --git a/gnome-base/librsvg/librsvg-2.40.13-r1.ebuild b/gnome-base/librsvg/librsvg-2.40.13-r1.ebuild |
88 |
deleted file mode 100644 |
89 |
index 7a0f5bc..0000000 |
90 |
--- a/gnome-base/librsvg/librsvg-2.40.13-r1.ebuild |
91 |
+++ /dev/null |
92 |
@@ -1,102 +0,0 @@ |
93 |
-# Copyright 1999-2015 Gentoo Foundation |
94 |
-# Distributed under the terms of the GNU General Public License v2 |
95 |
-# $Id$ |
96 |
- |
97 |
-EAPI="5" |
98 |
-GCONF_DEBUG="no" |
99 |
-GNOME2_LA_PUNT="yes" |
100 |
-VALA_USE_DEPEND="vapigen" |
101 |
- |
102 |
-inherit autotools gnome2 multilib-minimal vala |
103 |
- |
104 |
-DESCRIPTION="Scalable Vector Graphics (SVG) rendering library" |
105 |
-HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg" |
106 |
- |
107 |
-LICENSE="LGPL-2" |
108 |
-SLOT="2" |
109 |
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
110 |
- |
111 |
-IUSE="+introspection vala tools" |
112 |
-REQUIRED_USE="vala? ( introspection )" |
113 |
- |
114 |
-RDEPEND=" |
115 |
- >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
116 |
- >=x11-libs/cairo-1.12.14-r4[${MULTILIB_USEDEP}] |
117 |
- >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] |
118 |
- >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
119 |
- >=dev-libs/libcroco-0.6.8-r1[${MULTILIB_USEDEP}] |
120 |
- >=x11-libs/gdk-pixbuf-2.30.7:2[introspection?,${MULTILIB_USEDEP}] |
121 |
- introspection? ( >=dev-libs/gobject-introspection-0.10.8:= ) |
122 |
- tools? ( >=x11-libs/gtk+-3.10.0:3 ) |
123 |
-" |
124 |
-DEPEND="${RDEPEND} |
125 |
- dev-libs/gobject-introspection-common |
126 |
- dev-libs/vala-common |
127 |
- >=dev-util/gtk-doc-am-1.13 |
128 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
129 |
- vala? ( $(vala_depend) ) |
130 |
-" |
131 |
-# >=gtk-doc-am-1.13, gobject-introspection-common, vala-common needed by eautoreconf |
132 |
- |
133 |
-src_prepare() { |
134 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=653323 |
135 |
- epatch "${FILESDIR}/${PN}-2.40.12-gtk-optional.patch" |
136 |
- |
137 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=731826 |
138 |
- epatch "${FILESDIR}/${PN}-2.40.2-vala-out-of-source.patch" |
139 |
- |
140 |
- # Don't crash when filters don't exist (included in next release) |
141 |
- epatch "${FILESDIR}/${P}-filters-crash.patch" |
142 |
- |
143 |
- eautoreconf |
144 |
- |
145 |
- use vala && vala_src_prepare |
146 |
- gnome2_src_prepare |
147 |
-} |
148 |
- |
149 |
-multilib_src_configure() { |
150 |
- local myconf=() |
151 |
- |
152 |
- # -Bsymbolic is not supported by the Darwin toolchain |
153 |
- if [[ ${CHOST} == *-darwin* ]]; then |
154 |
- myconf+=( --disable-Bsymbolic ) |
155 |
- fi |
156 |
- |
157 |
- # --disable-tools even when USE=tools; the tools/ subdirectory is useful |
158 |
- # only for librsvg developers |
159 |
- ECONF_SOURCE=${S} \ |
160 |
- gnome2_src_configure \ |
161 |
- --disable-static \ |
162 |
- --disable-tools \ |
163 |
- $(multilib_native_use_enable introspection) \ |
164 |
- $(multilib_native_use_with tools gtk3) \ |
165 |
- $(multilib_native_use_enable vala) \ |
166 |
- --enable-pixbuf-loader \ |
167 |
- "${myconf[@]}" |
168 |
- |
169 |
- if multilib_is_native_abi; then |
170 |
- ln -s "${S}"/doc/html doc/html || die |
171 |
- fi |
172 |
-} |
173 |
- |
174 |
-multilib_src_compile() { |
175 |
- # causes segfault if set, see bug #411765 |
176 |
- unset __GL_NO_DSO_FINALIZER |
177 |
- gnome2_src_compile |
178 |
-} |
179 |
- |
180 |
-multilib_src_install() { |
181 |
- gnome2_src_install |
182 |
-} |
183 |
- |
184 |
-pkg_postinst() { |
185 |
- # causes segfault if set, see bug 375615 |
186 |
- unset __GL_NO_DSO_FINALIZER |
187 |
- multilib_foreach_abi gnome2_pkg_postinst |
188 |
-} |
189 |
- |
190 |
-pkg_postrm() { |
191 |
- # causes segfault if set, see bug 375615 |
192 |
- unset __GL_NO_DSO_FINALIZER |
193 |
- multilib_foreach_abi gnome2_pkg_postrm |
194 |
-} |
195 |
|
196 |
diff --git a/gnome-base/librsvg/librsvg-2.40.13.ebuild b/gnome-base/librsvg/librsvg-2.40.13.ebuild |
197 |
deleted file mode 100644 |
198 |
index 54d2a19..0000000 |
199 |
--- a/gnome-base/librsvg/librsvg-2.40.13.ebuild |
200 |
+++ /dev/null |
201 |
@@ -1,99 +0,0 @@ |
202 |
-# Copyright 1999-2015 Gentoo Foundation |
203 |
-# Distributed under the terms of the GNU General Public License v2 |
204 |
-# $Id$ |
205 |
- |
206 |
-EAPI="5" |
207 |
-GCONF_DEBUG="no" |
208 |
-GNOME2_LA_PUNT="yes" |
209 |
-VALA_USE_DEPEND="vapigen" |
210 |
- |
211 |
-inherit autotools gnome2 multilib-minimal vala |
212 |
- |
213 |
-DESCRIPTION="Scalable Vector Graphics (SVG) rendering library" |
214 |
-HOMEPAGE="https://wiki.gnome.org/Projects/LibRsvg" |
215 |
- |
216 |
-LICENSE="LGPL-2" |
217 |
-SLOT="2" |
218 |
-KEYWORDS="~alpha amd64 arm ~arm64 hppa ~ia64 ~mips ~ppc ppc64 ~s390 ~sh ~sparc x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris" |
219 |
- |
220 |
-IUSE="+introspection vala tools" |
221 |
-REQUIRED_USE="vala? ( introspection )" |
222 |
- |
223 |
-RDEPEND=" |
224 |
- >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}] |
225 |
- >=x11-libs/cairo-1.12.14-r4[${MULTILIB_USEDEP}] |
226 |
- >=x11-libs/pango-1.36.3[${MULTILIB_USEDEP}] |
227 |
- >=dev-libs/libxml2-2.9.1-r4:2[${MULTILIB_USEDEP}] |
228 |
- >=dev-libs/libcroco-0.6.8-r1[${MULTILIB_USEDEP}] |
229 |
- >=x11-libs/gdk-pixbuf-2.30.7:2[introspection?,${MULTILIB_USEDEP}] |
230 |
- introspection? ( >=dev-libs/gobject-introspection-0.10.8:= ) |
231 |
- tools? ( >=x11-libs/gtk+-3.10.0:3 ) |
232 |
-" |
233 |
-DEPEND="${RDEPEND} |
234 |
- dev-libs/gobject-introspection-common |
235 |
- dev-libs/vala-common |
236 |
- >=dev-util/gtk-doc-am-1.13 |
237 |
- >=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}] |
238 |
- vala? ( $(vala_depend) ) |
239 |
-" |
240 |
-# >=gtk-doc-am-1.13, gobject-introspection-common, vala-common needed by eautoreconf |
241 |
- |
242 |
-src_prepare() { |
243 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=653323 |
244 |
- epatch "${FILESDIR}/${PN}-2.40.12-gtk-optional.patch" |
245 |
- |
246 |
- # https://bugzilla.gnome.org/show_bug.cgi?id=731826 |
247 |
- epatch "${FILESDIR}/${PN}-2.40.2-vala-out-of-source.patch" |
248 |
- |
249 |
- eautoreconf |
250 |
- |
251 |
- use vala && vala_src_prepare |
252 |
- gnome2_src_prepare |
253 |
-} |
254 |
- |
255 |
-multilib_src_configure() { |
256 |
- local myconf=() |
257 |
- |
258 |
- # -Bsymbolic is not supported by the Darwin toolchain |
259 |
- if [[ ${CHOST} == *-darwin* ]]; then |
260 |
- myconf+=( --disable-Bsymbolic ) |
261 |
- fi |
262 |
- |
263 |
- # --disable-tools even when USE=tools; the tools/ subdirectory is useful |
264 |
- # only for librsvg developers |
265 |
- ECONF_SOURCE=${S} \ |
266 |
- gnome2_src_configure \ |
267 |
- --disable-static \ |
268 |
- --disable-tools \ |
269 |
- $(multilib_native_use_enable introspection) \ |
270 |
- $(multilib_native_use_with tools gtk3) \ |
271 |
- $(multilib_native_use_enable vala) \ |
272 |
- --enable-pixbuf-loader \ |
273 |
- "${myconf[@]}" |
274 |
- |
275 |
- if multilib_is_native_abi; then |
276 |
- ln -s "${S}"/doc/html doc/html || die |
277 |
- fi |
278 |
-} |
279 |
- |
280 |
-multilib_src_compile() { |
281 |
- # causes segfault if set, see bug #411765 |
282 |
- unset __GL_NO_DSO_FINALIZER |
283 |
- gnome2_src_compile |
284 |
-} |
285 |
- |
286 |
-multilib_src_install() { |
287 |
- gnome2_src_install |
288 |
-} |
289 |
- |
290 |
-pkg_postinst() { |
291 |
- # causes segfault if set, see bug 375615 |
292 |
- unset __GL_NO_DSO_FINALIZER |
293 |
- multilib_foreach_abi gnome2_pkg_postinst |
294 |
-} |
295 |
- |
296 |
-pkg_postrm() { |
297 |
- # causes segfault if set, see bug 375615 |
298 |
- unset __GL_NO_DSO_FINALIZER |
299 |
- multilib_foreach_abi gnome2_pkg_postrm |
300 |
-} |