[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/69: gnu: Add texlive-cjkutils-bin.
From: |
guix-commits |
Subject: |
44/69: gnu: Add texlive-cjkutils-bin. |
Date: |
Fri, 31 May 2024 19:04:51 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 41afdb01d2f893e34f90f6233997c4f90b9b4272
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 5ce5aad665..5f254cac28 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -9433,6 +9433,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
@@ -9445,6 +9446,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")
- 39/69: gnu: Add texlive-upmendex-bin., (continued)
- 39/69: gnu: Add texlive-upmendex-bin., guix-commits, 2024/05/31
- 48/69: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/05/31
- 35/69: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/05/31
- 45/69: gnu: Add texlive-chktex-bin., guix-commits, 2024/05/31
- 50/69: gnu: Add texlive-dviljk-bin., guix-commits, 2024/05/31
- 51/69: gnu: Add texlive-dvipng-bin., guix-commits, 2024/05/31
- 38/69: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/05/31
- 46/69: gnu: Add texlive-detex-bin., guix-commits, 2024/05/31
- 47/69: gnu: Add texlive-dtl-bin., guix-commits, 2024/05/31
- 41/69: gnu: Add texlive-makeindex-bin., guix-commits, 2024/05/31
- 44/69: gnu: Add texlive-cjkutils-bin.,
guix-commits <=
- 43/69: gnu: Add texlive-vlna-bin., guix-commits, 2024/05/31
- 42/69: gnu: Add texlive-metapost-bin., guix-commits, 2024/05/31
- 52/69: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/05/31
- 53/69: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/05/31
- 54/69: gnu: Add texlive-lacheck-bin., guix-commits, 2024/05/31
- 49/69: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/05/31
- 55/69: gnu: Add texlive-seetexk-bin., guix-commits, 2024/05/31
- 56/69: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/05/31
- 58/69: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/05/31
- 66/69: gnu: texlive-axodraw2: Build binary separately., guix-commits, 2024/05/31