mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-11-07 15:36:20 -05:00
gnu: Add texlive-metapost-bin.
* gnu/packages/tex.scm (texlive-metapost-bin): New variable. (texlive-metapost)[propagated-inputs]: Add TEXLIVE-METAPOST-BIN. Change-Id: I6826d2c74d107ef5d58651b1bb6838aec0fdb6aa
This commit is contained in:
parent
c0b05e765f
commit
9ccd4f8dd4
1 changed files with 29 additions and 1 deletions
|
@ -57843,7 +57843,7 @@ (define-public texlive-metapost
|
|||
"0i6mjq59n7vll81m7r2k83x0q6xx7cg6qcia46298zqc0b0l3qb0")))
|
||||
(outputs '("out" "doc"))
|
||||
(build-system texlive-build-system)
|
||||
(propagated-inputs (list texlive-kpathsea))
|
||||
(propagated-inputs (list texlive-kpathsea texlive-metapost-bin))
|
||||
(home-page "https://ctan.org/pkg/metapost")
|
||||
(synopsis "Create scalable illustrations")
|
||||
(description
|
||||
|
@ -57852,6 +57852,34 @@ (define-public texlive-metapost
|
|||
than the bitmaps Metafont creates.")
|
||||
(license license:lppl)))
|
||||
|
||||
(define-public texlive-metapost-bin
|
||||
(package
|
||||
(inherit texlive-bin)
|
||||
(name "texlive-metapost-bin")
|
||||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments texlive-bin)
|
||||
((#:configure-flags flags)
|
||||
#~(delete "--enable-web2c" #$flags))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'install
|
||||
(lambda _
|
||||
(let ((bin (string-append #$output "/bin")))
|
||||
(with-directory-excursion "texk/web2c"
|
||||
(invoke "make" "mpost")
|
||||
(install-file "mpost" bin))
|
||||
(with-directory-excursion bin
|
||||
(for-each (lambda (link) (symlink "mpost" link))
|
||||
'("dvitomp" "mfplain" "r-mpost"))))))))))
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (modify-inputs (package-inputs texlive-bin)
|
||||
(append cairo mpfr)))
|
||||
(home-page (package-home-page texlive-metapost))
|
||||
(synopsis "Binary for @code{texlive-metapost}")
|
||||
(description
|
||||
"This package provides the binary for @code{texlive-metapost}.")
|
||||
(license (package-license texlive-metapost))))
|
||||
|
||||
(define-public texlive-acmart
|
||||
(package
|
||||
(name "texlive-acmart")
|
||||
|
|
Loading…
Reference in a new issue