1 |
commit: 55cf5212a0f79d343099c6934da64fcf1783e6af |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Apr 29 00:07:55 2018 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Apr 29 00:07:55 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=55cf5212 |
7 |
|
8 |
x11-libs/goffice: remove old SLOT="0.8" |
9 |
|
10 |
No more consumers left |
11 |
|
12 |
Package-Manager: Portage-2.3.28, Repoman-2.3.9 |
13 |
|
14 |
x11-libs/goffice/Manifest | 1 - |
15 |
.../goffice/files/goffice-0.8.17-no-pcre.patch | 219 --------------------- |
16 |
x11-libs/goffice/goffice-0.8.17-r2.ebuild | 64 ------ |
17 |
3 files changed, 284 deletions(-) |
18 |
|
19 |
diff --git a/x11-libs/goffice/Manifest b/x11-libs/goffice/Manifest |
20 |
index 4c52edc09ac..6c320a393a1 100644 |
21 |
--- a/x11-libs/goffice/Manifest |
22 |
+++ b/x11-libs/goffice/Manifest |
23 |
@@ -1,2 +1 @@ |
24 |
DIST goffice-0.10.38.tar.xz 2373308 BLAKE2B f270233adbbf300ad41516b1ed988db0772b95940196a6ac92c3090f6e52bc47933bb6bb4c023d7137cbca42adfab17fc41b82042c2e9c0340a6cd84942874e5 SHA512 1d72e30ee0b9f322cd4114d0a024a99e6d9ff7efcaeb9ca40b5fffe94180c232f03935743c15b1c6170f8bfc04fea5bdcc4d12760643c66cffafefbaa562fd62 |
25 |
-DIST goffice-0.8.17.tar.xz 1814488 BLAKE2B 8e17ade84f7417e493bbd56bd42805ad9fb87749b4705eb09c208384e3537610f478cf0ecb957b2a2007a097efc5e1c2019060b1aaffddf52bd1db559d7af957 SHA512 61a3063d37e2ded4d4065d261f728c862daea04090ac38abe2524089ed1ee253e0d77e501f5b3451b1e011491a8225f90fd4914f28ce2a347ecf561098e6400c |
26 |
|
27 |
diff --git a/x11-libs/goffice/files/goffice-0.8.17-no-pcre.patch b/x11-libs/goffice/files/goffice-0.8.17-no-pcre.patch |
28 |
deleted file mode 100644 |
29 |
index 4691acdcd8f..00000000000 |
30 |
--- a/x11-libs/goffice/files/goffice-0.8.17-no-pcre.patch |
31 |
+++ /dev/null |
32 |
@@ -1,219 +0,0 @@ |
33 |
-From 00b816027e11f5fd890df07ae94d720cce106f34 Mon Sep 17 00:00:00 2001 |
34 |
-From: Alexandre Rostovtsev <tetromino@g.o> |
35 |
-Date: Fri, 20 Apr 2012 14:57:59 -0400 |
36 |
-Subject: [PATCH] Drop pcre workaround for <glib-2.15.1 |
37 |
- |
38 |
-For unknown reason, it sometimes gets enabled even on modern systems, |
39 |
-causing problems. |
40 |
- |
41 |
-https://bugzilla.gnome.org/show_bug.cgi?id=670316 |
42 |
---- |
43 |
- configure.in | 24 +---------- |
44 |
- goffice/utils/regutf8.c | 106 ----------------------------------------------- |
45 |
- 2 files changed, 1 insertions(+), 129 deletions(-) |
46 |
- |
47 |
-diff --git a/configure.in b/configure.in |
48 |
-index fd40d53..62e299d 100644 |
49 |
---- a/configure.in |
50 |
-+++ b/configure.in |
51 |
-@@ -93,7 +93,7 @@ PKG_PROG_PKG_CONFIG |
52 |
- |
53 |
- dnl ***************************** |
54 |
- goffice_reqs=" |
55 |
-- glib-2.0 >= 2.8.0 |
56 |
-+ glib-2.0 >= 2.16.0 |
57 |
- gobject-2.0 >= 2.16.0 |
58 |
- gmodule-2.0 >= 2.16.0 |
59 |
- gio-2.0 >= 2.16.0 |
60 |
-@@ -492,13 +492,6 @@ SAVE_CFLAGS=$CFLAGS |
61 |
- SAVE_LIBS=$LIBS |
62 |
- CFLAGS="$CFLAGS $GOFFICE_CFLAGS" |
63 |
- LIBS="$GOFFICE_LIBS $LIBS" |
64 |
--AC_MSG_CHECKING([for G_REGEX_ERROR_STRAY_BACKSLASH]) |
65 |
--AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include <glib/gregex.h>]], [[GRegexError error=G_REGEX_ERROR_STRAY_BACKSLASH;]])], |
66 |
-- [AC_DEFINE(HAVE_G_REGEX_ERROR_STRAY_BACKSLASH, 1, [Define if G_REGEX_ERROR_STRAY_BACKSLASH is defined]) |
67 |
-- glib_has_G_REGEX_ERROR_STRAY_BACKSLASH=yes |
68 |
-- AC_MSG_RESULT(yes)], |
69 |
-- [AC_MSG_RESULT(no) |
70 |
-- glib_has_G_REGEX_ERROR_STRAY_BACKSLASH=no]) |
71 |
- if test "x$goffice_with_gtk" = "xtrue" ; then |
72 |
- AC_CHECK_FUNCS(gtk_dialog_get_response_for_widget) |
73 |
- AC_CHECK_FUNCS(gtk_widget_set_tooltip_text gtk_tool_item_set_tooltip_text, |
74 |
-@@ -511,21 +504,6 @@ if test $gtk_disable_deprecated = yes; then |
75 |
- CFLAGS="$CFLAGS -DGTK_DISABLE_DEPRECATED" |
76 |
- fi |
77 |
- |
78 |
--if test "x$glib_has_G_REGEX_ERROR_STRAY_BACKSLASH" = "xno"; then |
79 |
-- dnl Check for working pcre |
80 |
-- AC_CHECK_HEADER(pcre.h,[], AC_MSG_ERROR([Header files for PCRE were not found])) |
81 |
-- AC_CHECK_LIB(pcre,pcre_compile2,[], AC_MSG_ERROR([The PCRE library is missing or too old])) |
82 |
-- AC_MSG_CHECKING([for UTF-8 support in pcre]) |
83 |
-- if (pcretest -C 2>&1) | grep -i "^ *UTF-8 support" >/dev/null; then |
84 |
-- AC_MSG_RESULT(yes) |
85 |
-- LIBS="$LIBS -lpcre" |
86 |
-- EXTRA_LIBS="$EXTRA_LIBS -lpcre" |
87 |
-- else |
88 |
-- AC_MSG_ERROR([The installed PCRE library is not configured for UTF-8 support.]) |
89 |
-- fi |
90 |
--fi |
91 |
-- |
92 |
-- |
93 |
- AC_DEFUN([GOFFICE_CHECK_FUNC], |
94 |
- [AC_CHECK_FUNC([$1], |
95 |
- [], |
96 |
-diff --git a/goffice/utils/regutf8.c b/goffice/utils/regutf8.c |
97 |
-index bc4aae4..3f32dd6 100644 |
98 |
---- a/goffice/utils/regutf8.c |
99 |
-+++ b/goffice/utils/regutf8.c |
100 |
-@@ -7,9 +7,6 @@ |
101 |
- |
102 |
- #include <goffice/goffice-config.h> |
103 |
- #include "regutf8.h" |
104 |
--#ifndef HAVE_G_REGEX_ERROR_STRAY_BACKSLASH |
105 |
--#include <pcre.h> |
106 |
--#endif |
107 |
- #include "go-glib-extras.h" |
108 |
- #include <gsf/gsf-impl-utils.h> |
109 |
- #include <glib/gi18n-lib.h> |
110 |
-@@ -21,11 +18,7 @@ void |
111 |
- go_regfree (GORegexp *gor) |
112 |
- { |
113 |
- if (gor->ppcre) { |
114 |
--#ifdef HAVE_G_REGEX_ERROR_STRAY_BACKSLASH |
115 |
- g_regex_unref (gor->ppcre); |
116 |
--#else |
117 |
-- pcre_free (gor->ppcre); |
118 |
--#endif |
119 |
- gor->ppcre = NULL; |
120 |
- } |
121 |
- } |
122 |
-@@ -70,7 +63,6 @@ go_regerror (int errcode, const GORegexp *gor, char *dst, size_t dstsize) |
123 |
- int |
124 |
- go_regcomp (GORegexp *gor, const char *pat, int cflags) |
125 |
- { |
126 |
--#ifdef HAVE_G_REGEX_ERROR_STRAY_BACKSLASH |
127 |
- GError *error = NULL; |
128 |
- GRegex *r; |
129 |
- int coptions = |
130 |
-@@ -119,47 +111,6 @@ go_regcomp (GORegexp *gor, const char *pat, int cflags) |
131 |
- gor->nosub = (cflags & GO_REG_NOSUB) != 0; |
132 |
- return 0; |
133 |
- } |
134 |
--#else |
135 |
-- const char *errorptr; |
136 |
-- int errorofs, errorcode; |
137 |
-- pcre *r; |
138 |
-- int coptions = |
139 |
-- PCRE_UTF8 | |
140 |
-- PCRE_NO_UTF8_CHECK | |
141 |
-- ((cflags & GO_REG_ICASE) ? PCRE_CASELESS : 0) | |
142 |
-- ((cflags & GO_REG_NEWLINE) ? PCRE_MULTILINE : 0); |
143 |
-- |
144 |
-- if (&pcre_compile2 == NULL) { |
145 |
-- g_error ("libgoffice has been dynamically linked against a libpcre\n" |
146 |
-- "that lacks the pcre_compile2 function. This indicates a\n" |
147 |
-- "distribution dependency problem. Please report this at\n" |
148 |
-- "bugzilla.gnome.org and for you distribution."); |
149 |
-- } |
150 |
-- |
151 |
-- gor->ppcre = r = pcre_compile2 (pat, coptions, |
152 |
-- &errorcode, &errorptr, &errorofs, |
153 |
-- NULL); |
154 |
-- |
155 |
-- if (r == NULL) { |
156 |
-- switch (errorcode) { |
157 |
-- case 1: case 2: case 3: case 37: return GO_REG_EESCAPE; |
158 |
-- case 4: case 5: return GO_REG_EBRACE; |
159 |
-- case 6: return GO_REG_EBRACK; |
160 |
-- case 7: case 30: return GO_REG_ECTYPE; |
161 |
-- case 8: return GO_REG_ERANGE; |
162 |
-- case 9: case 10: return GO_REG_BADRPT; |
163 |
-- case 14: case 18: case 22: return GO_REG_EPAREN; |
164 |
-- case 15: return GO_REG_ESUBREG; |
165 |
-- case 19: case 20: return GO_REG_ESIZE; |
166 |
-- case 21: return GO_REG_ESPACE; |
167 |
-- default: return GO_REG_BADPAT; |
168 |
-- } |
169 |
-- } else { |
170 |
-- gor->re_nsub = pcre_info (r, NULL, NULL); |
171 |
-- gor->nosub = (cflags & GO_REG_NOSUB) != 0; |
172 |
-- return 0; |
173 |
-- } |
174 |
--#endif |
175 |
- return 0; |
176 |
- } |
177 |
- |
178 |
-@@ -167,7 +118,6 @@ int |
179 |
- go_regexec (const GORegexp *gor, const char *txt, |
180 |
- size_t nmatch, GORegmatch *pmatch, int eflags) |
181 |
- { |
182 |
--#ifdef HAVE_G_REGEX_ERROR_STRAY_BACKSLASH |
183 |
- int eoptions = |
184 |
- ((eflags & GO_REG_NOTBOL) ? G_REGEX_MATCH_NOTBOL : 0) | |
185 |
- ((eflags & GO_REG_NOTEOL) ? G_REGEX_MATCH_NOTEOL : 0); |
186 |
-@@ -196,62 +146,6 @@ go_regexec (const GORegexp *gor, const char *txt, |
187 |
- g_match_info_free (match_info); |
188 |
- |
189 |
- return matched ? GO_REG_NOERROR : GO_REG_NOMATCH; |
190 |
--#else |
191 |
-- size_t txtlen = strlen (txt); |
192 |
-- int eoptions = |
193 |
-- ((eflags & GO_REG_NOTBOL) ? PCRE_NOTBOL : 0) | |
194 |
-- ((eflags & GO_REG_NOTEOL) ? PCRE_NOTEOL : 0); |
195 |
-- int res; |
196 |
-- int *offsets, *allocated; |
197 |
-- int offsetcount; |
198 |
-- if (gor->nosub) |
199 |
-- nmatch = 0; |
200 |
-- |
201 |
-- if (nmatch > 0) { |
202 |
-- /* Paranoia. */ |
203 |
-- if (nmatch >= G_MAXINT / sizeof (int) / 3) |
204 |
-- return GO_REG_ESPACE; |
205 |
-- |
206 |
-- offsetcount = nmatch * 3; |
207 |
-- offsets = allocated = g_try_new (int, offsetcount); |
208 |
-- if (!offsets) |
209 |
-- return GO_REG_ESPACE; |
210 |
-- } else { |
211 |
-- offsets = allocated = NULL; |
212 |
-- offsetcount = 0; |
213 |
-- } |
214 |
-- |
215 |
-- res = pcre_exec (gor->ppcre, NULL, txt, txtlen, 0, eoptions, |
216 |
-- offsets, offsetcount); |
217 |
-- if (res >= 0) { |
218 |
-- int i; |
219 |
-- |
220 |
-- if (res == 0) res = nmatch; |
221 |
-- |
222 |
-- for (i = 0; i < res; i++) { |
223 |
-- pmatch[i].rm_so = offsets[i * 2]; |
224 |
-- pmatch[i].rm_eo = offsets[i * 2 + 1]; |
225 |
-- } |
226 |
-- for (; i < (int)nmatch; i++) { |
227 |
-- pmatch[i].rm_so = -1; |
228 |
-- pmatch[i].rm_eo = -1; |
229 |
-- } |
230 |
-- g_free (allocated); |
231 |
-- return GO_REG_NOERROR; |
232 |
-- } |
233 |
-- |
234 |
-- g_free (allocated); |
235 |
-- switch (res) { |
236 |
-- case PCRE_ERROR_NOMATCH: |
237 |
-- return GO_REG_NOMATCH; |
238 |
-- case PCRE_ERROR_BADUTF8: |
239 |
-- case PCRE_ERROR_BADUTF8_OFFSET: |
240 |
-- /* POSIX doesn't seem to foresee this kind of error. */ |
241 |
-- return GO_REG_BADPAT; |
242 |
-- default: |
243 |
-- return GO_REG_ESPACE; |
244 |
-- } |
245 |
--#endif |
246 |
- } |
247 |
- |
248 |
- /* ------------------------------------------------------------------------- */ |
249 |
--- |
250 |
-1.7.8.5 |
251 |
- |
252 |
|
253 |
diff --git a/x11-libs/goffice/goffice-0.8.17-r2.ebuild b/x11-libs/goffice/goffice-0.8.17-r2.ebuild |
254 |
deleted file mode 100644 |
255 |
index a1b5eb192db..00000000000 |
256 |
--- a/x11-libs/goffice/goffice-0.8.17-r2.ebuild |
257 |
+++ /dev/null |
258 |
@@ -1,64 +0,0 @@ |
259 |
-# Copyright 1999-2015 Gentoo Foundation |
260 |
-# Distributed under the terms of the GNU General Public License v2 |
261 |
- |
262 |
-EAPI="5" |
263 |
-GCONF_DEBUG="no" |
264 |
-GNOME2_LA_PUNT="yes" |
265 |
- |
266 |
-inherit autotools eutils gnome2 |
267 |
- |
268 |
-DESCRIPTION="A library of document-centric objects and utilities" |
269 |
-HOMEPAGE="https://git.gnome.org/browse/goffice/" |
270 |
- |
271 |
-LICENSE="GPL-2" |
272 |
-SLOT="0.8" |
273 |
-KEYWORDS="~alpha amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris" |
274 |
-IUSE="gnome" |
275 |
- |
276 |
-# Build fails with -gtk |
277 |
-# FIXME: add lasem to tree |
278 |
-RDEPEND=" |
279 |
- >=dev-libs/glib-2.16:2 |
280 |
- >=gnome-extra/libgsf-1.14.9 |
281 |
- >=dev-libs/libxml2-2.4.12:2 |
282 |
- >=x11-libs/pango-1.8.1 |
283 |
- >=x11-libs/cairo-1.2[svg] |
284 |
- x11-libs/libXext |
285 |
- x11-libs/libXrender |
286 |
- >=x11-libs/gtk+-2.16:2 |
287 |
- gnome? ( >=gnome-base/gconf-2:2 ) |
288 |
-" |
289 |
-DEPEND="${RDEPEND} |
290 |
- virtual/pkgconfig |
291 |
- >=dev-util/intltool-0.35 |
292 |
- dev-util/gtk-doc-am |
293 |
- |
294 |
- gnome-base/gnome-common |
295 |
-" |
296 |
-# eautoreconf requires: gnome-common |
297 |
- |
298 |
-src_prepare() { |
299 |
- # bug #404271, https://bugzilla.gnome.org/show_bug.cgi?id=670316 |
300 |
- epatch "${FILESDIR}/${P}-no-pcre.patch" |
301 |
- |
302 |
- mv configure.in configure.ac || die |
303 |
- eautoreconf |
304 |
- gnome2_src_prepare |
305 |
-} |
306 |
- |
307 |
-src_configure() { |
308 |
- local myconf |
309 |
- DOCS="AUTHORS BUGS ChangeLog MAINTAINERS NEWS README" |
310 |
- |
311 |
- # Gsettings is still experimental |
312 |
- if use gnome; then |
313 |
- myconf="${myconf} --with-config-backend=gconf" |
314 |
- else |
315 |
- myconf="${myconf} --with-config-backend=keyfile" |
316 |
- fi |
317 |
- |
318 |
- gnome2_src_configure \ |
319 |
- --without-lasem \ |
320 |
- --with-gtk \ |
321 |
- ${myconf} |
322 |
-} |