GNU bug report logs - #74393
[PATCH 0/2] gnu: texinfo-7: Use external modules.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix-patches; Reported by: gemmaro <gemmaro.dev@HIDDEN>; Keywords: patch; Done: Ludovic Courtès <ludo@HIDDEN>; Maintainer for guix-patches is guix-patches@HIDDEN.

Message received at 74393-done <at> debbugs.gnu.org:


Received: (at 74393-done) by debbugs.gnu.org; 26 Dec 2024 21:32:33 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 26 16:32:32 2024
Received: from localhost ([127.0.0.1]:42500 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tQvT6-0003IE-J9
	for submit <at> debbugs.gnu.org; Thu, 26 Dec 2024 16:32:32 -0500
Received: from eggs.gnu.org ([209.51.188.92]:40168)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1tQvT4-0003I0-AD
 for 74393-done <at> debbugs.gnu.org; Thu, 26 Dec 2024 16:32:31 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1tQvSy-0004QR-U6; Thu, 26 Dec 2024 16:32:25 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=BmrVw3mQNcoFj78DFxpSv7EhHP1V5MPMar9DDQsOONw=; b=DoE61t7Osjtjz5KygOjS
 oT3Iul/wcRqcIlq6HUyqYsQb/mJqXcfA6+YlgmvrLIVzwrW/d5f4hnmkf57b8ZkUJ1p2PCczeDU3N
 Btk/9+LuFU1s5kFTdz1frtFukfnEBbxiLCWEJYTr1WfKhpw1yMJLcer0I+nGq+7G/neSl2SBtLOWU
 roKJAK/HpzJwzQz4/8KDCAFbqv1kauuzT+j72GUbBHtieRU9mog+Z5wb/vuJ7vNL5YW2fBD8NJ/5L
 ouJjyJbTz1sC0Ow8nNyXKCOMhhiJZ/X+OMWc/mc5jQDSUKJtxmwv/1TWPZhjbyxlQaCphJXhRiycs
 FZ5SLIz8adWbSw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: gemmaro <gemmaro.dev@HIDDEN>
Subject: Re: [bug#74393] [PATCH v2 1/2] gnu: Add perl-unicode-eastasianwidth.
In-Reply-To: <20241219151042.3949-1-gemmaro.dev@HIDDEN> (gemmaro's message
 of "Fri, 20 Dec 2024 00:10:33 +0900")
References: <cover.1731840319.git.gemmaro.dev@HIDDEN>
 <20241219151042.3949-1-gemmaro.dev@HIDDEN>
Date: Thu, 26 Dec 2024 22:32:14 +0100
Message-ID: <87o70yyvtt.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74393-done
Cc: 74393-done <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -3.3 (---)

gemmaro <gemmaro.dev@HIDDEN> skribis:

> * gnu/packages/perl.scm (perl-unicode-eastasianwidth): New variable.
>
> Change-Id: I3b9eb2a15bf77aa64109dbd2836ac1d71aa509f0

[...]

> * 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.
> <#:phases>: Add Perl modules to the PERL5LIB variable of the texi2any program
> in the wrap-program phase.
>
> Change-Id: Ife2cdec50affb5287d5ad850b0ef80c6048b4b32

Applied, thanks!




Notification sent to gemmaro <gemmaro.dev@HIDDEN>:
bug acknowledged by developer. Full text available.
Reply sent to Ludovic Courtès <ludo@HIDDEN>:
You have taken responsibility. Full text available.

Message received at 74393 <at> debbugs.gnu.org:


Received: (at 74393) by debbugs.gnu.org; 19 Dec 2024 15:14:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 19 10:14:57 2024
Received: from localhost ([127.0.0.1]:39679 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tOIEr-000593-64
	for submit <at> debbugs.gnu.org; Thu, 19 Dec 2024 10:14:57 -0500
Received: from mail-pl1-f182.google.com ([209.85.214.182]:47524)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gemmaro.dev@HIDDEN>) id 1tOIEm-00058q-RY
 for 74393 <at> debbugs.gnu.org; Thu, 19 Dec 2024 10:14:53 -0500
Received: by mail-pl1-f182.google.com with SMTP id
 d9443c01a7336-21683192bf9so9219555ad.3
 for <74393 <at> debbugs.gnu.org>; Thu, 19 Dec 2024 07:14:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1734621232; x=1735226032; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=UIcDOhwXZPk4ceehyPSPHez5CkW/Nwbx2py43MBs0CU=;
 b=CCP580brmnzk7ZIGitiMg+socunKJ9KFCX09s7kydYtVU+gN4/BVkAlw0jbKBqugyT
 P/YLwV2q1kTtuXcSuESroNT6Fp+RKBYozgjGOWgl64wa/c4yEcvIA35zcUlWMm9lpBSN
 F/p57t0UCV0KMDGfcbS/uAKj3BDAi4Jcr9Q+SpxV5ggaFbsUi5p48TbMJ54Bf/PHdYq5
 kwFLz08UAMc06XnHR5/5VB1oCNLRklM6ZVPdMmYuzFF5ImkMmn+P0TyNq2LqtUUf69xv
 WOBgFJ9Hc997bb/ZVmds1ZlRsZo++s08fNcoQDCXWeDscHQ+5wjJYwRQdL+5tod8y3MZ
 De3A==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734621232; x=1735226032;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=UIcDOhwXZPk4ceehyPSPHez5CkW/Nwbx2py43MBs0CU=;
 b=C5zgNmCVPOeq9ebtD2ZSSkIgMtVZny3W9f5w6nzgKL6YodiKAFWJDQtW+VSaepDpS6
 Zab67Ak3a4evucl2fBRIcmMiT6Ftt3mO4kG1++wRSZjYW3s5AvI81W0DFoBYJ+5NBajH
 krZsuCRURLwqv2nLjSwFddTX7zlhgNSxZS7YqHvlkT4PXOSCPs3WrUo0mpMb4bYya4sY
 RdRB4iUANS5IFssWvohHdfLj/E8a1uOtKUqwW0Ei7EburyeDusS2rWUSQGNN2oUTDFZe
 wjmawE8i+CuMH19A32IWVjhsUnNFCM+pqdsd/Vnr/ApbmRCQ1n5VNv/G4DTzRbdmEPZ3
 8Khg==
X-Gm-Message-State: AOJu0Yw2AbJfNvuNrNd8FSCF3Kb1q+KkrUPDmSvuHw5Thw26toCzENSL
 me8GI+wjnWmbURJOQjwJAK81oG+zIRduIrceBQqiNUCj6uL4omOesZwa/g==
X-Gm-Gg: ASbGncsQcm8zf9x6m2ABNWPHLhp/o5sMFXpC30pymACud+8fl27ZhFZAFfIInDOYa2F
 G1tUlkZe8BvqiL/2Ys1IQYsnQ8Y6c5BX/8GJVlBTKQSO4jwMyRgFS+kOjXvmxH3AdMnjHaIQoar
 KMpxasgM5wSfhQpIY7WNDaGolM2dzqih3uxLzpnvyDZOD3wE1Jl+BJmkS6vURZ5pTULLqNBCRoz
 p5BcGPwyvopQSvk+yCgowI7trQbS99ycVUxlcPS3gJmunXRO41OMRWD9nvCgB4=
X-Google-Smtp-Source: AGHT+IFA9clsCEEtQVwbuMzAeExkTxBYrBspfglQp9v7MvSeBUJmjvoLLdx65sc+fk/tyR+5deDNWw==
X-Received: by 2002:a17:902:f651:b0:206:9a3f:15e5 with SMTP id
 d9443c01a7336-218d7217397mr104938635ad.32.1734621232188; 
 Thu, 19 Dec 2024 07:13:52 -0800 (PST)
Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-219dca01989sm13403255ad.239.2024.12.19.07.13.50
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 19 Dec 2024 07:13:51 -0800 (PST)
From: gemmaro <gemmaro.dev@HIDDEN>
To: 74393 <at> debbugs.gnu.org
Subject: [PATCH v2 2/2] gnu: texinfo-7: Use external modules.
Date: Fri, 20 Dec 2024 00:10:34 +0900
Message-ID: <20241219151042.3949-2-gemmaro.dev@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <20241219151042.3949-1-gemmaro.dev@HIDDEN>
References: <20241219151042.3949-1-gemmaro.dev@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: gemmaro <gemmaro.dev@HIDDEN>, Ludovic Courtès <ludo@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 74393
Cc: gemmaro <gemmaro.dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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.
<#:phases>: Add Perl modules to the PERL5LIB variable of the texi2any program
in the wrap-program phase.

Change-Id: Ife2cdec50affb5287d5ad850b0ef80c6048b4b32
---
 gnu/packages/texinfo.scm | 20 +++++++++++++++++---
 1 file changed, 17 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 13c780897e..d389e4d60e 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -120,9 +120,17 @@ (define-public texinfo-7
                (base32
                 "10kcdb3pf7yakniccvv0krchs2fh3vh1rvhvnqr98ll3cbj3gbii"))))
     (inputs (modify-inputs (package-inputs texinfo)
-              (append perl-archive-zip)))        ;needed for 'tex2any --epub3'
+              (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))
        ((#:phases phases #~%standard-phases)
         #~(modify-phases #$phases
             (add-after 'install 'wrap-program
@@ -136,9 +144,15 @@ (define-public texinfo-7
                                     (and (eq? 'directory (stat:type stat))
                                          (string=? (basename file)
                                                    "Archive")))
-                                  #:directories? #t))))
+                                  #:directories? #t)))
+                       (mods (map (lambda (mod)
+                                    (string-append (assoc-ref inputs mod)
+                                                   "/lib/perl5/site_perl"))
+                                  '("perl-unicode-eastasianwidth"
+                                    "perl-text-unidecode" "perl-libintl-perl"))))
                   (wrap-program program
-                    `("PERL5LIB" prefix (,(dirname zip)))))))))))))
+                    `("PERL5LIB" prefix
+                      ,(cons* (dirname zip) mods))))))))))))
 
 (define-public texinfo-5
   (package (inherit texinfo)
-- 
2.46.0





Information forwarded to gemmaro.dev@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN:
bug#74393; Package guix-patches. Full text available.

Message received at 74393 <at> debbugs.gnu.org:


Received: (at 74393) by debbugs.gnu.org; 19 Dec 2024 15:14:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Thu Dec 19 10:14:52 2024
Received: from localhost ([127.0.0.1]:39676 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tOIEl-00058g-PU
	for submit <at> debbugs.gnu.org; Thu, 19 Dec 2024 10:14:52 -0500
Received: from mail-pl1-f174.google.com ([209.85.214.174]:45421)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gemmaro.dev@HIDDEN>) id 1tOIEj-00058Y-LP
 for 74393 <at> debbugs.gnu.org; Thu, 19 Dec 2024 10:14:50 -0500
Received: by mail-pl1-f174.google.com with SMTP id
 d9443c01a7336-2164b1f05caso8387065ad.3
 for <74393 <at> debbugs.gnu.org>; Thu, 19 Dec 2024 07:14:49 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1734621228; x=1735226028; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=fgVtJ59wWjgdv4m6b5Eg1sr54CSAGkvBQ+aulqpt/ZM=;
 b=L6C8b1cD4AtD+aFLSOB0HFlVSuqEHNk2OPGt5TpakN4H4mYzTCdt5Q/LeGUl5xvA0I
 zKi5E98yZqSOMEjIg6Dfo75sLcFhTw5zn/En+x6qUxxVb1hkxT6P0C7yKHxY2NkGabvN
 3cvFZrjKbKmDCwAjXldRjWNFfcZNpb2+DPQLgcxQgU9vbjsoU9PZEksR5+R6Ku6eD/gg
 xp5bCZcET1xvsszTUc7CCOnEGeyuf0UsGcowG8h7nJ37rzLvOpOx6eMu1gBh7ueQUQ/c
 onK4mloYw41HCOTWcV83Vyfsi18Y98TioFjzz28kBeRkcJenQTDeq1y1avcTH0/s/7Rq
 +lMg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734621228; x=1735226028;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=fgVtJ59wWjgdv4m6b5Eg1sr54CSAGkvBQ+aulqpt/ZM=;
 b=EwTOlxOGM/3UFuH0KCIlATneKFu77iuYZNinariuwQfvZ/RUAxcDTq+O2JieeCheQO
 6ongca6chcOCkGmXMLIVTH3iLXAa827dA2Kyql/iKx3uq3YlW0Irp1RQgAog0mm/neDy
 Wf0iBJidSYc7Eykb4dZXJ3ixo+ObRkuWWChFEqiCbvetoPf/W6pyVS7g72e7kwdy14HS
 HtOskYxiPsvA9grTC33eHM3EegA+cwxSiUG3VsA5t20fcb9usMffq5EITaleKfpz3QUW
 SdynLHI0WCk4bOeUr7parbPJV5gEg38lzO25AWxQKLdMuMajEIZHDdrBCvJvRd51hxG6
 YPcw==
X-Gm-Message-State: AOJu0YzQ/1zqSh4B21iKVaC+EbGyvrklLrW+f7C9iQ+0einbVWT6U9gT
 tg4YBCJlYcy+VZjFIcK1JO77WSO629xcI4HEKnBbhSGY+7XbWF+FwkH8Qw==
X-Gm-Gg: ASbGncsq68ymBYG8+MLGDMtugtupPoIMc35IoDSKZ3JARs0KIQyGxlpZPYx1QIAYcCA
 0b5z0pJRIdpzNL0aIgWhcVJnogJOLKL5lg4hao6AV4drUY1JyFekW6bvz47quIfiCmECrwMvksp
 //t+CFbQAf+0SvpOrqgUGSufLqvUDNMfCJATxzfTcFbHjGrFMOQL9O/oMY/YRg6EJQCnAPNjvOL
 lWNDtO292LaO50cr2ns6DEt7hBcaqVJBRhdcBV149EB6Ve0iAz6QwBm0+UqSjg=
X-Google-Smtp-Source: AGHT+IGay8RtMfjRUjBs29J0KZ3v7HJw5s7/K3FBdyjL65L8uN1yc4g5s7e+UhbrE9DoNsFv3r/ArQ==
X-Received: by 2002:a17:902:e5c1:b0:216:3876:2cff with SMTP id
 d9443c01a7336-218d726fa81mr105578935ad.54.1734621228559; 
 Thu, 19 Dec 2024 07:13:48 -0800 (PST)
Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3])
 by smtp.gmail.com with ESMTPSA id
 d9443c01a7336-219dca01989sm13403255ad.239.2024.12.19.07.13.47
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Thu, 19 Dec 2024 07:13:48 -0800 (PST)
From: gemmaro <gemmaro.dev@HIDDEN>
To: 74393 <at> debbugs.gnu.org
Subject: [PATCH v2 1/2] gnu: Add perl-unicode-eastasianwidth.
Date: Fri, 20 Dec 2024 00:10:33 +0900
Message-ID: <20241219151042.3949-1-gemmaro.dev@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
X-Debbugs-Cc: gemmaro <gemmaro.dev@HIDDEN>, Ludovic Courtès <ludo@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 74393
Cc: gemmaro <gemmaro.dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/perl.scm (perl-unicode-eastasianwidth): New variable.

