mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-02-01 15:26:47 +01:00
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
This commit is contained in:
parent
b95b7ee017
commit
448c3b1737
1 changed files with 46 additions and 0 deletions
|
@ -1891,6 +1891,7 @@ (define-public texlive-afm2pl
|
||||||
"19llzzr4kmmyf7l18ngx1rhaqaqvgm3md924m4dxcv7nmrvga2b2")))
|
"19llzzr4kmmyf7l18ngx1rhaqaqvgm3md924m4dxcv7nmrvga2b2")))
|
||||||
(outputs '("out" "doc"))
|
(outputs '("out" "doc"))
|
||||||
(build-system texlive-build-system)
|
(build-system texlive-build-system)
|
||||||
|
(propagated-inputs (list texlive-afm2pl-bin))
|
||||||
(home-page "https://ctan.org/pkg/afm2pl")
|
(home-page "https://ctan.org/pkg/afm2pl")
|
||||||
(synopsis "Convert AFM to TeX property list (@file{.pl}) metrics")
|
(synopsis "Convert AFM to TeX property list (@file{.pl}) metrics")
|
||||||
(description
|
(description
|
||||||
|
@ -1900,6 +1901,51 @@ (define-public texlive-afm2pl
|
||||||
ligatures, but also offers additional control over them.")
|
ligatures, but also offers additional control over them.")
|
||||||
(license license:gpl2)))
|
(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
|
(define-public texlive-afparticle
|
||||||
(package
|
(package
|
||||||
(name "texlive-afparticle")
|
(name "texlive-afparticle")
|
||||||
|
|
Loading…
Reference in a new issue