[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
60/97: gnu: Add texlive-t1utils-bin.
From: |
guix-commits |
Subject: |
60/97: gnu: Add texlive-t1utils-bin. |
Date: |
Fri, 21 Jun 2024 08:23:09 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 8ec1efd9ab9d4c0f14b246a6c6f734a0223eeaf6
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 aea33d3c0a..4382f6aadc 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -44319,6 +44319,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
@@ -44336,6 +44337,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")
- 87/97: guix: import texlive: Handle versions., (continued)
- 87/97: guix: import texlive: Handle versions., guix-commits, 2024/06/21
- 84/97: guix: import texlive: Remove `files-differ?' function., guix-commits, 2024/06/21
- 88/97: guix: import texlive: Implement auto-updates., guix-commits, 2024/06/21
- 90/97: gnu: TeX Live packages built from TEXLIVE-SOURCE use same version., guix-commits, 2024/06/21
- 97/97: guix: import texlive: Adjust to generate new source format., guix-commits, 2024/06/21
- 94/97: gnu: Refactor TeX Live packages to refer to SVN directly., guix-commits, 2024/06/21
- 64/97: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/21
- 73/97: guix: import texlive: Propagate binaries when necessary., guix-commits, 2024/06/21
- 77/97: gnu: texlive-texdirflatten: Add missing Perl input., guix-commits, 2024/06/21
- 86/97: guix: import texlive: Factorize package inputs listing., guix-commits, 2024/06/21
- 60/97: gnu: Add texlive-t1utils-bin.,
guix-commits <=
- 67/97: gnu: texlive-dviout-util: Build binaries separately., guix-commits, 2024/06/21
- 68/97: gnu: texlive-ps2pk: Build binaries separately., guix-commits, 2024/06/21
- 79/97: gnu: python-sphinx: Fix build., guix-commits, 2024/06/21
- 83/97: guix: import texlive: Sort modules alphabetically., guix-commits, 2024/06/21
- 91/97: gnu: texlive-scripts: Allow auto-updates., guix-commits, 2024/06/21
- 93/97: gnu: Factorize URLs relative to TeX Live., guix-commits, 2024/06/21