guix-commits
[Top][All Lists]
Advanced

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

30/66: gnu: Add texlive-bibtexu-bin.


From: guix-commits
Subject: 30/66: gnu: Add texlive-bibtexu-bin.
Date: Wed, 29 May 2024 10:17:23 -0400 (EDT)

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

commit f203d49b372421f705f8ee9f6c4561e9bad716d4
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 27 23:56:13 2024 +0200

    gnu: Add texlive-bibtexu-bin.
    
    * gnu/packages/tex.scm (texlive-bibtexu-bin): New variable.
    (texlive-bibtexu)[propagated-inputs]: Add TEXLIVE-BIBTEXu-BIN.
    
    Change-Id: Iafd01d42aee35030e30a761a2f8f42b8908e82b0
---
 gnu/packages/tex.scm | 29 +++++++++++++++++++++++++++++
 1 file changed, 29 insertions(+)

diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 2730aa3561..84438d1430 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -33783,6 +33783,7 @@ order are controlled by an external configuration 
file.")
               "19bp8wn0ssz7gczxp0imbpgi1zwz9x3ya67f072rjzg2zmfpphqg")))
     (outputs '("out" "doc"))
     (build-system texlive-build-system)
+    (propagated-inputs (list texlive-bibtexu-bin))
     (home-page "https://ctan.org/pkg/bibtexu";)
     (synopsis "BibTeX variant supporting Unicode (UTF-8), via ICU")
     (description
@@ -33790,6 +33791,34 @@ order are controlled by an external configuration 
file.")
 supported via the ICU library.")
     (license license:gpl3+)))
 
+(define-public texlive-bibtexu-bin
+  (package
+    (inherit texlive-bibtex8-bin)
+    (name "texlive-bibtexu-bin")
+    (arguments
+     (substitute-keyword-arguments (package-arguments texlive-bibtex8-bin)
+       ((#:configure-flags flags)
+        #~(cons* "--enable-bibtexu"
+                 "--disable-bibtex8"
+                 (delete "--enable-bibtex8"
+                         (delete "--disable-bibtexu" #$flags))))
+       ((#:phases phases)
+        #~(modify-phases #$phases
+            (delete 'skip-bibtexu-test)
+            (add-after 'unpack 'skip-bibtex8-test
+              ;; This package does not build "bibtex8" binary; the test below
+              ;; is therefore bound to fail.  Skip that part.
+              (lambda _
+                (substitute* "texk/bibtex-x/tests/bibtex8u-mem.test"
+                  (("\\./bibtex8 .*") "exit 0\n"))))))))
+    (native-inputs (list pkg-config))
+    (inputs (list icu4c))
+    (home-page (package-home-page texlive-bibtexu))
+    (synopsis "Binary for @code{texlive-bibtexu}")
+    (description
+     "This package provides the binary for @code{texlive-bibtexu}.")
+    (license (package-license texlive-bibtexu))))
+
 (define-public texlive-bundledoc
   (package
     (name "texlive-bundledoc")



reply via email to

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