[clfft] 37/50: use mathjax from debian

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Fri May 29 08:19:26 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch debian/sid
in repository clfft.

commit f6a5f2a5809c9b7bb0d874f79d2e6efc959fe4dc
Author: Jerome Kieffer <jerome.kieffer at esrf.fr>
Date:   Fri Apr 24 09:31:58 2015 +0200

    use mathjax from debian
---
 debian/control               | 2 +-
 debian/patches/docpath.patch | 6 ++++--
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/debian/control b/debian/control
index 638bb7a..0a0252c 100644
--- a/debian/control
+++ b/debian/control
@@ -77,7 +77,7 @@ Description: clFFT is an OpenCL FFT library - debug symbols
 Package: libclfft2-doc
 Section: doc
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libjs-mathjax
 Pre-Depends: ${misc:Pre-Depends}
 Description: clFFT is an OpenCL FFT library - documentation
  The FFT is an implementation of the Discrete Fourier Transform (DFT) that
diff --git a/debian/patches/docpath.patch b/debian/patches/docpath.patch
index 0b13cbe..debf474 100644
--- a/debian/patches/docpath.patch
+++ b/debian/patches/docpath.patch
@@ -1780,7 +1780,8 @@
 +# installing MathJax.  However, it is strongly recommended to install a local
  # copy of MathJax from http://www.mathjax.org before deployment.
  
- MATHJAX_RELPATH        = http://www.mathjax.org/mathjax
+-MATHJAX_RELPATH        = http://www.mathjax.org/mathjax
++MATHJAX_RELPATH        = /usr/share/javascript/mathjax
  
 -# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension 
 +# The MATHJAX_EXTENSIONS tag can be used to specify one or MathJax extension
@@ -1810,7 +1811,8 @@
 +# typically be disabled. For large projects the javascript based search engine
  # can be slow, then enabling SERVER_BASED_SEARCH may provide a better solution.
  
- SEARCHENGINE           = YES
+-SEARCHENGINE           = YES
++SEARCHENGINE           = NO 
  
 -# When the SERVER_BASED_SEARCH tag is enabled the search engine will be 
 -# implemented using a web server instead of a web client using Javascript. 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clfft.git



More information about the debian-science-commits mailing list