[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
15/55: gnu: texlive-lcdftypetools: Build executables.
From: |
guix-commits |
Subject: |
15/55: gnu: texlive-lcdftypetools: Build executables. |
Date: |
Sat, 18 May 2024 10:33:27 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 6c6605635c304ad2645fd6ed4eb67c3ce44ba92d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Sat May 11 13:11:16 2024 +0200
gnu: texlive-lcdftypetools: Build executables.
* gnu/packages/tex.scm (texlive-lcdftypetools): Inherit from TEXLIVE-BIN.
[source]: Build from a trimmed TEXLIVE-SOURCE.
[arguments]: Build `lcdf-typetools' as a single package.
* gnu/packages/tex.scm (texlive-bin): Do not build lcdf-typetools.
Change-Id: Ifc19df9e24a5eb07f5b9f26d77072fab3a78b21c
---
gnu/packages/tex.scm | 68 ++++++++++++++++++++++++++++++----------------------
1 file changed, 39 insertions(+), 29 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index b75a273e39..a6ba4dd40e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -708,6 +708,7 @@ and should be preferred to it whenever a package would
otherwise depend on
"dvisvgm"
"kpathsea"
"lacheck"
+ "lcdf-typetools"
"psutils"
"upmendex"
"xindy"))))
@@ -37586,36 +37587,45 @@ TeX.")
(define-public texlive-lcdftypetools
(package
+ (inherit texlive-bin)
(name "texlive-lcdftypetools")
- (version (number->string %texlive-revision))
- (source (texlive-origin
- name version
- (list "doc/man/man1/cfftot1.1"
- "doc/man/man1/cfftot1.man1.pdf"
- "doc/man/man1/mmafm.1"
- "doc/man/man1/mmafm.man1.pdf"
- "doc/man/man1/mmpfb.1"
- "doc/man/man1/mmpfb.man1.pdf"
- "doc/man/man1/otfinfo.1"
- "doc/man/man1/otfinfo.man1.pdf"
- "doc/man/man1/otftotfm.1"
- "doc/man/man1/otftotfm.man1.pdf"
- "doc/man/man1/t1dotlessj.1"
- "doc/man/man1/t1dotlessj.man1.pdf"
- "doc/man/man1/t1lint.1"
- "doc/man/man1/t1lint.man1.pdf"
- "doc/man/man1/t1rawafm.1"
- "doc/man/man1/t1rawafm.man1.pdf"
- "doc/man/man1/t1reencode.1"
- "doc/man/man1/t1reencode.man1.pdf"
- "doc/man/man1/t1testpage.1"
- "doc/man/man1/t1testpage.man1.pdf"
- "doc/man/man1/ttftotype42.1"
- "doc/man/man1/ttftotype42.man1.pdf")
- (base32
- "0yjbc6rsf8c62qa1lyi9kjyjy2p0xlps19llnvly3xyhla08j76f")))
- (outputs '("out" "doc"))
- (build-system texlive-build-system)
+ (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* "--disable-all-pkgs"
+ "--enable-lcdf-typetools"
+ (delete "--disable-lcdf-typetools" #$flags)))
+ ((#:phases _)
+ #~(modify-phases %standard-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 texlive-libkpathsea))
+ (inputs '())
(propagated-inputs (list texlive-glyphlist))
(home-page "https://ctan.org/pkg/lcdf-typetools")
(synopsis "Bundle of outline font manipulation tools")
- 04/55: gnu: texlive-bin, texlive-kpathsea: Refer to TEXLIVE-SOURCE., (continued)
- 04/55: gnu: texlive-bin, texlive-kpathsea: Refer to TEXLIVE-SOURCE., guix-commits, 2024/05/18
- 03/55: gnu: texlive-psutils: Build executables., guix-commits, 2024/05/18
- 05/55: gnu: texlive-bin: Remove unnecessary phases., guix-commits, 2024/05/18
- 06/55: gnu: texlive-bin: Remove conditional tests on some architectures., guix-commits, 2024/05/18
- 07/55: gnu: texlive-libkpathsea: Set sane values in "texmf.cnf"., guix-commits, 2024/05/18
- 08/55: gnu: texlive-dvisvgm: Build executables., guix-commits, 2024/05/18
- 09/55: gnu: texlive-upmendex: Build executable., guix-commits, 2024/05/18
- 10/55: gnu: texlive-xindy: Refactor package., guix-commits, 2024/05/18
- 12/55: gnu: texlive-bin: Skip building axodraw2., guix-commits, 2024/05/18
- 11/55: gnu: texlive-bin: Do not build Xindy., guix-commits, 2024/05/18
- 15/55: gnu: texlive-lcdftypetools: Build executables.,
guix-commits <=
- 13/55: gnu: texlive-cjkutils: Build executables., guix-commits, 2024/05/18
- 14/55: gnu: texlive-lacheck: Build executable., guix-commits, 2024/05/18
- 16/55: gnu: texlive-t1utils: Build executables., guix-commits, 2024/05/18
- 17/55: gnu: texlive-dvipng: Build executables., guix-commits, 2024/05/18
- 18/55: gnu: texlive-afm2pl: Build executable., guix-commits, 2024/05/18
- 20/55: gnu: texlive-dvi2tty: Build executables., guix-commits, 2024/05/18
- 21/55: gnu: texlive-autosp: Build executable., guix-commits, 2024/05/18
- 22/55: gnu: texlive-velthuis: Build executable., guix-commits, 2024/05/18
- 23/55: gnu: texlive-ps2eps: Build executables., guix-commits, 2024/05/18
- 25/55: gnu: texlive-libkpathsea: Tiny refactoring., guix-commits, 2024/05/18