[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/97: gnu: Add texlive-metapost-bin.
From: |
guix-commits |
Subject: |
45/97: gnu: Add texlive-metapost-bin. |
Date: |
Fri, 21 Jun 2024 08:23:02 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 704a16f90eae6e8c4eefa7f76cf39e60ee2dea5f
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 04cfba4c0a..1ae940509e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -57842,7 +57842,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
@@ -57851,6 +57851,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")
- 36/97: gnu: Add texlive-dvips-bin., (continued)
- 36/97: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/21
- 34/97: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/21
- 37/97: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/21
- 38/97: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/21
- 03/97: gnu: Add texlive-source., guix-commits, 2024/06/21
- 40/97: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/21
- 41/97: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/21
- 42/97: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/21
- 43/97: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/21
- 44/97: gnu: Add texlive-makeindex-bin., guix-commits, 2024/06/21
- 45/97: gnu: Add texlive-metapost-bin.,
guix-commits <=
- 53/97: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/21
- 02/97: gnu: texlive-libkpathsea: Remove duplicate documentation., guix-commits, 2024/06/21
- 14/97: gnu: texlive-latex-bin: Create symlinks for "latex" variants., guix-commits, 2024/06/21
- 19/97: gnu: Add texlive-patgen-bin., guix-commits, 2024/06/21
- 24/97: gnu: Add texlive-dvipdfmx-bin., guix-commits, 2024/06/21
- 25/97: gnu: Add texlive-xetex-bin., guix-commits, 2024/06/21
- 27/97: gnu: Add texlive-hitex-bin., guix-commits, 2024/06/21
- 28/97: gnu: Add texlive-afm2pl-bin., guix-commits, 2024/06/21
- 29/97: gnu: Add texlive-m-tx-bin., guix-commits, 2024/06/21
- 33/97: gnu: Add texlive-velthuis-bin., guix-commits, 2024/06/21