Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/expat/, dev-libs/expat/files/
Date: Sat, 16 Feb 2019 08:56:04
Message-Id: 1550307335.3987dd53792f13f21ea045df19ec0f3240e08467.pacho@gentoo
1 commit: 3987dd53792f13f21ea045df19ec0f3240e08467
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 16 08:52:25 2019 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 16 08:55:35 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3987dd53
7
8 dev-libs/expat: Drop old
9
10 Package-Manager: Portage-2.3.58, Repoman-2.3.12
11 Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
12
13 dev-libs/expat/Manifest | 3 -
14 dev-libs/expat/expat-2.2.1.ebuild | 88 --------------------
15 dev-libs/expat/expat-2.2.4.ebuild | 96 ----------------------
16 dev-libs/expat/expat-2.2.5.ebuild | 96 ----------------------
17 dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch | 31 -------
18 .../files/expat-2.2.1-getrandom-detection.patch | 24 ------
19 dev-libs/expat/files/expat-2.2.1-posix-shell.patch | 26 ------
20 7 files changed, 364 deletions(-)
21
22 diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest
23 index 733b50e8365..438f8571d79 100644
24 --- a/dev-libs/expat/Manifest
25 +++ b/dev-libs/expat/Manifest
26 @@ -1,4 +1 @@
27 -DIST expat-2.2.1.tar.bz2 405441 BLAKE2B 273960016692f3b9a1121eb07b67c28e5b3066fa324df0d7249329b2dc346c2601e4548def5e14b7f76d58f89f3cd12edad72fbd32da9f4c04ac61dfce23e15a SHA512 74089b55872df16f214a4baba0143e6353736dfa34063391293bb2760aa3e5118d9ccb3592e07c74c9d52a2a5b91496e15153f28214c4c01242d95b3019b67ea
28 -DIST expat-2.2.4.tar.bz2 505038 BLAKE2B 4d40629621bde41b44cdef4fa37937ce064cdbd621cc0d466b50a1a4626aff8bc8c8f6e9fbd94a36b709d449384da76ade683f31cf0aec0470006b750fc0a6ea SHA512 788249e2c6edf8521c4a99830fd5e51a55c062b834516f6775759cd71accf6375f12d3bd38f8b069777d081a4380b9549049921386ca0cb4b9b9daa4861d6592
29 -DIST expat-2.2.5.tar.bz2 510868 BLAKE2B 9d4709c2d157a04c08afd80b05f120407dc320023c3dbfe9e6872fadf0de2d6fa497f85ad9a21679fa0689c13cbb25adfd92912ae374d08de791dfeb4eb6918d SHA512 8226970a7e5d2b8d7818081758ca59bb6ce2d655feaa9d3a92481629000b73fde4782f50343d58ec4e1cebe75649e1980f636775a731d8aa4b55ceb843d9f637
30 DIST expat-2.2.6.tar.bz2 513322 BLAKE2B 386736da1f2204fa8f15ee4d1b3d11f01ed691efe6951b9f24f2bd30ab5494e75da6a97ceb1ffe4a0a8ecdc80f96f51d21c54f35a2cbc352a9fe9425545bf15b SHA512 dbfb635a5fe7b190722664263a0dd437b512fdf519bc53bd4905567f4bfb4b1e89a021562da63df8cacd48b706d1dea60ccde47f279e57400ad3c846b6e9c4e6
31
32 diff --git a/dev-libs/expat/expat-2.2.1.ebuild b/dev-libs/expat/expat-2.2.1.ebuild
33 deleted file mode 100644
34 index 84e0ee7bea0..00000000000
35 --- a/dev-libs/expat/expat-2.2.1.ebuild
36 +++ /dev/null
37 @@ -1,88 +0,0 @@
38 -# Copyright 1999-2018 Gentoo Foundation
39 -# Distributed under the terms of the GNU General Public License v2
40 -
41 -EAPI=6
42 -inherit autotools eutils libtool multilib toolchain-funcs multilib-minimal
43 -
44 -DESCRIPTION="Stream-oriented XML parser library"
45 -HOMEPAGE="https://libexpat.github.io/"
46 -SRC_URI="mirror://sourceforge/expat/${P}.tar.bz2"
47 -
48 -LICENSE="MIT"
49 -SLOT="0"
50 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
51 -IUSE="elibc_FreeBSD examples static-libs unicode"
52 -RDEPEND=""
53 -
54 -DOCS=( AUTHORS Changes README )
55 -
56 -PATCHES=(
57 - "${FILESDIR}"/${P}-getrandom-detection.patch
58 - "${FILESDIR}"/${P}-posix-shell.patch
59 - "${FILESDIR}"/${P}-gentoo-dash.patch # bug 622360
60 -)
61 -
62 -src_prepare() {
63 - default
64 - eautoreconf
65 -}
66 -
67 -multilib_src_configure() {
68 - local myconf="$(use_enable static-libs static)"
69 -
70 - mkdir -p "${BUILD_DIR}"{u,w} || die
71 -
72 - ECONF_SOURCE="${S}" econf ${myconf}
73 -
74 - if use unicode; then
75 - pushd "${BUILD_DIR}"w >/dev/null
76 - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}" econf ${myconf}
77 - popd >/dev/null
78 - fi
79 -}
80 -
81 -multilib_src_compile() {
82 - emake
83 -
84 - if use unicode; then
85 - pushd "${BUILD_DIR}"w >/dev/null
86 - emake buildlib LIBRARY=libexpatw.la
87 - popd >/dev/null
88 - fi
89 -}
90 -
91 -multilib_src_install() {
92 - emake install DESTDIR="${D}"
93 -
94 - if use unicode; then
95 - pushd "${BUILD_DIR}"w >/dev/null
96 - emake installlib DESTDIR="${D}" LIBRARY=libexpatw.la
97 - popd >/dev/null
98 -
99 - pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
100 - cp expat.pc expatw.pc
101 - sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
102 - popd >/dev/null
103 - fi
104 -
105 - if multilib_is_native_abi ; then
106 - # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
107 - # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
108 - use elibc_FreeBSD && gen_usr_ldscript -a expat
109 - fi
110 -}
111 -
112 -multilib_src_install_all() {
113 - einstalldocs
114 -
115 - # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
116 - docinto html
117 - dodoc doc/*.{css,html,png}
118 -
119 - if use examples; then
120 - insinto /usr/share/doc/${PF}/examples
121 - doins examples/*.c
122 - fi
123 -
124 - prune_libtool_files
125 -}
126
127 diff --git a/dev-libs/expat/expat-2.2.4.ebuild b/dev-libs/expat/expat-2.2.4.ebuild
128 deleted file mode 100644
129 index b99fa87d64f..00000000000
130 --- a/dev-libs/expat/expat-2.2.4.ebuild
131 +++ /dev/null
132 @@ -1,96 +0,0 @@
133 -# Copyright 1999-2018 Gentoo Foundation
134 -# Distributed under the terms of the GNU General Public License v2
135 -
136 -EAPI=6
137 -inherit autotools eutils libtool multilib toolchain-funcs multilib-minimal
138 -
139 -DESCRIPTION="Stream-oriented XML parser library"
140 -HOMEPAGE="https://libexpat.github.io/"
141 -SRC_URI="mirror://sourceforge/expat/${P}.tar.bz2"
142 -
143 -LICENSE="MIT"
144 -SLOT="0"
145 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
146 -IUSE="elibc_FreeBSD examples static-libs unicode"
147 -DEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
148 -RDEPEND=""
149 -
150 -DOCS=( README.md )
151 -
152 -src_prepare() {
153 - default
154 -
155 - # fix interpreter to be a recent/good shell
156 - sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
157 - if use unicode; then
158 - cp -R "${S}" "${S}"w || die
159 - pushd "${S}"w >/dev/null
160 - find -name Makefile.am \
161 - -exec sed \
162 - -e 's,libexpat\.la,libexpatw.la,' \
163 - -e 's,libexpat_la,libexpatw_la,' \
164 - -i {} + || die
165 - eautoreconf
166 - popd >/dev/null
167 - fi
168 -}
169 -
170 -multilib_src_configure() {
171 - local myconf="$(use_enable static-libs static)"
172 -
173 - mkdir -p "${BUILD_DIR}"w || die
174 -
175 - if use unicode; then
176 - pushd "${BUILD_DIR}"w >/dev/null
177 - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
178 - popd >/dev/null
179 - fi
180 -
181 - ECONF_SOURCE="${S}" econf ${myconf}
182 -}
183 -
184 -multilib_src_compile() {
185 - emake
186 -
187 - if use unicode; then
188 - pushd "${BUILD_DIR}"w >/dev/null
189 - emake -C lib
190 - popd >/dev/null
191 - fi
192 -}
193 -
194 -multilib_src_install() {
195 - emake install DESTDIR="${D}"
196 -
197 - if use unicode; then
198 - pushd "${BUILD_DIR}"w >/dev/null
199 - emake -C lib install DESTDIR="${D}"
200 - popd >/dev/null
201 -
202 - pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
203 - cp expat.pc expatw.pc
204 - sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
205 - popd >/dev/null
206 - fi
207 -
208 - if multilib_is_native_abi ; then
209 - # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
210 - # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
211 - use elibc_FreeBSD && gen_usr_ldscript -a expat
212 - fi
213 -}
214 -
215 -multilib_src_install_all() {
216 - einstalldocs
217 -
218 - # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
219 - docinto html
220 - dodoc doc/*.{css,html,png}
221 -
222 - if use examples; then
223 - insinto /usr/share/doc/${PF}/examples
224 - doins examples/*.c
225 - fi
226 -
227 - prune_libtool_files
228 -}
229
230 diff --git a/dev-libs/expat/expat-2.2.5.ebuild b/dev-libs/expat/expat-2.2.5.ebuild
231 deleted file mode 100644
232 index 427cb0428d7..00000000000
233 --- a/dev-libs/expat/expat-2.2.5.ebuild
234 +++ /dev/null
235 @@ -1,96 +0,0 @@
236 -# Copyright 1999-2018 Gentoo Foundation
237 -# Distributed under the terms of the GNU General Public License v2
238 -
239 -EAPI=6
240 -inherit autotools eutils libtool multilib toolchain-funcs multilib-minimal
241 -
242 -DESCRIPTION="Stream-oriented XML parser library"
243 -HOMEPAGE="https://libexpat.github.io/"
244 -SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.bz2"
245 -
246 -LICENSE="MIT"
247 -SLOT="0"
248 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
249 -IUSE="elibc_FreeBSD examples static-libs unicode"
250 -DEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
251 -RDEPEND=""
252 -
253 -DOCS=( README.md )
254 -
255 -src_prepare() {
256 - default
257 -
258 - # fix interpreter to be a recent/good shell
259 - sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
260 - if use unicode; then
261 - cp -R "${S}" "${S}"w || die
262 - pushd "${S}"w >/dev/null
263 - find -name Makefile.am \
264 - -exec sed \
265 - -e 's,libexpat\.la,libexpatw.la,' \
266 - -e 's,libexpat_la,libexpatw_la,' \
267 - -i {} + || die
268 - eautoreconf
269 - popd >/dev/null
270 - fi
271 -}
272 -
273 -multilib_src_configure() {
274 - local myconf="$(use_enable static-libs static) --without-docbook"
275 -
276 - mkdir -p "${BUILD_DIR}"w || die
277 -
278 - if use unicode; then
279 - pushd "${BUILD_DIR}"w >/dev/null
280 - CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
281 - popd >/dev/null
282 - fi
283 -
284 - ECONF_SOURCE="${S}" econf ${myconf}
285 -}
286 -
287 -multilib_src_compile() {
288 - emake
289 -
290 - if use unicode; then
291 - pushd "${BUILD_DIR}"w >/dev/null
292 - emake -C lib
293 - popd >/dev/null
294 - fi
295 -}
296 -
297 -multilib_src_install() {
298 - emake install DESTDIR="${D}"
299 -
300 - if use unicode; then
301 - pushd "${BUILD_DIR}"w >/dev/null
302 - emake -C lib install DESTDIR="${D}"
303 - popd >/dev/null
304 -
305 - pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
306 - cp expat.pc expatw.pc
307 - sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
308 - popd >/dev/null
309 - fi
310 -
311 - if multilib_is_native_abi ; then
312 - # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
313 - # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
314 - use elibc_FreeBSD && gen_usr_ldscript -a expat
315 - fi
316 -}
317 -
318 -multilib_src_install_all() {
319 - einstalldocs
320 -
321 - # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
322 - docinto html
323 - dodoc doc/*.{css,html,png}
324 -
325 - if use examples; then
326 - insinto /usr/share/doc/${PF}/examples
327 - doins examples/*.c
328 - fi
329 -
330 - prune_libtool_files
331 -}
332
333 diff --git a/dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch b/dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch
334 deleted file mode 100644
335 index 9bf9bfe4492..00000000000
336 --- a/dev-libs/expat/files/expat-2.2.1-gentoo-dash.patch
337 +++ /dev/null
338 @@ -1,31 +0,0 @@
339 -From 9502963fd2e84ac529950f3a6f4173d86b93b5d2 Mon Sep 17 00:00:00 2001
340 -From: Kerin Millar <kfm@×××××××××.net>
341 -Date: Thu, 29 Jun 2017 16:51:18 +0100
342 -Subject: [PATCH] conftools/get-version.sh: Use printf rather than try to infer
343 - non-portable echo options
344 -
345 ----
346 - expat/conftools/get-version.sh | 13 +------------
347 - 1 file changed, 1 insertion(+), 12 deletions(-)
348 -
349 -diff --git a/expat/conftools/get-version.sh b/expat/conftools/get-version.sh
350 -index a70e0fb..91e5c64 100755
351 ---- a/conftools/get-version.sh
352 -+++ b/conftools/get-version.sh
353 -@@ -32,15 +32,4 @@ MAJOR_VERSION="`sed -n -e '/MAJOR_VERSION/s/[^0-9]*//gp' $hdr`"
354 - MINOR_VERSION="`sed -n -e '/MINOR_VERSION/s/[^0-9]*//gp' $hdr`"
355 - MICRO_VERSION="`sed -n -e '/MICRO_VERSION/s/[^0-9]*//gp' $hdr`"
356 -
357 --# Determine how to tell echo not to print the trailing \n. This is
358 --# similar to Autoconf's @ECHO_C@ and @ECHO_N@; however, we don't
359 --# generate this file via autoconf (in fact, get-version.sh is used
360 --# to *create* ./configure), so we just do something similar inline.
361 --case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
362 -- *c*,-n*) ECHO_N= ECHO_C='
363 --' ;;
364 -- *c*,* ) ECHO_N=-n ECHO_C= ;;
365 -- *) ECHO_N= ECHO_C='\c' ;;
366 --esac
367 --
368 --echo $ECHO_N "$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION$ECHO_C"
369 -+printf '%s.%s.%s' "$MAJOR_VERSION" "$MINOR_VERSION" "$MICRO_VERSION"
370
371 diff --git a/dev-libs/expat/files/expat-2.2.1-getrandom-detection.patch b/dev-libs/expat/files/expat-2.2.1-getrandom-detection.patch
372 deleted file mode 100644
373 index 6ceb7d9993f..00000000000
374 --- a/dev-libs/expat/files/expat-2.2.1-getrandom-detection.patch
375 +++ /dev/null
376 @@ -1,24 +0,0 @@
377 -From 602e6c78ca750c082b72f8cdf4a38839b312959f Mon Sep 17 00:00:00 2001
378 -From: Sebastian Pipping <sebastian@×××××××.org>
379 -Date: Sun, 18 Jun 2017 18:55:10 +0200
380 -Subject: [PATCH] configure.ac: Fix mis-detection of getrandom on Debian
381 - GNU/kFreeBSD (#50)
382 -
383 -There is no such thing but we need to link (not just compile) to realize.
384 ----
385 - expat/configure.ac | 2 +-
386 - 1 file changed, 1 insertion(+), 1 deletion(-)
387 -
388 -diff --git a/expat/configure.ac b/expat/configure.ac
389 -index 1357c9a..444c002 100644
390 ---- a/configure.ac
391 -+++ b/configure.ac
392 -@@ -130,7 +130,7 @@ AC_LINK_IFELSE([AC_LANG_SOURCE([
393 -
394 -
395 - AC_MSG_CHECKING([for getrandom (Linux 3.17+, glibc 2.25+)])
396 --AC_COMPILE_IFELSE([AC_LANG_SOURCE([
397 -+AC_LINK_IFELSE([AC_LANG_SOURCE([
398 - #include <stdlib.h> /* for NULL */
399 - #include <sys/random.h>
400 - int main() {
401
402 diff --git a/dev-libs/expat/files/expat-2.2.1-posix-shell.patch b/dev-libs/expat/files/expat-2.2.1-posix-shell.patch
403 deleted file mode 100644
404 index ab680451d8e..00000000000
405 --- a/dev-libs/expat/files/expat-2.2.1-posix-shell.patch
406 +++ /dev/null
407 @@ -1,26 +0,0 @@
408 -From e5e25fac1698d9ea8dbb2e51c18d1072254b5f4b Mon Sep 17 00:00:00 2001
409 -From: spzeidler <spz@××××××.org>
410 -Date: Sun, 18 Jun 2017 14:30:22 +0200
411 -Subject: [PATCH] Fix sh syntax in configure.ac (#49)
412 -
413 -The old '==' sh-is-not-C issue
414 -It doesn't matter in bash, but some other sh don't like it, so it's a portability issue
415 ----
416 - expat/configure.ac | 4 ++--
417 - 1 file changed, 2 insertions(+), 2 deletions(-)
418 -
419 -diff --git a/expat/configure.ac b/expat/configure.ac
420 -index e48c32e..1357c9a 100644
421 ---- a/configure.ac
422 -+++ b/configure.ac
423 -@@ -220,8 +220,8 @@ AS_HELP_STRING([--disable-xml-context],
424 - [Do not retain context around the current parse point]),
425 - [enable_xml_context=${enableval}])
426 - AS_IF([test "x${enable_xml_context}" != "xno"], [
427 -- AS_IF([test "x${enable_xml_context}" == "xyes" \
428 -- -o "x${enable_xml_context}" == "x"], [
429 -+ AS_IF([test "x${enable_xml_context}" = "xyes" \
430 -+ -o "x${enable_xml_context}" = "x"], [
431 - enable_xml_context=1024
432 - ])
433 - AC_DEFINE_UNQUOTED([XML_CONTEXT_BYTES], [${enable_xml_context}],