public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Akinori Hattori" <hattya@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/
Date: Sun, 20 Jul 2025 13:42:19 +0000 (UTC)	[thread overview]
Message-ID: <1753018773.fc7f8aa939730f85f6f3f41ccb0bfdac982b962e.hattya@gentoo> (raw)

commit:     fc7f8aa939730f85f6f3f41ccb0bfdac982b962e
Author:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 20 13:39:33 2025 +0000
Commit:     Akinori Hattori <hattya <AT> gentoo <DOT> org>
CommitDate: Sun Jul 20 13:39:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc7f8aa9

app-text/po4a: new upstream release

Signed-off-by: Akinori Hattori <hattya <AT> gentoo.org>

 app-text/po4a/Manifest             |  1 +
 app-text/po4a/files/po4a-man.patch | 18 +++++++++++++
 app-text/po4a/po4a-0.74.ebuild     | 55 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 74 insertions(+)

diff --git a/app-text/po4a/Manifest b/app-text/po4a/Manifest
index 2f0a93a55f45..408e4a5fe326 100644
--- a/app-text/po4a/Manifest
+++ b/app-text/po4a/Manifest
@@ -1 +1,2 @@
 DIST po4a-0.73.tar.gz 5117198 BLAKE2B 3072c3a55751610e565b71a754d79b20529d8d6f1cfd2e1c691b6de77c3a13b8a5f1c3306be4574627a0078b27f32fe38864faca5c6c03da6a92049387476f72 SHA512 5860af1da2a0ab1875a994b09ae2da481c12a6777655610e8c8ded4a6132048a33aeea10eaa756a73af1a7bf1e3e65f7ab5ded9d799904ae3240c6ec3b0a31d2
+DIST po4a-0.74.tar.gz 5907018 BLAKE2B 0b349840faad2625854738db980ae3586a8a7758be956cd19e5ff1966594c1546e0f407e5184bd90633968f97e525a45d61bd0bef94f93c43a531b19be343389 SHA512 2156b95a62788694b4c47dc651f7a0571b2e15159d6d8bcee0c6b0538aecd5b81012ae76e15ef333a7662f6b1e59b717f8bbe8137126042ae2cfe614db5b6d66

diff --git a/app-text/po4a/files/po4a-man.patch b/app-text/po4a/files/po4a-man.patch
new file mode 100644
index 000000000000..22444c1681b9
--- /dev/null
+++ b/app-text/po4a/files/po4a-man.patch
@@ -0,0 +1,18 @@
+--- a/Po4aBuilder.pm
++++ b/Po4aBuilder.pm
+@@ -243,7 +243,6 @@
+         }
+         $parser->parse_from_file( $file, $out );
+ 
+-        system("gzip", "-9", "-n", "-f", $out) and die;
+         unlink "$file" or die;
+     }
+ 
+@@ -275,7 +274,6 @@
+                     print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
+                     system("xsltproc", "-o", "$outdir/$outfile.$section", "--nonet", $docbook_xsl_url, $file) and die;
+                 }
+-                system("gzip", "-9", "-n", "-f", "$outdir/$outfile.$section") and die;
+             }
+             unlink "$file" or die;
+         }

diff --git a/app-text/po4a/po4a-0.74.ebuild b/app-text/po4a/po4a-0.74.ebuild
new file mode 100644
index 000000000000..22daa6d86014
--- /dev/null
+++ b/app-text/po4a/po4a-0.74.ebuild
@@ -0,0 +1,55 @@
+# 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 ro ru sl sr sr_Cyrl sv ta 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
+	virtual/perl-Pod-Simple"
+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
+}


             reply	other threads:[~2025-07-20 13:42 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-20 13:42 Akinori Hattori [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-07-20 13:42 [gentoo-commits] repo/gentoo:master commit in: app-text/po4a/, app-text/po4a/files/ Akinori Hattori
2024-12-11  5:42 Sam James
2024-02-11  6:56 Akinori Hattori
2024-02-11  6:56 Akinori Hattori
2022-08-02 12:51 Akinori Hattori
2021-10-09  6:58 Akinori Hattori
2020-08-01 12:59 Akinori Hattori
2020-08-01 12:59 Akinori Hattori
2019-01-19 15:29 Akinori Hattori
2017-06-16 20:29 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=1753018773.fc7f8aa939730f85f6f3f41ccb0bfdac982b962e.hattya@gentoo \
    --to=hattya@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