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:           Wed Jun 19 09:29:33 UTC 2024

Modified Files:
        pkgsrc/textproc/po4a: Makefile distinfo

Log Message:
po4a: updated to 0.73

v0.73

General:
 * Try to not fail when writing UTF po files with old Perl versions
 * Improve various error messages to help users debugging encoding issues.

   The thing is that po4a v0.70 and later is much more picky about encodings.
   Before, it was relying on the default Perl behavior to do "the right thing",
   happily parsing latin-1 or UTF-8 files and converting to the Perl internal
   string representation. The drawback was that this setup forced po4a to
   convert back and forth internally after reading and before writing.

   The v0.70 code uses PerlIO to handle all encoding issues automatically,
   removing all manual conversions in the code of po4a. The price for this is
   that users must specify the used encoding more precisely (I sometimes
   suspect that previously, user settings were only used as an hint of the
   actual conversion, not a ground truth). So the users are now more exposed
   to the mess of Perl encodings, where utf8 and UTF-8 are actually different.
   https://perldoc.perl.org/Encode#UTF-8-vs.-utf8-vs.-UTF8

   This new behavior broke the build of several Debian packages. In some cases,
   it was just the result of po4a being less forgiving about user configuration
   (eg, Debian's #1072643). In Debian's #1073038, it was that po4a made a
   difference between utf8 and UTF-8 in the encoding specification embedded in
   a POD file. There is no such difference in this context, only in Perl
   internals: utf8 is lax parsing while UTF-8 is picky parsing, but both lead
   to the same result if the file is correctly encoded following the UTF-8
   standard. po4a now takes UTF-8 (picky parsing) in both cases for POD files.

Documentation:
 * Fix the doc of TransTractor::read() now that the refname is mandatory


To generate a diff of this commit:
cvs rdiff -u -r1.68 -r1.69 pkgsrc/textproc/po4a/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/textproc/po4a/distinfo

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.68 pkgsrc/textproc/po4a/Makefile:1.69
--- pkgsrc/textproc/po4a/Makefile:1.68  Wed May 29 16:34:39 2024
+++ pkgsrc/textproc/po4a/Makefile       Wed Jun 19 09:29:33 2024
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.68 2024/05/29 16:34:39 adam Exp $
+# $NetBSD: Makefile,v 1.69 2024/06/19 09:29:33 adam Exp $
 
-DISTNAME=      po4a-0.72
-PKGREVISION=   1
+DISTNAME=      po4a-0.73
 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.35 pkgsrc/textproc/po4a/distinfo:1.36
--- pkgsrc/textproc/po4a/distinfo:1.35  Sun May 26 07:06:43 2024
+++ pkgsrc/textproc/po4a/distinfo       Wed Jun 19 09:29:33 2024
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.35 2024/05/26 07:06:43 adam Exp $
+$NetBSD: distinfo,v 1.36 2024/06/19 09:29:33 adam Exp $
 
-BLAKE2s (po4a-0.72.tar.gz) = 8ed665d2493cdd804cdfaaeb43d246b4e43c48b9dc617096a8e2120d3b930887
-SHA512 (po4a-0.72.tar.gz) = 3caabd09c3ddd181c25a6ae53c43ab1e2a56b2832fd2b409640ea36e0fb6e470a06d4a20272c431c8aec1f20c8274e997326377687ae79da7e0a3fb9302be4c9
-Size (po4a-0.72.tar.gz) = 3991368 bytes
+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
 SHA1 (patch-lib_Locale_Po4a_Po.pm) = 649b19ed250c663019dfb98723c61e13b47e6512
 SHA1 (patch-msguntypot) = 0f53ba5a0a76021c52becec9f0d31e67c998ae0a



Home | Main Index | Thread Index | Old Index