[vtk7] 01/04: Enable mathjax for Doxygen
Gert Wollny
gewo at moszumanska.debian.org
Mon Jul 10 19:58:43 UTC 2017
This is an automated email from the git hooks/post-receive script.
gewo pushed a commit to branch master
in repository vtk7.
commit 951a504383b12938a8d7cf713de84e5e09cdb212
Author: Gert Wollny <gewo at debian.org>
Date: Mon Jul 10 18:21:27 2017 +0000
Enable mathjax for Doxygen
---
debian/control | 1 +
debian/patches/108_Doxygen-use-mathjax.patch | 28 ++++++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 30 insertions(+)
diff --git a/debian/control b/debian/control
index ee05a45..3970773 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/vtk7.git
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 44e93b4..cad6aa3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -13,3 +13,4 @@
106_install_doxygen_scripts_in_nodoc_build.patch
99-hdf5-1.10-compatibility
107_gl2ps_1.4.0.patch
+108_Doxygen-use-mathjax.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/vtk7.git
More information about the debian-science-commits
mailing list