mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: Add texlive-tpic2pdftex-bin.
* gnu/packages/tex.scm (texlive-tpic2pdftex-bin): New variable. (texlive-tpic2pdftex)[propagated-inputs]: Add TEXLIVE-TPIC2PDFTEX-BIN. Change-Id: I8b48c82c8df632c8bbe2d0aac76f1a7421116c2b
This commit is contained in:
parent
cde7374a9e
commit
11d0061108
1 changed files with 47 additions and 0 deletions
|
@ -45787,6 +45787,7 @@ (define-public texlive-tpic2pdftex
|
|||
"02nf2fg4xzh8lbbddvm44qyvcvfn5b7kzcyg729a58l29gd88pbs")))
|
||||
(outputs '("out" "doc"))
|
||||
(build-system texlive-build-system)
|
||||
(propagated-inputs (list texlive-tpic2pdftex-bin))
|
||||
(home-page "https://ctan.org/pkg/tpic2pdftex")
|
||||
(synopsis "Use @code{tpic} commands in pdfTeX")
|
||||
(description
|
||||
|
@ -45794,6 +45795,52 @@ (define-public texlive-tpic2pdftex
|
|||
@code{.PS} and @code{.PE} markers), to @code{\\pdfliteral} commands.")
|
||||
(license license:gpl3+)))
|
||||
|
||||
(define-public texlive-tpic2pdftex-bin
|
||||
(package
|
||||
(inherit texlive-bin)
|
||||
(name "texlive-tpic2pdftex-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" '("tpic2pdftex"))
|
||||
(delete-other-directories "texk" '())))))
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments texlive-bin)
|
||||
((#:configure-flags flags)
|
||||
#~(cons* "--enable-tpic2pdftex" (delete "--enable-web2c" #$flags)))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
(with-directory-excursion "utils/tpic2pdftex"
|
||||
(invoke "make" "check")))))
|
||||
(replace 'install
|
||||
(lambda _
|
||||
(with-directory-excursion "utils/tpic2pdftex"
|
||||
(invoke "make" "install"))))))))
|
||||
(native-inputs '())
|
||||
(inputs '())
|
||||
(propagated-inputs '())
|
||||
(home-page (package-home-page texlive-tpic2pdftex))
|
||||
(synopsis "Binary for @code{texlive-tpic2pdftex}")
|
||||
(description
|
||||
"This package provides the binary for @code{texlive-tpic2pdftex}.")
|
||||
(license (package-license texlive-tpic2pdftex))))
|
||||
|
||||
(define-public texlive-tqft
|
||||
(package
|
||||
(name "texlive-tqft")
|
||||
|
|
Loading…
Reference in a new issue