guix-commits
[Top][All Lists]
Advanced

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

16/73: gnu: Add texlive-patgen-bin.


From: guix-commits
Subject: 16/73: gnu: Add texlive-patgen-bin.
Date: Tue, 4 Jun 2024 16:39:51 -0400 (EDT)

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

commit 7a64ce66440e7b2c765357c62bf9b9854e524d05
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 16:13:52 2024 +0200

    gnu: Add texlive-patgen-bin.
    
    * gnu/packages/tex.scm (texlive-patgen-bin): New variable.
    (texlive-patgen)[propagated-inputs]: Add TEXLIVE-PATGEN-BIN.
    
    Change-Id: Id1d86035a7015bd447b9a24ea7e430a7b5ef57a4
---
 gnu/packages/tex.scm | 25 ++++++++++++++++++++++++-
 1 file changed, 24 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index c694905e18..42e972a98d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -38967,7 +38967,7 @@ considered as word, header etc.")
               "03y05mv0n04hyj0lcq54grx7w5wv95h61j6xlx2jc9v0ib9akq4y")))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
-    (propagated-inputs (list texlive-kpathsea))
+    (propagated-inputs (list texlive-kpathsea texlive-patgen-bin))
     (home-page "https://ctan.org/pkg/patgen";)
     (synopsis "Generate hyphenation patterns")
     (description
@@ -38975,6 +38975,29 @@ considered as word, header etc.")
 that can be used by the TeX 82 hyphenation algorithm.")
     (license license:public-domain)))
 
+(define-public texlive-patgen-bin
+  (package
+    (inherit texlive-bin)
+    (name "texlive-patgen-bin")
+    (arguments
+     (substitute-keyword-arguments (package-arguments texlive-bin)
+       ((#:configure-flags flags)
+        #~(delete "--enable-web2c" #$flags))
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (replace 'install
+              (lambda _
+                (with-directory-excursion "texk/web2c"
+                  (invoke "make" "patgen")
+                  (install-file "patgen"
+                                (string-append #$output "/bin")))))))))
+    (native-inputs (list pkg-config))
+    (home-page (package-home-page texlive-patgen))
+    (synopsis "Binary for @code{texlive-patgen}")
+    (description
+     "This package provides the binary for @code{texlive-patgen}.")
+    (license (package-license texlive-patgen))))
+
 (define-public texlive-pdfbook2
   (package
     (name "texlive-pdfbook2")



reply via email to

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