* [bug#74393] [PATCH 0/2] gnu: texinfo-7: Use external modules.
@ 2024-11-17 10:52 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
0 siblings, 2 replies; 3+ messages in thread
From: gemmaro @ 2024-11-17 10:52 UTC (permalink / raw)
To: 74393; +Cc: gemmaro
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* [bug#74393] [PATCH 1/2] gnu: Add perl-unicode-eastasianwidth.
2024-11-17 10:52 [bug#74393] [PATCH 0/2] gnu: texinfo-7: Use external modules gemmaro
@ 2024-11-17 11:21 ` gemmaro
2024-11-17 11:21 ` [bug#74393] [PATCH 2/2] gnu: texinfo-7: Use external modules gemmaro
1 sibling, 0 replies; 3+ messages in thread
From: gemmaro @ 2024-11-17 11:21 UTC (permalink / raw)
To: 74393; +Cc: gemmaro, gemmaro
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [bug#74393] [PATCH 2/2] gnu: texinfo-7: Use external modules.
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 ` gemmaro
1 sibling, 0 replies; 3+ messages in thread
From: gemmaro @ 2024-11-17 11:21 UTC (permalink / raw)
To: 74393; +Cc: gemmaro, gemmaro
* 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
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-11-17 11:23 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.