[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
45/66: gnu: Add texlive-dtl-bin.
From: |
guix-commits |
Subject: |
45/66: gnu: Add texlive-dtl-bin. |
Date: |
Wed, 29 May 2024 10:17:29 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 0c4fead05c95af98afe10814b0cd15adcbb36083
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 15:37:22 2024 +0200
gnu: Add texlive-dtl-bin.
* gnu/packages/tex.scm (texlive-dtl-bin): New variable.
(texlive-dtl)[propagated-inputs]: Add TEXLIVE-DTL-BIN.
Change-Id: I27ea9d82451f96f3548f6556e9260736c96137c9
---
gnu/packages/tex.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index e0bcdd3d5c..ceded8ae2a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -34562,6 +34562,7 @@ information on creating packages and documentation.")
"0kvnsr8nxrys99rp74wlxnisfripx6jpjjkqy38d3d4gw13cvb5g")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-dtl-bin))
(home-page "https://ctan.org/pkg/dtl")
(synopsis "Tools to dis-assemble and re-assemble DVI files")
(description
@@ -34571,6 +34572,53 @@ which is readily readable by humans. The DTL bundle
contains an assembler
@command{dv2dt}, which produces DTL files from DVI files.")
(license license:public-domain)))
+(define-public texlive-dtl-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-dtl-bin")
+ (source
+ (origin
+ (inherit texlive-source)
+ (modules '((guix build utils)
+ (ice-9 ftw)))
+ (snippet
+ #~(let ((delete-other-directories
+ (lambda (root keep)
+ (with-directory-excursion root
+ (for-each
+ delete-file-recursively
+ (scandir
+ "."
+ (lambda (file)
+ (and (not (member file (append keep '("." ".."))))
+ (eq? 'directory (stat:type (stat file)))))))))))
+ (delete-other-directories "libs" '())
+ (delete-other-directories "utils" '())
+ (delete-other-directories "texk" '("dtl"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-dtl" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/dtl"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/dtl"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-dtl))
+ (synopsis "Binaries for @code{texlive-dtl}")
+ (description
+ "This package provides the binaries for @code{texlive-dtl}.")
+ (license (package-license texlive-dtl))))
+
(define-public texlive-dtxgen
(package
(name "texlive-dtxgen")
- 36/66: gnu: Add texlive-ttfutils-bin., (continued)
- 36/66: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/05/29
- 35/66: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/05/29
- 37/66: gnu: Add texlive-upmendex-bin., guix-commits, 2024/05/29
- 41/66: gnu: Add texlive-vlna-bin., guix-commits, 2024/05/29
- 42/66: gnu: Add texlive-cjkutils-bin., guix-commits, 2024/05/29
- 43/66: gnu: Add texlive-chktex-bin., guix-commits, 2024/05/29
- 39/66: gnu: Add texlive-makeindex-bin., guix-commits, 2024/05/29
- 40/66: gnu: Add texlive-metapost-bin., guix-commits, 2024/05/29
- 38/66: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/05/29
- 44/66: gnu: Add texlive-detex-bin., guix-commits, 2024/05/29
- 45/66: gnu: Add texlive-dtl-bin.,
guix-commits <=
- 46/66: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/05/29
- 48/66: gnu: Add texlive-dviljk-bin., guix-commits, 2024/05/29
- 51/66: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/05/29
- 52/66: gnu: Add texlive-lacheck-bin., guix-commits, 2024/05/29
- 50/66: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/05/29
- 47/66: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/05/29
- 49/66: gnu: Add texlive-dvipng-bin., guix-commits, 2024/05/29
- 54/66: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/05/29
- 55/66: gnu: Add texlive-t1utils-bin., guix-commits, 2024/05/29
- 58/66: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/05/29