GNU bug report logs - #70042
[PATCH] gnu: Replace deprecated po4a-* calls with po4a

Previous Next

Package: guix-patches;

Reported by: Aaron Covrig <aaron.covrig.us <at> ieee.org>

Date: Thu, 28 Mar 2024 01:04:02 UTC

Severity: normal

Tags: patch

To reply to this bug, email your comments to 70042 AT debbugs.gnu.org.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to guix <at> cbaines.net, dev <at> jpoiret.xyz, ludo <at> gnu.org, othacehe <at> gnu.org, rekado <at> elephly.net, zimon.toutoune <at> gmail.com, me <at> tobias.gr, guix-patches <at> gnu.org:
bug#70042; Package guix-patches. (Thu, 28 Mar 2024 01:04:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Aaron Covrig <aaron.covrig.us <at> ieee.org>:
New bug report received and forwarded. Copy sent to guix <at> cbaines.net, dev <at> jpoiret.xyz, ludo <at> gnu.org, othacehe <at> gnu.org, rekado <at> elephly.net, zimon.toutoune <at> gmail.com, me <at> tobias.gr, guix-patches <at> gnu.org. (Thu, 28 Mar 2024 01:04:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Aaron Covrig <aaron.covrig.us <at> ieee.org>
To: guix-patches <at> gnu.org
Cc: Aaron Covrig <aaron.covrig.us <at> ieee.org>
Subject: [PATCH] gnu: Replace deprecated po4a-* calls with po4a
Date: Wed, 27 Mar 2024 21:02:19 -0400
* configure.ac: updates deprecated po4a-translate and po4a-updatepo
* guix/self.scm: updates deprecated po4a-translate

Change-Id: I938afb217c732715cf877aeb7891081bf87b2e0a
---
 configure.ac  | 3 +--
 guix/self.scm | 2 +-
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index ecbd596a34..ad148f33b6 100644
--- a/configure.ac
+++ b/configure.ac
@@ -262,8 +262,7 @@ dnl Manual pages.
 AM_MISSING_PROG([HELP2MAN], [help2man])
 
 dnl Documentation translation.
-AM_MISSING_PROG([PO4A_TRANSLATE], [po4a-translate])
-AM_MISSING_PROG([PO4A_UPDATEPO], [po4a-updatepo])
+AM_MISSING_PROG([PO4A], [po4a])
 
 case "$storedir" in
   /gnu/store)
diff --git a/guix/self.scm b/guix/self.scm
index 19c6d08e01..e47f82e02f 100644
--- a/guix/self.scm
+++ b/guix/self.scm
@@ -317,7 +317,7 @@ (define build
           (define (translate-tmp-texi po source output)
             "Translate Texinfo file SOURCE using messages from PO, and write
 the result to OUTPUT."
-            (invoke #+(file-append po4a "/bin/po4a-translate")
+            (invoke #+(file-append po4a "/bin/po4a")
               "-M" "UTF-8" "-L" "UTF-8" "-k" "0" "-f" "texinfo"
               "-m" source "-p" po "-l" output))
 

base-commit: 28bc0e870b4d48b8e3e773382bb0e999df2e3611
-- 
2.41.0





Information forwarded to guix-patches <at> gnu.org:
bug#70042; Package guix-patches. (Thu, 28 Mar 2024 01:14:02 GMT) Full text and rfc822 format available.

Message #8 received at 70042 <at> debbugs.gnu.org (full text, mbox):

From: Aaron Covrig <aaron.covrig.us <at> ieee.org>
To: 70042 <at> debbugs.gnu.org
Subject: bug#70042
Date: Wed, 27 Mar 2024 21:12:37 -0400
[Message part 1 (text/plain, inline)]
This patch addresses warnings about po4a-translate being deprecated
during the build process. Details on the deprecation can be found in
the po4a FAQ section found here: https://po4a.org/man/man7/po4a.7.php

v/r,

Aaron Covrig
[Message part 2 (application/pgp-signature, inline)]

Information forwarded to guix-patches <at> gnu.org:
bug#70042; Package guix-patches. (Fri, 05 Apr 2024 16:42:03 GMT) Full text and rfc822 format available.

Message #11 received at 70042 <at> debbugs.gnu.org (full text, mbox):

From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: Aaron Covrig <aaron.covrig.us <at> ieee.org>
Cc: 70042 <at> debbugs.gnu.org
Subject: Re: [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a
Date: Fri, 05 Apr 2024 18:41:45 +0200
Hello Aaron.  Because PO4A uses different command-line options and we
apparently need to provide a config file, IMHO this patch should wait
until [0] is settled.

Regards,
Florian

[0] https://github.com/mquinson/po4a/issues/490




This bug report was last modified 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.