[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
57/97: gnu: Add texlive-lacheck-bin.
From: |
guix-commits |
Subject: |
57/97: gnu: Add texlive-lacheck-bin. |
Date: |
Fri, 21 Jun 2024 06:41:17 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit ada174f096fd1658747eca6a2f8a0583b1b9be19
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 16:19:31 2024 +0200
gnu: Add texlive-lacheck-bin.
* gnu/packages/tex.scm (texlive-lacheck-bin): New variable.
(texlive-lacheck)[propagated-inputs]: Add TEXLIVE-LACHECK-BIN.
Change-Id: Ibc2032c323f7631469d00291d9769327620b82de
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 79a1a1deb2..808d8aa1d3 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -39698,12 +39698,59 @@ generated code can be included in any LaTeX
document.")
"1hhx65yd800bl3y2sq20lix60wd2b2j3k7n9s788mlsn8b0p7yq3")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-lacheck-bin))
(home-page "https://ctan.org/pkg/lacheck")
(synopsis "LaTeX checker")
(description
"Lacheck is a tool for finding common mistakes in LaTeX documents.")
(license license:gpl3+)))
+(define-public texlive-lacheck-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-lacheck-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" '("lacheck"))
+ (delete-other-directories "texk" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-lacheck" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/lacheck"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "utils/lacheck"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-lacheck))
+ (synopsis "Binary for @code{texlive-lacheck}")
+ (description
+ "This package provides the binary for @code{texlive-lacheck}.")
+ (license (package-license texlive-lacheck))))
+
(define-public texlive-latex-git-log
(package
(name "texlive-latex-git-log")
- 89/97: gnu: Set version of all TeX Live packages to "2023.0"., (continued)
- 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, 2024/06/21
- 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 <=
- 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
- 73/97: guix: import texlive: Propagate binaries when necessary., guix-commits, 2024/06/21
- 82/97: guix: import texlive: Rename some functions., guix-commits, 2024/06/21
- 81/97: guix: import texlive: Remove need for having "svn" binary in PATH., guix-commits, 2024/06/21
- 80/97: gnu: texlive-hyphen-complete: Fix locations., guix-commits, 2024/06/21