[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
40/141: gnu: Add texlive-tpic2pdftex-bin.
From: |
guix-commits |
Subject: |
40/141: gnu: Add texlive-tpic2pdftex-bin. |
Date: |
Wed, 26 Jun 2024 06:33:44 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 2ab0c67bd1e9ee298af737be2e1bc1032e74e5ba
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 00:33:02 2024 +0200
gnu: Add texlive-tpic2pdftex-bin.
* gnu/packages/tex.scm (texlive-tpic2pdftex-bin): New variable.
(texlive-tpic2pdftex)[propagated-inputs]: Add TEXLIVE-TPIC2PDFTEX-BIN.
Change-Id: I8b48c82c8df632c8bbe2d0aac76f1a7421116c2b
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 3198b6f361..e4bf23f508 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -45786,6 +45786,7 @@ is planned.")
"02nf2fg4xzh8lbbddvm44qyvcvfn5b7kzcyg729a58l29gd88pbs")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-tpic2pdftex-bin))
(home-page "https://ctan.org/pkg/tpic2pdftex")
(synopsis "Use @code{tpic} commands in pdfTeX")
(description
@@ -45793,6 +45794,52 @@ is planned.")
@code{.PS} and @code{.PE} markers), to @code{\\pdfliteral} commands.")
(license license:gpl3+)))
+(define-public texlive-tpic2pdftex-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-tpic2pdftex-bin")
+ (source
+ (origin
+ (inherit texlive-source)
+ (modules '((guix build utils)
+ (ice-9 ftw)))
+ (snippet
+ #~(let ((delete-other-directories
+ (lambda (root dirs)
+ (with-directory-excursion root
+ (for-each
+ delete-file-recursively
+ (scandir "."
+ (lambda (file)
+ (and (not (member file (append '("." "..")
dirs)))
+ (eq? 'directory (stat:type (stat
file)))))))))))
+ (delete-other-directories "libs" '())
+ (delete-other-directories "utils" '("tpic2pdftex"))
+ (delete-other-directories "texk" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons* "--enable-tpic2pdftex" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/tpic2pdftex"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "utils/tpic2pdftex"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-tpic2pdftex))
+ (synopsis "Binary for @code{texlive-tpic2pdftex}")
+ (description
+ "This package provides the binary for @code{texlive-tpic2pdftex}.")
+ (license (package-license texlive-tpic2pdftex))))
+
(define-public texlive-tqft
(package
(name "texlive-tqft")
- 31/141: gnu: Add texlive-gregoriotex-bin., (continued)
- 31/141: gnu: Add texlive-gregoriotex-bin., guix-commits, 2024/06/26
- 32/141: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/26
- 33/141: gnu: Add texlive-velthuis-bin., guix-commits, 2024/06/26
- 34/141: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/26
- 35/141: gnu: Add texlive-bibtexu-bin., guix-commits, 2024/06/26
- 36/141: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/26
- 37/141: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/26
- 39/141: gnu: Add texlive-xdvi-bin., guix-commits, 2024/06/26
- 38/141: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/26
- 41/141: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/26
- 40/141: gnu: Add texlive-tpic2pdftex-bin.,
guix-commits <=
- 43/141: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/26
- 44/141: gnu: Add texlive-makeindex-bin., guix-commits, 2024/06/26
- 42/141: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/26
- 46/141: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/26
- 49/141: gnu: Add texlive-detex-bin., guix-commits, 2024/06/26
- 52/141: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/26
- 45/141: gnu: Add texlive-metapost-bin., guix-commits, 2024/06/26
- 47/141: gnu: Add texlive-cjkutils-bin., guix-commits, 2024/06/26
- 48/141: gnu: Add texlive-chktex-bin., guix-commits, 2024/06/26
- 51/141: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/26