unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a
@ 2024-03-28  1:02 Aaron Covrig via Guix-patches via
  2024-03-28  1:12 ` [bug#70042] Aaron Covrig via Guix-patches via
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-03-28  1:02 UTC (permalink / raw)
  To: 70042; +Cc: Aaron Covrig, guix, dev, ludo, othacehe, rekado, zimon.toutoune,
	me

* 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





^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#70042]
  2024-03-28  1:02 [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a Aaron Covrig via Guix-patches via
@ 2024-03-28  1:12 ` Aaron Covrig via Guix-patches via
  2024-04-05 16:41   ` [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a pelzflorian (Florian Pelz)
  0 siblings, 1 reply; 3+ messages in thread
From: Aaron Covrig via Guix-patches via @ 2024-03-28  1:12 UTC (permalink / raw)
  To: 70042

[-- Attachment #1: Type: text/plain, Size: 236 bytes --]


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

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 228 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a
  2024-03-28  1:12 ` [bug#70042] Aaron Covrig via Guix-patches via
@ 2024-04-05 16:41   ` pelzflorian (Florian Pelz)
  0 siblings, 0 replies; 3+ messages in thread
From: pelzflorian (Florian Pelz) @ 2024-04-05 16:41 UTC (permalink / raw)
  To: Aaron Covrig; +Cc: 70042

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




^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2024-04-05 16:42 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-28  1:02 [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a Aaron Covrig via Guix-patches via
2024-03-28  1:12 ` [bug#70042] Aaron Covrig via Guix-patches via
2024-04-05 16:41   ` [bug#70042] [PATCH] gnu: Replace deprecated po4a-* calls with po4a pelzflorian (Florian Pelz)

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).