[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
399/418: gnu: texlive-eurosym: Fix build.
From: |
guix-commits |
Subject: |
399/418: gnu: texlive-eurosym: Fix build. |
Date: |
Mon, 29 May 2023 17:39:47 -0400 (EDT) |
ngz pushed a commit to branch tex-team-next
in repository guix.
commit 657aafc4804f65cf98e5c961812b88c343d96025
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Fri May 19 16:36:18 2023 +0200
gnu: texlive-eurosym: Fix build.
* gnu/packages/tex.scm (texlive-eurosym)[arguments]: Remove them.
[native-inputs]: Remove TEXLIVE-BIN.
---
gnu/packages/tex.scm | 45 +--------------------------------------------
1 file changed, 1 insertion(+), 44 deletions(-)
diff --git a/gnu/packages/tex.scm b/gnu/packages/tex.scm
index ed5518f97d..01e9b58919 100644
--- a/gnu/packages/tex.scm
+++ b/gnu/packages/tex.scm
@@ -11957,50 +11957,7 @@ OpenType fonts.")
"0ml24rxbl1yir4s3fjjxm0z7axklc3p33syg41b76zc7hck9mk8s")))
(outputs '("out" "doc"))
(build-system texlive-build-system)
- (arguments
- (list
- #:modules
- '((guix build texlive-build-system)
- (guix build utils)
- (srfi srfi-1)
- (srfi srfi-26))
- #:phases
- #~(modify-phases %standard-phases
- (add-before 'install 're-generate-fonts-metrics
- (lambda _
- (let ((mf #$(this-package-native-input "texlive-metafont"))
- (cm #$(this-package-native-input "texlive-cm"))
- (root (getcwd)))
- (mkdir-p "build")
- (with-directory-excursion "fonts/source/public/eurosym"
- ;; Tell mf where to find mf.base.
- (setenv "MFBASES"
- (string-append mf "/share/texmf-dist/web2c"))
- ;; Tell mf where to look for source files.
- (setenv "MFINPUTS"
- (string-append
- (getcwd) ":"
- mf "/share/texmf-dist/metafont/base:"
- cm "/share/texmf-dist/fonts/source/public/cm"))
- ;; Build font metrics (tfm).
- (for-each (lambda (font)
- (format #t "building font ~a\n" font)
- (invoke "mf" "-progname=mf"
- (string-append "-output-directory="
- root "/build")
- (string-append "\\"
- "mode:=ljfour; "
- "mag:=1; "
- "batchmode; "
- "input "
- (basename font ".mf"))))
- (find-files "." "[0-9]+\\.mf$")))
- ;; Install font metrics at the appropriate location.
- (for-each
- (cut install-file <> "fonts/tfm/public/eurosym")
- (find-files "build/" "\\.tfm$"))))))))
- (native-inputs
- (list texlive-bin texlive-cm texlive-metafont))
+ (native-inputs (list texlive-cm texlive-metafont))
(home-page "https://ctan.org/pkg/eurosym")
(synopsis "METAFONT and macros for Euro sign")
(description
- 337/418: gnu: texlive-lm: Refresh package definition., (continued)
- 337/418: gnu: texlive-lm: Refresh package definition., guix-commits, 2023/05/29
- 345/418: gnu: texlive-fontname: Refresh package definition., guix-commits, 2023/05/29
- 347/418: gnu: texlive-tex-ini-files: Refresh package definition., guix-commits, 2023/05/29
- 351/418: gnu: texlive-dvipdfmx: Refresh package definition., guix-commits, 2023/05/29
- 348/418: gnu: texlive-hyphen-base: Refresh package definition., guix-commits, 2023/05/29
- 352/418: gnu: Add texlive-manfnt., guix-commits, 2023/05/29
- 354/418: gnu: Add texlive-mptopdf., guix-commits, 2023/05/29
- 361/418: gnu: simple-texlive-package: Turn it into a stub., guix-commits, 2023/05/29
- 411/418: guix: import: Fix Creative Common licenses in texlive importer., guix-commits, 2023/05/29
- 375/418: gnu: texlive-babel-czech: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/05/29
- 399/418: gnu: texlive-eurosym: Fix build.,
guix-commits <=
- 405/418: gnu: texlive-lh: Fix build., guix-commits, 2023/05/29
- 378/418: gnu: texlive-babel-danish: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/05/29
- 371/418: gnu: texlive-grfext: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/05/29
- 409/418: gnu: Add texlive-knuth-local., guix-commits, 2023/05/29
- 374/418: gnu: texlive-fvextra: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/05/29
- 376/418: gnu: texlive-babel-dutch: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/05/29
- 389/418: guix: texlive-build-system: Generate font metrics., guix-commits, 2023/05/29
- 372/418: gnu: texlive-qrcode: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/05/29
- 377/418: gnu: texlive-babel-finnish: Remove SIMPLE-TEXLIVE-PACKAGE call., guix-commits, 2023/05/29
- 416/418: gnu: faif: Update texlive package names., guix-commits, 2023/05/29