[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
44/97: gnu: Add texlive-makeindex-bin.
From: |
guix-commits |
Subject: |
44/97: gnu: Add texlive-makeindex-bin. |
Date: |
Fri, 21 Jun 2024 08:23:02 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit b85486f60c9def473d70fcfb9d233dd0f98a157d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 07:18:47 2024 +0200
gnu: Add texlive-makeindex-bin.
* gnu/packages/tex.scm (texlive-makeindex-bin): New variable.
(texlive-makeindex)[propagated-inputs]: Add TEXLIVE-MAKEINDEX-BIN.
Change-Id: I00a5600d3260696c3c67f89902e7f69ea98ba30d
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index d27ffac5cb..04cfba4c0a 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -54680,6 +54680,7 @@ always (re)defines a command. There is also
@code{\\makeenvironment} and
"0m01m0x1kf10yvzxgrkvpic0amsr0g6q2r2wsg5f4ngybq4y9gyi")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-makeindex-bin))
(home-page "https://ctan.org/pkg/makeindexk")
(synopsis "Makeindex development sources")
(description
@@ -54687,6 +54688,52 @@ always (re)defines a command. There is also
@code{\\makeenvironment} and
(license
(license:fsf-free
"https://mirrors.ctan.org/indexing/makeindex/COPYING"))))
+(define-public texlive-makeindex-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-makeindex-bin")
+ (source
+ (origin
+ (inherit texlive-source)
+ (modules '((guix build utils)
+ (ice-9 ftw)))
+ (snippet
+ #~(let ((delete-other-directories
+ (lambda (root dirs)
+ (with-directory-excursion root
+ (for-each
+ delete-file-recursively
+ (scandir "."
+ (lambda (file)
+ (and (not (member file (append '("." "..")
dirs)))
+ (eq? 'directory (stat:type (stat
file)))))))))))
+ (delete-other-directories "libs" '())
+ (delete-other-directories "texk" '("makeindexk" "tests"))
+ (delete-other-directories "utils" '())))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-makeindexk" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/makeindexk"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/makeindexk"
+ (invoke "make" "install"))))))))
+ (native-inputs (list perl pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-makeindex))
+ (synopsis "Binary for @code{texlive-makeindex}")
+ (description
+ "This package provides the binary for @code{texlive-makeindex}.")
+ (license (package-license texlive-makeindex))))
+
(define-public texlive-marginfix
(package
(name "texlive-marginfix")
- 31/97: gnu: Add texlive-gregoriotex-bin., (continued)
- 31/97: gnu: Add texlive-gregoriotex-bin., guix-commits, 2024/06/21
- 36/97: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/21
- 34/97: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/21
- 37/97: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/21
- 38/97: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/21
- 03/97: gnu: Add texlive-source., guix-commits, 2024/06/21
- 40/97: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/21
- 41/97: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/21
- 42/97: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/21
- 43/97: gnu: Add texlive-gsftopk-bin., guix-commits, 2024/06/21
- 44/97: gnu: Add texlive-makeindex-bin.,
guix-commits <=
- 45/97: gnu: Add texlive-metapost-bin., guix-commits, 2024/06/21
- 53/97: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/21
- 02/97: gnu: texlive-libkpathsea: Remove duplicate documentation., guix-commits, 2024/06/21
- 14/97: gnu: texlive-latex-bin: Create symlinks for "latex" variants., guix-commits, 2024/06/21
- 19/97: gnu: Add texlive-patgen-bin., guix-commits, 2024/06/21
- 24/97: gnu: Add texlive-dvipdfmx-bin., guix-commits, 2024/06/21
- 25/97: gnu: Add texlive-xetex-bin., guix-commits, 2024/06/21
- 27/97: gnu: Add texlive-hitex-bin., guix-commits, 2024/06/21
- 28/97: gnu: Add texlive-afm2pl-bin., guix-commits, 2024/06/21
- 29/97: gnu: Add texlive-m-tx-bin., guix-commits, 2024/06/21