[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
64/71: gnu: texlive-dviout-util: Build binaries separately.
From: |
guix-commits |
Subject: |
64/71: gnu: texlive-dviout-util: Build binaries separately. |
Date: |
Sun, 2 Jun 2024 06:22:02 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit c3c41cfa4056cb45638cde882fae72d688f73e15
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 18:29:02 2024 +0200
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
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++------------
1 file changed, 35 insertions(+), 12 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 0491830117..708db2956b 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -34966,8 +34966,32 @@ file. It also supports XeTeX XDV format.")
(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)
@@ -34990,9 +35014,9 @@ file. It also supports XeTeX XDV format.")
(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?
@@ -35002,15 +35026,14 @@ file. It also supports XeTeX XDV format.")
(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
- 48/71: gnu: Add texlive-dvi2tty-bin., (continued)
- 48/71: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/02
- 51/71: gnu: Add texlive-dvipng-bin., guix-commits, 2024/06/02
- 68/71: gnu: texlive-axodraw2: Build binary separately., guix-commits, 2024/06/02
- 49/71: gnu: Add texlive-dvidvi-bin., guix-commits, 2024/06/02
- 50/71: gnu: Add texlive-dviljk-bin., guix-commits, 2024/06/02
- 54/71: gnu: Add texlive-lacheck-bin., guix-commits, 2024/06/02
- 63/71: gnu: Add texlive-mflua-bin., guix-commits, 2024/06/02
- 52/71: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/06/02
- 60/71: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/02
- 59/71: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/02
- 64/71: gnu: texlive-dviout-util: Build binaries separately.,
guix-commits <=
- 55/71: gnu: Add texlive-seetexk-bin., guix-commits, 2024/06/02
- 66/71: gnu: texlive-dvipos: Build binaries separately., guix-commits, 2024/06/02
- 71/71: gnu: Update commentary section in "tex.scm"., guix-commits, 2024/06/02
- 57/71: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/02
- 70/71: gnu: texlive importer: Propagate binaries when necessary., guix-commits, 2024/06/02
- 62/71: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/02
- 53/71: gnu: Add texlive-lcdftypetools-bin., guix-commits, 2024/06/02
- 61/71: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/02
- 58/71: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/02
- 67/71: gnu: texlive-musixtnt: Build binary separately., guix-commits, 2024/06/02