From 78634f348a30a55cc55606ee1ecde032241ceaeb Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 19 Mar 2023 06:33:49 +0000 Subject: gentoo auto-resync : 19:03:2023 - 06:33:49 --- app-text/xml2doc/Manifest | 2 +- app-text/xml2doc/xml2doc-20030510-r1.ebuild | 50 -------------------------- app-text/xml2doc/xml2doc-20030510-r2.ebuild | 56 +++++++++++++++++++++++++++++ 3 files changed, 57 insertions(+), 51 deletions(-) delete mode 100644 app-text/xml2doc/xml2doc-20030510-r1.ebuild create mode 100644 app-text/xml2doc/xml2doc-20030510-r2.ebuild (limited to 'app-text/xml2doc') diff --git a/app-text/xml2doc/Manifest b/app-text/xml2doc/Manifest index 67f2fa5b3a3f..569d8d4be8e6 100644 --- a/app-text/xml2doc/Manifest +++ b/app-text/xml2doc/Manifest @@ -2,5 +2,5 @@ AUX xml2doc-20030510-gcc10-no-common.patch 195 BLAKE2B 3c90b98f57ae23f78b586dadf AUX xml2doc-20030510-makefile.patch 2661 BLAKE2B d9822ba57187553ae6da3f2b3f146bd3ae4316a99cb9608d88112a18462345c4614e167bb3757a723b6a12e2b521f1a2fb575ef19db480ed45fa60e133297c38 SHA512 c5aee7f9b98f1c64345459cb3ad6132082c04020a56f39fa950584689953c1058564332351a5b51e130e077fbe15c08ea88f35504888a153bfc878d8210b8b00 AUX xml2doc-pointer_fix.patch 627 BLAKE2B 3ca9313b44d88fce3f548874d40ed57b42b9faa66e30574677c911f7d5c9d0a8d5eea8c35781162302543df82c5b38b1327fcaabee0a50c396c95937c3a86e44 SHA512 ebdf69986821fdb1a22e3da4447729433d7f30d08e516b5b28c1f9e4fe6ec98d7a31e925028f940e8a0aaab5c05bd52a1a4d12564fd47a79953b1de606fd2430 DIST xml2doc-20030510.tgz 53307 BLAKE2B 3f7e44ede6ac0a2ec4762e66181de34ffe553035b54ee302345d1b38a5063106fc4ba65abec042b4ec693b173d70fc4b548ebc942b2a8f6636f84e7beeed2bd6 SHA512 9eb2970b7adef1669b9b0aede2b3d2b42ba234c8294f0f8e6e230d8fcc6cf878675b2f0bff87ee36a255ab29376be844d92d382be7aad0ab11972847cfe49dbd -EBUILD xml2doc-20030510-r1.ebuild 1012 BLAKE2B 543ba177f5285871fe35bda2f8c548028b7d08ec1193fe37aa09c650848da76e03ef729f3fe1c86243670cd13c7ed7414a91f6ddd2adc74b82e3659919332f91 SHA512 27ffa164b74cfad3626604513c4d6656cb5af0e0434bb92e582531e6ef1fe451753db3c8b7209ca38663faa5b5bc346ae093badd8d6b8859947777d7ce37c28f +EBUILD xml2doc-20030510-r2.ebuild 1088 BLAKE2B 4a739f2f8cdfcd55fbe21822f547f8fab013bd8924cdd7a712b358d4faeb19135c9167bcfa3d2c73e794e9f88bfcf03d9b6f71d01cfc5d4e0e3737346d2184c5 SHA512 f717bf75d3fe45f20b56f62d64ac54d9d6e399b198f9fa76a32b5fb554b927c93f52913f8093cbc9b06cab20d404ad6cee5418593f0ee66b517317b6856d7d13 MISC metadata.xml 245 BLAKE2B f5e3f7bf9f5d8294e59111e22f4c6ae5895dac97fa7754c8dfc4a7738d748df02d86dd9ff916151048c1b2063e25a4f229126846bed336d660f8ced4fd0ce62e SHA512 780b06043597f15cbbbb3d281e5c8c5ed901b539f62a6bcd9d7571c1436d970ef5ea46b12bca015007082baaf5e454cf60a692114df77ac25b47f7cf19ca2158 diff --git a/app-text/xml2doc/xml2doc-20030510-r1.ebuild b/app-text/xml2doc/xml2doc-20030510-r1.ebuild deleted file mode 100644 index 919ecba3c27c..000000000000 --- a/app-text/xml2doc/xml2doc-20030510-r1.ebuild +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit toolchain-funcs - -DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" -HOMEPAGE="http://xml2doc.sourceforge.net" -SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" - -DEPEND="dev-libs/libxml2:2" -RDEPEND="${DEPEND}" - -S="${WORKDIR}/${PN}" - -PATCHES=( - # Fix pointer-related bug detected by a QA notice - "${FILESDIR}"/${PN}-pointer_fix.patch - # Don't strip symbols from binary (bug #152266) - "${FILESDIR}"/${P}-makefile.patch - # fix GCC 10 -fno-common change - "${FILESDIR}"/${P}-gcc10-no-common.patch -) - -src_configure() { - tc-export CC - econf --disable-pdf -} - -src_compile() { - default - - cd doc || die - "${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die -} - -src_install() { - dobin src/xml2doc - - einstalldocs - docinto examples - dodoc examples/*.{xml,png} - - doman doc/xml2doc.1 -} diff --git a/app-text/xml2doc/xml2doc-20030510-r2.ebuild b/app-text/xml2doc/xml2doc-20030510-r2.ebuild new file mode 100644 index 000000000000..471710170ee3 --- /dev/null +++ b/app-text/xml2doc/xml2doc-20030510-r2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools toolchain-funcs + +DESCRIPTION="Tool to convert simple XML to a variety of formats (pdf, html, txt, manpage)" +HOMEPAGE="http://xml2doc.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${P}.tgz" +S="${WORKDIR}/${PN}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha amd64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86" + +DEPEND="dev-libs/libxml2:2" +RDEPEND="${DEPEND}" + +PATCHES=( + # Fix pointer-related bug detected by a QA notice + "${FILESDIR}"/${PN}-pointer_fix.patch + # Don't strip symbols from binary (bug #152266) + "${FILESDIR}"/${P}-makefile.patch + # Fix GCC 10 -fno-common change + "${FILESDIR}"/${P}-gcc10-no-common.patch +) + +src_prepare() { + default + + # Clang 16, bug #900539 + eautoreconf +} + +src_configure() { + tc-export CC + econf --disable-pdf +} + +src_compile() { + default + + cd doc || die + "${S}"/src/xml2doc -oM manpage.xml xml2doc.1 || die +} + +src_install() { + dobin src/xml2doc + + einstalldocs + docinto examples + dodoc examples/*.{xml,png} + + doman doc/xml2doc.1 +} -- cgit v1.2.3