[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/23: gnu: calibre: Use system mathjax.
From: |
guix-commits |
Subject: |
02/23: gnu: calibre: Use system mathjax. |
Date: |
Sun, 5 May 2019 11:15:23 -0400 (EDT) |
dannym pushed a commit to branch master
in repository guix.
commit d243b41dd06144c739c7391f3fcdf1ad889bc722
Author: Brendan Tildesley <address@hidden>
Date: Sat May 4 02:42:10 2019 +1000
gnu: calibre: Use system mathjax.
* gnu/packages/ebook.scm (calibre)[arguments]<#:phases>[build-extra]:
New phase.
[inputs]: Add js-mathjax.
Signed-off-by: Danny Milosavljevic <address@hidden>
---
gnu/packages/ebook.scm | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/gnu/packages/ebook.scm b/gnu/packages/ebook.scm
index a603519..1d81548 100644
--- a/gnu/packages/ebook.scm
+++ b/gnu/packages/ebook.scm
@@ -42,6 +42,7 @@
#:use-module (gnu packages glib)
#:use-module (gnu packages icu4c)
#:use-module (gnu packages image)
+ #:use-module (gnu packages javascript)
#:use-module (gnu packages libusb)
#:use-module (gnu packages pdf)
#:use-module (gnu packages pkg-config)
@@ -113,6 +114,7 @@
("fontconfig" ,fontconfig)
("glib" ,glib)
("icu4c" ,icu4c)
+ ("js-mathjax" ,js-mathjax)
("libmtp" ,libmtp)
("libpng" ,libpng)
("libusb" ,libusb)
@@ -181,6 +183,10 @@
(setenv "PODOFO_INC_DIR" (string-append podofo
"/include/podofo"))
(setenv "PODOFO_LIB_DIR" (string-append podofo "/lib"))
#t)))
+ (add-after 'build 'build-extra
+ (lambda* (#:key inputs #:allow-other-keys)
+ (invoke "python2" "setup.py" "mathjax""--system-mathjax"
"--path-to-mathjax"
+ (string-append (assoc-ref inputs "js-mathjax")
"/share/javascript/mathjax"))))
(add-after 'install 'install-font-liberation
(lambda* (#:key inputs outputs #:allow-other-keys)
(for-each (lambda (file)
- branch master updated (c8e214e -> ee3ce0d), guix-commits, 2019/05/05
- 03/23: gnu: calibre: Build rapydscript., guix-commits, 2019/05/05
- 04/23: gnu: calibre: Add missing dependencies as indicated by tests., guix-commits, 2019/05/05
- 06/23: gnu: Add python-html2text, python2-html2text., guix-commits, 2019/05/05
- 08/23: gnu: python-regex, python2-regex: Update to 2019.04.14., guix-commits, 2019/05/05
- 02/23: gnu: calibre: Use system mathjax.,
guix-commits <=
- 17/23: gnu: calibre: Remove some comments., guix-commits, 2019/05/05
- 16/23: gnu: calibre: Enable tests., guix-commits, 2019/05/05
- 10/23: gnu: calibre: Disable tests that require networking., guix-commits, 2019/05/05
- 20/23: gnu: calibre: Delete various junk from source., guix-commits, 2019/05/05
- 15/23: gnu: calibre: Disable sqlite test., guix-commits, 2019/05/05
- 18/23: gnu: calibre: Unbundle python2-odfpy., guix-commits, 2019/05/05
- 21/23: gnu: calibre: Install man pages., guix-commits, 2019/05/05
- 23/23: gnu: calibre: Update to 3.42.0., guix-commits, 2019/05/05
- 19/23: gnu: calibre: Remove libxrender as an input., guix-commits, 2019/05/05
- 01/23: gnu: calibre: Update to 3.41.3., guix-commits, 2019/05/05