From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/expat/
Date: Sun, 23 May 2021 17:30:32 +0000 (UTC) [thread overview]
Message-ID: <1621790966.da6c3ff9651e40ded9cb5e6ea16ae8e247232b68.sping@gentoo> (raw)
commit: da6c3ff9651e40ded9cb5e6ea16ae8e247232b68
Author: Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Sun May 23 17:25:07 2021 +0000
Commit: Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Sun May 23 17:29:26 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da6c3ff9
dev-libs/expat: 2.4.1
Ping https://github.com/libexpat/libexpat/issues/491
Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.18, Repoman-3.0.3
dev-libs/expat/Manifest | 1 +
dev-libs/expat/expat-2.4.1.ebuild | 100 ++++++++++++++++++++++++++++++++++++++
2 files changed, 101 insertions(+)
diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest
index 8aa278d5e46..b17ad0f744c 100644
--- a/dev-libs/expat/Manifest
+++ b/dev-libs/expat/Manifest
@@ -1,2 +1,3 @@
DIST expat-2.2.10.tar.xz 425432 BLAKE2B 5d84d7dec5aae6ca7906bd2a2b8a249457111e064295b83b6c9927b5ef0dc97e7220bac1da17781e24541259ae81b60a2314cd372bfbdfc2e08fab082377df4a SHA512 a8e0c8a9cf7e6fbacdc6e709f3c99c533ab550fba52557d24259bb8b360f9697624c7500c0e9886fa57ee2b529aadd0d1835d66fe8112e15c20df75cd3eb090f
DIST expat-2.3.0.tar.xz 433508 BLAKE2B b547cbca23f2ca11bef326225b8e2958a3539dbb14789c33fb0f2aede35bfbe12981d151624b0497ab2ad488ec06529ae2a996e514b19b39622ae7fc29f47832 SHA512 dde8a9a094b18d795a0e86ca4aa68488b352dc67019e0d669e8b910ed149628de4c2a49bc3a5b832f624319336a01f9e4debe03433a43e1c420f36356d886820
+DIST expat-2.4.1.tar.xz 445024 BLAKE2B 2ae66d284a03176ef7290093f59bb7ad98011dfbf3c7c3515ba4e4b99f849474def6ce6d9844c944fed22d86ac4ea1a38863646be914d9432eda7b69d890be65 SHA512 9dc760dbf701f75e55c4479d81417622f8c750d8473498458a382a4c2932a2976a059cb3589f88855188e5173ec7868d285c4601428e0ca625df7a59cf975191
diff --git a/dev-libs/expat/expat-2.4.1.ebuild b/dev-libs/expat/expat-2.4.1.ebuild
new file mode 100644
index 00000000000..b92f1963173
--- /dev/null
+++ b/dev-libs/expat/expat-2.4.1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+AUTOTOOLS_AUTO_DEPEND=no
+AT_NOEAUTOHEADER=yes # because expat_config.h.in would need post-processing
+inherit autotools multilib-minimal usr-ldscript
+
+DESCRIPTION="Stream-oriented XML parser library"
+HOMEPAGE="https://libexpat.github.io/"
+SRC_URI="https://github.com/libexpat/libexpat/releases/download/R_${PV//\./_}/expat-${PV}.tar.xz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
+IUSE="elibc_FreeBSD examples static-libs unicode"
+BDEPEND="unicode? ( ${AUTOTOOLS_DEPEND} )"
+
+DOCS=( README.md )
+
+src_prepare() {
+ default
+
+ # fix interpreter to be a recent/good shell
+ sed -i -e "1s:/bin/sh:${BASH}:" conftools/get-version.sh || die
+ if use unicode; then
+ cp -R "${S}" "${S}"w || die
+ pushd "${S}"w >/dev/null
+ find -name Makefile.am \
+ -exec sed \
+ -e 's,libexpat\.la,libexpatw.la,' \
+ -e 's,libexpat_la,libexpatw_la,' \
+ -i {} + || die
+ eautoreconf
+ popd >/dev/null
+ fi
+}
+
+multilib_src_configure() {
+ local myconf="$(use_enable static-libs static) --without-docbook"
+
+ mkdir -p "${BUILD_DIR}"w || die
+
+ if use unicode; then
+ pushd "${BUILD_DIR}"w >/dev/null
+ CPPFLAGS="${CPPFLAGS} -DXML_UNICODE" ECONF_SOURCE="${S}"w econf ${myconf}
+ popd >/dev/null
+ fi
+
+ ECONF_SOURCE="${S}" econf ${myconf}
+}
+
+multilib_src_compile() {
+ emake
+
+ if use unicode; then
+ pushd "${BUILD_DIR}"w >/dev/null
+ emake -C lib
+ popd >/dev/null
+ fi
+}
+
+multilib_src_install() {
+ emake install DESTDIR="${D}"
+
+ if use unicode; then
+ pushd "${BUILD_DIR}"w >/dev/null
+ emake -C lib install DESTDIR="${D}"
+ popd >/dev/null
+
+ pushd "${ED}"/usr/$(get_libdir)/pkgconfig >/dev/null
+ cp expat.pc expatw.pc
+ sed -i -e '/^Libs/s:-lexpat:&w:' expatw.pc || die
+ popd >/dev/null
+ fi
+
+ if multilib_is_native_abi ; then
+ # libgeom in /lib and ifconfig in /sbin require libexpat on FreeBSD since
+ # we stripped the libbsdxml copy starting from freebsd-lib-8.2-r1
+ use elibc_FreeBSD && gen_usr_ldscript -a expat
+ fi
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ doman doc/xmlwf.1
+
+ # Note: Use of HTML_DOCS would add unwanted "doc" subfolder
+ docinto html
+ dodoc doc/*.{css,html}
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.c
+ docompress -x usr/share/doc/${PF}/examples
+ fi
+
+ find "${D}" -name '*.la' -type f -delete || die
+}
next reply other threads:[~2021-05-23 17:30 UTC|newest]
Thread overview: 208+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-05-23 17:30 Sebastian Pipping [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-07 2:05 [gentoo-commits] repo/gentoo:master commit in: dev-libs/expat/ Sebastian Pipping
2024-11-03 21:26 Andreas K. Hüttel
2024-10-05 8:22 Sam James
2024-09-12 12:27 Arthur Zamarin
2024-09-12 8:01 Arthur Zamarin
2024-09-05 1:23 Sam James
2024-09-05 0:06 Sam James
2024-09-05 0:06 Sam James
2024-09-04 20:30 Jakov Smolić
2024-09-04 20:30 Jakov Smolić
2024-09-04 11:30 Sebastian Pipping
2024-03-13 17:19 Sebastian Pipping
2024-03-09 13:11 Sebastian Pipping
2024-02-29 20:57 Sebastian Pipping
2024-02-06 17:44 Sebastian Pipping
2023-05-31 3:26 Sam James
2022-10-28 8:17 Michał Górny
2022-10-28 3:37 Jakov Smolić
2022-10-28 3:37 Jakov Smolić
2022-10-25 20:28 Sam James
2022-10-25 18:05 Sam James
2022-10-25 17:59 Sam James
2022-10-25 17:59 Sam James
2022-10-25 17:59 Sam James
2022-10-25 17:59 Sam James
2022-10-25 16:01 Sebastian Pipping
2022-09-26 5:58 Michał Górny
2022-09-25 20:06 Arthur Zamarin
2022-09-23 6:39 Arthur Zamarin
2022-09-22 22:06 Sam James
2022-09-22 22:05 Sam James
2022-09-22 22:03 Sam James
2022-09-22 22:03 Sam James
2022-09-22 18:11 Arthur Zamarin
2022-09-22 17:38 Arthur Zamarin
2022-09-20 15:42 Sebastian Pipping
2022-05-27 18:01 Jakov Smolić
2022-05-27 6:55 Agostino Sarubbo
2022-05-26 23:39 Jakov Smolić
2022-05-26 23:35 Jakov Smolić
2022-05-26 23:26 Jakov Smolić
2022-05-26 23:26 Jakov Smolić
2022-05-26 23:26 Jakov Smolić
2022-05-26 23:19 Jakov Smolić
2022-03-28 23:01 Sebastian Pipping
2022-03-12 20:07 Arthur Zamarin
2022-03-12 11:00 Arthur Zamarin
2022-03-07 14:33 Jakov Smolić
2022-03-07 7:28 Agostino Sarubbo
2022-03-07 7:27 Agostino Sarubbo
2022-03-07 7:27 Agostino Sarubbo
2022-03-07 7:26 Agostino Sarubbo
2022-03-06 23:52 Sam James
2022-03-04 22:18 Sebastian Pipping
2022-02-22 17:06 Sebastian Pipping
2022-02-22 8:09 Agostino Sarubbo
2022-02-21 21:49 Sam James
2022-02-21 7:47 Agostino Sarubbo
2022-02-21 7:46 Agostino Sarubbo
2022-02-21 5:14 Arthur Zamarin
2022-02-21 5:14 Arthur Zamarin
2022-02-21 5:14 Arthur Zamarin
2022-02-20 17:57 Sebastian Pipping
2022-02-19 19:28 Sam James
2022-02-19 16:03 Jakov Smolić
2022-02-19 15:47 Jakov Smolić
2022-02-19 8:31 Arthur Zamarin
2022-02-19 8:28 Arthur Zamarin
2022-02-19 8:26 Arthur Zamarin
2022-02-19 2:36 Sam James
2022-02-18 23:23 Sebastian Pipping
2022-02-02 19:12 Sebastian Pipping
2022-02-02 7:25 Sam James
2022-01-31 6:24 Sam James
2022-01-31 6:24 Sam James
2022-01-30 8:05 Agostino Sarubbo
2022-01-30 8:04 Agostino Sarubbo
2022-01-30 8:04 Agostino Sarubbo
2022-01-30 8:03 Agostino Sarubbo
2022-01-30 8:02 Agostino Sarubbo
2022-01-30 0:39 Sebastian Pipping
2022-01-23 20:53 Sebastian Pipping
2022-01-18 22:16 Sam James
2022-01-18 22:12 Sam James
2022-01-18 12:26 Sam James
2022-01-17 1:35 Sam James
2022-01-17 1:35 Sam James
2022-01-17 1:35 Sam James
2022-01-17 1:35 Sam James
2022-01-17 1:35 Sam James
2022-01-16 14:28 Sebastian Pipping
2022-01-02 17:49 David Seifert
2021-12-20 0:15 Sebastian Pipping
2021-05-28 21:23 Sebastian Pipping
2021-05-28 14:40 Sergei Trofimovich
2021-05-28 12:05 Agostino Sarubbo
2021-05-28 0:29 Sam James
2021-05-28 0:29 Sam James
2021-05-28 0:29 Sam James
2021-05-28 0:29 Sam James
2021-05-27 23:11 Sam James
2021-05-27 19:37 Sam James
2021-03-25 19:04 Sebastian Pipping
2021-03-25 19:04 Sebastian Pipping
2021-01-03 23:37 Sam James
2021-01-03 21:10 Sam James
2021-01-03 19:40 Sam James
2021-01-03 11:38 Sergei Trofimovich
2021-01-03 9:14 Sam James
2020-10-03 19:05 Sebastian Pipping
2020-01-28 16:50 Sebastian Pipping
2019-10-26 10:44 Sebastian Pipping
2019-09-26 20:03 Mikle Kolyada
2019-09-21 1:01 Matt Turner
2019-09-20 12:10 Agostino Sarubbo
2019-09-16 22:03 Sergei Trofimovich
2019-09-16 22:02 Sergei Trofimovich
2019-09-16 22:00 Sergei Trofimovich
2019-09-16 7:57 Agostino Sarubbo
2019-09-16 7:56 Agostino Sarubbo
2019-09-15 18:39 Aaron Bauman
2019-09-14 23:36 Sergei Trofimovich
2019-09-14 18:39 Sebastian Pipping
2019-09-14 13:38 Sebastian Pipping
2019-07-28 13:48 Mikle Kolyada
2019-07-23 15:14 Aaron Bauman
2019-06-27 9:44 Agostino Sarubbo
2019-06-27 7:57 Agostino Sarubbo
2019-06-27 7:50 Agostino Sarubbo
2019-06-27 7:31 Sergei Trofimovich
2019-06-27 7:26 Sergei Trofimovich
2019-06-27 7:23 Sergei Trofimovich
2019-06-27 6:39 Sergei Trofimovich
2019-06-25 20:51 Mike Gilbert
2019-06-20 20:02 Sebastian Pipping
2019-05-04 14:53 Andreas K. Hüttel
2019-02-10 18:00 Mikle Kolyada
2019-02-10 18:00 Mikle Kolyada
2019-02-07 12:44 Mikle Kolyada
2019-02-06 0:43 Mart Raudsepp
2019-02-02 19:18 Sergei Trofimovich
2019-01-31 18:58 Tobias Klausmann
2019-01-29 19:41 Sergei Trofimovich
2019-01-28 0:48 Matt Turner
2019-01-28 0:48 Matt Turner
2018-08-15 13:19 Sebastian Pipping
2018-04-14 22:41 Mart Raudsepp
2018-02-01 20:37 Thomas Deutschmann
2018-01-29 8:22 Tobias Klausmann
2018-01-28 20:41 Markus Meier
2018-01-10 4:28 Mike Frysinger
2017-12-29 17:38 Mikle Kolyada
2017-12-24 13:38 Sergei Trofimovich
2017-12-21 19:44 Sergei Trofimovich
2017-12-21 11:05 Sergei Trofimovich
2017-12-20 21:42 Sergei Trofimovich
2017-11-01 18:33 Sebastian Pipping
2017-09-11 21:41 Sergei Trofimovich
2017-09-02 18:42 Alexis Ballier
2017-08-22 13:30 Fabian Groffen
2017-08-22 11:09 Fabian Groffen
2017-08-20 18:24 Sebastian Pipping
2017-08-02 17:54 Sebastian Pipping
2017-07-13 20:27 Sebastian Pipping
2017-06-30 7:41 Sergei Trofimovich
2017-06-23 4:40 Markus Meier
2017-06-21 12:17 Agostino Sarubbo
2017-06-21 11:57 Agostino Sarubbo
2017-06-20 20:34 Sebastian Pipping
2017-06-20 14:56 Tobias Klausmann
2017-06-20 5:17 Agostino Sarubbo
2017-06-18 14:01 Agostino Sarubbo
2017-06-17 19:13 Sebastian Pipping
2017-06-07 22:27 Sebastian Pipping
2017-01-29 16:07 Fabian Groffen
2017-01-17 20:38 Mike Frysinger
2017-01-10 7:12 Jeroen Roovers
2016-12-22 9:34 Agostino Sarubbo
2016-12-19 15:12 Agostino Sarubbo
2016-12-19 14:35 Agostino Sarubbo
2016-12-16 13:31 Fabian Groffen
2016-11-29 17:37 Markus Meier
2016-11-23 9:20 Tobias Klausmann
2016-11-19 13:55 Agostino Sarubbo
2016-11-19 13:53 Agostino Sarubbo
2016-09-10 18:28 Michael Palimaka
2016-08-04 0:36 Mike Frysinger
2016-07-09 14:42 Sebastian Pipping
2016-07-08 12:37 Sebastian Pipping
2016-07-08 12:02 Agostino Sarubbo
2016-07-08 10:02 Agostino Sarubbo
2016-07-08 7:53 Agostino Sarubbo
2016-06-27 8:23 Agostino Sarubbo
2016-06-21 18:30 Markus Meier
2016-06-21 14:38 Sebastian Pipping
2016-06-21 11:32 Jeroen Roovers
2016-06-15 15:38 Jeroen Roovers
2016-06-15 7:31 Tobias Klausmann
2016-06-04 5:07 Markus Meier
2016-05-31 9:35 Agostino Sarubbo
2016-05-31 9:30 Agostino Sarubbo
2016-05-31 4:47 Jeroen Roovers
2016-05-30 11:01 Jeroen Roovers
2016-05-30 8:21 Tobias Klausmann
2016-03-12 4:09 Sebastian Pipping
2015-08-26 8:42 Manuel Rüger
2015-08-26 7:28 Agostino Sarubbo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1621790966.da6c3ff9651e40ded9cb5e6ea16ae8e247232b68.sping@gentoo \
--to=sping@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox