[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
55/73: gnu: Add texlive-seetexk-bin.
From: |
guix-commits |
Subject: |
55/73: gnu: Add texlive-seetexk-bin. |
Date: |
Tue, 4 Jun 2024 16:40:08 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 9b749be8616af9e53b2717394f351120caafd753
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 7013badfe2..e831d77796 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -40615,6 +40615,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
@@ -40640,6 +40641,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")
- 49/73: gnu: Add texlive-dvidvi-bin., (continued)
- 49/73: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/04
- 60/73: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/04
- 59/73: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/04
- 35/73: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/04
- 40/73: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/04
- 70/73: gnu: texlive importer: Propagate binaries when necessary., guix-commits, 2024/06/04
- 51/73: gnu: Add texlive-dvipng-bin., guix-commits, 2024/06/04
- 62/73: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/04
- 69/73: gnu: texlive-xindy: Build binary separately., guix-commits, 2024/06/04
- 21/73: gnu: Add texlive-dvipdfmx-bin., guix-commits, 2024/06/04
- 55/73: gnu: Add texlive-seetexk-bin.,
guix-commits <=
- 57/73: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/04
- 61/73: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/04
- 71/73: gnu: Update commentary section in "tex.scm"., guix-commits, 2024/06/04
- 34/73: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/04
- 56/73: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/06/04
- 58/73: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/04
- 64/73: gnu: texlive-dviout-util: Build binaries separately., guix-commits, 2024/06/04
- 68/73: gnu: texlive-axodraw2: Build binary separately., guix-commits, 2024/06/04
- 73/73: gnu: texlive-texdirflatten: Add missing Perl input., guix-commits, 2024/06/04
- 31/73: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/04