mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: chez-web: Fix build.
* gnu/packages/chez.scm (chez-web)[native-inputs]: Add TEXLIVE-CHARTER, TEXLIVE-CWEB, remove TEXLIVE-EPSF. [arguments]<#:phases>: Add phases to fix ".tex" issues.
This commit is contained in:
parent
e6fc11ae07
commit
c9efffe3d0
1 changed files with 14 additions and 6 deletions
|
@ -1008,12 +1008,11 @@ create compilers, making them easier to understand and maintain.")
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list (chez-scheme-for-system)
|
(list (chez-scheme-for-system)
|
||||||
ghostscript
|
ghostscript
|
||||||
;; FIXME: This package fails to build with the error:
|
|
||||||
;; mktexpk: don't know how to create bitmap font for bchr8r
|
|
||||||
;; Replacing the following with `texlive` fixes it.
|
|
||||||
;; What is missing?
|
|
||||||
(texlive-updmap.cfg
|
(texlive-updmap.cfg
|
||||||
(list texlive-context texlive-epsf texlive-metapost))))
|
(list texlive-charter
|
||||||
|
texlive-context
|
||||||
|
texlive-cweb
|
||||||
|
texlive-metapost))))
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
#:make-flags
|
#:make-flags
|
||||||
|
@ -1026,6 +1025,15 @@ create compilers, making them easier to understand and maintain.")
|
||||||
#:tests? #f ; no tests
|
#:tests? #f ; no tests
|
||||||
#:phases
|
#:phases
|
||||||
#~(modify-phases %standard-phases
|
#~(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'fix-tex-input
|
||||||
|
(lambda _
|
||||||
|
;; Fix "I can't find file `supp-pdf'." error.
|
||||||
|
(substitute* "chezweb.w"
|
||||||
|
(("supp-pdf") "supp-pdf.mkii"))
|
||||||
|
;; Recent cweb packages do not include "\acrofalse". Remove
|
||||||
|
;; it.
|
||||||
|
(substitute* "doc/cwebman.tex"
|
||||||
|
(("\\acrofalse.*") ""))))
|
||||||
;; This package has a custom "bootstrap" script that
|
;; This package has a custom "bootstrap" script that
|
||||||
;; is meant to be run from the Makefile.
|
;; is meant to be run from the Makefile.
|
||||||
(delete 'bootstrap)
|
(delete 'bootstrap)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue