[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
42/72: gnu: Add texlive-metapost-bin.
From: |
guix-commits |
Subject: |
42/72: gnu: Add texlive-metapost-bin. |
Date: |
Mon, 3 Jun 2024 09:00:06 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 68fc8eefc786c1d9913fe11dfb08195d5627aafa
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 9d61ea352a..2849cc90c8 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -57813,7 +57813,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
@@ -57822,6 +57822,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")
- 40/72: gnu: Add texlive-gsftopk-bin., (continued)
- 40/72: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/03
- 39/72: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/03
- 38/72: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/03
- 44/72: gnu: Add texlive-cjkutils-bin., guix-commits, 2024/06/03
- 45/72: gnu: Add texlive-chktex-bin., guix-commits, 2024/06/03
- 34/72: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/03
- 35/72: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/03
- 36/72: gnu: Add texlive-xdvi-bin., guix-commits, 2024/06/03
- 37/72: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/03
- 41/72: gnu: Add texlive-makeindex-bin., guix-commits, 2024/06/03
- 42/72: gnu: Add texlive-metapost-bin.,
guix-commits <=
- 43/72: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/03
- 46/72: gnu: Add texlive-detex-bin., guix-commits, 2024/06/03
- 48/72: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/03
- 51/72: gnu: Add texlive-dvipng-bin., guix-commits, 2024/06/03
- 52/72: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/06/03
- 54/72: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/03
- 50/72: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/03
- 47/72: gnu: Add texlive-dtl-bin., guix-commits, 2024/06/03
- 49/72: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/03
- 53/72: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/06/03