From fcc5224904648a8e6eb528d7603154160a20022f Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 2 Feb 2022 01:39:05 +0000 Subject: gentoo resync : 02.02.2022 --- app-text/opensp/Manifest | 2 +- app-text/opensp/opensp-1.5.2-r6.ebuild | 81 --------------------------------- app-text/opensp/opensp-1.5.2-r7.ebuild | 83 ++++++++++++++++++++++++++++++++++ 3 files changed, 84 insertions(+), 82 deletions(-) delete mode 100644 app-text/opensp/opensp-1.5.2-r6.ebuild create mode 100644 app-text/opensp/opensp-1.5.2-r7.ebuild (limited to 'app-text/opensp') diff --git a/app-text/opensp/Manifest b/app-text/opensp/Manifest index d2d2aa140e08..add8918a8886 100644 --- a/app-text/opensp/Manifest +++ b/app-text/opensp/Manifest @@ -1,5 +1,5 @@ AUX opensp-1.5.2-c11-using.patch 2626 BLAKE2B 16ff8ba1701831fa0c87e0788f8b420f1d96bf5b2f645d2d6706e82ae1767a99fed8f6ca4bd4f1abbc24bf80c4fa00d848f03056b01ac98f5b8a74d3a78c4467 SHA512 dea5fe17ea2662150b201ab6011bb01ba0f0c07689d267ec4086a914cefef3e91967f8db4be0258bac87d3cd73a9b05eb1f879415860552d9853e66e98e16e11 AUX opensp-1.5.2-fix-segfault.patch 747 BLAKE2B 544dbb8a638d2fc8fed5c7426e828d1524f4756e6882ac837b4cf3deab4e039a0b66564431b1849d9067f6071955f82b8057cde5168094da70b1419844b000fe SHA512 e0c72df8e8b191c6cecabcac550cc52918bbff7c2fddf8099ff4403de0fe817c1f3f5deb44b4c33e9d135a97a4fd8978c4090f6740c99dbadc6f9b06e24c41cf DIST OpenSP-1.5.2.tar.gz 1521390 BLAKE2B 2c6f8dfc721c77ab223aa67e90c8dfb45855b74fdd382ac98303c6fb23af08019ca96b5430bcdb87b9e86fc333114bd8b2e5f243c87f2cf84ee04c880c8c309b SHA512 a7dcc246ba7f58969ecd6d107c7b82dede811e65f375b7aa3e683621f2c6ff3e7dccefdd79098fcadad6cca8bb94c2933c63f4701be2c002f9a56f1bbe6b047e -EBUILD opensp-1.5.2-r6.ebuild 2082 BLAKE2B 34c5958335d5a556e7b7faf08bc38afc7eef200239f26b55da7ec9bf78493cf506ca07ffae600886a409ef5927a0f84c3b5d0c8346218e0059729de887985244 SHA512 c005aed3eb1c85e0955b532515227cc20977c158346b54aee7b1335bdc0f4f339ed7b5ee6dc4a8c4743a31f303833f5a2f2b02d66df77794f29d10cd47a77d31 +EBUILD opensp-1.5.2-r7.ebuild 2103 BLAKE2B 3fc8034b281bf7f97fa2f8b30ba7e7a43f835ad1d5b9011115a810cf508c5861a2cb965a7316990e85e96403109fcddfc7eb34bea2375241bbfd36e87fc32a0a SHA512 142cb390ab5fec7703eec1f62c63bbad2043c20797eac2752d16b03d7b43a41de2ea67c7c94bac4982d6b99c6bc24ff5a5850e8eded03dd325e5a3d456981b56 MISC metadata.xml 321 BLAKE2B 5571226bba817c3d5cc47e0bd7d67e82399403e24e7773104f33b13bf40d95113da9613db2bd77408557e6793b9efb6d435402a7b680d07e1e3e6952614bdedd SHA512 95c0d6759a91874b81b707e479eee48bf67ba762584587b4027b583e42d63a83018a3243fe81b6649090d1e0167ab825b591dfccbd3a8db9078b1a80f729de15 diff --git a/app-text/opensp/opensp-1.5.2-r6.ebuild b/app-text/opensp/opensp-1.5.2-r6.ebuild deleted file mode 100644 index 433e25dafb4a..000000000000 --- a/app-text/opensp/opensp-1.5.2-r6.ebuild +++ /dev/null @@ -1,81 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit epatch 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 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} - -src_prepare() { - epatch "${FILESDIR}"/${P}-fix-segfault.patch - epatch "${FILESDIR}"/${P}-c11-using.patch - 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 -} 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..ddf0d6074591 --- /dev/null +++ b/app-text/opensp/opensp-1.5.2-r7.ebuild @@ -0,0 +1,83 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools flag-o-matic + +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" +S="${WORKDIR}"/${MY_P} + +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}" +BDEPEND="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 + )" + +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 +} -- cgit v1.2.3