[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
52/55: gnu: texlive-bibtexu: Build executable.
From: |
guix-commits |
Subject: |
52/55: gnu: texlive-bibtexu: Build executable. |
Date: |
Sat, 18 May 2024 10:33:42 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit bc8ad5990affa46f1d1f5af20c01f31a955c2719
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Mon May 13 09:59:17 2024 +0200
gnu: texlive-bibtexu: Build executable.
* gnu/packages/tex.scm (texlive-bibtexu-bin): New variable.
(texlive-bibtexu)[arguments]<#:phases>: Include executable.
[native-inputs]: Add TEXLIVE-BIBTEXU-BIN.
Change-Id: I618af3e0f6d647d000f00349def6ba6ca203c2e2
---
gnu/packages/tex.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 41d94f9964..e7f56e724f 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -33708,6 +33708,28 @@ capacity and 8-bit support extensions. National
character set and sorting
order are controlled by an external configuration file.")
(license license:gpl3+)))
+(define 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"))))))))
+ (inputs (list icu4c))))
+
(define-public texlive-bibtexu
(package
(name "texlive-bibtexu")
@@ -33720,6 +33742,16 @@ order are controlled by an external configuration
file.")
"19bp8wn0ssz7gczxp0imbpgi1zwz9x3ya67f072rjzg2zmfpphqg")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (arguments
+ (list #:phases
+ #~(modify-phases %standard-phases
+ (add-after 'install 'install-bin
+ (lambda _
+ (let ((source
+ #$(this-package-native-input "texlive-bibtexu-bin")))
+ (copy-recursively (string-append source "/bin")
+ (string-append #$output "/bin"))))))))
+ (native-inputs (list texlive-bibtexu-bin))
(home-page "https://ctan.org/pkg/bibtexu")
(synopsis "BibTeX variant supporting Unicode (UTF-8), via ICU")
(description
- 35/55: gnu: texlive-tex4ht: Build executables., (continued)
- 35/55: gnu: texlive-tex4ht: Build executables., guix-commits, 2024/05/18
- 36/55: gnu: texlive-seetexk: Build executables., guix-commits, 2024/05/18
- 37/55: gnu: texlive-ps2pk: Build executables., guix-commits, 2024/05/18
- 42/55: gnu: texlive-dvips: Build executables., guix-commits, 2024/05/18
- 50/55: gnu: texlive-bin: Only build "web2c" package., guix-commits, 2024/05/18
- 38/55: gnu: texlive-ptex: Build executables., guix-commits, 2024/05/18
- 45/55: gnu: texlive-dviout-util: Build executables., guix-commits, 2024/05/18
- 51/55: gnu: texlive-bibtex8: Build executable., guix-commits, 2024/05/18
- 43/55: gnu: texlive-dvipos: Build executables., guix-commits, 2024/05/18
- 49/55: gnu: texlive-detex: Build executable., guix-commits, 2024/05/18
- 52/55: gnu: texlive-bibtexu: Build executable.,
guix-commits <=
- 53/55: gnu: Update commentary in "tex.scm"., guix-commits, 2024/05/18
- 54/55: gnu: texlive-libkpathsea: Allow LuaLaTeX finding fonts on the system., guix-commits, 2024/05/18
- 39/55: gnu: texlive-makeindex: Build executables., guix-commits, 2024/05/18
- 40/55: gnu: texlive-gsftopk: Build executables., guix-commits, 2024/05/18
- 44/55: gnu: texlive-dvipdfmx: Build executables., guix-commits, 2024/05/18
- 46/55: gnu: texlive-dviljk: Build executables., guix-commits, 2024/05/18
- 41/55: gnu: texlive-gregoriotex: Build executables., guix-commits, 2024/05/18
- 47/55: gnu: texlive-dvidvi: Build executable., guix-commits, 2024/05/18
- 48/55: gnu: texlive-dtl: Build executables., guix-commits, 2024/05/18
- 55/55: gnu: texlive: Fix ConTeXt., guix-commits, 2024/05/18