[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
28/78: gnu: Add texlive-afm2pl-bin.
From: |
guix-commits |
Subject: |
28/78: gnu: Add texlive-afm2pl-bin. |
Date: |
Wed, 12 Jun 2024 17:00:34 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 7fe5fccfa1eda3dd90442962f4df2d14f3ff5cdc
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 19:24:03 2024 +0200
gnu: Add texlive-afm2pl-bin.
* gnu/packages/tex.scm (texlive-afm2pl-bin): New variable.
(texlive-afm2pl)[propagated-inputs]: Add TEXLIVE-AFM2PL-BIN.
Change-Id: Ibfb1eb61f5202f98d105907052dd6e6c4e5b7642
---
gnu/packages/tex.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 321c987e03..be24da5dd0 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -1890,6 +1890,7 @@ the TeX Gyre bundle do not need this support.")
"19llzzr4kmmyf7l18ngx1rhaqaqvgm3md924m4dxcv7nmrvga2b2")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-afm2pl-bin))
(home-page "https://ctan.org/pkg/afm2pl")
(synopsis "Convert AFM to TeX property list (@file{.pl}) metrics")
(description
@@ -1899,6 +1900,51 @@ a @file{.tfm} (TeX Font Metric) file. It normally
preserves kerns and
ligatures, but also offers additional control over them.")
(license license:gpl2)))
+(define-public texlive-afm2pl-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-afm2pl-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" '("afm2pl"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-afm2pl" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/afm2pl"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/afm2pl"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (synopsis "Binary for @code{texlive-afm2pl}")
+ (description
+ "This package provides the binary for @code{texlive-afm2pl}.")
+ (license (package-license texlive-afm2pl))))
+
(define-public texlive-afparticle
(package
(name "texlive-afparticle")
- 32/78: gnu: Add texlive-pmx-bin., (continued)
- 32/78: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/12
- 13/78: gnu: texlive-csplain: Fix build., guix-commits, 2024/06/12
- 27/78: gnu: Add texlive-hitex-bin., guix-commits, 2024/06/12
- 29/78: gnu: Add texlive-m-tx-bin., guix-commits, 2024/06/12
- 31/78: gnu: Add texlive-gregoriotex-bin., guix-commits, 2024/06/12
- 24/78: gnu: Add texlive-dvipdfmx-bin., guix-commits, 2024/06/12
- 22/78: gnu: Add texlive-bibtex-bin., guix-commits, 2024/06/12
- 23/78: gnu: Add texlive-dvicopy-bin., guix-commits, 2024/06/12
- 19/78: gnu: Add texlive-patgen-bin., guix-commits, 2024/06/12
- 26/78: gnu: Add texlive-aleph-bin., guix-commits, 2024/06/12
- 28/78: gnu: Add texlive-afm2pl-bin.,
guix-commits <=
- 33/78: gnu: Add texlive-velthuis-bin., guix-commits, 2024/06/12
- 35/78: gnu: Add texlive-bibtexu-bin., guix-commits, 2024/06/12
- 40/78: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/12
- 44/78: gnu: Add texlive-makeindex-bin., guix-commits, 2024/06/12
- 46/78: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/12
- 37/78: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/12
- 41/78: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/12
- 05/78: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/12
- 25/78: gnu: Add texlive-xetex-bin., guix-commits, 2024/06/12
- 34/78: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/12