[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
72/97: gnu: texlive-xindy: Build binary separately.
From: |
guix-commits |
Subject: |
72/97: gnu: texlive-xindy: Build binary separately. |
Date: |
Fri, 21 Jun 2024 06:41:26 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit b481d8ff708773d2b2300650181ab78c4cc57d34
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 2de017714f..58a340187d 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -73329,12 +73329,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)
@@ -73357,16 +73383,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
@@ -73378,23 +73404,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
- 33/97: gnu: Add texlive-velthuis-bin., (continued)
- 33/97: gnu: Add texlive-velthuis-bin., guix-commits, 2024/06/21
- 35/97: gnu: Add texlive-bibtexu-bin., guix-commits, 2024/06/21
- 37/97: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/21
- 46/97: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/21
- 57/97: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/21
- 60/97: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/21
- 65/97: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/21
- 70/97: gnu: texlive-musixtnt: Build binary separately., guix-commits, 2024/06/21
- 69/97: gnu: texlive-dvipos: Build binaries separately., guix-commits, 2024/06/21
- 64/97: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/21
- 72/97: gnu: texlive-xindy: Build binary separately.,
guix-commits <=
- 73/97: guix: import texlive: Propagate binaries when necessary., guix-commits, 2024/06/21
- 82/97: guix: import texlive: Rename some functions., guix-commits, 2024/06/21
- 81/97: guix: import texlive: Remove need for having "svn" binary in PATH., guix-commits, 2024/06/21
- 80/97: gnu: texlive-hyphen-complete: Fix locations., guix-commits, 2024/06/21
- 86/97: guix: import texlive: Factorize package inputs listing., guix-commits, 2024/06/21
- 85/97: guix: import texlive: Move a comment., guix-commits, 2024/06/21
- 87/97: guix: import texlive: Handle versions., guix-commits, 2024/06/21
- 93/97: gnu: Factorize URLs relative to TeX Live., guix-commits, 2024/06/21
- 97/97: guix: texlive importer: Adjust to generate new source format., guix-commits, 2024/06/21
- 96/97: gnu: texlive-scripts: Add missing file name for checkout., guix-commits, 2024/06/21