[PATCH] gnu: Replace deprecated po4a-* calls with po4a

  • Done
  • quality assurance status badge
Details
2 participants
  • Aaron Covrig
  • pelzflorian (Florian Pelz)
Owner
unassigned
Submitted by
Aaron Covrig
Severity
normal

Debbugs page

A
A
Aaron Covrig wrote on 27 Mar 18:02 -0700
(address . guix-patches@gnu.org)(name . Aaron Covrig)(address . aaron.covrig.us@ieee.org)
20240328010246.1662097-1-aaron.covrig.us@ieee.org
* 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(-)

Toggle diff (31 lines)
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
A
A
Aaron Covrig wrote on 27 Mar 18:12 -0700
bug#70042
(address . 70042@debbugs.gnu.org)
20240327211237.518e4f33@mobile-dev
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
-----BEGIN PGP SIGNATURE-----

iHUEARYIAB0WIQSPXVwROJGaYSBOwhhfTkc5aZTD/QUCZgTEBgAKCRBfTkc5aZTD
/aAOAQDiLdDWsWgpyzM82IeNBe9okpdO3LxWiqd4Y+usu1jtCwD+IMB3Zs+zDZME
HeDV3Ir5M9ehp2JoJwJCd979jOy7SAo=
=ornt
-----END PGP SIGNATURE-----


P
P
pelzflorian (Florian Pelz) wrote on 5 Apr 09:41 -0700
Re: [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a
(name . Aaron Covrig)(address . aaron.covrig.us@ieee.org)(address . 70042@debbugs.gnu.org)
874jcfu5h2.fsf_-_@pelzflorian.de
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

P
P
pelzflorian (Florian Pelz) wrote on 2 Jun 23:12 -0700
(name . Aaron Covrig)(address . aaron.covrig.us@ieee.org)(address . 70042-done@debbugs.gnu.org)
875xuqeerf.fsf@pelzflorian.de
Closing; a similar change that takes into account po4a’s new po4a.cfg
system has been pushed in patch bug#63483.

Even though the po4a maintainers are planning to add cases to continue
using the old tools, apparently:

"pelzflorian (Florian Pelz)" <pelzflorian@pelzflorian.de> writes:
Toggle quote (2 lines)
Regards,
Florian
Closed
?
Your comment

This issue is archived.

To comment on this conversation send an email to 70042@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 70042
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch