[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
61/71: gnu: Add texlive-xml2pmx-bin.
From: |
guix-commits |
Subject: |
61/71: gnu: Add texlive-xml2pmx-bin. |
Date: |
Sun, 2 Jun 2024 06:22:01 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit dca91b5dc4c04188fc1ee4f74ce9d6c62374d319
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 3f4c59695c..70fc2c3f23 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -48719,6 +48719,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
@@ -48726,6 +48727,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")
- 60/71: gnu: texlive-kpathsea: Propagate the binaries., (continued)
- 60/71: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/02
- 59/71: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/02
- 64/71: gnu: texlive-dviout-util: Build binaries separately., guix-commits, 2024/06/02
- 55/71: gnu: Add texlive-seetexk-bin., guix-commits, 2024/06/02
- 66/71: gnu: texlive-dvipos: Build binaries separately., guix-commits, 2024/06/02
- 71/71: gnu: Update commentary section in "tex.scm"., guix-commits, 2024/06/02
- 57/71: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/02
- 70/71: gnu: texlive importer: Propagate binaries when necessary., guix-commits, 2024/06/02
- 62/71: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/02
- 53/71: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/06/02
- 61/71: gnu: Add texlive-xml2pmx-bin.,
guix-commits <=
- 58/71: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/02
- 67/71: gnu: texlive-musixtnt: Build binary separately., guix-commits, 2024/06/02
- 56/71: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/06/02
- 65/71: gnu: texlive-ps2pk: Build binaries separately., guix-commits, 2024/06/02
- 69/71: gnu: texlive-xindy: Build binary separately., guix-commits, 2024/06/02