diff options
Diffstat (limited to 'app-text/po4a')
-rw-r--r-- | app-text/po4a/Manifest | 7 | ||||
-rw-r--r-- | app-text/po4a/files/po4a-man.patch | 18 | ||||
-rw-r--r-- | app-text/po4a/po4a-0.47-r1.ebuild | 6 | ||||
-rw-r--r-- | app-text/po4a/po4a-0.54.ebuild | 4 | ||||
-rw-r--r-- | app-text/po4a/po4a-0.55.ebuild | 52 |
5 files changed, 82 insertions, 5 deletions
diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest index 401848429263..f5d3b916b171 100644 --- a/app-text/po4a/Manifest +++ b/app-text/po4a/Manifest @@ -1,6 +1,9 @@ AUX po4a-0.45-614122-no-dot-inc.patch 473 BLAKE2B 1ff10a5637d25c57500b6cb953442bf8e9ddd57f778e8772ffbed27e9d5a98be6d55f77e7665b0ab7fd975d886bd2893a432c6c9c9713a090a37727cecf0f3f7 SHA512 0a651b9de200b3ca08b3c849f24eba6cfbac93dd5f35911c9bf2aade174cbec27ad2c5a061a628db1b308dc9c576e2dad3db71da9a507d6337bed9ce620ad042 +AUX po4a-man.patch 621 BLAKE2B abdbac744d7395ec5f008e2ac2bcfd9aecf0f24726acd1e32a2a243995d9f26b0099e2194848a9a4d3b01dc24d4657cdc4470977838a96a1979495871dac5b8b SHA512 0d797b92c551eb75fa144e9b39d1aacc8acb00104a6d9e0dbdf4d00219b4c0c074637c953764e8cf1d67bdb1f3941fa0727da242b7761a96a8dafe66af224397 DIST po4a-0.54.tar.gz 2686485 BLAKE2B f33f1e27bd24e4429ef8edbdd999333714e9a50e4af2c60ccffec91098bf330776c4ee9de9b6d4cdb459b67a26a1a6e4b8a0ead7efa82fe97584405a15245ef4 SHA512 5d97a169c73bcb872247599af477ecca9112b9ff576dfb93a2aa06b9891464a1837d799304f1a3ea8344ad46a4529ec19568584b7914761deccc09a9099e3130 +DIST po4a-0.55.tar.gz 2892158 BLAKE2B 606236a4bc143d4a5cc003f7dfaf59f605017478fc7ab3fc66af5eed078a8bb0744690b7191cd2ee0b795229e766145ed47545484e3d20e6a14ae1ac0981772a SHA512 95f7408caf2c603f2ea86d8439e99c39be72dca019361106190bd6e1f95679c6627280bcd02a2d9c843071a6ce96747bf5b4d85c9051344b08f32deade2cb599 DIST po4a_0.47.orig.tar.gz 2389750 BLAKE2B 72cd81e10f638a660e201b0c733b08c316aa75dd29b054bbc4c645c265b9e7745ce762305a8296f8cc37d2f182755dfa1394861f6c471cff1c7c398d13ac28cc SHA512 9c459a9795977a39aacc09cfb6ddbdc7dd2174e22896fa7bde90510a43ea833054aef558f7ca798991addc052a2c7f91ee11e5d49658a5c80a9ecb9c135ff97a -EBUILD po4a-0.47-r1.ebuild 1650 BLAKE2B cd8722f1395fa346d5caeea4d93f589c52ac3f2090cd0aa7d8793fb859cb7527108daef206d4e9220cd41a0a3a44c59d606fd5f2a918e7b96ce42c52aef31b5b SHA512 28763203b7bd298066eeb6a5ce4d26b740a4a4012a22e3558c5d24896afc3ed001208dcfecc00e82417a55aa6b2827df695365b847cfc361f4d4722cbe2f3748 -EBUILD po4a-0.54.ebuild 1255 BLAKE2B 48e731fd7b249a611979055cfe27a235948ba4295496bdcc7ddf7e15caf5c18caab66c1e8b161045ca559d340a116ce96db65558cfacc38c1f2156e7aa87dc92 SHA512 001803eb00fecf849ce167bc90e63c1b0ada849c08c91e9ca6a889daeaaa06338b522d31ce96fad005ca2ba7c73b779bb21d4578b19888633d5ff370890c04e3 +EBUILD po4a-0.47-r1.ebuild 1679 BLAKE2B 1e5ad4809bf26a0b6fc31b9b88e7aec0a639d7585693d19e0c83461dc10be62b999f6dd3b5375dbe1f81fa4133aa7ed51211a6ea9f467634a5ac6aeed8f53c3a SHA512 9faf0ae116996c07bafaf1fef5c9d6ae0c23b85e4ec813e363ed4476bb5d62f890c267c1360df3a42bb05fac94685f97f8ad51e3616b15491385246cd5137633 +EBUILD po4a-0.54.ebuild 1295 BLAKE2B 30c5351226ff055e5c1252abc4be74b533b7c9a32927dbd99d25ed0d361668f48cbedc23edb915e9df9101575f984ee4d207511377f9f8288d9e0779dc647a68 SHA512 3738487c57b8376d993df7116dd181f3b5fb2a8d5b780e2490d311ece4ff269b097b3de83c35fde0f222551368f61e7b95d83840b99e8fd7ca9973b1c7116cb3 +EBUILD po4a-0.55.ebuild 1295 BLAKE2B 30c5351226ff055e5c1252abc4be74b533b7c9a32927dbd99d25ed0d361668f48cbedc23edb915e9df9101575f984ee4d207511377f9f8288d9e0779dc647a68 SHA512 3738487c57b8376d993df7116dd181f3b5fb2a8d5b780e2490d311ece4ff269b097b3de83c35fde0f222551368f61e7b95d83840b99e8fd7ca9973b1c7116cb3 MISC metadata.xml 326 BLAKE2B 6ec11e49a2b25069f1e2eeac2eaa7ce8adb48704986f873ba92de8a1328e7d2963cd79efac7d2672bdde1fc6c71cddbfa11fbb4bfd4cda28fa1f92e350ef5be6 SHA512 2fbc62c1bbc9a555103e9ba0eb3389004f9770eaff51e00fea853051ac6da43312366d3a50ba63ad28453219dfc8970f9a78c7af2bf7799f58911a33e0bfd3f9 diff --git a/app-text/po4a/files/po4a-man.patch b/app-text/po4a/files/po4a-man.patch new file mode 100644 index 000000000000..6dd94aed153d --- /dev/null +++ b/app-text/po4a/files/po4a-man.patch @@ -0,0 +1,18 @@ +--- a/Po4aBuilder.pm ++++ b/Po4aBuilder.pm +@@ -233,7 +233,6 @@ + } + $parser->parse_from_file ($file, $out); + +- system("gzip -9 -f $out") and die; + unlink "$file" || die; + } + +@@ -245,7 +244,6 @@ + if ($file =~ m,(.*/man(.))/([^/]*)\.xml$,) { + my ($outdir, $section, $outfile) = ($1, $2, $3); + system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die; +- system ("gzip -9 -f $outdir/$outfile.$section") and die; + } + unlink "$file" || die; + } diff --git a/app-text/po4a/po4a-0.47-r1.ebuild b/app-text/po4a/po4a-0.47-r1.ebuild index 94311ba3d578..dcf757c2f2b7 100644 --- a/app-text/po4a/po4a-0.47-r1.ebuild +++ b/app-text/po4a/po4a-0.47-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -37,8 +37,10 @@ DIST_TEST="do" PATCHES=( # Fix bad escaping of '.' in @INC modification - "${FILESDIR}/${PN}-0.45-614122-no-dot-inc.patch" + "${FILESDIR}"/${PN}-0.45-614122-no-dot-inc.patch + "${FILESDIR}"/${PN}-man.patch ) + src_prepare() { # Check against locale files in ${S}/pod/bin for mismatches # with languages listed in PLOCALES diff --git a/app-text/po4a/po4a-0.54.ebuild b/app-text/po4a/po4a-0.54.ebuild index 52fdda5fc38b..45fe4908e046 100644 --- a/app-text/po4a/po4a-0.54.ebuild +++ b/app-text/po4a/po4a-0.54.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2019 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI="6" @@ -33,6 +33,8 @@ DEPEND="${RDEPEND} virtual/tex-base )" +PATCHES=( "${FILESDIR}"/${PN}-man.patch ) + PERL_RM_FILES=( t/09-html.t ) diff --git a/app-text/po4a/po4a-0.55.ebuild b/app-text/po4a/po4a-0.55.ebuild new file mode 100644 index 000000000000..45fe4908e046 --- /dev/null +++ b/app-text/po4a/po4a-0.55.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +PLOCALES="af ca cs da de eo es et eu fr hr id it ja kn ko nb nl pl pt_BR pt ru sl sv uk vi zh_CN zh_HK" + +inherit perl-module l10n + +DESCRIPTION="Tools to ease the translation of documentation" +HOMEPAGE="https://po4a.org/" +SRC_URI="https://github.com/mquinson/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris" +IUSE="test" + +RDEPEND="app-text/opensp + dev-libs/libxslt + dev-perl/Locale-gettext + dev-perl/SGMLSpm + dev-perl/TermReadKey + dev-perl/Text-WrapI18N + dev-perl/Unicode-LineBreak + dev-perl/YAML-Tiny + sys-devel/gettext" +DEPEND="${RDEPEND} + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xsl-stylesheets + dev-perl/Module-Build + test? ( + app-text/docbook-sgml-dtd:4.1 + virtual/tex-base + )" + +PATCHES=( "${FILESDIR}"/${PN}-man.patch ) + +PERL_RM_FILES=( + t/09-html.t +) +DIST_TEST="do" + +src_prepare() { + l10n_find_plocales_changes "${S}/po/bin" '' '.po' + + rm_locale() { + PERL_RM_FILES+=( po/{bin,pod}/${1}.po ) + } + l10n_for_each_disabled_locale_do rm_locale + + perl-module_src_prepare +} |