GNU bug report logs - #45368
[PATCH core-updates 0/3] Help2man updates

Previous Next

Package: guix-patches;

Reported by: Miguel Ángel Arruga Vivas <rosen644835 <at> gmail.com>

Date: Tue, 22 Dec 2020 13:02:02 UTC

Severity: normal

Tags: patch

Done: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>

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: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
Cc: tracker <at> debbugs.gnu.org
Subject: bug#45368: closed ([PATCH core-updates 0/3] Help2man updates)
Date: Sat, 21 Oct 2023 19:46:02 +0000
[Message part 1 (text/plain, inline)]
Your message dated Sat, 21 Oct 2023 15:45:17 -0400
with message-id <87il6zdak2.fsf <at> gmail.com>
and subject line Re: [bug#45368] [PATCH core-updates 0/3] Help2man updates
has caused the debbugs.gnu.org bug report #45368,
regarding [PATCH core-updates 0/3] Help2man updates
to be marked as done.

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


-- 
45368: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=45368
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Miguel Ángel Arruga Vivas <rosen644835 <at> gmail.com>
To: guix-patches <at> gnu.org
Subject: [PATCH core-updates 0/3] Help2man updates
Date: Tue, 22 Dec 2020 14:01:02 +0100
Hi,

The following patches do some work on help2man, namely:
1. Allow the generation of localized manual pages.
2. Update the package to the latest version.

To perform the first objective, the library perl-gettext was imported
from CPAN.  Its path is encoded directly on the resulting binary to
ensure it is loaded, as perl and the library should be propagated to the
environment in order to achieve the same result with PERL5LIB.

Nonetheless, currently there are two open issues with this approach:

- The library used for a cross compilation could be different, but the
  generated version is used for its own documentation generation.  Are
  the inputs correctly placed?  Should it be patched on a later stage to
  the final input?

- The compilation tries to generate translated man pages and sets LC_ALL
  to values not available on glibc-utf8-locales, therefore only
  languages available there have their manual page properly translated,
  such as french.  You can see the following lines (and more) on the
  build log, which warn about this issue:
  --------------------------------8<-------------------------------- sh:
  warning: setlocale: LC_ALL: cannot change locale (uk_UA.UTF-8) sh:
  warning: setlocale: LC_ALL: cannot change locale (vi_VN.UTF-8)
  -------------------------------->8--------------------------------

IMHO, a change on gnu-build-system to allow the selection of the locales
used for the build could be the best way forward, but I haven't
implemented it yet.  WDYT?

Happy hacking!
Miguel


[Message part 3 (message/rfc822, inline)]
From: Maxim Cournoyer <maxim.cournoyer <at> gmail.com>
To: Miguel Ángel Arruga Vivas <rosen644835 <at> gmail.com>
Cc: Ludovic Courtès <ludo <at> gnu.org>, 45368-done <at> debbugs.gnu.org
Subject: Re: [bug#45368] [PATCH core-updates 0/3] Help2man updates
Date: Sat, 21 Oct 2023 15:45:17 -0400
Hello,

Miguel Ángel Arruga Vivas <rosen644835 <at> gmail.com> writes:

> Hi,
>
> Sorry for the delay.  I've pushed these changes from 4343ca8ba5 to
> cfe606572d, with an additional TODO comment on 378df42fc5 about the
> not-so-translated manual pages.

Cool, closing.

-- 
Thanks,
Maxim


This bug report was last modified 1 year and 215 days ago.

Previous Next


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