guix-commits
[Top][All Lists]
Advanced

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

32/69: gnu: Add texlive-bibtexu-bin.


From: guix-commits
Subject: 32/69: gnu: Add texlive-bibtexu-bin.
Date: Fri, 31 May 2024 19:04:46 -0400 (EDT)

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

commit 8a965240740007ad05555e282f4287d3c7fb2cc2
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 9218281b20..01a88f2f85 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -33786,6 +33786,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
@@ -33793,6 +33794,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]