[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
48/72: gnu: Add texlive-dvi2tty-bin.
From: |
guix-commits |
Subject: |
48/72: gnu: Add texlive-dvi2tty-bin. |
Date: |
Mon, 3 Jun 2024 09:00:09 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 7f3b659c091467b1197a7a534acdecd2116d0c9f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 15:46:27 2024 +0200
gnu: Add texlive-dvi2tty-bin.
* gnu/packages/tex.scm (texlive-dvi2tty-bin): New variable.
(texlive-dvi2tty)[propagated-inputs]: Add TEXLIVE-DVI2TTY-BIN.
Change-Id: I4b583f4edb7205cacbe9fcb00286af0513bc88bb
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index e37db2de77..177e6d88ae 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -34672,6 +34672,7 @@ homebrewed classes and package files.")
"108y0qxh13x0iivgsvkk4370f471p03nyl4x9nn7lng1wrsafp6h")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-dvi2tty-bin))
(home-page "https://ctan.org/pkg/dvi2tty")
(synopsis "Produce ASCII from DVI")
(description
@@ -34679,6 +34680,52 @@ homebrewed classes and package files.")
the document.")
(license license:gpl2)))
+(define-public texlive-dvi2tty-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-dvi2tty-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" '())
+ (delete-other-directories "texk" '("dvi2tty"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-dvi2tty" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/dvi2tty"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/dvi2tty"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea texlive-libptexenc))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-dvi2tty))
+ (synopsis "Binaries for @code{texlive-dvi2tty}")
+ (description
+ "This package provides the binaries for @code{texlive-dvi2tty}.")
+ (license (package-license texlive-dvi2tty))))
+
(define-public texlive-dviasm
(package
(name "texlive-dviasm")
- 44/72: gnu: Add texlive-cjkutils-bin., (continued)
- 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, 2024/06/03
- 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 <=
- 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
- 55/72: gnu: Add texlive-seetexk-bin., guix-commits, 2024/06/03
- 56/72: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/06/03
- 58/72: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/03