From: "Ludovic Courtès" <ludo@gnu.org>
To: gemmaro <gemmaro.dev@gmail.com>
Cc: 74393@debbugs.gnu.org
Subject: [bug#74393] [PATCH 2/2] gnu: texinfo-7: Use external modules.
Date: Wed, 18 Dec 2024 13:03:06 +0100 [thread overview]
Message-ID: <87ikrhkxl1.fsf@gnu.org> (raw)
In-Reply-To: <2ccd9b48bbc1649f1a0e3fd5d9f5f6395add8dcc.1731840319.git.gemmaro.dev@gmail.com> (gemmaro's message of "Sun, 17 Nov 2024 20:21:29 +0900")
Hi,
gemmaro <gemmaro.dev@gmail.com> skribis:
> * gnu/packages/texinfo.scm (texinfo-7): Use external modules
> rather than bundled ones.
> [inputs]: Add perl-unicode-eastasianwidth, perl-text-unidecode,
> and perl-libintl-perl.
> [arguments]<#:configure-flags>: Add a phase
> to enable the use of external modules.
>
> Change-Id: Ife2cdec50affb5287d5ad850b0ef80c6048b4b32
Nice.
> + (append perl-archive-zip ;needed for 'tex2any --epub3'
> + perl-unicode-eastasianwidth perl-text-unidecode
> + perl-libintl-perl)))
> (arguments
> (substitute-keyword-arguments (package-arguments texinfo)
> + ((#:configure-flags flags
> + ''())
> + #~(cons* "--with-external-Unicode-EastAsianWidth"
> + "--with-external-Text-Unidecode"
> + "--with-external-libintl-perl"
> + #$flags))
I believe the ‘wrap-program’ phase needs to be adjusted accordingly so
that all the Perl modules are found. Right now, with these patches, I
get:
--8<---------------cut here---------------start------------->8---
$ ./pre-inst-env guix shell texinfo@7 -- makeinfo --version
Can't locate Locale/Messages.pm in @INC (you may need to install the Locale::Messages module) (@INC contains: /gnu/store/5nj6cj127n61skayphscg7icpq34brab-texinfo-7.1.1/lib/texinfo /gnu/store/5nj6cj127n61skayphscg7icpq34brab-texinfo-7.1.1/share/texinfo /gnu/store/5nj6cj127n61skayphscg7icpq34brab-texinfo-7.1.1/share/texinfo /gnu/store/jfmknbgrxmbp7gg0g4gx2bnx70z2y998-perl-archive-zip-1.68/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi /gnu/store/jfmknbgrxmbp7gg0g4gx2bnx70z2y998-perl-archive-zip-1.68/lib/perl5/site_perl/5.36.0 /home/ludo/.guix-home/profile/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi /home/ludo/.guix-home/profile/lib/perl5/site_perl/5.36.0 /home/ludo/.guix-home/profile/lib/perl5/site_perl /home/ludo/.guix-home/profile/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi /home/ludo/.guix-home/profile/lib/perl5/site_perl/5.36.0 /home/ludo/.guix-home/profile/lib/perl5/site_perl /gnu/store/prf2zax6rxl3l179d1qxn6hkm726jyj4-perl-5.36.0/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi /gnu/store/prf2zax6rxl3l179d1qxn6hkm726jyj4-perl-5.36.0/lib/perl5/site_perl/5.36.0 /gnu/store/prf2zax6rxl3l179d1qxn6hkm726jyj4-perl-5.36.0/lib/perl5/5.36.0/x86_64-linux-thread-multi /gnu/store/prf2zax6rxl3l179d1qxn6hkm726jyj4-perl-5.36.0/lib/perl5/5.36.0) at /gnu/store/5nj6cj127n61skayphscg7icpq34brab-texinfo-7.1.1/bin/.texi2any-real line 127.
BEGIN failed--compilation aborted at /gnu/store/5nj6cj127n61skayphscg7icpq34brab-texinfo-7.1.1/bin/.texi2any-real line 127.
--8<---------------cut here---------------end--------------->8---
Could you take a look and send updated patches?
Thanks,
Ludo’.
prev parent reply other threads:[~2024-12-18 12:05 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-17 10:52 [bug#74393] [PATCH 0/2] gnu: texinfo-7: Use external modules gemmaro
2024-11-17 11:21 ` [bug#74393] [PATCH 1/2] gnu: Add perl-unicode-eastasianwidth gemmaro
2024-11-17 11:21 ` [bug#74393] [PATCH 2/2] gnu: texinfo-7: Use external modules gemmaro
2024-12-18 12:03 ` Ludovic Courtès [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ikrhkxl1.fsf@gnu.org \
--to=ludo@gnu.org \
--cc=74393@debbugs.gnu.org \
--cc=gemmaro.dev@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).