guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

23/71: gnu: Add texlive-aleph-bin.


From: guix-commits
Subject: 23/71: gnu: Add texlive-aleph-bin.
Date: Sun, 2 Jun 2024 06:21:43 -0400 (EDT)

ngz pushed a commit to branch tex-team
in repository guix.

commit fdf479f73a3a20509c8bb504cfd0301906cb3c14
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 18:51:50 2024 +0200

    gnu: Add texlive-aleph-bin.
    
    * gnu/packages/tex.scm (texlive-aleph-bin): New variable.
    (texlive-aleph)[propagated-inputs]: Add TEXLIVE-ALEPH-BIN.
    
    Change-Id: I77bb0bc1943f43d57f801404317568c438cb2f50
---
 gnu/packages/tex.scm | 28 +++++++++++++++++++++++++++-
 1 file changed, 27 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8b492cc884..0bec02e1b9 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -2083,7 +2083,8 @@ number styles are available.")
     (build-system texlive-build-system)
     (arguments (list #:create-formats #~(list "aleph")))
     (propagated-inputs
-     (list texlive-cm
+     (list texlive-aleph-bin
+           texlive-cm
            texlive-hyphen-base
            texlive-knuth-lib
            texlive-lambda
@@ -2096,6 +2097,31 @@ number styles are available.")
 extensions of TeX, itself developed for e-TeX.")
     (license license:gpl3+)))
 
+(define-public texlive-aleph-bin
+  (package
+    (inherit texlive-bin)
+    (name "texlive-aleph-bin")
+    (arguments
+     (substitute-keyword-arguments (package-arguments texlive-bin)
+       ((#:configure-flags flags)
+        #~(cons* "--disable-web2c"
+                 "--enable-aleph"
+                 (delete "--disable-aleph"
+                         (delete "--enable-web2c" #$flags))))
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (replace 'install
+              (lambda _
+                (with-directory-excursion "texk/web2c"
+                  (invoke "make" "aleph")
+                  (install-file "aleph" (string-append #$output "/bin")))))))))
+    (native-inputs (list pkg-config))
+    (home-page (package-home-page texlive-aleph))
+    (synopsis "Binary for @code{texlive-aleph}")
+    (description
+     "This package provides the binary for @code{texlive-aleph}.")
+    (license (package-license texlive-aleph))))
+
 (define-public texlive-alfaslabone
   (package
     (name "texlive-alfaslabone")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]