[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
33/97: gnu: Add texlive-velthuis-bin.
From: |
guix-commits |
Subject: |
33/97: gnu: Add texlive-velthuis-bin. |
Date: |
Fri, 21 Jun 2024 06:41:04 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 975f17aeb29363c7cb57b0da52b1cd9862d99364
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 23:48:23 2024 +0200
gnu: Add texlive-velthuis-bin.
* gnu/packages/tex.scm (texlive-velthuis-bin): New variable.
(texlive-velthuis)[propagated-inputs]: Add TEXLIVE-VELTHUIS-BIN.
Change-Id: Ib0f69bc3edb44b45164858ae48bd883dbddaee1d
---
gnu/packages/tex.scm | 88 +++++++++++++++++++++++++++++++++++++++++++++++++++-
1 file changed, 87 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8fa229d494..ee8fdf48df 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -32497,7 +32497,7 @@ style).")
(outputs '("out" "doc"))
(build-system texlive-build-system)
(native-inputs (list texlive-metafont))
- (propagated-inputs (list texlive-xetex-devanagari))
+ (propagated-inputs (list texlive-velthuis-bin texlive-xetex-devanagari))
(home-page "https://ctan.org/pkg/devanagari")
(synopsis "Typeset Devanagari")
(description
@@ -32508,6 +32508,52 @@ languages typically printed in the Devanagari script.
The package provides
fonts, in both Metafont and Type 1 formats.")
(license license:gpl3+)))
+(define-public texlive-velthuis-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-velthuis-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" '("devnag"))
+ (delete-other-directories "texk" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-devnag" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/devnag"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "utils/devnag"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-velthuis))
+ (synopsis "Binary for @code{texlive-velthuis}")
+ (description
+ "This package provide the binary for @code{texlive-velthuis}.")
+ (license (package-license texlive-velthuis))))
+
(define-public texlive-venn
(package
(name "texlive-venn")
@@ -32599,6 +32645,46 @@ strong on layout, from simple alternate-line
indentation to the @code{Mouse's
tale} from @emph{Alice in Wonderland}.")
(license license:lppl)))
+(define texlive-vlna-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-vlna-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" '("vlna"))
+ (delete-other-directories "texk" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons* "--enable-vlna" (delete "--enable-web2c" #$flags)))
+ ((#:phases _)
+ #~(modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/vlna"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "utils/vlna"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())))
+
(define-public texlive-vlna
(package
(name "texlive-vlna")
- 66/97: gnu: Add texlive-mflua-bin., (continued)
- 66/97: gnu: Add texlive-mflua-bin., guix-commits, 2024/06/21
- 74/97: gnu: texlive-docstrip: Remove it., guix-commits, 2024/06/21
- 78/97: gnu: texlive-scripts: Add missing "mktexfmt" symlink., guix-commits, 2024/06/21
- 79/97: gnu: python-sphinx: Fix build., guix-commits, 2024/06/21
- 89/97: gnu: Set version of all TeX Live packages to "2023.0"., guix-commits, 2024/06/21
- 42/97: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/21
- 49/97: gnu: Add texlive-detex-bin., guix-commits, 2024/06/21
- 45/97: gnu: Add texlive-metapost-bin., guix-commits, 2024/06/21
- 28/97: gnu: Add texlive-afm2pl-bin., guix-commits, 2024/06/21
- 31/97: gnu: Add texlive-gregoriotex-bin., guix-commits, 2024/06/21
- 33/97: gnu: Add texlive-velthuis-bin.,
guix-commits <=
- 35/97: gnu: Add texlive-bibtexu-bin., guix-commits, 2024/06/21
- 37/97: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/21
- 46/97: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/21
- 57/97: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/21
- 60/97: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/21
- 65/97: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/21
- 70/97: gnu: texlive-musixtnt: Build binary separately., guix-commits, 2024/06/21
- 69/97: gnu: texlive-dvipos: Build binaries separately., guix-commits, 2024/06/21
- 64/97: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/21
- 72/97: gnu: texlive-xindy: Build binary separately., guix-commits, 2024/06/21