[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/70: gnu: Add texlive-t1utils-bin.
From: |
guix-commits |
Subject: |
57/70: gnu: Add texlive-t1utils-bin. |
Date: |
Sat, 1 Jun 2024 19:50:07 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 326d073a058d29e0011a60b0108935afd59b6ef7
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 16:34:14 2024 +0200
gnu: Add texlive-t1utils-bin.
* gnu/packages/tex.scm (texlive-t1utils-bin): New variable.
(texlive-t1utils)[propagated-inputs]: Add TEXLIVE-T1UTILS-BIN.
Change-Id: I35fff0ac6bc176da248a43e8d434c746830875e0
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9f6ebd6136..8ec6c294f8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -44301,6 +44301,7 @@ known as railroad diagrams.")
"0hdk57179nn57wnmvr3jasjavkvmrn6ryph6jvjhsfqprn7bhf1y")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-t1utils-bin))
(home-page "https://ctan.org/pkg/t1utils")
(synopsis "Simple Type 1 font manipulation programs")
(description
@@ -44318,6 +44319,52 @@ and -editable format;
@end itemize")
(license license:public-domain)))
+(define-public texlive-t1utils-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-t1utils-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 "texk" '())
+ (delete-other-directories "utils" '("t1utils"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-t1utils" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/t1utils"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "utils/t1utils"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-t1utils))
+ (synopsis "Binaries for @code{texlive-t1utils}")
+ (description
+ "This package provides the binaries for @code{texlive-t1utils}.")
+ (license (package-license texlive-t1utils))))
+
(define-public texlive-table-fct
(package
(name "texlive-table-fct")
- 29/70: gnu: Add texlive-pmx-bin., (continued)
- 29/70: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/01
- 40/70: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/01
- 43/70: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/01
- 49/70: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/01
- 54/70: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/01
- 46/70: gnu: Add texlive-detex-bin., guix-commits, 2024/06/01
- 30/70: gnu: Add texlive-velthuis-bin., guix-commits, 2024/06/01
- 51/70: gnu: Add texlive-dvipng-bin., guix-commits, 2024/06/01
- 53/70: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/06/01
- 58/70: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/01
- 57/70: gnu: Add texlive-t1utils-bin.,
guix-commits <=
- 59/70: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/01
- 61/70: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/01
- 62/70: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/01
- 65/70: gnu: texlive-dvipos: Build binaries separately., guix-commits, 2024/06/01
- 68/70: gnu: texlive-xindy: Build binary separately., guix-commits, 2024/06/01
- 69/70: gnu: texlive importer: Propagate binaries when necessary., guix-commits, 2024/06/01
- 31/70: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/01
- 33/70: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/01
- 35/70: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/01
- 32/70: gnu: Add texlive-bibtexu-bin., guix-commits, 2024/06/01