[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/75: gnu: Add texlive-lcdftypetools-bin.
From: |
guix-commits |
Subject: |
55/75: gnu: Add texlive-lcdftypetools-bin. |
Date: |
Mon, 10 Jun 2024 12:24:46 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 3db8a069c8322c5bfa10373060c40baf56b2e2ae
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 16:16:48 2024 +0200
gnu: Add texlive-lcdftypetools-bin.
* gnu/packages/tex.scm (texlive-lcdftypetools-bin): New variable.
(texlive-lcdftypetools)[propagated-inputs]: Add TEXLIVE-LCDFTYPETOOLS-BIN.
Change-Id: I3091f6122365dc087d030d0e1458ce412fd94e30
---
gnu/packages/tex.scm | 48 +++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 47 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 22bc47861c..dd15122fec 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -38788,7 +38788,7 @@ TeX.")
"0yjbc6rsf8c62qa1lyi9kjyjy2p0xlps19llnvly3xyhla08j76f")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
- (propagated-inputs (list texlive-glyphlist))
+ (propagated-inputs (list texlive-glyphlist texlive-lcdftypetools-bin))
(home-page "https://ctan.org/pkg/lcdf-typetools")
(synopsis "Bundle of outline font manipulation tools")
(description
@@ -38823,6 +38823,52 @@ a Type 1 font.
@end itemize")
(license license:gpl3+)))
+(define-public texlive-lcdftypetools-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-lcdftypetools-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" '("lcdf-typetools"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-lcdf-typetools" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/lcdf-typetools"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/lcdf-typetools"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-lcdftypetools))
+ (synopsis "Binaries for @code{texlive-lcdftypetools}")
+ (description
+ "This package provides the binaries for @code{texlive-lcdftypetools}.")
+ (license (package-license texlive-lcdftypetools))))
+
(define-public texlive-latex
(package
(name "texlive-latex")
- 42/75: gnu: Add texlive-gsftopk-bin., (continued)
- 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
- 55/75: gnu: Add texlive-lcdftypetools-bin.,
guix-commits <=
- 56/75: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/10
- 58/75: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/06/10
- 61/75: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/10
- 66/75: gnu: texlive-dviout-util: Build binaries separately., guix-commits, 2024/06/10
- 50/75: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/10
- 60/75: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/10
- 62/75: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/10
- 63/75: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/10
- 64/75: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/10
- 65/75: gnu: Add texlive-mflua-bin., guix-commits, 2024/06/10