[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/97: gnu: Add texlive-xml2pmx-bin.
From: |
guix-commits |
Subject: |
64/97: gnu: Add texlive-xml2pmx-bin. |
Date: |
Fri, 21 Jun 2024 06:41:22 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 4be493081437a904f79770e3afa7bdb78c75a068
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 18:26:02 2024 +0200
gnu: Add texlive-xml2pmx-bin.
* gnu/packages/tex.scm (texlive-xml2pmx-bin): New variable.
(texlive-xml2pmx)[propagated-inputs]: Add TEXLIVE-XML2PMX-BIN.
Change-Id: I112c29945b0643374cced1eb24d598d2cd2259ea
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d00744b0b0..ec55863775 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -48742,6 +48742,7 @@ correctly; and define two extra commands:
@code{\\vfrac} and
"1d3ralqh0b71scd59b4hmm707yfrz1rj28ni2lzkhbb1ql73bvah")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-xml2pmx-bin))
(home-page "https://ctan.org/pkg/xml2pmx")
(synopsis "Convert MusicXML to PMX and MusiXTeX")
(description
@@ -48749,6 +48750,52 @@ correctly; and define two extra commands:
@code{\\vfrac} and
MusiXTeX processing.")
(license license:gpl3+)))
+(define-public texlive-xml2pmx-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-xml2pmx-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" '("xml2pmx"))
+ (delete-other-directories "texk" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-xml2pmx" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/xml2pmx"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "utils/xml2pmx"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-xml2pmx))
+ (synopsis "Binary for @code{texlive-xml2pmx}")
+ (description
+ "This package provides the binary for @code{texlive-xml2pmx}.")
+ (license (package-license texlive-xml2pmx))))
+
(define-public texlive-xmltexconfig
(package
(name "texlive-xmltexconfig")
- 31/97: gnu: Add texlive-gregoriotex-bin., (continued)
- 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, 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 <=
- 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
- 86/97: guix: import texlive: Factorize package inputs listing., guix-commits, 2024/06/21
- 85/97: guix: import texlive: Move a comment., guix-commits, 2024/06/21
- 87/97: guix: import texlive: Handle versions., guix-commits, 2024/06/21
- 93/97: gnu: Factorize URLs relative to TeX Live., guix-commits, 2024/06/21
- 97/97: guix: texlive importer: Adjust to generate new source format., guix-commits, 2024/06/21