GNU bug report logs - #63483
[PATCH 0/4] build: Update po4a process.

Previous Next

Package: guix-patches;

Reported by: gemmaro <gemmaro.dev <at> gmail.com>

Date: Sat, 13 May 2023 10:33:01 UTC

Severity: normal

Tags: moreinfo, patch

Done: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#63483: closed ([PATCH 0/4] build: Update po4a process.)
Date: Mon, 03 Jun 2024 06:01:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Mon, 03 Jun 2024 08:00:19 +0200
with message-id <87a5k2efbg.fsf <at> pelzflorian.de>
and subject line Re: [bug#63483] [PATCH v2 0/4] build: Update po4a process.
has caused the debbugs.gnu.org bug report #63483,
regarding [PATCH 0/4] build: Update po4a process.
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs <at> gnu.org.)


-- 
63483: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=63483
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: gemmaro <gemmaro.dev <at> gmail.com>
To: guix-patches <at> gnu.org
Cc: gemmaro <gemmaro.dev <at> gmail.com>
Subject: [PATCH 0/4] build: Update po4a process.
Date: Sat, 13 May 2023 19:17:47 +0900
Hello,

This patchset updates the po4a build process and is a follow-up to [1].

In particular, it now uses po4a command instead of po4a-updatepo and
po4a-translate in both Make tasks and `guix build -f doc/build.scm`.  So no
more warnings like "po4a-translate is deprecated.  The unified po4a(1) program
is more convenient and less error prone."

I have checked that the updated process works with `make`, `make dist`, `make
as-derivation` and `guix build -f doc/build.scm`, and there seem to be no
errors.  I don't think this affects other components like Weblate either
(Weblate components use po/doc/guix-manual.xx.po and
po/doc/guix-cookbook.xx.po, and these files are still to be generated).

Sorry for the delay in submitting this.  I hope there are no major mistakes
and that I'll no longer feel guilty every time I see po4a warnings.

[1] [PATCH 0/6] gnu: po4a: Update to 0.68
    https://issues.guix.gnu.org/60448

Best,
gemmaro.

gemmaro (4):
  build: Align Automake status lines of po4a and PO xref.
  build: Update po4a process for Makefiles.
  self: Update po4a process.
  doc: Update documentation about translation languages.

 Makefile.am           |  5 ++--
 configure.ac          |  3 +-
 doc/contributing.texi | 14 ++++-----
 doc/local.mk          | 67 ++++++++++++++++++++++++-------------------
 guix/self.scm         | 39 ++++++++++++-------------
 po/doc/local.mk       | 49 +++++++++++++------------------
 po/doc/po4a.cfg       | 42 +++++++++++++++++++++++++++
 7 files changed, 130 insertions(+), 89 deletions(-)
 create mode 100644 po/doc/po4a.cfg


base-commit: cf89a215cec346bc4d6622cbe353c058452b29b2
-- 
2.39.2



[Message part 3 (message/rfc822, inline)]
From: "pelzflorian (Florian Pelz)" <pelzflorian <at> pelzflorian.de>
To: gemmaro <gemmaro.dev <at> gmail.com>
Cc: Julien Lepiller <julien <at> lepiller.eu>,
 Simon Tournier <zimon.toutoune <at> gmail.com>, Mathieu Othacehe <othacehe <at> gnu.org>,
 Ludovic Courtès <ludo <at> gnu.org>,
 Tobias Geerinckx-Rice <me <at> tobias.gr>, Josselin Poiret <dev <at> jpoiret.xyz>,
 Ricardo Wurmus <rekado <at> elephly.net>, Christopher Baines <guix <at> cbaines.net>,
 63483-done <at> debbugs.gnu.org
Subject: Re: [bug#63483] [PATCH v2 0/4] build: Update po4a process.
Date: Mon, 03 Jun 2024 08:00:19 +0200
Pushed as commits
77c79bf5daff2e8041453b7a7112656d6409264b
to
368e58afcb3b363098e52907c1ea9a385566f7d4
along with the monthly translations.

Big thanks to you, gemmaro, for taking the time, and sorry it took so
long.

The documentation I will update soon.

I have written to Julien once more, but you are right that the guix.git
repo and guix-translations.repo can be changed separately.

> Hello Julien, not urgent at all, but could you update your
> guix-translations repository along the lines of commit
>
> commit 2d4af5247057505956e841d396ec78af9f769837
> Author: gemmaro <gemmaro.dev <at> gmail.com>
> Date:   Sun Apr 14 16:18:51 2024 +0900
> 
>     build: Update the POT creation task with the po4a command.
> 
> , that is, add gemmaro’s po4a.cfg and, in the Makefile, replacing
> po4a-updatepo with po4a, so Guix will benefit when po4a gets new changes
> missing from its less-maintained po4a-updatepo?
> 
> Thank you for maintaining guix-translations.git.
> 
> Regards,
> Florian


Regards,
Florian


This bug report was last modified 354 days ago.

Previous Next


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