mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-05 00:28:09 -07:00
app-text/po4a: drop old
Signed-off-by: Akinori Hattori <hattya@gentoo.org>
This commit is contained in:
@@ -1,4 +1 @@
|
||||
DIST po4a-0.69.tar.gz 4665710 BLAKE2B 2fc1b6cd53f1b282f20cd4932de7f5d6d9882de9f50181f0de89995c9d9b79b5fd2bc53d3757c56c519478e67ac636deb5a011cc8810a002b6bb6dabdb44442b SHA512 9cb5eec547ab18d1c3ebdda212b909fc4f5489a74641ba2d7e0a3a1d060f245d23667c16e687c678c5ccc3809c9315d20673266dcc3764172a899caa397238e3
|
||||
DIST po4a-0.71.tar.gz 4860322 BLAKE2B 8a5d1f8dd17b435bf1ada91b4c49862eed97775c574d2972d749f6126eb5f654cc4f8a1def3d4b9ddf50f86c8d02e4f328cbb0406eb91e5224e9373c2063441e SHA512 67ba925433d95ebd6675ce2e58b2664a07a00016ca4b5029845e485dfad1804737a00935e2da162e2488e4c21b947e7fa32b40ac3d9b28d4729d8f93c3f2040b
|
||||
DIST po4a-0.72.tar.gz 4888348 BLAKE2B f97b14a3c686bdb0cab0088375dd6d190582df57bd36cb4c44b436fd1618d88cbe7551484d453596669e16920ceac459efc085fd50a2b25cc6c9dd5f62213f9e SHA512 f47f7cf2718ff0690c82202e1a5eff3dedd0b35c4f139658c600c307c8f073689fa50ec4ad4b948881863631be6f8d1944b56b13ba2b63ec5323368724286859
|
||||
DIST po4a-0.73.tar.gz 5117198 BLAKE2B 3072c3a55751610e565b71a754d79b20529d8d6f1cfd2e1c691b6de77c3a13b8a5f1c3306be4574627a0078b27f32fe38864faca5c6c03da6a92049387476f72 SHA512 5860af1da2a0ab1875a994b09ae2da481c12a6777655610e8c8ded4a6132048a33aeea10eaa756a73af1a7bf1e3e65f7ab5ded9d799904ae3240c6ec3b0a31d2
|
||||
|
||||
@@ -1,27 +0,0 @@
|
||||
https://bugs.gentoo.org/938967
|
||||
https://github.com/mquinson/po4a/commit/7cf7b79ee28de7e58378b225570d49fd114ff75e.patch
|
||||
|
||||
From 7cf7b79ee28de7e58378b225570d49fd114ff75e Mon Sep 17 00:00:00 2001
|
||||
From: Jan Palus <jpalus@fastmail.com>
|
||||
Date: Mon, 3 Jul 2023 14:56:04 +0200
|
||||
Subject: [PATCH] SGML: replace invalid byte (0xa0) in comment with space
|
||||
(0x20)
|
||||
|
||||
Fixes #428
|
||||
---
|
||||
lib/Locale/Po4a/Sgml.pm | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/lib/Locale/Po4a/Sgml.pm b/lib/Locale/Po4a/Sgml.pm
|
||||
index 39dd66f2..d02f269d 100644
|
||||
--- a/lib/Locale/Po4a/Sgml.pm
|
||||
+++ b/lib/Locale/Po4a/Sgml.pm
|
||||
@@ -773,7 +773,7 @@ sub parse_file {
|
||||
while ( $origfile =~ /^(.*?)&$key(;.*$|[^-_:.A-Za-z0-9].*$|$)/s ) {
|
||||
|
||||
# Since we will include a new file, we
|
||||
- # must do a new round of substitutions.
|
||||
+ # must do a new round of substitutions.
|
||||
$dosubstitution = 1;
|
||||
my ( $begin, $end ) = ( $1, $2 );
|
||||
$end = "" unless ( defined $end );
|
||||
@@ -1,18 +0,0 @@
|
||||
--- a/Po4aBuilder.pm
|
||||
+++ b/Po4aBuilder.pm
|
||||
@@ -234,7 +234,6 @@
|
||||
}
|
||||
$parser->parse_from_file ($file, $out);
|
||||
|
||||
- system("gzip -9 -n -f $out") and die;
|
||||
unlink "$file" || die;
|
||||
}
|
||||
|
||||
@@ -253,7 +252,6 @@
|
||||
print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
|
||||
system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die;
|
||||
}
|
||||
- system ("gzip -9 -n -f $outdir/$outfile.$section") and die;
|
||||
}
|
||||
unlink "$file" || die;
|
||||
}
|
||||
@@ -1,31 +0,0 @@
|
||||
https://bugs.gentoo.org/938967
|
||||
https://github.com/mquinson/po4a/commit/28fe52651eb8096d97d6bd3a97b3168522ba5306 (backport)
|
||||
|
||||
From 45c835a04a388940c627f0c6b8c26554c0ee2b14 Mon Sep 17 00:00:00 2001
|
||||
From: Martin Quinson <martin.quinson@ens-rennes.fr>
|
||||
Date: Fri, 12 Jul 2024 10:21:34 +0200
|
||||
Subject: [PATCH] Fix failures with DynaLoader on Perl 5.40
|
||||
|
||||
Thanks to dstoecker for the patch provided in the OpenSuse package,
|
||||
and to ana for pointing me to it.
|
||||
|
||||
Fixes https://github.com/mquinson/po4a/issues/508
|
||||
|
||||
(cherry picked from commit 28fe52651eb8096d97d6bd3a97b3168522ba5306)
|
||||
---
|
||||
lib/Locale/Po4a/TransTractor.pm | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/lib/Locale/Po4a/TransTractor.pm b/lib/Locale/Po4a/TransTractor.pm
|
||||
index b83dd25b..68296cb1 100644
|
||||
--- a/lib/Locale/Po4a/TransTractor.pm
|
||||
+++ b/lib/Locale/Po4a/TransTractor.pm
|
||||
@@ -5,6 +5,8 @@ require Exporter;
|
||||
package Locale::Po4a::TransTractor;
|
||||
use DynaLoader;
|
||||
|
||||
+sub import { }
|
||||
+
|
||||
use 5.006;
|
||||
use strict;
|
||||
use warnings;
|
||||
@@ -1,23 +0,0 @@
|
||||
--- a/Po4aBuilder.pm 2024-09-14 15:48:58.642546000 +0800
|
||||
+++ b/Po4aBuilder.pm 2024-09-14 15:50:38.415546000 +0800
|
||||
@@ -242,15 +242,17 @@ sub ACTION_man {
|
||||
foreach $file (qw(po4a-display-man.xml po4a-display-pod.xml)) {
|
||||
copy ( File::Spec->catdir("share", "doc", $file), $man1path) or die;
|
||||
}
|
||||
+ my $docbook_xsl_url = "http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl";
|
||||
+ my $local_docbook_xsl = `xmlcatalog --noout "" "$docbook_xsl_url"` =~ m,file://(.+\.xsl), && $1;
|
||||
foreach $file (@{$self->rscan_dir($manpath, qr{\.xml$})}) {
|
||||
if ($file =~ m,(.*/man(.))/([^/]*)\.xml$,) {
|
||||
my ($outdir, $section, $outfile) = ($1, $2, $3);
|
||||
- if (-e "/usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl") { # Location on Debian at least
|
||||
+ if ($local_docbook_xsl) {
|
||||
print "Convert $outdir/$outfile.$section (local docbook.xsl file). ";
|
||||
- system("xsltproc -o $outdir/$outfile.$section --nonet /usr/share/xml/docbook/stylesheet/docbook-xsl/manpages/docbook.xsl $file") and die;
|
||||
+ system("xsltproc -o $outdir/$outfile.$section --nonet $local_docbook_xsl $file") and die;
|
||||
} else { # Not found locally, use the XSL file online
|
||||
print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
|
||||
- system("xsltproc -o $outdir/$outfile.$section --nonet http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl $file") and die;
|
||||
+ system("xsltproc -o $outdir/$outfile.$section --nonet $docbook_xsl_url $file") and die;
|
||||
}
|
||||
}
|
||||
unlink "$file" || die;
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja ka kn ko nb nl pl pt pt_BR ru sl sr_Cyrl sv uk vi zh_CN zh_HK zh_Hant"
|
||||
|
||||
inherit perl-module plocale
|
||||
|
||||
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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/opensp
|
||||
dev-libs/libxslt
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Pod-Parser
|
||||
dev-perl/SGMLSpm
|
||||
dev-perl/Syntax-Keyword-Try
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Text-WrapI18N
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-perl/YAML-Tiny
|
||||
sys-devel/gettext"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-perl/Module-Build
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
app-text/docbook-sgml-dtd:4.1
|
||||
dev-perl/Test-Pod
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-man.patch
|
||||
"${FILESDIR}"/${P}-xmlcatalog.patch
|
||||
)
|
||||
|
||||
DIST_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
plocale_find_changes "${S}/po/bin" '' '.po'
|
||||
|
||||
rm_locale() {
|
||||
PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
|
||||
}
|
||||
plocale_for_each_disabled_locale rm_locale
|
||||
|
||||
perl-module_src_prepare
|
||||
}
|
||||
@@ -1,62 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja ka kn ko nb nl pl pt pt_BR ru sl sr_Cyrl sv uk vi zh_CN zh_HK zh_Hant"
|
||||
|
||||
inherit perl-module plocale
|
||||
|
||||
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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/opensp
|
||||
dev-libs/libxslt
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Pod-Parser
|
||||
dev-perl/SGMLSpm
|
||||
dev-perl/Syntax-Keyword-Try
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Text-WrapI18N
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-perl/YAML-Tiny
|
||||
sys-devel/gettext"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-perl/Module-Build
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
app-text/docbook-sgml-dtd:4.1
|
||||
dev-perl/Test-Pod
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-man.patch
|
||||
"${FILESDIR}"/${P}-xmlcatalog.patch
|
||||
"${FILESDIR}"/${P}-perl5.40.patch # bug #938967
|
||||
# The perl5.40 patch triggers:
|
||||
# XX Update po/bin/po4a.pot
|
||||
# xgettext: Comment at or before ../../lib/Locale/Po4a/Sgml.pm:776 is not UTF-8 encoded.
|
||||
"${FILESDIR}"/${P}-invalid-byte.patch
|
||||
)
|
||||
|
||||
DIST_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
plocale_find_changes "${S}/po/bin" '' '.po'
|
||||
|
||||
rm_locale() {
|
||||
PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
|
||||
}
|
||||
plocale_for_each_disabled_locale rm_locale
|
||||
|
||||
perl-module_src_prepare
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja ka kn ko nb nl pl pt pt_BR ru sl sr_Cyrl sv uk vi zh_Hans zh_Hant"
|
||||
|
||||
inherit perl-module plocale
|
||||
|
||||
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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/opensp
|
||||
dev-libs/libxslt
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Pod-Parser
|
||||
dev-perl/SGMLSpm
|
||||
dev-perl/Syntax-Keyword-Try
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Text-WrapI18N
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-perl/YAML-Tiny
|
||||
sys-devel/gettext"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-perl/Module-Build
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
app-text/docbook-sgml-dtd:4.1
|
||||
dev-perl/Test-Pod
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-man.patch
|
||||
"${FILESDIR}"/${PN}-perl5.40.patch # bug #938967
|
||||
)
|
||||
|
||||
DIST_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
plocale_find_changes "${S}/po/bin" '' '.po'
|
||||
|
||||
rm_locale() {
|
||||
PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
|
||||
}
|
||||
plocale_for_each_disabled_locale rm_locale
|
||||
|
||||
perl-module_src_prepare
|
||||
}
|
||||
@@ -1,57 +0,0 @@
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja ka kn ko nb nl pl pt pt_BR ru sl sr_Cyrl sv uk vi zh_Hans zh_Hant"
|
||||
|
||||
inherit perl-module plocale
|
||||
|
||||
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 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/opensp
|
||||
dev-libs/libxslt
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Pod-Parser
|
||||
dev-perl/SGMLSpm
|
||||
dev-perl/Syntax-Keyword-Try
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Text-WrapI18N
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-perl/YAML-Tiny
|
||||
sys-devel/gettext"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-perl/Module-Build
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
app-text/docbook-sgml-dtd:4.1
|
||||
dev-perl/Test-Pod
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-man.patch
|
||||
"${FILESDIR}"/${PN}-perl5.40.patch # bug #938967
|
||||
)
|
||||
|
||||
DIST_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
plocale_find_changes "${S}/po/bin" '' '.po'
|
||||
|
||||
rm_locale() {
|
||||
PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
|
||||
}
|
||||
plocale_for_each_disabled_locale rm_locale
|
||||
|
||||
perl-module_src_prepare
|
||||
}
|
||||
@@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="8"
|
||||
PLOCALES="ace af ar ca cs da de eo es et eu fr hr hu id it ja ka kn ko nb nl pl pt pt_BR ru sl sr sr_Cyrl sv uk vi zh_Hans zh_Hant"
|
||||
|
||||
inherit perl-module plocale
|
||||
|
||||
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 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="app-text/opensp
|
||||
dev-libs/libxslt
|
||||
dev-perl/Locale-gettext
|
||||
dev-perl/Pod-Parser
|
||||
dev-perl/SGMLSpm
|
||||
dev-perl/Syntax-Keyword-Try
|
||||
dev-perl/TermReadKey
|
||||
dev-perl/Text-WrapI18N
|
||||
dev-perl/Unicode-LineBreak
|
||||
dev-perl/YAML-Tiny
|
||||
sys-devel/gettext"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="app-text/docbook-xml-dtd:4.1.2
|
||||
app-text/docbook-xsl-stylesheets
|
||||
dev-perl/Module-Build
|
||||
sys-devel/gettext
|
||||
test? (
|
||||
app-text/docbook-sgml-dtd:4.1
|
||||
dev-perl/Test-Pod
|
||||
virtual/latex-base
|
||||
)"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${PN}-man.patch )
|
||||
|
||||
DIST_TEST="do"
|
||||
|
||||
src_prepare() {
|
||||
plocale_find_changes "${S}/po/bin" '' '.po'
|
||||
|
||||
rm_locale() {
|
||||
PERL_RM_FILES+=( po/{bin,pod}/${1}.po )
|
||||
}
|
||||
plocale_for_each_disabled_locale rm_locale
|
||||
|
||||
perl-module_src_prepare
|
||||
}
|
||||
Reference in New Issue
Block a user