gnu: Add texlive-hitex-bin.

* gnu/packages/tex.scm (texlive-hitex-bin): New variable.
(texlive-hitex)[propagated-inputs]: Add TEXLIVE-HITEX-BIN.

Change-Id: I1d116623970d60261b366c5c48e05b2dcf53fbde
This commit is contained in:
Nicolas Goaziou 2024-05-27 18:54:32 +02:00 committed by Ludovic Courtès
parent 1832538153
commit b95b7ee017
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -16774,6 +16774,7 @@ (define-public texlive-hitex
texlive-etex
texlive-everyshi
texlive-firstaid
texlive-hitex-bin
texlive-hyphen-base
texlive-knuth-lib
texlive-l3backend
@ -16800,6 +16801,35 @@ (define-public texlive-hitex
@code{\\vsize}.")
(license license:x11)))
(define-public texlive-hitex-bin
(package
(inherit texlive-bin)
(name "texlive-hitex-bin")
(arguments
(substitute-keyword-arguments (package-arguments texlive-bin)
((#:configure-flags flags)
#~(cons* "--disable-web2c"
"--enable-hitex"
(delete "--disable-hitex"
(delete "--enable-web2c" #$flags))))
((#:phases phases)
#~(modify-phases #$phases
(replace 'install
(lambda _
(with-directory-excursion "texk/web2c"
(let ((bin (string-append #$output "/bin"))
(files '("hishrink" "histretch" "hitex")))
(for-each (lambda (f) (invoke "make" f)) files)
(for-each (lambda (f) (install-file f bin)) files)
(with-directory-excursion bin
(symlink "hitex" "hilatex"))))))))))
(native-inputs (list pkg-config))
(home-page (package-home-page texlive-hitex))
(synopsis "Binaries for @code{texlive-hitex}")
(description
"This package provides the binaries for @code{texlive-hitex}.")
(license (package-license texlive-hitex))))
(define-public texlive-hitszbeamer
(package
(name "texlive-hitszbeamer")