mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: texlive-libkpathsea: Tweak "texmf.cnf" variables.
* gnu/packages/tex.scm (texlive-libkpathsea): Use XDG variables instead of HOME for cache and user configuration. Re-instate TEXMFLOCAL, which may be necessary for external TeX installations. (texlive-luatex): Re-instate TEXFLOCAL. * gnu/packages/algebra.scm (gap): * gnu/packages/assembly.scm (asl): (yaehmop): * gnu/packages/bioinformatics.scm (discrover): * gnu/packages/chez.scm (chez-scheme-for-racket): * gnu/packages/engineering.scm (fastcap): * gnu/packages/fsf.scm (book-faif): * gnu/packages/maths.scm (hypre): (stex-boostrap): (suitesparse-amd): (suitesparse-camd): (suitesparse-cholmod): (suitesparse-klu): (suitesparse-ldl): (suitesparse-mongoose): (suitesparse-spex): (suitesparse-spqr): (suitesparse-umfpack): * gnu/packages/ocaml.scm (ocaml-bibtex2html): (unison): * gnu/packages/python-xyz.scm (python-nbconvert): * gnu/packages/statistics.scm (r-with-tests)[arguments]: Set TEXMFVAR to a writable location. Change-Id: I3d2d069cf41a92214d9d6fb7f4d54fc81fe6db7a
This commit is contained in:
parent
b1ef3bce13
commit
1a8b36329f
12 changed files with 52 additions and 15 deletions
|
@ -6283,6 +6283,8 @@ package contains a library with common configuration options.")
|
|||
"set(DUMMY\n")))))
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
;; Generating font shapes require a writable TEXMFVAR directory.
|
||||
(setenv "TEXMFVAR" "/tmp")
|
||||
(with-directory-excursion "../AMD/Doc"
|
||||
(invoke "make"))))
|
||||
;; Required for suitesparse-umfpack
|
||||
|
@ -6364,6 +6366,8 @@ matrix into block upper triangular form.")
|
|||
"set(DUMMY\n")))))
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
;; Generating font shapes require a writable TEXMFVAR directory.
|
||||
(setenv "TEXMFVAR" "/tmp")
|
||||
(with-directory-excursion "../CAMD/Doc"
|
||||
(invoke "make"))))
|
||||
(add-after 'install 'install-doc
|
||||
|
@ -6555,6 +6559,7 @@ target_link_libraries(CHOLMOD_static PRIVATE ${METIS_LIBRARY} ${GKLIB_LIBRARY})"
|
|||
(("SuiteSparse_metis_METIS") "METIS"))))
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
(setenv "TEXMFVAR" "/tmp") ;for font shapes generation
|
||||
(with-directory-excursion "../CHOLMOD/Doc"
|
||||
(invoke "make"))))
|
||||
(add-after 'install 'install-doc
|
||||
|
@ -6657,6 +6662,7 @@ direct methods on both real and complex matrices.")
|
|||
(substitute* "../KLU/Doc/Makefile"
|
||||
(("\\.\\./\\.\\./BTF/Include/btf.h")
|
||||
(string-append #$suitesparse-btf "/include/btf.h")))
|
||||
(setenv "TEXMFVAR" "/tmp") ;for generating font shapes
|
||||
(with-directory-excursion "../KLU/Doc"
|
||||
(invoke "make"))))
|
||||
(add-after 'install 'install-doc
|
||||
|
@ -6716,6 +6722,7 @@ for real and complex matrices.")
|
|||
(substitute* "../LDL/Doc/Makefile"
|
||||
(("\\.\\./\\.\\./BTF/Include/btf.h")
|
||||
(string-append #$suitesparse-btf "/include/btf.h")))
|
||||
(setenv "TEXMFVAR" "/tmp") ;for font shape generation
|
||||
(with-directory-excursion "../LDL/Doc"
|
||||
(invoke "make"))))
|
||||
(add-after 'install 'install-doc
|
||||
|
@ -6799,6 +6806,8 @@ for reading and writing sparse matrices in the Rutherford/Boeing format.")
|
|||
"set(DUMMY\n")))))
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
;; A writable TEXMFVAR is required for building font shapes.
|
||||
(setenv "TEXMFVAR" "/tmp")
|
||||
;; XeLaTeX fails with .eps graphics
|
||||
(with-directory-excursion "../Mongoose/Doc"
|
||||
(for-each
|
||||
|
@ -6880,6 +6889,7 @@ edge cuts using a coarsening and refinement framework.")
|
|||
")\nset(DUMMY\n")))))
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
(setenv "TEXMFVAR" "/tmp") ;for font shapes generation
|
||||
(with-directory-excursion "../SPEX/Doc"
|
||||
(invoke "make"))))
|
||||
(add-after 'install 'install-doc
|
||||
|
@ -6949,6 +6959,7 @@ LU factorization for solving unsymmetric sparse linear systems.")
|
|||
")\nset(DUMMY\n")))))
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
(setenv "TEXMFVAR" "/tmp") ;for generating font shapes
|
||||
(with-directory-excursion "../SPQR/Doc"
|
||||
(invoke "make"))))
|
||||
(add-after 'install 'install-doc
|
||||
|
@ -7010,6 +7021,7 @@ matrices.")
|
|||
")\nset(DUMMY\n")))))
|
||||
(add-after 'build 'build-doc
|
||||
(lambda _
|
||||
(setenv "TEXMFVAR" "/tmp") ;for generating font shapes
|
||||
(with-directory-excursion "../UMFPACK/Doc"
|
||||
(invoke "make"))))
|
||||
(add-after 'install 'install-doc
|
||||
|
@ -7801,7 +7813,7 @@ set.")
|
|||
configure-flags)))))))
|
||||
(add-after 'build 'build-docs
|
||||
(lambda _
|
||||
(setenv "HOME" (getcwd))
|
||||
(setenv "TEXMFVAR" "/tmp")
|
||||
(invoke "make" "-C" "docs")))
|
||||
(replace 'check
|
||||
(lambda* (#:key tests? #:allow-other-keys)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue