[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
32/97: gnu: Add texlive-pmx-bin.
From: |
guix-commits |
Subject: |
32/97: gnu: Add texlive-pmx-bin. |
Date: |
Fri, 21 Jun 2024 08:22:57 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 97021cf38fafdb19ee5090efb15a9e0cff22a001
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 23:34:59 2024 +0200
gnu: Add texlive-pmx-bin.
* gnu/packages/tex.scm (texlive-pmx-bin): New variable.
(texlive-pmx)[propagated-inputs]: Add TEXLIVE-PMX-BIN.
Change-Id: Ie392c5735f495d724e44ab1e3a88e19be00edaf5
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 9c3900e40e..8fa229d494 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -25654,6 +25654,7 @@ is recommended.")
"1p9js9izv50vg7qqqmyg5jz4am4phhscqdfnn4nszlyfv3zkg7p3")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-pmx-bin))
(home-page "https://ctan.org/pkg/pmx")
(synopsis "Preprocessor for MusiXTeX")
(description
@@ -25666,6 +25667,52 @@ your score. @command{scor2prt} is an auxiliary
program that makes parts from
a score.")
(license license:gpl2)))
+(define-public texlive-pmx-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-pmx-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" '("pmx"))
+ (delete-other-directories "texk" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-pmx" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/pmx"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "utils/pmx"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-pmx))
+ (synopsis "Binaries for @code{texlive-pmx}")
+ (description
+ "This package provides the binaries for @code{texlive-pmx}.")
+ (license (package-license texlive-pmx))))
+
(define-public texlive-pmxchords
(package
(name "texlive-pmxchords")
- 05/97: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., (continued)
- 05/97: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/21
- 12/97: gnu: texlive-xcjk2uni: Fix build., guix-commits, 2024/06/21
- 10/97: gnu: texlive-bin: Minimize build surface., guix-commits, 2024/06/21
- 15/97: gnu: Add texlive-mfware-bin., guix-commits, 2024/06/21
- 20/97: gnu: Add texlive-uptex-bin., guix-commits, 2024/06/21
- 21/97: gnu: Add texlive-ptex-bin., guix-commits, 2024/06/21
- 22/97: gnu: Add texlive-bibtex-bin., guix-commits, 2024/06/21
- 23/97: gnu: Add texlive-dvicopy-bin., guix-commits, 2024/06/21
- 26/97: gnu: Add texlive-aleph-bin., guix-commits, 2024/06/21
- 30/97: gnu: Add texlive-autosp-bin., guix-commits, 2024/06/21
- 32/97: gnu: Add texlive-pmx-bin.,
guix-commits <=
- 31/97: gnu: Add texlive-gregoriotex-bin., guix-commits, 2024/06/21
- 36/97: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/21
- 34/97: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/21
- 37/97: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/21
- 38/97: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/21
- 03/97: gnu: Add texlive-source., guix-commits, 2024/06/21
- 40/97: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/21
- 41/97: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/21
- 42/97: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/21
- 43/97: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/21