[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
30/97: gnu: Add texlive-autosp-bin.
From: |
guix-commits |
Subject: |
30/97: gnu: Add texlive-autosp-bin. |
Date: |
Fri, 21 Jun 2024 08:22:56 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 84290a3041c15970c65ec10396df3eca7389f0ef
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 23:04:13 2024 +0200
gnu: Add texlive-autosp-bin.
* gnu/packages/tex.scm (texlive-autosp-bin): New variable.
(texlive-autosp)[propagated-inputs]: Add TEXLIVE-AUTOSP-BIN.
Change-Id: I60f82f3bc10bc9dc29a7e56859eb537a58bc6cac
---
gnu/packages/tex.scm | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d8e2cda09e..963844c708 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -4202,6 +4202,7 @@ computer-generated long formulae with many terms.")
"16szmbffp9pwzv7zq3l4yvnsfk4m7w57wib7pqpgv1v5fzhlaahs")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-autosp-bin))
(home-page "https://ctan.org/pkg/autosp")
(synopsis
"Preprocessor generating note-spacing commands for MusiXTeX scores")
@@ -4215,6 +4216,53 @@ concern for note-spacing changes within the part or
spacing requirements of
other parts.")
(license license:gpl2+)))
+(define-public texlive-autosp-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-autosp-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" '("autosp"))
+ (delete-other-directories "texk" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-autosp" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "utils/autosp"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda* (#:key inputs native-inputs #:allow-other-keys)
+ (with-directory-excursion "utils/autosp"
+ (invoke "make" "install"))))))))
+ (native-inputs '())
+ (inputs '())
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-autosp))
+ (synopsis "Binaries for @code{texlive-autosp}")
+ (description
+ "This package provides binaries for @code{texlive-autosp}.")
+ (license (package-license texlive-autosp))))
+
+
(define-public texlive-axodraw2
(package
(name "texlive-axodraw2")
- 08/97: gnu: texlive-context: Fix "context" call., (continued)
- 08/97: gnu: texlive-context: Fix "context" call., guix-commits, 2024/06/21
- 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 <=
- 32/97: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/21
- 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