From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/opensp/
Date: Thu, 20 Jan 2022 14:20:57 +0000 (UTC) [thread overview]
Message-ID: <1642688449.1ef3e6dd328ccb9c568c653b619f3db162c2aeee.sam@gentoo> (raw)
commit: 1ef3e6dd328ccb9c568c653b619f3db162c2aeee
Author: Philipp Rösner <rndxelement <AT> protonmail <DOT> com>
AuthorDate: Thu Dec 30 18:22:23 2021 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Jan 20 14:20:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ef3e6dd
app-text/opensp: port to EAPI-8
Added support for EAPI-8 in a new ebuild revision.
Bug: https://bugs.gentoo.org/783651
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Philipp Roesner <rndxelement <AT> protonmail.com>
Closes: https://github.com/gentoo/gentoo/pull/23590
Signed-off-by: Sam James <sam <AT> gentoo.org>
app-text/opensp/opensp-1.5.2-r7.ebuild | 85 ++++++++++++++++++++++++++++++++++
1 file changed, 85 insertions(+)
diff --git a/app-text/opensp/opensp-1.5.2-r7.ebuild b/app-text/opensp/opensp-1.5.2-r7.ebuild
new file mode 100644
index 000000000000..7482559846fb
--- /dev/null
+++ b/app-text/opensp/opensp-1.5.2-r7.ebuild
@@ -0,0 +1,85 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit flag-o-matic autotools
+
+MY_P=${P/opensp/OpenSP}
+
+DESCRIPTION="A free, object-oriented toolkit for SGML parsing and entity management"
+HOMEPAGE="http://openjade.sourceforge.net/"
+SRC_URI="mirror://sourceforge/openjade/${MY_P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
+IUSE="doc elibc_glibc nls static-libs test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ elibc_glibc? ( net-libs/libnsl:0= )"
+
+DEPEND="${RDEPEND}
+ nls? ( sys-devel/gettext )
+ doc? (
+ app-text/xmlto
+ app-text/docbook-xml-dtd:4.1.2
+ )
+ test? (
+ app-text/docbook-xml-dtd:4.5
+ app-text/openjade
+ app-text/sgml-common
+ )"
+
+S=${WORKDIR}/${MY_P}
+
+PATCHES=(
+ "${FILESDIR}"/${P}-fix-segfault.patch
+ "${FILESDIR}"/${P}-c11-using.patch
+)
+
+src_prepare() {
+ default
+ use prefix && eautoreconf
+}
+
+src_configure() {
+ export CONFIG_SHELL=${BASH} # configure needs bash
+
+ # The following filters are taken from openjade's ebuild. See bug #100828.
+ # Please note! Opts are disabled. If you know what you're doing
+ # feel free to remove this line. It may cause problems with
+ # docbook-sgml-utils among other things.
+ #ALLOWED_FLAGS="-O -O1 -O2 -pipe -g -march"
+ strip-flags
+
+ econf \
+ --enable-http \
+ --enable-default-catalog="${EPREFIX}"/etc/sgml/catalog \
+ --enable-default-search-path="${EPREFIX}"/usr/share/sgml \
+ --datadir="${EPREFIX}"/usr/share/sgml/${P} \
+ $(use_enable nls) \
+ $(use_enable doc doc-build) \
+ $(use_enable static-libs static)
+}
+
+src_compile() {
+ emake pkgdocdir="${EPREFIX}"/usr/share/doc/${PF}
+}
+
+src_test() {
+ # Skipping tests known not to work
+ emake SHOWSTOPPERS= check
+ SANDBOX_PREDICT="${SANDBOX_PREDICT%:/}"
+}
+
+src_install() {
+ emake \
+ DESTDIR="${D}" \
+ pkgdocdir="${EPREFIX}"/usr/share/doc/${PF} \
+ install
+
+ find "${ED}" -name '*.la' -delete || die
+
+ dodoc AUTHORS BUGS ChangeLog NEWS README
+}
next reply other threads:[~2022-01-20 14:21 UTC|newest]
Thread overview: 42+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 14:20 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-10-29 18:55 [gentoo-commits] repo/gentoo:master commit in: app-text/opensp/ Andreas K. Hüttel
2023-08-16 15:33 Arthur Zamarin
2023-08-16 2:20 Sam James
2023-08-16 2:20 Sam James
2023-08-16 2:20 Sam James
2023-08-16 2:20 Sam James
2023-08-16 2:20 Sam James
2023-08-16 2:20 Sam James
2023-08-16 2:20 Sam James
2023-05-17 2:28 Sam James
2022-11-06 10:40 Michał Górny
2022-04-29 7:59 WANG Xuerui
2022-02-27 4:03 Sam James
2022-01-29 10:09 Jakov Smolić
2022-01-29 10:07 Jakov Smolić
2022-01-29 8:49 Agostino Sarubbo
2022-01-29 7:07 Arthur Zamarin
2022-01-29 7:01 Arthur Zamarin
2022-01-29 7:00 Arthur Zamarin
2022-01-29 6:59 Arthur Zamarin
2022-01-29 6:58 Arthur Zamarin
2022-01-29 4:00 Sam James
2022-01-20 15:20 Sam James
2021-11-22 16:37 Andreas Sturmlechner
2021-11-09 22:35 Sam James
2021-11-09 21:36 Sam James
2021-11-07 6:40 Agostino Sarubbo
2021-11-07 6:40 Agostino Sarubbo
2021-11-07 6:36 Agostino Sarubbo
2021-11-07 3:15 Sam James
2021-11-07 3:15 Sam James
2021-11-07 1:34 Sam James
2021-02-08 18:59 Fabian Groffen
2019-05-04 14:43 Andreas K. Hüttel
2017-12-01 18:16 Fabian Groffen
2017-11-03 20:44 Andreas Hüttel
2017-10-28 18:56 Andreas Hüttel
2017-10-28 18:28 Andreas Hüttel
2017-09-29 11:57 Andreas Hüttel
2017-09-19 12:04 Benda XU
2017-09-16 15:57 Andreas Hüttel
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=1642688449.1ef3e6dd328ccb9c568c653b619f3db162c2aeee.sam@gentoo \
--to=sam@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