[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
71/75: gnu: texlive-xindy: Build binary separately.
From: |
guix-commits |
Subject: |
71/75: gnu: texlive-xindy: Build binary separately. |
Date: |
Mon, 10 Jun 2024 12:24:53 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 8b72ed4f91dc6a9ac71b07bf9118f5f6e2e74575
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 22:07:11 2024 +0200
gnu: texlive-xindy: Build binary separately.
* gnu/packages/tex.scm (texlive-xindy-bin): New variable.
(texlive-xindy): Use source from TEXLIVE-ORIGIN and make it a regular TeX
Live package.
[arguments]: Remove it.
[propagated-inputs]: Add TEXLIVE-XINDY-BIN.
Change-Id: I589b192dcd8fb35deab5d4017c411001a4d05dda
---
gnu/packages/tex.scm | 64 +++++++++++++++++++++++++++++++++++-----------------
1 file changed, 43 insertions(+), 21 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ea78a7f336..da923ce447 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -73303,12 +73303,38 @@ handle complex tests.")
(define-public texlive-xindy
(package
- ;; Texmf tree in TeX Live is incomplete, as it doesn't include
- ;; "xindy.mem", so it is not possible to use `texlive-origin'. This file
- ;; isn't build by default by `texlive-bin' either. Build it specially
- ;; from TEXLIVE-SOURCE instead.
- (inherit texlive-bin)
(name "texlive-xindy")
+ (version (number->string %texlive-revision))
+ (source
+ (texlive-origin name version
+ (list "doc/man/man1/tex2xindy.1"
+ "doc/man/man1/tex2xindy.man1.pdf"
+ "doc/man/man1/texindy.1"
+ "doc/man/man1/texindy.man1.pdf"
+ "doc/man/man1/xindy.1"
+ "doc/man/man1/xindy.man1.pdf"
+ "doc/xindy/"
+ "scripts/xindy/"
+ "xindy/")
+ (base32
+ "12j2bi0wwp1hyxr1427hhigqmhsd1fyg90bvghxkm1qck85r24vf")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs (list texlive-xindy-bin))
+ (home-page "https://ctan.org/pkg/xindy")
+ (synopsis "General-purpose index processor")
+ (description
+ "Xindy was developed after an impasse had been encountered in the attempt
+to complete internationalisation of @command{makeindex}. Xindy can be used to
+process indexes for documents marked up using (La)TeX, Nroff family and
+SGML-based languages. Xindy is highly configurable, both in markup terms and
+in terms of the collating order of the text being processed.")
+ (license license:gpl2+)))
+
+(define-public texlive-xindy-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-xindy-bin")
(source
(origin
(inherit texlive-source)
@@ -73331,16 +73357,16 @@ handle complex tests.")
(substitute-keyword-arguments (package-arguments texlive-bin)
((#:configure-flags flags)
#~(cons "--enable-xindy" (delete "--enable-web2c" #$flags)))
- ((#:phases _)
- #~(modify-phases %standard-phases
- ;; Building documentation require to generate font metrics, but
- ;; HOME and therefore TEXMFVAR are unavailable. Use a local
- ;; TEXMFVAR instead.
+ ((#:phases phases)
+ #~(modify-phases #$phases
(add-before 'build 'set-texmfvar
+ ;; Building documentation require to generate font metrics, but
+ ;; HOME and therefore TEXMFVAR are unavailable. Use a local
+ ;; TEXMFVAR instead.
(lambda _
(setenv "TEXMFVAR" (string-append (getcwd) "/texmf-var"))))
- ;; XXX: Install process does not create this directory.
(add-before 'install 'create-missing-directory
+ ;; XXX: Install process does not create this directory.
(lambda _
(mkdir-p (string-append #$output "/bin"))))
(add-after 'install 'patch-clisp-location
@@ -73352,23 +73378,19 @@ handle complex tests.")
(format #f "our $clisp = ~s;~%"
(search-input-file inputs "/bin/clisp")))))))))))
(native-inputs
- (list clisp
- (texlive-updmap.cfg
+ (list (texlive-updmap.cfg
(list texlive-cbfonts-fd
texlive-cyrillic
texlive-greek-fontenc
texlive-lh))))
(inputs (list clisp perl))
+ (propagated-inputs '())
(native-search-paths '())
- (home-page "https://ctan.org/pkg/xindy")
- (synopsis "General-purpose index processor")
+ (home-page (package-home-page texlive-xindy))
+ (synopsis "Binary for @code{texlive-xindy}")
(description
- "Xindy was developed after an impasse had been encountered in the attempt
-to complete internationalisation of @command{makeindex}. Xindy can be used to
-process indexes for documents marked up using (La)TeX, Nroff family and
-SGML-based languages. Xindy is highly configurable, both in markup terms and
-in terms of the collating order of the text being processed.")
- (license license:gpl2+)))
+ "This package provides the binary for @code{texlive-xindy}.")
+ (license (package-license texlive-xindy))))
(define-public texlive-xindy-persian
(package
- 56/75: gnu: Add texlive-lacheck-bin., (continued)
- 56/75: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/10
- 58/75: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/06/10
- 61/75: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/10
- 66/75: gnu: texlive-dviout-util: Build binaries separately., guix-commits, 2024/06/10
- 50/75: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/10
- 60/75: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/10
- 62/75: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/10
- 63/75: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/10
- 64/75: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/10
- 65/75: gnu: Add texlive-mflua-bin., guix-commits, 2024/06/10
- 71/75: gnu: texlive-xindy: Build binary separately.,
guix-commits <=
- 74/75: gnu: texlive-xits: Fix typo in description., guix-commits, 2024/06/10
- 68/75: gnu: texlive-dvipos: Build binaries separately., guix-commits, 2024/06/10
- 75/75: gnu: texlive-texdirflatten: Add missing Perl input., guix-commits, 2024/06/10
- 59/75: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/10
- 67/75: gnu: texlive-ps2pk: Build binaries separately., guix-commits, 2024/06/10
- 69/75: gnu: texlive-musixtnt: Build binary separately., guix-commits, 2024/06/10
- 70/75: gnu: texlive-axodraw2: Build binary separately., guix-commits, 2024/06/10
- 73/75: gnu: Update commentary section in "tex.scm"., guix-commits, 2024/06/10
- 72/75: gnu: texlive importer: Propagate binaries when necessary., guix-commits, 2024/06/10