pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/po4a po4a: updated to 0.69



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47b4e736d677
branches:  trunk
changeset: 391131:47b4e736d677
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Jan 03 19:08:01 2023 +0000

description:
po4a: updated to 0.69

        ___   __   ___
__   __/ _ \ / /_ / _ \
\ \ / / | | | '_ \ (_) |          Happy New Year release.
 \ V /| |_| | (_) \__, |
  \_/  \___(_)___/  /_/           (Released on 2023/01/01)

Markdown:
 * Parts of a fenced divs are now translated separately

YAML and Yaml Front Matter:
 * Use the implementation of YFM to parse YAML files too.
   - This reduces the code dupplication, and brings the nice features over:
     Numbers and arrays are not quoted anymore in Yaml files, as it should be.
   - This adds the yfm_paths option to Markdown and Asciidoc YFM,
     fixing GitHub's 392 along the way.
   - Please note that '-o keys' is now case-sensitive in Yaml documents.
 * Do not translate nor quote booleans, so that they are not treated as string.
   Thanks Gissmo for GitHub's PR 393, even if I had to rework it quite a bit.

XML:
 * Correctly handle placeholders of empty elements
 * Translate attributes within attribute-folded inline and placeholder
   alt attribute of <img> can be properly handled with:
   -o 'attributes=<image>alt' -o 'inline=<image>' -o foldattributes
 * Thanks k-yaegashi for the pull request fixing both issues

Project organization:
 * Do not leak the generation date in our manpages
   Thanks Arnout Engelen for the pull request.

Translations:
 * New translation: Georgian, thanks Temuri Doghonadze.
 * Updated: Dutch, thanks Frans Spiesschaert.
 * Updated: French, thanks Jérémie Tarot & Brandelune.
 * Updated: Italian, thanks Marco Ciampa.
 * Updated: Japanese, thanks gemmaro.
 * Updated: Portuguese, thanks Hugo Carvalho.
 * Updated: Portuguese (Brazil), thanks Rafael Fontenelle.
 * Updated: Ukrainian, thanks Yuri Chornoivan (українська).

Status of the binary translation:
 * 100%: fr, it, nl, pt_BR, uk.
 * >95%: eo (96%), nb (96%), pt (99%), sr_Cyrl (99%).
 * >90%: de (94%), es (94%), hr (94%), hu (92%), ru (93%), zh_CN (94%), zh_Hant (94%).
 * >70%: id (77%), sv (72%).
 * >50%: cs (57%), da (62%), et (67%), eu (56%), ja (63%), pl (62%), sl (56%), vi (67%).
 * >33%: ca (45%).
 * Starting: ace (2%), af (7%), ar (14%), ka (16%), kn (7%), ko (18%), zh_HK (3%).

Status of the documentation translation:
 * 100%: it, uk.
 * >95%: de (98%), fr (99%), ja (96%), nl (99%), sr_Cyrl (98%).
 * >90%: pt (93%), pt_BR (94%), zh_CHS (94%), zh_Hant (94%).
 * >80%: es (83%).
 * >50%: pl (66%), ru (64%).
 * >33%: ca (43%).
 * Starting: eo (2%), hr (0%), hu (0%), nb (4%).

diffstat:

 textproc/po4a/Makefile                     |   5 ++---
 textproc/po4a/distinfo                     |  10 +++++-----
 textproc/po4a/patches/patch-Po4aBuilder.pm |   8 ++++----
 3 files changed, 11 insertions(+), 12 deletions(-)

diffs (64 lines):

diff -r fb11dfebaff4 -r 47b4e736d677 textproc/po4a/Makefile
--- a/textproc/po4a/Makefile    Tue Jan 03 17:41:16 2023 +0000
+++ b/textproc/po4a/Makefile    Tue Jan 03 19:08:01 2023 +0000
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.54 2022/11/26 03:40:21 schmonz Exp $
+# $NetBSD: Makefile,v 1.55 2023/01/03 19:08:01 adam Exp $
 
-DISTNAME=      po4a-0.68
-PKGREVISION=   2
+DISTNAME=      po4a-0.69
 CATEGORIES=    textproc
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=mquinson/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
diff -r fb11dfebaff4 -r 47b4e736d677 textproc/po4a/distinfo
--- a/textproc/po4a/distinfo    Tue Jan 03 17:41:16 2023 +0000
+++ b/textproc/po4a/distinfo    Tue Jan 03 19:08:01 2023 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.25 2022/11/26 03:40:21 schmonz Exp $
+$NetBSD: distinfo,v 1.26 2023/01/03 19:08:01 adam Exp $
 
-BLAKE2s (po4a-0.68.tar.gz) = dd89f385879a4458793781126cfe2c8940f5afabd0e47299673395201a7e41d6
-SHA512 (po4a-0.68.tar.gz) = d7c60a3647d8f4265ce6f016d33430c72775ae19eb2efb240532545b08280368fea70db3360131f6537eb7cc72c19299dff4b6f938ac09cbef1b2db1a93d996e
-Size (po4a-0.68.tar.gz) = 4605485 bytes
-SHA1 (patch-Po4aBuilder.pm) = 1ce48fe26abeeabbfaddaf4cdb21389cbf18dd4f
+BLAKE2s (po4a-0.69.tar.gz) = c82a56664a6a9a674b02f1026843d65aea6671c913738f6e1e565d7242dbe96d
+SHA512 (po4a-0.69.tar.gz) = 9cb5eec547ab18d1c3ebdda212b909fc4f5489a74641ba2d7e0a3a1d060f245d23667c16e687c678c5ccc3809c9315d20673266dcc3764172a899caa397238e3
+Size (po4a-0.69.tar.gz) = 4665710 bytes
+SHA1 (patch-Po4aBuilder.pm) = 79d850f4a758771468a1b339fc7bd62ce34cf7ab
 SHA1 (patch-lib_Locale_Po4a_Text.pm) = d019287e6c03671da4433689691b5447a665208e
diff -r fb11dfebaff4 -r 47b4e736d677 textproc/po4a/patches/patch-Po4aBuilder.pm
--- a/textproc/po4a/patches/patch-Po4aBuilder.pm        Tue Jan 03 17:41:16 2023 +0000
+++ b/textproc/po4a/patches/patch-Po4aBuilder.pm        Tue Jan 03 19:08:01 2023 +0000
@@ -1,11 +1,11 @@
-$NetBSD: patch-Po4aBuilder.pm,v 1.7 2022/11/15 08:54:13 adam Exp $
+$NetBSD: patch-Po4aBuilder.pm,v 1.8 2023/01/03 19:08:01 adam 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        2022-09-04 14:32:26.000000000 +0000
+--- Po4aBuilder.pm.orig        2023-01-01 00:30:43.000000000 +0000
 +++ Po4aBuilder.pm
 @@ -9,6 +9,8 @@ use File::stat;
  
@@ -29,7 +29,7 @@
          }
          $parser->parse_from_file ($file, $out);
  
--        system("gzip -9 -f $out") and die;
+-        system("gzip -9 -n -f $out") and die;
 -        unlink "$file" || die;
      }
  
@@ -38,7 +38,7 @@
              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 -f $outdir/$outfile.$section") and die;
+-                system ("gzip -9 -n -f $outdir/$outfile.$section") and die;
              }
 -            unlink "$file" || die;
          }


Home | Main Index | Thread Index | Old Index