pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/textproc/po4a
Module Name: pkgsrc
Committed By: adam
Date: Sat Jul 12 15:34:12 UTC 2025
Modified Files:
pkgsrc/textproc/po4a: Makefile distinfo
pkgsrc/textproc/po4a/patches: patch-Po4aBuilder.pm
Log Message:
po4a: updated to 0.74
0.74
General:
* Fix a failure with Perl 5.40.
* Add --target-lang option to po4a
* Include bash_completion files
Copy the share/bash-completion/completions/ files under /usr to use them.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/textproc/po4a/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/textproc/po4a/distinfo
cvs rdiff -u -r1.12 -r1.13 pkgsrc/textproc/po4a/patches/patch-Po4aBuilder.pm
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/textproc/po4a/Makefile
diff -u pkgsrc/textproc/po4a/Makefile:1.75 pkgsrc/textproc/po4a/Makefile:1.76
--- pkgsrc/textproc/po4a/Makefile:1.75 Fri Jul 4 08:48:45 2025
+++ pkgsrc/textproc/po4a/Makefile Sat Jul 12 15:34:12 2025
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.75 2025/07/04 08:48:45 wiz Exp $
+# $NetBSD: Makefile,v 1.76 2025/07/12 15:34:12 adam Exp $
-DISTNAME= po4a-0.73
-PKGREVISION= 6
+DISTNAME= po4a-0.74
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=mquinson/}
GITHUB_TAG= v${PKGVERSION_NOREV}
Index: pkgsrc/textproc/po4a/distinfo
diff -u pkgsrc/textproc/po4a/distinfo:1.36 pkgsrc/textproc/po4a/distinfo:1.37
--- pkgsrc/textproc/po4a/distinfo:1.36 Wed Jun 19 09:29:33 2024
+++ pkgsrc/textproc/po4a/distinfo Sat Jul 12 15:34:12 2025
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.36 2024/06/19 09:29:33 adam Exp $
+$NetBSD: distinfo,v 1.37 2025/07/12 15:34:12 adam Exp $
-BLAKE2s (po4a-0.73.tar.gz) = ea87a6025ba861461db7ef24dca53ad0d3bd732ab9dcb821637d6bd6ac6029a9
-SHA512 (po4a-0.73.tar.gz) = 9d26a6ac5f6578a6719d8380ad32e25433a5ca8643bbdd853b0adf4afcb5b84ad2c5f68b5898672bc8d264b7d624fe648b5edc31f08ab18807aa24b55ae972c6
-Size (po4a-0.73.tar.gz) = 4170054 bytes
-SHA1 (patch-Po4aBuilder.pm) = 825d5e508d527644edfaca4ceb8b634cdcc89bec
+BLAKE2s (po4a-0.74.tar.gz) = 595a886a782c91bfafdf2119f2556972a8f6319f59da5264d228ff4b77acf9c6
+SHA512 (po4a-0.74.tar.gz) = 0af7099ea25ac3bc8667c84acf0e0b3c9bbcfd45661dc9befe88b2f3363d6c6c428699ca740a470eaefbe1bf9d55fb218844e0e69104a424fbde71eb240cbdd4
+Size (po4a-0.74.tar.gz) = 4769421 bytes
+SHA1 (patch-Po4aBuilder.pm) = d462349a6b4bf18182a8cd0fe54cf3c1aaf5b172
SHA1 (patch-lib_Locale_Po4a_Po.pm) = 649b19ed250c663019dfb98723c61e13b47e6512
SHA1 (patch-msguntypot) = 0f53ba5a0a76021c52becec9f0d31e67c998ae0a
SHA1 (patch-po4a) = b589f42086f3a6471bba30b13face9e6983797bd
Index: pkgsrc/textproc/po4a/patches/patch-Po4aBuilder.pm
diff -u pkgsrc/textproc/po4a/patches/patch-Po4aBuilder.pm:1.12 pkgsrc/textproc/po4a/patches/patch-Po4aBuilder.pm:1.13
--- pkgsrc/textproc/po4a/patches/patch-Po4aBuilder.pm:1.12 Sat Mar 2 20:59:03 2024
+++ pkgsrc/textproc/po4a/patches/patch-Po4aBuilder.pm Sat Jul 12 15:34:12 2025
@@ -1,4 +1,4 @@
-$NetBSD: patch-Po4aBuilder.pm,v 1.12 2024/03/02 20:59:03 adam Exp $
+$NetBSD: patch-Po4aBuilder.pm,v 1.13 2025/07/12 15:34:12 adam Exp $
(1) ryoon: remove gzip at initial import.
(2) mef: Add PerlIO::F_UTF8 () macro.
@@ -6,50 +6,50 @@ $NetBSD: patch-Po4aBuilder.pm,v 1.12 202
(4) schmonz: Invoke pkgsrc's gettext-tools.
(5) schmonz: Write to the full physical null device.
---- Po4aBuilder.pm.orig 2024-02-29 20:26:15.000000000 +0000
+--- Po4aBuilder.pm.orig 2025-07-12 13:28:07.000000000 +0000
+++ Po4aBuilder.pm
-@@ -16,6 +16,8 @@ use File::stat;
+@@ -18,6 +18,8 @@ use File::stat qw(lstat stat);
- our @ISA = qw(Module::Build);
+ use IPC::Open3 qw(open3);
+sub PerlIO::F_UTF8 () { 0x00008000 } # from perliol.h
+
sub ACTION_build {
my $self = shift;
$self->depends_on('code');
-@@ -67,7 +69,7 @@ sub ACTION_binpo {
+@@ -68,7 +70,7 @@ sub ACTION_binpo {
chdir "../..";
if ( -e "po/bin/po4a.pot") {
- my $diff = qx(diff -q -I'#:' -I'POT-Creation-Date:' -I'PO-Revision-Date:' po/bin/po4a.pot po/bin/po4a.pot.new);
+ my $diff = qx(@DIFF@ -q -I'#:' -I'POT-Creation-Date:' -I'PO-Revision-Date:' po/bin/po4a.pot po/bin/po4a.pot.new);
if ( $diff eq "" ) {
- unlink "po/bin/po4a.pot.new" || die;
+ unlink "po/bin/po4a.pot.new" or die;
# touch it
-@@ -89,11 +91,11 @@ sub ACTION_binpo {
+@@ -90,11 +92,11 @@ sub ACTION_binpo {
if ($lang eq 'de') {
unless ($self->up_to_date("po/bin/po4a.pot", $_)) {
print "XX Sync $_: ";
-- system("msgmerge --previous $_ po/bin/po4a.pot -o $_.new") && die;
-+ system("@PREFIX@/bin/msgmerge --previous $_ po/bin/po4a.pot -o $_.new") && die;
+- system("msgmerge", "--previous", $_, "po/bin/po4a.pot", "-o", "$_.new") && die;
++ system("@PREFIX@/bin/msgmerge", "--previous", $_, "po/bin/po4a.pot", "-o", "$_.new") && die;
# Typically all that changes was a date. I'd
# prefer not to commit such changes, so detect
# and ignore them.
- my $diff = qx(diff -q -I'#:' -I'POT-Creation-Date:' -I'PO-Revision-Date:' $_ $_.new);
+ my $diff = qx(@DIFF@ -q -I'#:' -I'POT-Creation-Date:' -I'PO-Revision-Date:' $_ $_.new);
if ($diff eq "") {
- unlink "$_.new" || die;
+ unlink "$_.new" or die;
# touch it
-@@ -108,7 +110,7 @@ sub ACTION_binpo {
+@@ -109,7 +111,7 @@ sub ACTION_binpo {
}
unless ($self->up_to_date($_,"blib/po/$lang/LC_MESSAGES/po4a.mo")) {
mkpath( File::Spec->catdir( 'blib', 'po', $lang, "LC_MESSAGES" ), 0, oct(755) );
-- system("msgfmt -o blib/po/$lang/LC_MESSAGES/po4a.mo $_") && die;
-+ system("@PREFIX@/bin/msgfmt -o blib/po/$lang/LC_MESSAGES/po4a.mo $_") && die;
+- system("msgfmt", "-o", "blib/po/$lang/LC_MESSAGES/po4a.mo", $_) && die;
++ system("@PREFIX@/bin/msgfmt", "-o", "blib/po/$lang/LC_MESSAGES/po4a.mo", $_) && die;
}
}
}
-@@ -230,9 +232,9 @@ sub ACTION_man {
+@@ -231,9 +233,9 @@ sub ACTION_man {
$parser->{release} = $parser->{center} = "Po4a Tools";
} else {
my $command;
@@ -62,26 +62,26 @@ $NetBSD: patch-Po4aBuilder.pm,v 1.12 202
$command .= "&& cat || cat > /dev/null'";
my $title = `$command 2> /dev/null`;
-@@ -242,8 +244,6 @@ sub ACTION_man {
+@@ -243,8 +245,6 @@ sub ACTION_man {
}
$parser->parse_from_file( $file, $out );
-- system("gzip -9 -n -f $out") and die;
-- unlink "$file" || die;
+- system("gzip", "-9", "-n", "-f", $out) and die;
+- unlink "$file" or die;
}
if ( $^O ne 'MSWin32' ) {
-@@ -264,9 +264,7 @@ sub ACTION_man {
+@@ -275,9 +275,7 @@ sub ACTION_man {
print "Convert $outdir/$outfile.$section (online docbook.xsl file). ";
- system("xsltproc -o $outdir/$outfile.$section --nonet $docbook_xsl_url $file") and die;
+ system("xsltproc", "-o", "$outdir/$outfile.$section", "--nonet", $docbook_xsl_url, $file) and die;
}
-- system("gzip -9 -n -f $outdir/$outfile.$section") and die;
+- system("gzip", "-9", "-n", "-f", "$outdir/$outfile.$section") and die;
}
-- unlink "$file" || die;
+- unlink "$file" or die;
}
}
}
-@@ -294,7 +292,7 @@ sub postats {
+@@ -305,7 +303,7 @@ sub postats {
my (@t100,@t95,@t90,@t80,@t70,@t50,@t33,@t20,@starting);
foreach my $file (sort @files) {
my $lang = fileparse($file, qw{.po});
Home |
Main Index |
Thread Index |
Old Index