[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
07/16: gnu: hypre: Replace texlive input with minimal texlive-union.
From: |
guix-commits |
Subject: |
07/16: gnu: hypre: Replace texlive input with minimal texlive-union. |
Date: |
Fri, 14 Dec 2018 17:32:48 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit 9b405aeaa292d7d2171340af6bd5218c72a10f8c
Author: Pierre Neidhardt <address@hidden>
Date: Fri Dec 14 17:13:40 2018 +0100
gnu: hypre: Replace texlive input with minimal texlive-union.
* gnu/packages/maths.scm (hypre)[native-inputs]: Replace texlive with
minimal
texlive-union.
---
gnu/packages/maths.scm | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm
index 96a1ecb..ad6aacf 100644
--- a/gnu/packages/maths.scm
+++ b/gnu/packages/maths.scm
@@ -3707,7 +3707,13 @@ set.")
`(("doc++" ,doc++)
("netpbm" ,netpbm)
("perl" ,perl) ;needed to run 'ppmquant' during tests
- ("texlive" ,texlive) ;full package required for fonts
+ ("texlive" ,(texlive-union (list texlive-generic-xypic
+ texlive-fonts-xypic
+ texlive-latex-hyperref
+ texlive-latex-oberdiek
+ texlive-generic-ifxetex
+ texlive-latex-url
+ texlive-bibtex)))
("ghostscript" ,ghostscript)))
(inputs
`(("blas" ,openblas)
@@ -3724,6 +3730,12 @@ set.")
"--with-blas")
#:phases
(modify-phases %standard-phases
+ (add-before 'build 'set-HOME
+ (lambda _
+ ;; FIXME: texlive-union does not find the built
+ ;; metafonts, so it tries to generate them in HOME.
+ (setenv "HOME" "/tmp")
+ #t))
(add-before 'configure 'chdir-src
(lambda _ (chdir "src")))
(replace 'configure
@@ -3738,7 +3750,7 @@ set.")
configure-flags)))))))
(add-after 'build 'build-docs
(lambda _
- (zero? (system* "make" "-Cdocs" "pdf" "html"))))
+ (invoke "make" "-Cdocs" "pdf" "html")))
(replace 'check
(lambda _
(setenv "LD_LIBRARY_PATH" (string-append (getcwd) "/hypre/lib"))
- 11/16: gnu: texlive-generic-pdftex: Include pdftex map., (continued)
- 11/16: gnu: texlive-generic-pdftex: Include pdftex map., guix-commits, 2018/12/14
- 06/16: gnu: Add texlive-bibtex., guix-commits, 2018/12/14
- 10/16: gnu: texlive-fonts-cm: Include type1 fonts., guix-commits, 2018/12/14
- 16/16: doc: Discourage the use of texlive as input, guix-commits, 2018/12/14
- 01/16: gnu: chez-scheme: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14
- 03/16: gnu: coq: Remove unused texlive and hevea from native-inputs., guix-commits, 2018/12/14
- 13/16: gnu: Add texlive-context-base., guix-commits, 2018/12/14
- 08/16: gnu: unison: Replace texlive input with texlive-tiny., guix-commits, 2018/12/14
- 04/16: gnu: Add texlive-generic-xypic., guix-commits, 2018/12/14
- 12/16: gnu: Add texlive-fonts-charter., guix-commits, 2018/12/14
- 07/16: gnu: hypre: Replace texlive input with minimal texlive-union.,
guix-commits <=
- 05/16: gnu: Add texlive-fonts-xypic., guix-commits, 2018/12/14
- 15/16: gnu: chez-sockets: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14
- 14/16: gnu: chez-web: Replace texlive input with minimal texlive-union., guix-commits, 2018/12/14