Change-Id: I3b9eb2a15bf77aa64109dbd2836ac1d71aa509f0
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index 702369caf7..382a1d3e61 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -11926,6 +11926,27 @@ (define-public perl-unicode-collate
     ;; license.
     (license (list (package-license perl) license:expat))))
 
+(define-public perl-unicode-eastasianwidth
+  (package
+    (name "perl-unicode-eastasianwidth")
+    (version "12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1x0gm5akah6x1ypykipywlm2hi95mhqjrnipc5zggragdj9gsnra"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Unicode-EastAsianWidth")
+    (synopsis "East Asian Width properties")
+    (description
+     "This module provides user-defined Unicode properties that deal with width
+status of East Asian characters, as specified in
+@url{https://www.unicode.org/reports/tr11/,Unicode® Standard Annex #11}.")
+    (license license:cc0)))
+
 (define-public perl-unicode-linebreak
   (package
     (name "perl-unicode-linebreak")
-- 
2.46.0





Information forwarded to gemmaro.dev@HIDDEN, ludo@HIDDEN, guix-patches@HIDDEN:
bug#74393; Package guix-patches. Full text available.

Message received at 74393 <at> debbugs.gnu.org:


Received: (at 74393) by debbugs.gnu.org; 18 Dec 2024 12:03:46 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Wed Dec 18 07:03:46 2024
Received: from [127.0.0.1] (port=33774 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tNsm2-0007eN-6G
	for submit <at> debbugs.gnu.org; Wed, 18 Dec 2024 07:03:45 -0500
Received: from eggs.gnu.org ([209.51.188.92]:52920)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1tNslp-0007dw-9j
 for 74393 <at> debbugs.gnu.org; Wed, 18 Dec 2024 07:03:22 -0500
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1tNslh-0005vJ-Hn; Wed, 18 Dec 2024 07:03:09 -0500
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To:
 From; bh=r+Tk+LXq0m2uomjjkoz374T8qhsrTaeJqp0/yoFkfc8=; b=l935osjNykmJrxt4TxLZ
 TMN+KjztIFoa1cfd/L7IBmDeY4oTG1/kMVO5UgEU4pVKipMkt1d5RiFTyX4HKfnlXRnLlW3HPOo+F
 6cKcc8778lDCIZewOpqpyducs46C++o1uqX+5F4kYotsrAHx4jV9n69kGLyytNosyhojOXLMYS9T0
 0Ki0L907IEnicqIZqX3f+sdFvdDErxllKGw7zVEBKRKvFaDXcTkeqTUnQAx4AkMY/1rtq2CiKLWbY
 Ai6/relVjFkZYfGC+VMoHNQbORvqW8deEGFomU2frFu4nz7QHiBK3fdDt94OSGR4c09jlQKCI+ClZ
 d9nHWCMChB1+Lw==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: gemmaro <gemmaro.dev@HIDDEN>
Subject: Re: [bug#74393] [PATCH 2/2] gnu: texinfo-7: Use external modules.
In-Reply-To: <2ccd9b48bbc1649f1a0e3fd5d9f5f6395add8dcc.1731840319.git.gemmaro.dev@HIDDEN>
 (gemmaro's message of "Sun, 17 Nov 2024 20:21:29 +0900")
References: <cover.1731840319.git.gemmaro.dev@HIDDEN>
 <2ccd9b48bbc1649f1a0e3fd5d9f5f6395add8dcc.1731840319.git.gemmaro.dev@HIDDEN>
Date: Wed, 18 Dec 2024 13:03:06 +0100
Message-ID: <87ikrhkxl1.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 74393
Cc: 74393 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

Hi,

gemmaro <gemmaro.dev@HIDDEN> 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 =E2=80=98wrap-program=E2=80=99 phase needs to be adjusted acc=
ordingly 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/5nj6cj127n61skayphscg7icpq34b=
rab-texinfo-7.1.1/lib/texinfo /gnu/store/5nj6cj127n61skayphscg7icpq34brab-t=
exinfo-7.1.1/share/texinfo /gnu/store/5nj6cj127n61skayphscg7icpq34brab-texi=
nfo-7.1.1/share/texinfo /gnu/store/jfmknbgrxmbp7gg0g4gx2bnx70z2y998-perl-ar=
chive-zip-1.68/lib/perl5/site_perl/5.36.0/x86_64-linux-thread-multi /gnu/st=
ore/jfmknbgrxmbp7gg0g4gx2bnx70z2y998-perl-archive-zip-1.68/lib/perl5/site_p=
erl/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/pr=
ofile/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/prf2zax6rxl3l1=
79d1qxn6hkm726jyj4-perl-5.36.0/lib/perl5/site_perl/5.36.0 /gnu/store/prf2za=
x6rxl3l179d1qxn6hkm726jyj4-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/.tex=
i2any-real line 127.
BEGIN failed--compilation aborted at /gnu/store/5nj6cj127n61skayphscg7icpq3=
4brab-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=E2=80=99.





Information forwarded to guix-patches@HIDDEN:
bug#74393; Package guix-patches. Full text available.

Message received at 74393 <at> debbugs.gnu.org:


Received: (at 74393) by debbugs.gnu.org; 17 Nov 2024 11:22:57 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 06:22:57 2024
Received: from localhost ([127.0.0.1]:56086 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tCdMm-0004V9-TN
	for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 06:22:57 -0500
Received: from mail-pf1-f181.google.com ([209.85.210.181]:45238)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gemmaro.dev@HIDDEN>) id 1tCdMi-0004UW-VI
 for 74393 <at> debbugs.gnu.org; Sun, 17 Nov 2024 06:22:54 -0500
Received: by mail-pf1-f181.google.com with SMTP id
 d2e1a72fcca58-72483f6e2fbso918320b3a.2
 for <74393 <at> debbugs.gnu.org>; Sun, 17 Nov 2024 03:22:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1731842507; x=1732447307; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=++iS0RgBD92KdDlwnZVtEaGkS+LgG5QgClG3/7DK0ss=;
 b=BheW86SYYVKtH6hqol6YArFQQfgG0pBtvgrg7r0B0mjtF1D0r6PwIjvZHftLjiKMkU
 Z+/sOO2TI1H1K0k3jz8YGO8ehHWnsLaPbWeQofvUEykMLFgpH1NpEtNjp3An9aplGYE1
 N43rKfsIzZuDk4iD3vMykz74n9znleWFVMAeJ8HUUge4I3rR242csDaeTw6w91X/nDDu
 J2OE44wBfu1jjv0fH2wDJffvqGsugf7aS6AlMr2s5ZalS8Bj3UXTuGp5+bUxMcaRZstd
 bIS5BuMLhvFY+dFYqWfdbWnM33N2R5FzF8FdGUGjy8f8sfZqEFOkTPu5K16TAdpRjlJ9
 kbEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1731842507; x=1732447307;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=++iS0RgBD92KdDlwnZVtEaGkS+LgG5QgClG3/7DK0ss=;
 b=be9euu4QzSiptwmVuAacpvuC3p1ZxLpRkuoabcDP/m/6mTw/MvZ7uXH6KzxkvuoSoL
 fmEeEzX34S6cLYv8k8YpkVO6o0STaA6q4kSTY34JD5eTmg7ORvyRO8lMnzELUeqSr6LF
 7Ip8FLEekzIft9mF7XGT3eW3aJh1QS0zH8PrZeaxUzTRyndluuOMgVQVCDZolW5AsSrX
 UsQH9gH/C9Rt9zHCMTm6peDELttBxWjbReGvkehL9cX53xYwdFM5DrH0Y3mhmxrQWMns
 CU1uLOs22Bl6j2mN1S2rheok9pnGFM2ALTefcpWXrMHqHQZr4j1PCSlGrxgpkJMbl/j9
 Y8tA==
X-Gm-Message-State: AOJu0YxjI/+ULuqvXAgrUJkubD9zXLn8/O+vRap1UudWLmloMK1fggCD
 j5my+wvxVOJdD1TBNYtzbSKnRp9FVD6qb7pkFDkyeKf1PYArNhNXtVWm0kIl
X-Google-Smtp-Source: AGHT+IGdLA94ofQp+Sig6N/UEvGKnblX/6XLi3b9W8/UtPh2Sv0HHORmv6+7fYja9s6mPNzrw3wEGw==
X-Received: by 2002:a17:90b:4c07:b0:2e2:c00c:cb79 with SMTP id
 98e67ed59e1d1-2ea154dadf4mr11169923a91.3.1731842507047; 
 Sun, 17 Nov 2024 03:21:47 -0800 (PST)
Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3])
 by smtp.gmail.com with ESMTPSA id
 98e67ed59e1d1-2ea7752f0a0sm13360a91.50.2024.11.17.03.21.45
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 17 Nov 2024 03:21:46 -0800 (PST)
From: gemmaro <gemmaro.dev@HIDDEN>
To: 74393 <at> debbugs.gnu.org
Subject: [PATCH 1/2] gnu: Add perl-unicode-eastasianwidth.
Date: Sun, 17 Nov 2024 20:21:28 +0900
Message-ID: <4abd6decfed02b6cd60aa76ae25598ba81511117.1731840319.git.gemmaro.dev@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1731840319.git.gemmaro.dev@HIDDEN>
References: <cover.1731840319.git.gemmaro.dev@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: gemmaro <gemmaro.dev@HIDDEN>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 74393
Cc: gemmaro <gemmaro.dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* gnu/packages/perl.scm (perl-unicode-eastasianwidth): New variable.

Change-Id: I3b9eb2a15bf77aa64109dbd2836ac1d71aa509f0
---
 gnu/packages/perl.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/perl.scm b/gnu/packages/perl.scm
index faaac13bf1..4d7f9a2854 100644
--- a/gnu/packages/perl.scm
+++ b/gnu/packages/perl.scm
@@ -11830,6 +11830,27 @@ (define-public perl-unicode-collate
     ;; license.
     (license (list (package-license perl) license:expat))))
 
+(define-public perl-unicode-eastasianwidth
+  (package
+    (name "perl-unicode-eastasianwidth")
+    (version "12.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (string-append
+             "mirror://cpan/authors/id/A/AU/AUDREYT/Unicode-EastAsianWidth-"
+             version ".tar.gz"))
+       (sha256
+        (base32 "1x0gm5akah6x1ypykipywlm2hi95mhqjrnipc5zggragdj9gsnra"))))
+    (build-system perl-build-system)
+    (home-page "https://metacpan.org/release/Unicode-EastAsianWidth")
+    (synopsis "East Asian Width properties")
+    (description
+     "This module provides user-defined Unicode properties that deal with width
+status of East Asian characters, as specified in
+@url{https://www.unicode.org/reports/tr11/,Unicode® Standard Annex #11}.")
+    (license license:cc0)))
+
 (define-public perl-unicode-linebreak
   (package
     (name "perl-unicode-linebreak")
-- 
2.46.0





Information forwarded to gemmaro.dev@HIDDEN, guix-patches@HIDDEN:
bug#74393; Package guix-patches. Full text available.

Message received at 74393 <at> debbugs.gnu.org:


Received: (at 74393) by debbugs.gnu.org; 17 Nov 2024 11:22:54 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 06:22:53 2024
Received: from localhost ([127.0.0.1]:56084 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tCdMj-0004Us-BQ
	for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 06:22:53 -0500
Received: from mail-pj1-f41.google.com ([209.85.216.41]:52324)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gemmaro.dev@HIDDEN>) id 1tCdMh-0004Ui-Af
 for 74393 <at> debbugs.gnu.org; Sun, 17 Nov 2024 06:22:52 -0500
Received: by mail-pj1-f41.google.com with SMTP id
 98e67ed59e1d1-2ea5a22d80cso207135a91.0
 for <74393 <at> debbugs.gnu.org>; Sun, 17 Nov 2024 03:22:51 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1731842510; x=1732447310; darn=debbugs.gnu.org;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:from:to:cc:subject:date
 :message-id:reply-to;
 bh=07ne5HkcO6WSM1Y2+IcI4ZmmVayimoN3BQUNCBpyKWc=;
 b=QcOKKXP4kGzMWYfbttWXblmb6EqeutgZDR0MH6jDQhFiYDy1b3zzn6n0eys4IV3NRf
 Stg/hI19/fDq3opqjKcnTN5h+XpivqH/59b/khJdQlW2RKvDaPU77+HGm+ChbQnV47Bg
 R8euPC1XhoAGE2/54QHXmyhCLh0E/n7Mp96QuRg7KtFc4KRhdhqnR8WH+5aTj0kf2Mm0
 jGqjDEnB/tPgAf/KeSYWHOEiez2AYwWZEfihGR1J7UUbZMgKpPh/t3eOmIVl1/wmmqMm
 /oAzGn+EsWygo1hUncSOMz34AKw5YYFLGy1EL33B4EbwrCK0BqW8zGqYDTi5c3b5IqtS
 6dkg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1731842510; x=1732447310;
 h=content-transfer-encoding:mime-version:references:in-reply-to
 :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc
 :subject:date:message-id:reply-to;
 bh=07ne5HkcO6WSM1Y2+IcI4ZmmVayimoN3BQUNCBpyKWc=;
 b=UB2O0IGMIjsljGh+3GYNfyZvj7wMJ+PZrQmrLg3kAfl7JAqx7mPoOx/KgjIBJR/3yd
 p0aIali51udxKFKntEWp+PNclZ2Wabxb6OTrdVg8VbBu2iMZrt8cQvgRosuQo22cI0Bh
 G1gyodXq8rWGVXcFzeYXx7k1UoA7r/4xYGC4chiL50X9sNk/RJPywTh53qlHEqDpHG/n
 GyQuuCuwltcvmroK/t9jUH2YkuASy12N/mvpUT409lVXm94OPkQO8DsE5rA+cl80boxN
 KxBPSffE4Q3I5lckH99AzMgXBoey6SJ2AzLSK0UymKPP6CuoxUpRJHNPWG4JvKdC5tA8
 p74w==
X-Gm-Message-State: AOJu0YznYWxUUgzCy/aW2Dv9xClfAecNd44FFjI+IryPi6inj4LsJTdY
 K1/mQaQ0t7oArH6HLfnq1DmCUQ+9vQq8cWl1Um1wqfPgM9RuOWpnIqUlTFKo
X-Google-Smtp-Source: AGHT+IHqpHWJSv2vxZ9ZHgQF9d1WHT4JRFIhSJBloHijim2wfTC1BT7jUu+daIPYkj2PvtpQh63sNA==
X-Received: by 2002:a17:90b:3c0c:b0:2ea:4150:3f82 with SMTP id
 98e67ed59e1d1-2ea415044a0mr4554942a91.22.1731842510579; 
 Sun, 17 Nov 2024 03:21:50 -0800 (PST)
Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3])
 by smtp.gmail.com with ESMTPSA id
 98e67ed59e1d1-2ea7752f0a0sm13360a91.50.2024.11.17.03.21.49
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 17 Nov 2024 03:21:50 -0800 (PST)
From: gemmaro <gemmaro.dev@HIDDEN>
To: 74393 <at> debbugs.gnu.org
Subject: [PATCH 2/2] gnu: texinfo-7: Use external modules.
Date: Sun, 17 Nov 2024 20:21:29 +0900
Message-ID: <2ccd9b48bbc1649f1a0e3fd5d9f5f6395add8dcc.1731840319.git.gemmaro.dev@HIDDEN>
X-Mailer: git-send-email 2.46.0
In-Reply-To: <cover.1731840319.git.gemmaro.dev@HIDDEN>
References: <cover.1731840319.git.gemmaro.dev@HIDDEN>
MIME-Version: 1.0
X-Debbugs-Cc: gemmaro <gemmaro.dev@HIDDEN>
Content-Transfer-Encoding: 8bit
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 74393
Cc: gemmaro <gemmaro.dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)

* 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
---
 gnu/packages/texinfo.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/texinfo.scm b/gnu/packages/texinfo.scm
index 81afdaf7a7..ac10af59fc 100644
--- a/gnu/packages/texinfo.scm
+++ b/gnu/packages/texinfo.scm
@@ -116,9 +116,17 @@ (define-public texinfo-7
                (base32
                 "10kcdb3pf7yakniccvv0krchs2fh3vh1rvhvnqr98ll3cbj3gbii"))))
     (inputs (modify-inputs (package-inputs texinfo)
-              (append perl-archive-zip)))        ;needed for 'tex2any --epub3'
+              (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))
        ((#:phases phases #~%standard-phases)
         #~(modify-phases #$phases
             (add-after 'install 'wrap-program
-- 
2.46.0





Information forwarded to gemmaro.dev@HIDDEN, guix-patches@HIDDEN:
bug#74393; Package guix-patches. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 17 Nov 2024 10:53:39 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sun Nov 17 05:53:39 2024
Received: from localhost ([127.0.0.1]:56035 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tCcuQ-0003Bf-Nk
	for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 05:53:38 -0500
Received: from lists.gnu.org ([209.51.188.17]:55868)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <gemmaro.dev@HIDDEN>) id 1tCcuN-0003BV-80
 for submit <at> debbugs.gnu.org; Sun, 17 Nov 2024 05:53:36 -0500
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <gemmaro.dev@HIDDEN>)
 id 1tCcuM-0004y1-VL
 for guix-patches@HIDDEN; Sun, 17 Nov 2024 05:53:35 -0500
Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <gemmaro.dev@HIDDEN>)
 id 1tCcuL-0008Kg-Jc
 for guix-patches@HIDDEN; Sun, 17 Nov 2024 05:53:34 -0500
Received: by mail-pg1-x52e.google.com with SMTP id
 41be03b00d2f7-7edb6879196so2366335a12.3
 for <guix-patches@HIDDEN>; Sun, 17 Nov 2024 02:53:32 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1731840811; x=1732445611; darn=gnu.org;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=2Ntrk417Jm575ytnYdZi0UxUv4xrx764po7qlnwPJ0E=;
 b=St/hQz0gYrdALcarLRG+5DLcmw9VaQRDNxyhMHEbq4C/C5glPC1DZRfzMNJNAXXBGW
 cR6HUB7JaqggyXXs0TBD0vBVDvAqaWYY++zAUMiKHWk0LrrJkTgJlkSLaxbZetfD2wd3
 n8pzOyDelTbStxXUIoOU34uk6I4yqXO1toaI1D8pSGuZHOAvwoFiimQ4hH7c49wgwi4T
 TcJK1jyVU1AbvvgglkUE4IiBJ70KllKZJHiraCX8pahy1uWYmWF7EGAeldBevg7MZTCe
 FfcvuZgPi663abMsxVIETG9319Wg8TsxJHF2XgGOgZiKLthXxArEXWL4YOqLwj3bKMjp
 wBgA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1731840811; x=1732445611;
 h=content-transfer-encoding:mime-version:message-id:date:subject:cc
 :to:from:x-gm-message-state:from:to:cc:subject:date:message-id
 :reply-to;
 bh=2Ntrk417Jm575ytnYdZi0UxUv4xrx764po7qlnwPJ0E=;
 b=aYTumV0lDps9N8CbDtjyA04PPFVTCxnTzfvIOzBEoxkm40hS1KbBfREIiYw1o9ysRN
 iTWWfMExhR3h62ZX5i6IFJ7pwfnPh72f7lOOo/oAH0nHbrOj8sDLqhXbcd2pIrow7+X4
 XtDLYBCSzZzvnIWWxgBL1C8BH6HrEaHHomLTAxvCruIcycVcthswT7qJ1ILgHsQmoLh5
 rWbayh2wr4tsaN5QI8zlZz6Uu9elg0g9jlkhQzHVMvLaJNm7K65T5KBxygJ9KgCGZOQn
 2q1uyskHJY/3PXbjyxslGrLEujbk7LCkfQspgGhi9mT00cN+GOPSTLmavNg/8nznLdKx
 8z1Q==
X-Gm-Message-State: AOJu0YzBAH2hkyJGinnebes2dA4dxY+q3XFl92mxRJtXbHf/TPAHs5b2
 nu+9Ce8IbHGhCjl6MaYLY6ltyMly7PI0h9C8S4axYvAZNZdBIH7/JIdvh1n+
X-Google-Smtp-Source: AGHT+IExgl5bqSnT3KDGd2Z1LI7veA3G/iVOcS9JJbc7cMjRm2bRwaqUx5mzjxDEIGIwKEZFTG3DOg==
X-Received: by 2002:a05:6a20:2595:b0:1dc:3c58:ee78 with SMTP id
 adf61e73a8af0-1dc90b47f37mr13427138637.18.1731840811276; 
 Sun, 17 Nov 2024 02:53:31 -0800 (PST)
Received: from mac.gemmaro.name ([240f:74:d1f0:1:1883:f3d1:907f:a2e3])
 by smtp.gmail.com with ESMTPSA id
 41be03b00d2f7-7f8c1dada4bsm3500149a12.56.2024.11.17.02.53.29
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Sun, 17 Nov 2024 02:53:30 -0800 (PST)
From: gemmaro <gemmaro.dev@HIDDEN>
To: guix-patches@HIDDEN
Subject: [PATCH 0/2] gnu: texinfo-7: Use external modules.
Date: Sun, 17 Nov 2024 19:52:00 +0900
Message-ID: <cover.1731840319.git.gemmaro.dev@HIDDEN>
X-Mailer: git-send-email 2.46.0
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Received-SPF: pass client-ip=2607:f8b0:4864:20::52e;
 envelope-from=gemmaro.dev@HIDDEN; helo=mail-pg1-x52e.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: -1.3 (-)
X-Debbugs-Envelope-To: submit
Cc: gemmaro <gemmaro.dev@HIDDEN>
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -2.3 (--)

Hello,

This makes Texinfo version 7 to use packaged external modules instead of
bundled sources.  It also adds a dependency package.

Thank you,
gemmaro.

gemmaro (2):
  gnu: Add perl-unicode-eastasianwidth.
  gnu: texinfo-7: Use external modules.

 gnu/packages/perl.scm    | 21 +++++++++++++++++++++
 gnu/packages/texinfo.scm | 10 +++++++++-
 2 files changed, 30 insertions(+), 1 deletion(-)


base-commit: 0e1ffbc7f5f060f89c890472377a6102f27f6e9b
-- 
2.46.0





Acknowledgement sent to gemmaro <gemmaro.dev@HIDDEN>:
New bug report received and forwarded. Copy sent to guix-patches@HIDDEN. Full text available.
Report forwarded to guix-patches@HIDDEN:
bug#74393; Package guix-patches. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sun, 12 Jan 2025 05:45:02 UTC

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