Skip to content

Commit

Permalink
Update to 0.66. From the changelog:
Browse files Browse the repository at this point in the history
# 0.66

Asciidoc:
 * Support empty cells in tablecells mode (GitHub's #343) [J.N. Avila]
 * Disable tablecells when table is not in PSV format (GitHub's #343 too)
   [J.N. Avila]

Yaml:
 * New option "paths" to select the full paths to extract.
   The old "key" option (that allows to select any path ending with
   the given key) still works as previously (thanks Oliver Rahner).

Tests:
 * Make the SGML tests use valid input files to fix brekages on
   paranoid OSes (GitHub's#327 -- thanks newbluemoon for report and fix).
 * Add a new tests that fixes the weird permission settings of the
   other tests, and prevent the users from running the tests as root.
   (GitHub's #332 -- thanks Oliver Rahner for stepping on that trap)
 * Fix the testsuite so that it works even if the source is checkouted
   in an arbitrary directory (GitHub's #338).

po4a-gettextize:
 * Use UTF-8 by default for localized charset.

# 0.65

Asciidoc:
 * Ensure that comments appear in the translated contents, to preserve
   the document structure (Github's #307 and #308). Thanks Jean-Noël
   Avila for the fix!
 * Add an "nolinting" option to disable lint messages.

po4a runner:
 * In split mode, allow to group several files within the same POT file.
 * Rename the option 'master:file' to 'pot' for clarity. The old name
   still works (with a warning).

Tex:
 * Don't use the full absolute file path in #: references of PO files.
   (Debian's #998196, Github's #281)

# 0.64

Asciidoc:
 * Detect sublevel description lists with :::
 * Don't split in attributes include:: and ifeval:: lines (Github's #298)

Pod:
 * Don't wrap textblocks, as it may break C<> markup (similar to Github's #242)

Core:
 * Mitigate Perl bug #18604 (simplify a regexp into a substring index) (Github's #302)
 * Improve the consistency of all our module lists (related to Github's #136)
   Thanks Viet Than.

# 0.63

A bug in v0.62 removed all binary translations :(

Asciidoc:
 * Properly deal with the YAML Front Matter, when one is found.

Texinfo:
 * Add support for @tindex (Github's #284)

Yaml:
 * Follow the reference style of YAML Front Matter in Markdown module to
   fix the GitHub issue #289. (GitHub's #292)

Portability:
 * Fix po4a(1) on Windows (GitHub's #293)

Build scripts:
 * Fix Po4aBuilder to use -I instead of reseting PERL5LIB (Github's #286)
 * Fix Po4aBuilder to actually install the mo files (GitHub's #294)
  • Loading branch information
schmonz committed Jan 23, 2022
1 parent af8258e commit 798ce0e
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
5 changes: 2 additions & 3 deletions textproc/po4a/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# $NetBSD: Makefile,v 1.48 2021/12/08 16:06:45 adam Exp $
# $NetBSD: Makefile,v 1.49 2022/01/23 10:04:55 schmonz Exp $

DISTNAME= po4a-0.62
PKGREVISION= 3
DISTNAME= po4a-0.66
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_GITHUB:=mquinson/}
GITHUB_RELEASE= v${PKGVERSION_NOREV}
Expand Down
10 changes: 5 additions & 5 deletions textproc/po4a/distinfo
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$NetBSD: distinfo,v 1.22 2021/10/26 11:22:57 nia Exp $
$NetBSD: distinfo,v 1.23 2022/01/23 10:04:55 schmonz Exp $

BLAKE2s (po4a-0.62.tar.gz) = cdd621eacfe5a4f51ac30aca8ec736d8601573c93b4ddb95ed70020db6c2bf8a
SHA512 (po4a-0.62.tar.gz) = a91a31d9d80bb48ee071f39148572a4ec2b65f472a26696aa517c9d52ad56accf9fbdf971dcf15dd1c492cca7efab328ebffe1f20e98f7fe2532d4bf490a9997
Size (po4a-0.62.tar.gz) = 3980028 bytes
SHA1 (patch-Po4aBuilder.pm) = 7a39eaf25bf956386cc707be7f1b9af6219192e5
BLAKE2s (po4a-0.66.tar.gz) = 75f02908c46cf6426965892963db39455e6826595697cb03ddb6b1dca9d49575
SHA512 (po4a-0.66.tar.gz) = f72e1267cbd6ced01ecc362c327b1634c47dff15398b48644548d28e01ba91108d5626e6d4abcfcb360697e4c0affa3228c6993653ce8f257acbbb3d7ae20fc4
Size (po4a-0.66.tar.gz) = 4240059 bytes
SHA1 (patch-Po4aBuilder.pm) = ad1db22d66304ca944ec598a4fe3e0ea0be7cf50
12 changes: 6 additions & 6 deletions textproc/po4a/patches/patch-Po4aBuilder.pm
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
$NetBSD: patch-Po4aBuilder.pm,v 1.5 2020/09/17 21:13:18 schmonz Exp $
$NetBSD: patch-Po4aBuilder.pm,v 1.6 2022/01/23 10:04:55 schmonz Exp $

(1) ryoon: remove gzip at initial import
(2) mef: Add PerlIO::F_UTF8 () macro
(3) mef: to avoid --previous option is said unknown to msgmerge
(but sounds strange)

--- Po4aBuilder.pm.orig 2020-07-15 21:56:35.000000000 +0000
--- Po4aBuilder.pm.orig 2022-01-02 00:10:18.000000000 +0000
+++ Po4aBuilder.pm
@@ -9,6 +9,8 @@ use File::stat;

Expand All @@ -16,16 +16,16 @@ $NetBSD: patch-Po4aBuilder.pm,v 1.5 2020/09/17 21:13:18 schmonz Exp $
sub ACTION_build {
my $self = shift;
$self->depends_on('code');
@@ -81,7 +83,7 @@ sub ACTION_binpo {
my $lang = fileparse($_, qw{.po});
@@ -82,7 +84,7 @@ sub ACTION_binpo {
if (0) {
unless ($self->up_to_date("po/bin/po4a.pot", $_)) {
print "XX Sync $_: ";
- system("msgmerge --previous $_ po/bin/po4a.pot -o $_.new") && die;
+ system("msgmerge $_ 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.
@@ -232,8 +234,6 @@ sub ACTION_man {
@@ -234,8 +236,6 @@ sub ACTION_man {
}
$parser->parse_from_file ($file, $out);

Expand All @@ -34,7 +34,7 @@ $NetBSD: patch-Po4aBuilder.pm,v 1.5 2020/09/17 21:13:18 schmonz Exp $
}

# Install the manpages written in XML DocBook
@@ -250,9 +250,7 @@ sub ACTION_man {
@@ -252,9 +252,7 @@ sub ACTION_man {
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;
}
Expand Down

0 comments on commit 798ce0e

Please sign in to comment.