[opencv] 06/11: Add libjs-mathjax to Depends and debian/patches/mathjax

Nobuhiro Iwamatsu iwamatsu at moszumanska.debian.org
Sat Aug 20 12:28:19 UTC 2016


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

iwamatsu pushed a commit to branch master
in repository opencv.

commit 67ce68c4973a97024ce2dadbf457dcdb61eefd84
Author: Nobuhiro Iwamatsu <iwamatsu at debian.org>
Date:   Thu Aug 18 06:31:54 2016 +0900

    Add libjs-mathjax to Depends and debian/patches/mathjax
    
    Fix lintian:
    opencv-doc: privacy-breach-uses-embedded-file usr/share/doc/opencv-doc/html/tutorial_windows_visual_studio_image_watch.html
    You may use libjs-mathjax package. (http://cdn.mathjax.org/mathjax/latest/mathjax.js)
    
    Signed-off-by: Nobuhiro Iwamatsu <iwamatsu at debian.org>
---
 debian/changelog       |  1 +
 debian/control         |  2 +-
 debian/patches/mathjax | 13 +++++++++++++
 debian/patches/series  |  1 +
 4 files changed, 16 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 31e3ee7..eb45a85 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,7 @@ opencv (3.1.0+dfsg-1~exp0) UNRELEASED; urgency=medium
 
   * Update to 3.1.0.
   * Add patches/disable_opengl_test_build.
+  * Add libjs-mathjax to Depends of opencv-doc and debian/patches/mathjax.
 
  -- Nobuhiro Iwamatsu <iwamatsu at debian.org>  Sat, 25 Jun 2016 06:15:45 +0900
 
diff --git a/debian/control b/debian/control
index 31a8f83..10e0f0e 100644
--- a/debian/control
+++ b/debian/control
@@ -35,7 +35,7 @@ Homepage: http://opencv.org/
 Package: opencv-doc
 Section: doc
 Architecture: all
-Depends: ${misc:Depends}
+Depends: ${misc:Depends}, libjs-mathjax
 Conflicts: libopencv-doc
 Replaces: libopencv-doc
 Description: OpenCV documentation and examples
diff --git a/debian/patches/mathjax b/debian/patches/mathjax
new file mode 100644
index 0000000..a6ddcec
--- /dev/null
+++ b/debian/patches/mathjax
@@ -0,0 +1,13 @@
+diff --git a/doc/Doxyfile.in b/doc/Doxyfile.in
+index c4da726..47733cd 100644
+--- a/doc/Doxyfile.in
++++ b/doc/Doxyfile.in
+@@ -167,7 +167,7 @@ FORMULA_FONTSIZE       = 14
+ FORMULA_TRANSPARENT    = YES
+ USE_MATHJAX            = YES
+ MATHJAX_FORMAT         = HTML-CSS
+-MATHJAX_RELPATH        = http://cdn.mathjax.org/mathjax/latest
++MATHJAX_RELPATH        = /usr/share/javascript/mathjax/
+ MATHJAX_EXTENSIONS     = TeX/AMSmath TeX/AMSsymbols
+ MATHJAX_CODEFILE       = @CMAKE_CURRENT_SOURCE_DIR@/mymath.js
+ SEARCHENGINE           = YES
diff --git a/debian/patches/series b/debian/patches/series
index ae6304f..ee98cfa 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -11,3 +11,4 @@ support_multiarch
 support_x32
 # ffmpeg_2.9.patch
 disable_opengl_test_build
+mathjax

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



More information about the debian-science-commits mailing list