[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
31/81: gnu: Add texlive-gregoriotex-bin.
From: |
guix-commits |
Subject: |
31/81: gnu: Add texlive-gregoriotex-bin. |
Date: |
Tue, 18 Jun 2024 04:40:23 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 1b734655351ef904df19f3b85dd274b60c59c2c4
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 23:08:36 2024 +0200
gnu: Add texlive-gregoriotex-bin.
* gnu/packages/tex.scm (texlive-gregoriotex-bin): New variable.
(texlive-gregoriotex)[propagated-inputs]: Add TEXLIVE-GREGORIOTEX-BIN.
Change-Id: Ifcc2ed2eb193b822d72b6d6a349f522c18bfc1c2
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 963844c708..9c3900e40e 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -15695,6 +15695,7 @@ logo.")
"0lnpq6rfdb6dg543cmbsm817ziim6arxnzxzbn0wn8i8aw681idr")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-gregoriotex-bin))
(home-page "https://ctan.org/pkg/gregoriotex")
(synopsis "Engraving gregorian chant scores")
(description
@@ -15704,6 +15705,52 @@ representation of a score) into a GregorioTeX file,
which makes TeX able to
create a PDF of your score.")
(license license:gpl3)))
+(define-public texlive-gregoriotex-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-gregoriotex-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" '("gregorio"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-gregorio" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/gregorio"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/gregorio"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-gregoriotex))
+ (synopsis "Binary for @code{texlive-gregoriotex}")
+ (description
+ "This package provides the binary for @code{texlive-gregoriotex}.")
+ (license (package-license texlive-gregoriotex))))
+
(define-public texlive-grotesq
(package
(name "texlive-grotesq")
- 08/81: gnu: texlive-context: Fix "context" call., (continued)
- 08/81: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/18
- 18/81: gnu: Add texlive-texware-bin., guix-commits, 2024/06/18
- 16/81: gnu: Add texlive-omegaware-bin., guix-commits, 2024/06/18
- 15/81: gnu: Add texlive-mfware-bin., guix-commits, 2024/06/18
- 23/81: gnu: Add texlive-dvicopy-bin., guix-commits, 2024/06/18
- 17/81: gnu: Add texlive-fontware-bin., guix-commits, 2024/06/18
- 20/81: gnu: Add texlive-uptex-bin., guix-commits, 2024/06/18
- 27/81: gnu: Add texlive-hitex-bin., guix-commits, 2024/06/18
- 26/81: gnu: Add texlive-aleph-bin., guix-commits, 2024/06/18
- 14/81: gnu: texlive-latex-bin: Create symlinks for "latex" variants., guix-commits, 2024/06/18
- 31/81: gnu: Add texlive-gregoriotex-bin.,
guix-commits <=
- 21/81: gnu: Add texlive-ptex-bin., guix-commits, 2024/06/18
- 19/81: gnu: Add texlive-patgen-bin., guix-commits, 2024/06/18
- 28/81: gnu: Add texlive-afm2pl-bin., guix-commits, 2024/06/18
- 30/81: gnu: Add texlive-autosp-bin., guix-commits, 2024/06/18
- 22/81: gnu: Add texlive-bibtex-bin., guix-commits, 2024/06/18
- 32/81: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/18
- 34/81: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/18
- 35/81: gnu: Add texlive-bibtexu-bin., guix-commits, 2024/06/18
- 36/81: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/18
- 24/81: gnu: Add texlive-dvipdfmx-bin., guix-commits, 2024/06/18