1 |
commit: 4e2268bc37a26be58b3ac6e67f12daca67f22836 |
2 |
Author: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 2 06:16:08 2022 +0000 |
4 |
Commit: Fabian Groffen <grobian <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 2 06:16:08 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=4e2268bc |
7 |
|
8 |
dev-libs/xerces-c: drop, version in gx86 should be fine |
9 |
|
10 |
Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org> |
11 |
|
12 |
dev-libs/xerces-c/Manifest | 2 - |
13 |
.../files/3.0.1-disable-thread-tests.patch | 47 --------- |
14 |
dev-libs/xerces-c/files/50xerces-c | 1 - |
15 |
.../files/xerces-c-3.1.4-fix-build-system.patch | 61 ----------- |
16 |
dev-libs/xerces-c/metadata.xml | 18 ---- |
17 |
dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild | 116 --------------------- |
18 |
dev-libs/xerces-c/xerces-c-3.2.3.ebuild | 116 --------------------- |
19 |
7 files changed, 361 deletions(-) |
20 |
|
21 |
diff --git a/dev-libs/xerces-c/Manifest b/dev-libs/xerces-c/Manifest |
22 |
deleted file mode 100644 |
23 |
index 3ebaff7d76..0000000000 |
24 |
--- a/dev-libs/xerces-c/Manifest |
25 |
+++ /dev/null |
26 |
@@ -1,2 +0,0 @@ |
27 |
-DIST xerces-c-3.1.4.tar.gz 6992545 BLAKE2B 463e721843632b13f4b5c845f14cf9ab4f093085558858b435ae5a3122951ab590f9e56f43add1aeaf7dc244814710be804ab0331a1d1e8073919ad9d3b61068 SHA512 8afd775bac0345a2714b77a1ae2cfb8ae67f0239ec7370de7d89612dec64d2e1df48612c875fe239ab6f2eb31914c2d3914617e6b34a1bae0bbb14e4dbc787b5 |
28 |
-DIST xerces-c-3.2.3.tar.gz 7120270 BLAKE2B d622621657f33ada75a9ef330e77772b8f9cff717d8efc06f2a1fffea77360596e5192b48a6a015403a1045aa2492c626ba05f1de15eb5b997a80ca19b032db8 SHA512 206c5c31510224b8f6963b051f27968e4fe70374a0adb2c2990ac1f865b3bac41f63e6bfb7279faa21477f8878a3b9671ba70726fc75a84e51f037ef158639ad |
29 |
|
30 |
diff --git a/dev-libs/xerces-c/files/3.0.1-disable-thread-tests.patch b/dev-libs/xerces-c/files/3.0.1-disable-thread-tests.patch |
31 |
deleted file mode 100644 |
32 |
index 68144cc106..0000000000 |
33 |
--- a/dev-libs/xerces-c/files/3.0.1-disable-thread-tests.patch |
34 |
+++ /dev/null |
35 |
@@ -1,47 +0,0 @@ |
36 |
-diff -ru origscripts/sanityTest_ExpectedResult.log scripts/sanityTest_ExpectedResult.log |
37 |
---- origscripts/sanityTest_ExpectedResult.log 2008-09-17 05:06:33.000000000 +0200 |
38 |
-+++ scripts/sanityTest_ExpectedResult.log 2010-01-18 19:45:39.000000000 +0100 |
39 |
-@@ -1146,42 +1146,7 @@ |
40 |
- 1Test Run Successfully |
41 |
- 2Test Run Successfully |
42 |
- 3Test Run Successfully |
43 |
--No input XML file specified on command line. |
44 |
--usage: ThreadTest [-v] [-threads nnn] [-time nnn] [-quiet] [-verbose] xmlfile... |
45 |
-- -v=xxx Validation scheme [always | never | auto]. Default is AUTO. |
46 |
-- -n Enable namespace processing. Defaults to off. |
47 |
-- -s Enable schema processing. Defaults to off. |
48 |
-- -f Enable full schema constraint checking. Defaults to off. |
49 |
-- -parser=xxx Parser Type [dom | sax | sax2]. Default is SAX (SAX1). |
50 |
-- -p Enable namespace prefixes. Defaults to off. |
51 |
-- (Only used with -parser=sax2, ignored otherwise.) |
52 |
-- -quiet Suppress periodic status display. |
53 |
-- -verbose Display extra messages. |
54 |
-- -reuse Retain and reuse parser. Default creates new for each parse. |
55 |
-- -threads nnn Number of threads. Default is 2. |
56 |
-- -time nnn Total time to run, in seconds. Default is forever. |
57 |
-- -parses nnn Run for nnn parses instead of time. Default is to use time |
58 |
-- -dump Dump DOM tree on error. |
59 |
-- -mem Read files into memory once only, and parse them from there. |
60 |
-- -gc Enable grammar caching (i.e. grammar cached and used in subsequent parses). Defaults to off. |
61 |
-- -init Perform an initial parse of the file(s) before starting up the individual threads. |
62 |
-- |
63 |
--1Test Run Successfully |
64 |
--2Test Run Successfully |
65 |
--3Test Run Successfully |
66 |
--4Test Run Successfully |
67 |
--5Test Run Successfully |
68 |
--6Test Run Successfully |
69 |
--7Test Run Successfully |
70 |
--8Test Run Successfully |
71 |
--9Test Run Successfully |
72 |
--10Test Run Successfully |
73 |
--11Test Run Successfully |
74 |
--12Test Run Successfully |
75 |
--13Test Run Successfully |
76 |
--14Test Run Successfully |
77 |
--15Test Run Successfully |
78 |
-- |
79 |
-+123456789101112131415 |
80 |
- Usage: |
81 |
- MemHandlerTest [options] <XML file | List file> |
82 |
- |
83 |
|
84 |
diff --git a/dev-libs/xerces-c/files/50xerces-c b/dev-libs/xerces-c/files/50xerces-c |
85 |
deleted file mode 100644 |
86 |
index 6fdb7ffbde..0000000000 |
87 |
--- a/dev-libs/xerces-c/files/50xerces-c |
88 |
+++ /dev/null |
89 |
@@ -1 +0,0 @@ |
90 |
-XERCESC_NLS_HOME="/usr/share/xerces-c/msg" |
91 |
|
92 |
diff --git a/dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch b/dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch |
93 |
deleted file mode 100644 |
94 |
index 6b991d24b5..0000000000 |
95 |
--- a/dev-libs/xerces-c/files/xerces-c-3.1.4-fix-build-system.patch |
96 |
+++ /dev/null |
97 |
@@ -1,61 +0,0 @@ |
98 |
-* Fix build system when USE="-threads" |
99 |
-* Add DESTDIR in order to prevent sandbox failure |
100 |
- |
101 |
---- a/configure.ac |
102 |
-+++ b/configure.ac |
103 |
-@@ -124,6 +124,7 @@ |
104 |
- AC_CXX_HAVE_LSTRING |
105 |
- |
106 |
- ACX_PTHREAD |
107 |
-+AM_CONDITIONAL([THREADS], [test "x${acx_pthread_ok}" = "xyes"]) |
108 |
- |
109 |
- # Checks for library functions. |
110 |
- #AC_FUNC_ERROR_AT_LINE |
111 |
---- a/src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in |
112 |
-+++ b/src/xercesc/util/MsgLoaders/MsgCatalog/Makefile.in |
113 |
-@@ -5,7 +5,7 @@ |
114 |
- prefix = @prefix@ |
115 |
- INSTALL = @INSTALL@ |
116 |
- INSTALL_PROGRAM = @INSTALL_PROGRAM@ |
117 |
--mkdir_p = @mkdir_p@ |
118 |
-+mkdir_p = @MKDIR_P@ |
119 |
- |
120 |
- include $(top_srcdir)/version.incl |
121 |
- |
122 |
-@@ -48,11 +48,11 @@ |
123 |
- # for installing the library |
124 |
- # for installing the library |
125 |
- install: $(RESTARGET) |
126 |
-- $(mkdir_p) $(prefix)/msg |
127 |
-- $(INSTALL_PROGRAM) $(RESTARGET) $(prefix)/msg |
128 |
-+ $(mkdir_p) $(DESTDIR)/$(prefix)/share/xerces-c/msg |
129 |
-+ $(INSTALL_PROGRAM) $(RESTARGET) $(DESTDIR)/$(prefix)/share/xerces-c/msg |
130 |
- |
131 |
- uninstall: |
132 |
-- -rm -f $(prefix)/msg/$(RESFILES) |
133 |
-+ -rm -f $(DESTDIR)/$(prefix)/share/xerces-c/msg/$(RESFILES) |
134 |
- |
135 |
- |
136 |
- # Needed to support "make dist" |
137 |
---- a/tests/Makefile.am |
138 |
-+++ b/tests/Makefile.am |
139 |
-@@ -21,7 +21,7 @@ |
140 |
- |
141 |
- check_PROGRAMS = ${testprogs} |
142 |
- |
143 |
--LDADD = ${top_builddir}/src/libxerces-c.la |
144 |
-+LDADD = $(top_builddir)/src/libxerces-c.la $(PTHREAD_LIBS) |
145 |
- # the -I${top_builddir}/src is needed to pick the xercesc/util/Xerces_autoconf_config.hpp |
146 |
- # header file when doing out-of-tree builds |
147 |
- AM_CPPFLAGS = -I${top_builddir}/src -I${top_srcdir}/src |
148 |
-@@ -86,8 +86,10 @@ |
149 |
- # src/ParserTest/ParserTest_Parser.cpp \ |
150 |
- # src/ParserTest/ParserTest_Parser.hpp |
151 |
- |
152 |
-+if THREADS |
153 |
- testprogs += ThreadTest |
154 |
- ThreadTest_SOURCES = src/ThreadTest/ThreadTest.cpp |
155 |
-+endif |
156 |
- |
157 |
- # Fails to compile under gcc 4 (ambiguous calls to NullPointerException) |
158 |
- # dcargill says this is obsolete and we can delete it. |
159 |
|
160 |
diff --git a/dev-libs/xerces-c/metadata.xml b/dev-libs/xerces-c/metadata.xml |
161 |
deleted file mode 100644 |
162 |
index 14a0b7619f..0000000000 |
163 |
--- a/dev-libs/xerces-c/metadata.xml |
164 |
+++ /dev/null |
165 |
@@ -1,18 +0,0 @@ |
166 |
-<?xml version="1.0" encoding="UTF-8"?> |
167 |
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
168 |
-<pkgmetadata> |
169 |
-<maintainer type="project"> |
170 |
- <email>cpp@g.o</email> |
171 |
- <name>Gentoo C++ Project</name> |
172 |
-</maintainer> |
173 |
-<longdescription>xerces-c is a C++ library specializing in XML parsing. It is released by the Apache Foundation</longdescription> |
174 |
-<use> |
175 |
- <flag name="iconv">Use iconv (<pkg>virtual/libiconv</pkg>) as message loader |
176 |
- and transcoder (in general it would be possible to use iconv only as |
177 |
- message loader and something else like icu or the native method as |
178 |
- transcoder and vice-versa, but this is a less common case and hard to |
179 |
- handle)</flag> |
180 |
- <flag name="threads">Enable threading support through pthread (or other |
181 |
- libraries on AIX, IRIX, HPUX, Solars). Highly recommended</flag> |
182 |
-</use> |
183 |
-</pkgmetadata> |
184 |
|
185 |
diff --git a/dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild b/dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild |
186 |
deleted file mode 100644 |
187 |
index f585f26bdb..0000000000 |
188 |
--- a/dev-libs/xerces-c/xerces-c-3.1.4-r1.ebuild |
189 |
+++ /dev/null |
190 |
@@ -1,116 +0,0 @@ |
191 |
-# Copyright 1999-2021 Gentoo Authors |
192 |
-# Distributed under the terms of the GNU General Public License v2 |
193 |
-# $Id$ |
194 |
- |
195 |
-EAPI=6 |
196 |
- |
197 |
-inherit autotools |
198 |
- |
199 |
-DESCRIPTION="A validating XML parser written in a portable subset of C++" |
200 |
-HOMEPAGE="http://xerces.apache.org/xerces-c/" |
201 |
-SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz" |
202 |
- |
203 |
-LICENSE="Apache-2.0" |
204 |
-SLOT="0" |
205 |
-KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris ~x86-solaris ~x86-winnt" |
206 |
- |
207 |
-IUSE="cpu_flags_x86_sse2 curl doc elibc_Darwin elibc_FreeBSD examples iconv icu static-libs test threads" |
208 |
- |
209 |
-RDEPEND="icu? ( dev-libs/icu:0= ) |
210 |
- curl? ( net-misc/curl ) |
211 |
- virtual/libiconv" |
212 |
-DEPEND="${RDEPEND} |
213 |
- doc? ( app-doc/doxygen ) |
214 |
- test? ( dev-lang/perl )" |
215 |
- |
216 |
-DOCS=( CREDITS KEYS NOTICE README version.incl ) |
217 |
-PATCHES=( "${FILESDIR}/${PN}-3.1.4-fix-build-system.patch" ) |
218 |
- |
219 |
-pkg_setup() { |
220 |
- export ICUROOT="${EPREFIX}/usr" |
221 |
- |
222 |
- if use iconv && use icu; then |
223 |
- ewarn "This package can use iconv or icu for loading messages" |
224 |
- ewarn "and transcoding, but not both. ICU takes precedence." |
225 |
- fi |
226 |
-} |
227 |
- |
228 |
-src_prepare() { |
229 |
- default |
230 |
- eautoreconf |
231 |
-} |
232 |
- |
233 |
-src_configure() { |
234 |
- local msgloader |
235 |
- if use icu; then |
236 |
- msgloader="icu" |
237 |
- elif use iconv; then |
238 |
- msgloader="iconv" |
239 |
- else |
240 |
- msgloader="inmemory" |
241 |
- fi |
242 |
- |
243 |
- local transcoder |
244 |
- if use icu; then |
245 |
- transcoder="icu" |
246 |
- elif use elibc_Darwin; then |
247 |
- transcoder="macosunicodeconverter" |
248 |
- elif use elibc_FreeBSD; then |
249 |
- transcoder="iconv" |
250 |
- else |
251 |
- transcoder="gnuiconv" |
252 |
- fi |
253 |
- |
254 |
- # 'cfurl' is only available on OSX and 'socket' isn't supposed to work. |
255 |
- # But the docs aren't clear about it, so we would need some testing... |
256 |
- local netaccessor |
257 |
- if use curl; then |
258 |
- netaccessor="curl" |
259 |
- elif use elibc_Darwin; then |
260 |
- netaccessor="cfurl" |
261 |
- else |
262 |
- netaccessor="socket" |
263 |
- fi |
264 |
- |
265 |
- econf \ |
266 |
- --disable-pretty-make \ |
267 |
- --enable-msgloader-${msgloader} \ |
268 |
- --enable-transcoder-${transcoder} \ |
269 |
- --enable-netaccessor-${netaccessor} \ |
270 |
- $(use_enable cpu_flags_x86_sse2 sse2) \ |
271 |
- $(use_enable threads) \ |
272 |
- $(use_enable static-libs static) |
273 |
-} |
274 |
- |
275 |
-src_compile() { |
276 |
- default |
277 |
- |
278 |
- if use doc; then |
279 |
- cd doc || die |
280 |
- doxygen || die "making docs failed" |
281 |
- HTML_DOCS=( doc/html/. ) |
282 |
- fi |
283 |
-} |
284 |
- |
285 |
-src_install () { |
286 |
- default |
287 |
- |
288 |
- # package provides .pc files |
289 |
- find "${ED}" -name '*.la' -delete || die |
290 |
- |
291 |
- if use examples; then |
292 |
- # clean out object files, executables, Makefiles |
293 |
- # and the like before installing examples |
294 |
- find samples/ \( -type f -executable -o -iname 'runConfigure' -o -iname '*.o' \ |
295 |
- -o -iname '.libs' -o -iname 'Makefile*' \) -exec rm -rf '{}' + || die |
296 |
- docinto examples |
297 |
- dodoc -r samples/. |
298 |
- docompress -x /usr/share/doc/${PF}/examples |
299 |
- fi |
300 |
- |
301 |
- # To make sure an appropriate NLS msg file is around when using |
302 |
- # the iconv msgloader ICU has the messages compiled in. |
303 |
- if use iconv && ! use icu; then |
304 |
- doenvd "${FILESDIR}/50xerces-c" |
305 |
- fi |
306 |
-} |
307 |
|
308 |
diff --git a/dev-libs/xerces-c/xerces-c-3.2.3.ebuild b/dev-libs/xerces-c/xerces-c-3.2.3.ebuild |
309 |
deleted file mode 100644 |
310 |
index 31bdc528e0..0000000000 |
311 |
--- a/dev-libs/xerces-c/xerces-c-3.2.3.ebuild |
312 |
+++ /dev/null |
313 |
@@ -1,116 +0,0 @@ |
314 |
-# Copyright 1999-2021 Gentoo Authors |
315 |
-# Distributed under the terms of the GNU General Public License v2 |
316 |
- |
317 |
-EAPI=6 |
318 |
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja} |
319 |
- |
320 |
-inherit cmake-utils prefix |
321 |
- |
322 |
-DESCRIPTION="A validating XML parser written in a portable subset of C++" |
323 |
-HOMEPAGE="https://xerces.apache.org/xerces-c/" |
324 |
- |
325 |
-if [[ ${PV} == *9999 ]] ; then |
326 |
- ESVN_REPO_URI="https://svn.apache.org/repos/asf/xerces/c/trunk" |
327 |
- inherit subversion |
328 |
-else |
329 |
- SRC_URI="mirror://apache/xerces/c/3/sources/${P}.tar.gz" |
330 |
- KEYWORDS="~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris ~x86-winnt" |
331 |
-fi |
332 |
- |
333 |
-LICENSE="Apache-2.0" |
334 |
-SLOT="0" |
335 |
- |
336 |
-IUSE="cpu_flags_x86_sse2 curl doc elibc_Darwin elibc_FreeBSD examples iconv icu static-libs test threads" |
337 |
-RESTRICT="!test? ( test )" |
338 |
- |
339 |
-RDEPEND="icu? ( dev-libs/icu:0= ) |
340 |
- curl? ( net-misc/curl ) |
341 |
- virtual/libiconv" |
342 |
-DEPEND="${RDEPEND} |
343 |
- doc? ( app-doc/doxygen ) |
344 |
- test? ( dev-lang/perl )" |
345 |
- |
346 |
-DOCS=( CREDITS KEYS NOTICE README ) |
347 |
- |
348 |
-pkg_setup() { |
349 |
- export ICUROOT="${EPREFIX}/usr" |
350 |
- |
351 |
- if use iconv && use icu; then |
352 |
- ewarn "This package can use iconv or icu for loading messages" |
353 |
- ewarn "and transcoding, but not both. ICU takes precedence." |
354 |
- fi |
355 |
-} |
356 |
- |
357 |
-src_configure() { |
358 |
- # 'cfurl' is only available on OSX and 'socket' isn't supposed to work. |
359 |
- # But the docs aren't clear about it, so we would need some testing... |
360 |
- local netaccessor |
361 |
- if use curl; then |
362 |
- netaccessor="curl" |
363 |
- elif use elibc_Darwin; then |
364 |
- netaccessor="cfurl" |
365 |
- else |
366 |
- netaccessor="socket" |
367 |
- fi |
368 |
- |
369 |
- local msgloader |
370 |
- if use icu; then |
371 |
- msgloader="icu" |
372 |
- elif use iconv; then |
373 |
- msgloader="iconv" |
374 |
- else |
375 |
- msgloader="inmemory" |
376 |
- fi |
377 |
- |
378 |
- local transcoder |
379 |
- if use icu; then |
380 |
- transcoder="icu" |
381 |
- elif use elibc_Darwin; then |
382 |
- transcoder="macosunicodeconverter" |
383 |
- elif use elibc_FreeBSD; then |
384 |
- transcoder="iconv" |
385 |
- else |
386 |
- transcoder="gnuiconv" |
387 |
- fi |
388 |
- # for interix maybe: transcoder="windows" |
389 |
- |
390 |
- local mycmakeargs=( |
391 |
- -DCMAKE_INSTALL_DOCDIR="${EPREFIX}/usr/share/doc/${PF}" |
392 |
- -Dnetwork-accessor="${netaccessor}" |
393 |
- -Dmessage-loader="${msgloader}" |
394 |
- -Dtranscoder="${transcoder}" |
395 |
- -Dthreads:BOOL="$(usex threads)" |
396 |
- -Dsse2:BOOL="$(usex cpu_flags_x86_sse2)" |
397 |
- ) |
398 |
- |
399 |
- cmake-utils_src_configure |
400 |
-} |
401 |
- |
402 |
-src_compile() { |
403 |
- cmake-utils_src_compile |
404 |
- |
405 |
- use doc && cmake-utils_src_compile doc-style createapidocs doc-xml |
406 |
-} |
407 |
- |
408 |
-src_install() { |
409 |
- cmake-utils_src_install |
410 |
- |
411 |
- # package provides .pc files |
412 |
- find "${D}" -name '*.la' -delete || die |
413 |
- |
414 |
- if use examples; then |
415 |
- # clean out object files, executables, Makefiles |
416 |
- # and the like before installing examples |
417 |
- find samples/ \( -type f -executable -o -iname 'runConfigure' -o -iname '*.o' \ |
418 |
- -o -iname '.libs' -o -iname 'Makefile*' \) -exec rm -rf '{}' + || die |
419 |
- docinto examples |
420 |
- dodoc -r samples/. |
421 |
- docompress -x /usr/share/doc/${PF}/examples |
422 |
- fi |
423 |
- |
424 |
- # To make sure an appropriate NLS msg file is around when using |
425 |
- # the iconv msgloader ICU has the messages compiled in. |
426 |
- if use iconv && ! use icu; then |
427 |
- doenvd "$(prefixify_ro "${FILESDIR}/50xerces-c")" |
428 |
- fi |
429 |
-} |