[vtk6] 02/03: Add patch to use MatJax for formulas
Gert Wollny
gewo at moszumanska.debian.org
Tue Jul 11 01:06:11 UTC 2017
This is an automated email from the git hooks/post-receive script.
gewo pushed a commit to branch master
in repository vtk6.
commit e6f24b022e671f45cac556ceea18153cd485f0e9
Author: Gert Wollny <gewo at debian.org>
Date: Mon Jul 10 23:32:06 2017 +0000
Add patch to use MatJax for formulas
---
debian/control | 2 ++
debian/patches/108_Doxygen-use-mathjax.patch | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 31 insertions(+)
diff --git a/debian/control b/debian/control
index e75665f..6da737d 100644
--- a/debian/control
+++ b/debian/control
@@ -74,6 +74,7 @@ Build-Depends-Indep: doxygen-latex,
texlive-binaries,
graphviz,
ghostscript,
+ libjs-mathjax,
gnuplot-nox
Standards-Version: 4.0.0
Vcs-Browser: https://anonscm.debian.org/cgit/debian-science/packages/vtk6.git
@@ -280,6 +281,7 @@ Architecture: all
Section: doc
Depends: doc-base,
libjs-jquery,
+ libjs-mathjax,
${misc:Depends}
Suggests: libvtk6-dev,
vtk6-examples
diff --git a/debian/patches/108_Doxygen-use-mathjax.patch b/debian/patches/108_Doxygen-use-mathjax.patch
new file mode 100644
index 0000000..236c423
--- /dev/null
+++ b/debian/patches/108_Doxygen-use-mathjax.patch
@@ -0,0 +1,28 @@
+--- a/Utilities/Doxygen/CMakeLists.txt
++++ b/Utilities/Doxygen/CMakeLists.txt
+@@ -52,6 +52,13 @@
+ endif()
+ endforeach()
+
++ FIND_PATH(MATHJAX_CODEFILE MathJax.js
++ PATHS
++ /usr/share/mathjax/
++ /usr/share/javascript/
++ /usr/share/javascript/mathjax/
++ )
++
+ configure_file(
+ ${VTK_SOURCE_DIR}/Utilities/Doxygen/doxyfile.in
+ ${VTK_BINARY_DIR}/Utilities/Doxygen/doxyfile)
+--- a/Utilities/Doxygen/doxyfile.in
++++ b/Utilities/Doxygen/doxyfile.in
+@@ -19,6 +19,9 @@
+ GENERATE_TAGFILE = "@VTK_BINARY_DIR@/Utilities/Doxygen/vtk at VTK_MAJOR_VERSION@. at VTK_MINOR_VERSION@.tag"
+
+ PDF_HYPERLINKS = YES
++USE_MATHJAX = YES
++MATHJAX_RELPATH = @MATHJAX_CODEFILE@
++
+
+ HAVE_DOT = @HAVE_DOT_YESNO@
+ DOT_PATH = "@DOT_PATH@"
diff --git a/debian/patches/series b/debian/patches/series
index 0a7e621..c44e6e3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -16,3 +16,4 @@
105_unforce_embedded_glew.patch
106_install_doxygen_scripts_in_nodoc_build.patch
99-hdf5-1.10-compatibility
+108_Doxygen-use-mathjax.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vtk6.git
More information about the debian-science-commits
mailing list