[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
68/97: gnu: texlive-ps2pk: Build binaries separately.
From: |
guix-commits |
Subject: |
68/97: gnu: texlive-ps2pk: Build binaries separately. |
Date: |
Fri, 21 Jun 2024 06:41:24 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit fb28ba012d2201843893a66ab02ec3f2056a81d5
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 18:40:16 2024 +0200
gnu: texlive-ps2pk: Build binaries separately.
* gnu/packages/tex.scm (texlive-ps2pk-bin): New variable.
(texlive-ps2pk): 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-PS2PK-BIN.
Change-Id: I73619d2d8254b0bba320a7c83408a024d7218964
---
gnu/packages/tex.scm | 49 ++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 38 insertions(+), 11 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 58ce77eec1..c92e9ac894 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -43429,8 +43429,35 @@ produce bounding box values for Rawppm or Rawpbm
format files.")
(define-public texlive-ps2pk
(package
- (inherit texlive-bin)
(name "texlive-ps2pk")
+ (version (number->string %texlive-revision))
+ (source (texlive-origin
+ name version
+ (list "doc/man/man1/mag.1"
+ "doc/man/man1/mag.man1.pdf"
+ "doc/man/man1/pfb2pfa.1"
+ "doc/man/man1/pfb2pfa.man1.pdf"
+ "doc/man/man1/pk2bm.1"
+ "doc/man/man1/pk2bm.man1.pdf"
+ "doc/man/man1/ps2pk.1"
+ "doc/man/man1/ps2pk.man1.pdf")
+ (base32
+ "14xq9x5rf15ibzr41cm5rm4v3rpmj50rfsqp4zzvyhmpmyw4dsx3")))
+ (outputs '("out" "doc"))
+ (build-system texlive-build-system)
+ (propagated-inputs (list texlive-ps2pk-bin))
+ (home-page "https://ctan.org/pkg/ps2pk")
+ (synopsis "Generate a PK font from an Adobe Type 1 font")
+ (description
+ "This package provides tools to generate a PK file from an Adobe Type
+1 font. PK fonts are (or used to be) valuable in enabling previewers to view
+documents generated that use Type 1 fonts.")
+ (license license:isc)))
+
+(define-public texlive-ps2pk-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-ps2pk-bin")
(source
(origin
(inherit texlive-source)
@@ -43452,9 +43479,9 @@ produce bounding box values for Rawppm or Rawpbm format
files.")
(arguments
(substitute-keyword-arguments (package-arguments texlive-bin)
((#:configure-flags flags)
- #~(cons* "--enable-ps2pk" (delete "--enable-web2c" #$flags)))
- ((#:phases _)
- #~(modify-phases %standard-phases
+ #~(cons "--enable-ps2pk" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
(replace 'check
(lambda* (#:key tests? #:allow-other-keys)
(when tests?
@@ -43464,14 +43491,14 @@ produce bounding box values for Rawppm or Rawpbm
format files.")
(lambda _
(with-directory-excursion "texk/ps2pk"
(invoke "make" "install"))))))))
- (inputs '())
- (home-page "https://ctan.org/pkg/ps2pk")
- (synopsis "Generate a PK font from an Adobe Type 1 font")
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-ps2pk))
+ (synopsis "Binaries for @code{texlive-ps2pk}")
(description
- "This package provides tools to generate a PK file from an Adobe Type
-1 font. PK fonts are (or used to be) valuable in enabling previewers to view
-documents generated that use Type 1 fonts.")
- (license license:isc)))
+ "This package provides the binaries for @code{texlive-ps2pk}.")
+ (license (package-license texlive-ps2pk))))
(define-public texlive-psutils
(package
- 22/97: gnu: Add texlive-bibtex-bin., (continued)
- 22/97: gnu: Add texlive-bibtex-bin., guix-commits, 2024/06/21
- 23/97: gnu: Add texlive-dvicopy-bin., guix-commits, 2024/06/21
- 27/97: gnu: Add texlive-hitex-bin., guix-commits, 2024/06/21
- 25/97: gnu: Add texlive-xetex-bin., guix-commits, 2024/06/21
- 47/97: gnu: Add texlive-cjkutils-bin., guix-commits, 2024/06/21
- 19/97: gnu: Add texlive-patgen-bin., guix-commits, 2024/06/21
- 34/97: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/21
- 32/97: gnu: Add texlive-pmx-bin., guix-commits, 2024/06/21
- 44/97: gnu: Add texlive-makeindex-bin., guix-commits, 2024/06/21
- 63/97: gnu: texlive-kpathsea: Propagate the binaries., guix-commits, 2024/06/21
- 68/97: gnu: texlive-ps2pk: Build binaries separately.,
guix-commits <=
- 77/97: gnu: texlive-texdirflatten: Add missing Perl input., guix-commits, 2024/06/21
- 90/97: gnu: TeX Live packages built from TEXLIVE-SOURCE use same version., guix-commits, 2024/06/21
- 92/97: gnu: texlive-scripts: Fix typo in description., guix-commits, 2024/06/21
- 17/97: gnu: Add texlive-fontware-bin., guix-commits, 2024/06/21
- 29/97: gnu: Add texlive-m-tx-bin., guix-commits, 2024/06/21
- 30/97: gnu: Add texlive-autosp-bin., guix-commits, 2024/06/21
- 48/97: gnu: Add texlive-chktex-bin., guix-commits, 2024/06/21
- 51/97: gnu: Add texlive-dvi2tty-bin., guix-commits, 2024/06/21
- 54/97: gnu: Add texlive-dvipng-bin., guix-commits, 2024/06/21
- 61/97: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/21