[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
58/137: gnu: Add texlive-seetexk-bin.
From: |
guix-commits |
Subject: |
58/137: gnu: Add texlive-seetexk-bin. |
Date: |
Mon, 24 Jun 2024 18:27:00 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 02b5f3229958b21b776c9937bfba3e949bae500f
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 16:24:10 2024 +0200
gnu: Add texlive-seetexk-bin.
* gnu/packages/tex.scm (texlive-seetexk-bin): New variable.
(texlive-seetexk)[propagated-inputs]: Add TEXLIVE-SEETEXK-BIN.
Change-Id: I6ea1f8cd3100267cf3ba8593f49370f7739d40f2
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 808d8aa1d3..a875f1e526 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -40636,6 +40636,7 @@ stylized format that Metapost outputs.")
"1bhv5xgv8jpam5apdybd0cggnvcizk2r6zs7lim1hmhzafpqqlcx")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-seetexk-bin))
(home-page "https://ctan.org/pkg/dvibook")
(synopsis "Utilities for manipulating DVI files")
(description
@@ -40661,6 +40662,52 @@ SeeTeX project.
@end itemize")
(license license:expat)))
+(define-public texlive-seetexk-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-seetexk-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" '("seetexk"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-seetexk" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/seetexk"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/seetexk"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-seetexk))
+ (synopsis "Binary for @code{texlive-seetexk}")
+ (description
+ "This package provides the binary for @code{texlive-seetexk}.")
+ (license (package-license texlive-seetexk))))
+
(define-public texlive-spix
(package
(name "texlive-spix")
- 46/137: gnu: Add texlive-vlna-bin., (continued)
- 46/137: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/24
- 48/137: gnu: Add texlive-chktex-bin., guix-commits, 2024/06/24
- 49/137: gnu: Add texlive-detex-bin., guix-commits, 2024/06/24
- 43/137: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/24
- 47/137: gnu: Add texlive-cjkutils-bin., guix-commits, 2024/06/24
- 50/137: gnu: Add texlive-dtl-bin., guix-commits, 2024/06/24
- 52/137: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/24
- 53/137: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/24
- 56/137: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/06/24
- 51/137: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/24
- 58/137: gnu: Add texlive-seetexk-bin.,
guix-commits <=
- 66/137: gnu: Add texlive-mflua-bin., guix-commits, 2024/06/24
- 73/137: guix: import texlive: Propagate binaries when necessary., guix-commits, 2024/06/24
- 74/137: gnu: texlive-docstrip: Remove it., guix-commits, 2024/06/24
- 77/137: gnu: texlive-texdirflatten: Add missing Perl input., guix-commits, 2024/06/24
- 75/137: gnu: Update commentary section in "tex.scm"., guix-commits, 2024/06/24
- 80/137: gnu: texlive-hyphen-complete: Fix locations., guix-commits, 2024/06/24
- 82/137: guix: import texlive: Sort modules alphabetically., guix-commits, 2024/06/24
- 85/137: guix: import texlive: Factorize package inputs listing., guix-commits, 2024/06/24
- 63/137: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/24
- 62/137: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/24