[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
68/75: gnu: texlive-dvipos: Build binaries separately.
From: |
guix-commits |
Subject: |
68/75: gnu: texlive-dvipos: Build binaries separately. |
Date: |
Mon, 10 Jun 2024 12:24:52 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit 11eb68ce08d1104fc1e142a0079f9f7a74658168
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 21:38:35 2024 +0200
gnu: texlive-dvipos: Build binaries separately.
* gnu/packages/tex.scm (texlive-dvipos-bin): New variable.
(texlive-dvipos): 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-DVIPOS-BIN.
Change-Id: I0f1e169b7f078e022b65a13045b24a11099e8303
---
gnu/packages/tex.scm | 44 +++++++++++++++++++++++++++++++++-----------
1 file changed, 33 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ff0b29c5c0..7bf65979fe 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -35120,8 +35120,30 @@ not read the postamble, so it can be started before
TeX finishes.")
(define-public texlive-dvipos
(package
- (inherit texlive-bin)
(name "texlive-dvipos")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/man/man1/dvipos.1"
+ "doc/man/man1/dvipos.man1.pdf")
+ (base32
+ "0dmaas4m9y4px53vlg0jr73xviki338fm2n176l8ldwqj0vvq1b8")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs (list texlive-dvipos-bin))
+ (home-page "https://www.tug.org/texlive/")
+ (synopsis "Support DVI @samp{pos:} specials used by ConTeXt DVI output")
+ (description
+ "@command{dvipos} parses a DVI file looking for @samp{pos:} specials.
+It then outputs the information from those specials along with information
+that only a DVI postprocessor could determine, such as the current @samp{x}
+and @samp{y} location.")
+ (license license:gpl2+)))
+
+(define-public texlive-dvipos-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-dvipos-bin")
(source
(origin
(inherit texlive-source)
@@ -35144,9 +35166,9 @@ not read the postamble, so it can be started before TeX
finishes.")
(arguments
(substitute-keyword-arguments (package-arguments texlive-bin)
((#:configure-flags flags)
- #~(cons* "--enable-dvipos" (delete "--enable-web2c" #$flags)))
- ((#:phases _)
- #~(modify-phases %standard-phases
+ #~(cons "--enable-dvipos" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
@@ -35156,14 +35178,14 @@ not read the postamble, so it can be started before
TeX finishes.")
(lambda _
(with-directory-excursion "texk/dvipos"
(invoke "make" "install"))))))))
- (home-page "https://www.tug.org/texlive/")
- (synopsis "Support DVI @samp{pos:} specials used by ConTeXt DVI output")
+ (home-page (package-home-page texlive-dvipos))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (synopsis "Binary for @code{texlive-dvipos}")
(description
- "@command{dvipos} parses a DVI file looking for @samp{pos:} specials.
-It then outputs the information from those specials along with information
-that only a DVI postprocessor could determine, such as the current @samp{x}
-and @samp{y} location.")
- (license license:gpl2+)))
+ "This package provides the binary for @code{texlive-dvipos}.")
+ (license (package-license texlive-dvipos))))
(define-public texlive-dvipsconfig
(package
- 61/75: gnu: Add texlive-xpdfopen-bin., (continued)
- 61/75: gnu: Add texlive-xpdfopen-bin., guix-commits, 2024/06/10
- 66/75: gnu: texlive-dviout-util: Build binaries separately., guix-commits, 2024/06/10
- 50/75: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/10
- 60/75: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/10
- 62/75: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/10
- 63/75: gnu: Add texlive-xml2pmx-bin., guix-commits, 2024/06/10
- 64/75: gnu: Add texlive-luajittex-bin., guix-commits, 2024/06/10
- 65/75: gnu: Add texlive-mflua-bin., guix-commits, 2024/06/10
- 71/75: gnu: texlive-xindy: Build binary separately., guix-commits, 2024/06/10
- 74/75: gnu: texlive-xits: Fix typo in description., guix-commits, 2024/06/10
- 68/75: gnu: texlive-dvipos: Build binaries separately.,
guix-commits <=
- 75/75: gnu: texlive-texdirflatten: Add missing Perl input., guix-commits, 2024/06/10
- 59/75: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/10
- 67/75: gnu: texlive-ps2pk: Build binaries separately., guix-commits, 2024/06/10
- 69/75: gnu: texlive-musixtnt: Build binary separately., guix-commits, 2024/06/10
- 70/75: gnu: texlive-axodraw2: Build binary separately., guix-commits, 2024/06/10
- 73/75: gnu: Update commentary section in "tex.scm"., guix-commits, 2024/06/10
- 72/75: gnu: texlive importer: Propagate binaries when necessary., guix-commits, 2024/06/10