[PATCH 0/2] gnu: texinfo-7: Use external modules.

  • Open
  • quality assurance status badge
Details
One participant
  • gemmaro
Owner
unassigned
Submitted by
gemmaro
Severity
normal

Debbugs page

G
G
gemmaro wrote 4 days ago
(address . guix-patches@gnu.org)(name . gemmaro)(address . gemmaro.dev@gmail.com)
cover.1731840319.git.gemmaro.dev@gmail.com
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
G
G
gemmaro wrote 4 days ago
[PATCH 2/2] gnu: texinfo-7: Use external modules.
(address . 74393@debbugs.gnu.org)(name . gemmaro)(address . gemmaro.dev@gmail.com)
2ccd9b48bbc1649f1a0e3fd5d9f5f6395add8dcc.1731840319.git.gemmaro.dev@gmail.com
* 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(-)

Toggle diff (25 lines)
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
G
G
gemmaro wrote 4 days ago
[PATCH 1/2] gnu: Add perl-unicode-eastasianwidth.
(address . 74393@debbugs.gnu.org)(name . gemmaro)(address . gemmaro.dev@gmail.com)
4abd6decfed02b6cd60aa76ae25598ba81511117.1731840319.git.gemmaro.dev@gmail.com
* gnu/packages/perl.scm (perl-unicode-eastasianwidth): New variable.

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

Toggle diff (34 lines)
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
?
Your comment

Commenting via the web interface is currently disabled.

To comment on this conversation send an email to 74393@patchwise.org

To respond to this issue using the mumi CLI, first switch to it
mumi current 74393
Then, you may apply the latest patchset in this issue (with sign off)
mumi am -- -s
Or, compose a reply to this issue
mumi compose
Or, send patches to this issue
mumi send-email *.patch