[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/73: gnu: Add texlive-metapost-bin.
From: |
guix-commits |
Subject: |
42/73: gnu: Add texlive-metapost-bin. |
Date: |
Tue, 4 Jun 2024 16:40:01 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 53ed3f77dddf4910586c01f43b0a428a167343a4
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 99d078024e..32d9572bb8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -57814,7 +57814,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
@@ -57823,6 +57823,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")
- 24/73: gnu: Add texlive-hitex-bin., (continued)
- 24/73: gnu: Add texlive-hitex-bin., guix-commits, 2024/06/04
- 25/73: gnu: Add texlive-afm2pl-bin., guix-commits, 2024/06/04
- 26/73: gnu: Add texlive-m-tx-bin., guix-commits, 2024/06/04
- 27/73: gnu: Add texlive-autosp-bin., guix-commits, 2024/06/04
- 28/73: gnu: Add texlive-gregoriotex-bin., guix-commits, 2024/06/04
- 30/73: gnu: Add texlive-velthuis-bin., guix-commits, 2024/06/04
- 33/73: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/04
- 36/73: gnu: Add texlive-xdvi-bin., guix-commits, 2024/06/04
- 37/73: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/04
- 38/73: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/04
- 42/73: gnu: Add texlive-metapost-bin.,
guix-commits <=
- 45/73: gnu: Add texlive-chktex-bin., guix-commits, 2024/06/04
- 47/73: gnu: Add texlive-dtl-bin., guix-commits, 2024/06/04
- 52/73: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/06/04
- 50/73: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/04
- 49/73: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/04
- 60/73: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/04
- 59/73: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/04
- 35/73: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/04
- 40/73: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/04
- 70/73: gnu: texlive importer: Propagate binaries when necessary., guix-commits, 2024/06/04