[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
46/75: gnu: Add texlive-cjkutils-bin.
From: |
guix-commits |
Subject: |
46/75: gnu: Add texlive-cjkutils-bin. |
Date: |
Mon, 10 Jun 2024 12:24:42 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 8f384df04332bad78e9b533113aeff2e2144133f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 15:26:07 2024 +0200
gnu: Add texlive-cjkutils-bin.
* gnu/packages/tex.scm (texlive-cjkutils-bin): New variable.
(texlive-cjkutils)[propagated-inputs]: Add TEXLIVE-CJKUTILS-BIN.
Change-Id: I0790442c9295a00fdb7024d844a75dcac2f9ad3a
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2a7babe601..3cbc0353c6 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9431,6 +9431,7 @@ adjust locations and kerning of CJK punctuation marks.")
"0by2g05xv5dndnd78jz9y73fyswqhfvcbzcw8rzhvpvd6inrcdq8")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-cjkutils-bin))
(home-page "https://ctan.org/pkg/cjk")
(synopsis "CJK language support")
(description
@@ -9443,6 +9444,52 @@ the above --- Cyrillic, Greek, Latin-based scripts,
Russian and Vietnamese are
supported.")
(license license:gpl2)))
+(define-public texlive-cjkutils-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-cjkutils-bin")
+ (source
+ (origin
+ (inherit texlive-source)
+ (modules '((guix build utils)
+ (ice-9 ftw)))
+ (snippet
+ #~(let ((delete-other-directories
+ (lambda (root dirs)
+ (with-directory-excursion root
+ (for-each
+ delete-file-recursively
+ (scandir "."
+ (lambda (file)
+ (and (not (member file (append '("." "..")
dirs)))
+ (eq? 'directory (stat:type (stat
file)))))))))))
+ (delete-other-directories "libs/" '())
+ (delete-other-directories "utils/" '())
+ (delete-other-directories "texk/" '("cjkutils"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-cjkutils-x" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/cjkutils"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/cjkutils"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-cjkutils))
+ (synopsis "Binaries for @code{texlive-cjkutils}")
+ (description
+ "This package provides the binaries for @code{texlive-cjkutils}.")
+ (license (package-license texlive-cjkutils))))
+
(define-public texlive-clara
(package
(name "texlive-clara")
- 33/75: gnu: Add texlive-bibtex8-bin., (continued)
- 33/75: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/10
- 35/75: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/10
- 36/75: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/10
- 38/75: gnu: Add texlive-xdvi-bin., guix-commits, 2024/06/10
- 39/75: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/10
- 37/75: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/10
- 40/75: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/10
- 41/75: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/10
- 44/75: gnu: Add texlive-metapost-bin., guix-commits, 2024/06/10
- 45/75: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/10
- 46/75: gnu: Add texlive-cjkutils-bin.,
guix-commits <=
- 42/75: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/10
- 43/75: gnu: Add texlive-makeindex-bin., guix-commits, 2024/06/10
- 47/75: gnu: Add texlive-chktex-bin., guix-commits, 2024/06/10
- 48/75: gnu: Add texlive-detex-bin., guix-commits, 2024/06/10
- 49/75: gnu: Add texlive-dtl-bin., guix-commits, 2024/06/10
- 51/75: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/10
- 52/75: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/10
- 54/75: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/06/10
- 57/75: gnu: Add texlive-seetexk-bin., guix-commits, 2024/06/10
- 53/75: gnu: Add texlive-dvipng-bin., guix-commits, 2024/06/10