[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/69: gnu: Add texlive-metapost-bin.
From: |
guix-commits |
Subject: |
42/69: gnu: Add texlive-metapost-bin. |
Date: |
Fri, 31 May 2024 19:04:50 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 47305ad03ad8d401937f2115b06460e1d6dd484e
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 07:20:20 2024 +0200
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
---
gnu/packages/tex.scm | 30 +++++++++++++++++++++++++++++-
1 file changed, 29 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 738662d99c..5a2aa95d26 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -57816,7 +57816,7 @@ The package contains both the original TrueType font
and the derived Type
"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
@@ -57825,6 +57825,34 @@ technical illustrations. Its output is scalable
PostScript or SVG, rather
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")
- 35/69: gnu: Add texlive-tex4ht-bin., (continued)
- 35/69: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/05/31
- 45/69: gnu: Add texlive-chktex-bin., guix-commits, 2024/05/31
- 50/69: gnu: Add texlive-dviljk-bin., guix-commits, 2024/05/31
- 51/69: gnu: Add texlive-dvipng-bin., guix-commits, 2024/05/31
- 38/69: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/05/31
- 46/69: gnu: Add texlive-detex-bin., guix-commits, 2024/05/31
- 47/69: gnu: Add texlive-dtl-bin., guix-commits, 2024/05/31
- 41/69: gnu: Add texlive-makeindex-bin., guix-commits, 2024/05/31
- 44/69: gnu: Add texlive-cjkutils-bin., guix-commits, 2024/05/31
- 43/69: gnu: Add texlive-vlna-bin., guix-commits, 2024/05/31
- 42/69: gnu: Add texlive-metapost-bin.,
guix-commits <=
- 52/69: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/05/31
- 53/69: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/05/31
- 54/69: gnu: Add texlive-lacheck-bin., guix-commits, 2024/05/31
- 49/69: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/05/31
- 55/69: gnu: Add texlive-seetexk-bin., guix-commits, 2024/05/31
- 56/69: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/05/31
- 58/69: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/05/31
- 66/69: gnu: texlive-axodraw2: Build binary separately., guix-commits, 2024/05/31
- 69/69: gnu: Update commentary section in "tex.scm"., guix-commits, 2024/05/31
- 61/69: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/05/31