unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Florian Pelz <pelzflorian@pelzflorian.de>
To: 74190@debbugs.gnu.org
Cc: Florian Pelz <pelzflorian@pelzflorian.de>
Subject: [bug#74190] [PATCH v2 3/3] gnu: info-reader: Inherit from texinfo-7.
Date: Mon, 18 Nov 2024 00:49:12 +0100	[thread overview]
Message-ID: <91d3941d6e1e895eb6770f6bc477d5363fd9047f.1731881786.git.pelzflorian@pelzflorian.de> (raw)
In-Reply-To: <cover.1731881786.git.pelzflorian@pelzflorian.de>

Otherwise `LC_ALL=pt_BR.utf8 info` crashes.

* gnu/packages/texinfo.scm (info-reader): Inherit from texinfo-7.

Change-Id: I9eb5873fbc115e0c45f96a16aa05dbca76b92c57
---
A Web search points at the cause of the Texinfo crash being a typo
in Texinfo’s own po file translations.  If so, Texinfo 6 could be
patched alternatively.
<https://www.linuxquestions.org/questions/slackware-14/curr
ent-texinfo-fails-with-pt_br-locale-4175703232/>

 gnu/packages/texinfo.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 81afdaf7a7..cd474bb566 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -194,7 +194,9 @@ (define-public texinfo-4
 (define-public info-reader
   ;; The idea of this package is to have the standalone Info reader without
   ;; the dependency on Perl that 'makeinfo' drags.
-  (package/inherit texinfo
+  ;; Texinfo version must be at least 7.0, which fixed crashes in a pt_BR
+  ;; locale; see <https://git.savannah.gnu.org/cgit/texinfo.git/plain/NEWS>.
+  (package/inherit texinfo-7
     (name "info-reader")
     (arguments
      `(,@(substitute-keyword-arguments (package-arguments texinfo)
-- 
2.46.0





  parent reply	other threads:[~2024-11-17 23:50 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-11-03 15:14 [bug#74190] [PATCH 0/3] install: Enable pt_BR translation Florian Pelz
2024-11-03 15:25 ` [bug#74190] [PATCH 1/3] install: Open info manuals that have region codes Florian Pelz
2024-11-17 17:06   ` Ludovic Courtès
2024-11-03 15:25 ` [bug#74190] [PATCH 2/3] install: Change the territory when we have learned it Florian Pelz
2024-11-17 17:08   ` Ludovic Courtès
2024-11-03 15:25 ` [bug#74190] [PATCH 3/3] gnu: info-reader: Inherit from texinfo-7 Florian Pelz
2024-11-17 17:10   ` Ludovic Courtès
2024-11-03 20:37 ` [bug#74190] [PATCH 0/3] install: Enable pt_BR translation Krascovict Petrov
2024-11-04  7:52   ` pelzflorian (Florian Pelz)
2024-11-04 22:08     ` Krascovict Petrov
2024-11-05  8:59       ` pelzflorian (Florian Pelz)
2024-11-17 23:47 ` [bug#74190] [PATCH v2 0/3] install: Enable pt_BR locale Florian Pelz
2024-11-17 23:48   ` [bug#74190] [PATCH v2 1/3] install: Open info manuals that have region codes Florian Pelz
2024-11-17 23:48   ` [bug#74190] [PATCH v2 2/3] install: Change the territory when we have learned it Florian Pelz
2024-11-18 10:26     ` pelzflorian (Florian Pelz)
2024-11-20 12:07       ` Ludovic Courtès
2024-11-17 23:49   ` Florian Pelz [this message]
2024-11-20 12:08   ` [bug#74190] [PATCH v2 0/3] install: Enable pt_BR locale Ludovic Courtès
2024-11-20 17:27     ` bug#74190: " pelzflorian (Florian Pelz)

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=91d3941d6e1e895eb6770f6bc477d5363fd9047f.1731881786.git.pelzflorian@pelzflorian.de \
    --to=pelzflorian@pelzflorian.de \
    --cc=74190@debbugs.gnu.org \
    /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).