public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sebastian Pipping" <sping@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/expat/
Date: Mon, 28 Mar 2022 23:01:57 +0000 (UTC)	[thread overview]
Message-ID: <1648508498.3216e358c8ca6205505e4f3ecba4b4f148a6d52d.sping@gentoo> (raw)

commit:     3216e358c8ca6205505e4f3ecba4b4f148a6d52d
Author:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
AuthorDate: Mon Mar 28 22:59:17 2022 +0000
Commit:     Sebastian Pipping <sping <AT> gentoo <DOT> org>
CommitDate: Mon Mar 28 23:01:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3216e358

dev-libs/expat: 2.4.8

Signed-off-by: Sebastian Pipping <sping <AT> gentoo.org>
Package-Manager: Portage-3.0.30, Repoman-3.0.3

 dev-libs/expat/Manifest           |  1 +
 dev-libs/expat/expat-2.4.8.ebuild | 94 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-libs/expat/Manifest b/dev-libs/expat/Manifest
index 2d9481a42a46..9ec4a515ad6a 100644
--- a/dev-libs/expat/Manifest
+++ b/dev-libs/expat/Manifest
@@ -1,2 +1,3 @@
 DIST expat-2.4.6.tar.xz 452468 BLAKE2B 8b30acc2628e3ce67ee57a4c9bee232f89f49ee70901588f7f5a34844e459cbc447fd225a734078100e52c96a73aa1f016e4f2d51d9a079128d661d97b2213c0 SHA512 830b00dbdfb92ef5cab69d783762a78443cd7d834bccda072d103c6178327cf480bde579089b1c3be884e67ddb862178fa734bd7e1f992f6f0ca29d83e21d737
 DIST expat-2.4.7.tar.xz 454136 BLAKE2B 441616f44ce585f75a67a3ebc2264e5723df55975dbfa9a9279039d3773d9e5a4b37c70a8e26787bbc8742fbc66a077e6845b540df6fede936d98065587fe3ac SHA512 e1a16cd48fcd6c4974dc7058d2e0284e0f91565835ec93f16d3f2c79647124470e5edb9f88f1ab9df5f403883a527750a4d63b941bd26fd43c05cd6f42bdcc48
+DIST expat-2.4.8.tar.xz 454428 BLAKE2B 25da91fdcdefe81740cc8129fa52bf4ceb0bbbee11f0d750485424dbc638f5fba8c30007d0f0b0e3ff5c84fe197b9b220852976272dfe5d6cc451d114297c2d7 SHA512 d19b0d6469537aed20c54bd9cfa4089d39e4acaaddde57809de7c6aec55dc870677c02480e7f65dac5620bd5454b889370453613518f9da647c74a831a2a1b7b

diff --git a/dev-libs/expat/expat-2.4.8.ebuild b/dev-libs/expat/expat-2.4.8.ebuild
new file mode 100644
index 000000000000..f397e99485c2
--- /dev/null
+++ b/dev-libs/expat/expat-2.4.8.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2022 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
+
+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="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
+}
+
+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
+}


             reply	other threads:[~2022-03-28 23:02 UTC|newest]

Thread overview: 215+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-03-28 23:01 Sebastian Pipping [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-26  0:36 [gentoo-commits] repo/gentoo:master commit in: dev-libs/expat/ Sam James
2024-11-24 18:20 Jakov Smolić
2024-11-24 18:13 Jakov Smolić
2024-11-24 18:13 Jakov Smolić
2024-11-24 16:22 Sam James
2024-11-24 16:22 Sam James
2024-11-24 16:22 Sam James
2024-11-07  2:05 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-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-05-23 17:30 Sebastian Pipping
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=1648508498.3216e358c8ca6205505e4f3ecba4b4f148a6d52d.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