mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: texlive-dviout-util: Build binaries separately.
* gnu/packages/tex.scm (texlive-dviout-util-bin): New variable. (texlive-dviout-util): Do not inherit from TEXLIVE-BIN. Make it a regular TeX Live package instead. [source]: Use TEXLIVE-ORIGIN. [arguments]: Remove it. [propagated-inputs]: Add TEXLIVE-DVIOUT-UTIL-BIN. Change-Id: Id6c82baf15df8d253cd15aa6bd31d2d1e707c5fd
This commit is contained in:
parent
b7572bbbc6
commit
06c2c0cde5
1 changed files with 35 additions and 12 deletions
|
@ -34982,8 +34982,32 @@ (define-public texlive-dviljk-bin
|
|||
|
||||
(define-public texlive-dviout-util
|
||||
(package
|
||||
(inherit texlive-bin)
|
||||
(name "texlive-dviout-util")
|
||||
(version (number->string %texlive-revision))
|
||||
(source (texlive-origin
|
||||
name version
|
||||
(list "doc/man/man1/chkdvifont.1"
|
||||
"doc/man/man1/chkdvifont.man1.pdf"
|
||||
"doc/man/man1/dvispc.1"
|
||||
"doc/man/man1/dvispc.man1.pdf")
|
||||
(base32
|
||||
"098pksgf2iamq96rmzg5fw7i9dlpvdksficsz1bf8k8z4djnbk8n")))
|
||||
(outputs '("out" "doc"))
|
||||
(build-system texlive-build-system)
|
||||
(propagated-inputs (list texlive-dviout-util-bin))
|
||||
(home-page "https://www.tug.org/texlive/")
|
||||
(synopsis "Utilities from the @code{dviout} package")
|
||||
(description
|
||||
"This package provides two utilities: @command{chkdvifont}, which check
|
||||
fonts in DVI/TFM/JFM/FONT files, and @command{dvispc}, which corrects the
|
||||
page-independence of DVI file using color specials or tpic specials, and
|
||||
transforms between a DVI file and a text file.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public texlive-dviout-util-bin
|
||||
(package
|
||||
(inherit texlive-bin)
|
||||
(name "texlive-dviout-util-bin")
|
||||
(source
|
||||
(origin
|
||||
(inherit texlive-source)
|
||||
|
@ -35006,9 +35030,9 @@ (define-public texlive-dviout-util
|
|||
(arguments
|
||||
(substitute-keyword-arguments (package-arguments texlive-bin)
|
||||
((#:configure-flags flags)
|
||||
#~(cons* "--enable-dviout-util" (delete "--enable-web2c" #$flags)))
|
||||
((#:phases _)
|
||||
#~(modify-phases %standard-phases
|
||||
#~(cons "--enable-dviout-util" (delete "--enable-web2c" #$flags)))
|
||||
((#:phases phases)
|
||||
#~(modify-phases #$phases
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
(when tests?
|
||||
|
@ -35018,15 +35042,14 @@ (define-public texlive-dviout-util
|
|||
(lambda _
|
||||
(with-directory-excursion "texk/dviout-util"
|
||||
(invoke "make" "install"))))))))
|
||||
(inputs (list texlive-libptexenc))
|
||||
(home-page "https://www.tug.org/texlive/")
|
||||
(synopsis "Utilities from the @code{dviout} package")
|
||||
(native-inputs (list pkg-config))
|
||||
(inputs (list texlive-libkpathsea texlive-libptexenc))
|
||||
(propagated-inputs '())
|
||||
(home-page (package-home-page texlive-dviout-util))
|
||||
(synopsis "Binary for @code{texlive-dviout-util}")
|
||||
(description
|
||||
"This package provides two utilities: @command{chkdvifont}, which check
|
||||
fonts in DVI/TFM/JFM/FONT files, and @command{dvispc}, which corrects the
|
||||
page-independence of DVI file using color specials or tpic specials, and
|
||||
transforms between a DVI file and a text file.")
|
||||
(license license:expat)))
|
||||
"This package provides the binary for @code{texlive-dviout-util}.")
|
||||
(license (package-license texlive-dviout-util))))
|
||||
|
||||
(define-public texlive-dvipng
|
||||
(package
|
||||
|
|
Loading…
Reference in a new issue