[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
43/78: gnu: Add texlive-gsftopk-bin.
From: |
guix-commits |
Subject: |
43/78: gnu: Add texlive-gsftopk-bin. |
Date: |
Wed, 12 Jun 2024 17:00:42 -0400 (EDT) |
ngz pushed a commit to branch tex-team
in repository guix.
commit e7222f3b8986ec5e8dcd89e0423b9592c59fb999
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue May 28 00:49:34 2024 +0200
gnu: Add texlive-gsftopk-bin.
* gnu/packages/tex.scm (texlive-gsftopk-bin): New variable.
(texlive-gsftopk)[propagated-inputs]: Add TEXLIVE-GSFTOPK-BIN.
Change-Id: I91c459392b4fb4b433b4abd47d09170e3927fefc
---
gnu/packages/tex.scm | 47 +++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 47 insertions(+)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index 8c5a6746d4..da2f039ff2 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -47714,6 +47714,7 @@ definition files for Greek text font encodings for use
with @code{fontenc}.")
"1qlac704qbm7kq762z0b887wfncprpcm8zj2lb4nag0wzdrrjdq5")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
+ (propagated-inputs (list texlive-gsftopk-bin))
(home-page "https://ctan.org/pkg/gsftopk")
(synopsis "Convert Ghostscript fonts to PK files")
(description
@@ -47723,6 +47724,52 @@ much used nowadays, since both its target applications
are now capable of
dealing with Type 1 fonts, direct.")
(license license:gpl3+)))
+(define-public texlive-gsftopk-bin
+ (package
+ (inherit texlive-bin)
+ (name "texlive-gsftopk-bin")
+ (source
+ (origin
+ (inherit texlive-source)
+ (modules '((guix build utils)
+ (ice-9 ftw)))
+ (snippet
+ #~(let ((delete-other-directories
+ (lambda (root dirs)
+ (with-directory-excursion root
+ (for-each
+ delete-file-recursively
+ (scandir "."
+ (lambda (file)
+ (and (not (member file (append '("." "..")
dirs)))
+ (eq? 'directory (stat:type (stat
file)))))))))))
+ (delete-other-directories "libs" '())
+ (delete-other-directories "utils" '())
+ (delete-other-directories "texk" '("gsftopk"))))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments texlive-bin)
+ ((#:configure-flags flags)
+ #~(cons "--enable-gsftopk" (delete "--enable-web2c" #$flags)))
+ ((#:phases phases)
+ #~(modify-phases #$phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (with-directory-excursion "texk/gsftopk"
+ (invoke "make" "check")))))
+ (replace 'install
+ (lambda _
+ (with-directory-excursion "texk/gsftopk"
+ (invoke "make" "install"))))))))
+ (native-inputs (list pkg-config))
+ (inputs (list texlive-libkpathsea))
+ (propagated-inputs '())
+ (home-page (package-home-page texlive-gsftopk))
+ (synopsis "Binary for @code{texlive-gsftopk}")
+ (description
+ "This package provides the binary for @code{texlive-gsftopk}.")
+ (license (package-license texlive-gsftopk))))
+
(define-public texlive-hycolor
(package
(name "texlive-hycolor")
- 40/78: gnu: Add texlive-tpic2pdftex-bin., (continued)
- 40/78: gnu: Add texlive-tpic2pdftex-bin., guix-commits, 2024/06/12
- 44/78: gnu: Add texlive-makeindex-bin., guix-commits, 2024/06/12
- 46/78: gnu: Add texlive-vlna-bin., guix-commits, 2024/06/12
- 37/78: gnu: Add texlive-psutils-bin., guix-commits, 2024/06/12
- 41/78: gnu: Add texlive-ttfutils-bin., guix-commits, 2024/06/12
- 05/78: gnu: texlive-libkpathsea: Better default values in "texmf.cnf"., guix-commits, 2024/06/12
- 25/78: gnu: Add texlive-xetex-bin., guix-commits, 2024/06/12
- 34/78: gnu: Add texlive-bibtex8-bin., guix-commits, 2024/06/12
- 36/78: gnu: Add texlive-dvips-bin., guix-commits, 2024/06/12
- 38/78: gnu: Add texlive-tex4ht-bin., guix-commits, 2024/06/12
- 43/78: gnu: Add texlive-gsftopk-bin.,
guix-commits <=
- 45/78: gnu: Add texlive-metapost-bin., guix-commits, 2024/06/12
- 47/78: gnu: Add texlive-cjkutils-bin., guix-commits, 2024/06/12
- 59/78: gnu: Add texlive-ps2eps-bin., guix-commits, 2024/06/12
- 55/78: gnu: Add texlive-dvisvgm-bin., guix-commits, 2024/06/12
- 39/78: gnu: Add texlive-xdvi-bin., guix-commits, 2024/06/12
- 42/78: gnu: Add texlive-upmendex-bin., guix-commits, 2024/06/12
- 50/78: gnu: Add texlive-dtl-bin., guix-commits, 2024/06/12
- 58/78: gnu: Add texlive-seetexk-bin., guix-commits, 2024/06/12
- 60/78: gnu: Add texlive-t1utils-bin., guix-commits, 2024/06/12
- 61/78: gnu: texlive-texdoctk: Fix runtime error., guix-commits, 2024/06/12