[med-svn] [r-cran-data.table] 06/07: Use Debian packaged MathJax

Andreas Tille tille at debian.org
Mon Oct 23 17:40:29 UTC 2017


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

tille pushed a commit to branch master
in repository r-cran-data.table.

commit 64c4eb117dbc1f6a28254449aa4de6a54db50190
Author: Andreas Tille <tille at debian.org>
Date:   Mon Oct 23 19:36:52 2017 +0200

    Use Debian packaged MathJax
---
 debian/changelog                                 |  1 +
 debian/control                                   |  3 ++-
 debian/patches/series                            |  1 +
 debian/patches/use_debian_packaged_mathjax.patch | 15 +++++++++++++++
 4 files changed, 19 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index e25ddbc..3d05b7c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ r-cran-data.table (1.10.4-2-1) UNRELEASED; urgency=medium
   * New upstream version
   * Secure URI in watch file
   * Standards-Version: 4.1.1
+  * Use Debian packaged MathJax
 
  -- Andreas Tille <tille at debian.org>  Mon, 23 Oct 2017 19:20:45 +0200
 
diff --git a/debian/control b/debian/control
index 33c3f18..ff8b412 100644
--- a/debian/control
+++ b/debian/control
@@ -17,7 +17,8 @@ Package: r-cran-data.table
 Architecture: any
 Depends: ${misc:Depends},
          ${shlibs:Depends},
-         ${R:Depends}
+         ${R:Depends},
+         libjs-mathjax
 Recommends: ${R:Recommends}
 Suggests: ${R:Suggests}
 Description: GNU R extension of Data.frame
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..7ff2691
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+use_debian_packaged_mathjax.patch
diff --git a/debian/patches/use_debian_packaged_mathjax.patch b/debian/patches/use_debian_packaged_mathjax.patch
new file mode 100644
index 0000000..d0b91aa
--- /dev/null
+++ b/debian/patches/use_debian_packaged_mathjax.patch
@@ -0,0 +1,15 @@
+Author: Andreas Tille <tille at debian.org>
+Last-Update: Mon, 23 Oct 2017 19:20:45 +0200
+Description: Use Debian packaged MathJax
+
+--- a/inst/doc/datatable-faq.html
++++ b/inst/doc/datatable-faq.html
+@@ -58,7 +58,7 @@ hljs.initHighlightingOnLoad();
+ </script>
+ 
+ <!-- MathJax scripts -->
+-<script type="text/javascript" src="https://cdn.bootcss.com/mathjax/2.7.0/MathJax.js?config=TeX-MML-AM_CHTML">
++<script type="text/javascript" src="file:///usr/share/javascript/mathjax/MathJax.js?config=TeX-MML-AM_CHTML">
+ </script>
+ 
+ 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/r-cran-data.table.git



More information about the debian-med-commit mailing list