[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
52/141: gnu: Add texlive-dvidvi-bin.
From: |
guix-commits |
Subject: |
52/141: gnu: Add texlive-dvidvi-bin. |
Date: |
Wed, 26 Jun 2024 06:33:56 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 509bdb8f5b65a28af69358176985231662139f60
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 15:49:35 2024 +0200
gnu: Add texlive-dvidvi-bin.
* gnu/packages/tex.scm (texlive-dvidvi-bin): New variable.
(texlive-dvidvi)[propagated-inputs]: Add TEXLIVE-DVIDVI-BIN.
Change-Id: I4327b4685048c6bb4833512a4ee80b87d72d6f8c
---
gnu/packages/tex.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 284026ac6f..845dcfc655 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -34822,6 +34822,7 @@ drivers (much like DVItype).")
"1w153rqm7nlmcf6162glxz282nbb6b6hjf5h0p7mbzr0j1357sxj")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-dvidvi-bin))
(home-page "https://ctan.org/pkg/dvidvi")
(synopsis "Convert one DVI file into another")
(description
@@ -34833,6 +34834,53 @@ exclusions.")
;;
<https://metadata.ftp-master.debian.org/changelogs//main/d/dvidvi/dvidvi_1.0-8.2_copyright>.
(license license:gpl3)))
+(define-public texlive-dvidvi-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-dvidvi-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" '("dvidvi"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-dvidvi" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/dvidvi"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/dvidvi"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-dvidvi))
+ (synopsis "Binary for @code{texlive-dvidvi}")
+ (description
+ "This package provides the binary for @code{texlive-dvidvi}.")
+ (license (package-license texlive-dvidvi))))
+
(define-public texlive-dviinfox
(package
(name "texlive-dviinfox")
- 37/141: gnu: Add texlive-psutils-bin., (continued)
- 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, 2024/06/26
- 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 <=
- 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
- 50/141: gnu: Add texlive-dtl-bin., guix-commits, 2024/06/26
- 53/141: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/26
- 57/141: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/26
- 54/141: gnu: Add texlive-dvipng-bin., guix-commits, 2024/06/26
- 55/141: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/06/26
- 56/141: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/06/26