[r-cran-knitr] 01/05: Adapt patches
Andreas Tille
tille at debian.org
Sun Oct 16 18:19:33 UTC 2016
This is an automated email from the git hooks/post-receive script.
tille pushed a commit to branch master
in repository r-cran-knitr.
commit 9cda5732b6fa63bf1ec7f4f3211563bad25f1baa
Author: Andreas Tille <tille at debian.org>
Date: Sat Sep 10 20:17:29 2016 +0200
Adapt patches
---
debian/patches/privacy_breach_fix.patch | 46 ++++++++++++++++-----------------
1 file changed, 23 insertions(+), 23 deletions(-)
diff --git a/debian/patches/privacy_breach_fix.patch b/debian/patches/privacy_breach_fix.patch
index c35d824..065df3c 100644
--- a/debian/patches/privacy_breach_fix.patch
+++ b/debian/patches/privacy_breach_fix.patch
@@ -28,30 +28,12 @@ Description: Replace privacy breach links by packaged copies
</div>
- <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
+ <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
- <script src="http://yihui.name/knitr/js/docco-resize.js"></script>
+ <script src="https://yihui.github.io/knitr/js/docco-resize.js"></script>
</body>
</html>
---- a/inst/doc/docco-linear.html
-+++ b/inst/doc/docco-linear.html
-@@ -13,12 +13,12 @@ img{display:block;margin:auto;}
- .page pre{width:100%;max-width:768px;}
- pre, code{font-size:90%;}
- </style>
--<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script>
--<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script>
-+<script src="/usr/share/javascript/highlight.js/highlight.min.js"></script>
-+<script src="/usr/lib/nodejs/highlight.js/languages/r.js"></script>
- <script>hljs.initHighlightingOnLoad();</script>
- <script src="http://yihui.name/media/js/center-images.js"></script>
- <!-- MathJax scripts -->
--<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
-+<script type="text/javascript" src="/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
- </script>
-
-
--- a/inst/doc/knit_print.html
+++ b/inst/doc/knit_print.html
-@@ -420,7 +420,7 @@ window.onload = function() {
+@@ -430,7 +430,7 @@ window.onload = function() {
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
@@ -62,7 +44,7 @@ Description: Replace privacy breach links by packaged copies
</script>
--- a/inst/doc/knitr-intro.html
+++ b/inst/doc/knitr-intro.html
-@@ -163,7 +163,7 @@ window.onload = function() {
+@@ -166,7 +166,7 @@ window.onload = function() {
(function () {
var script = document.createElement("script");
script.type = "text/javascript";
@@ -112,7 +94,7 @@ Description: Replace privacy breach links by packaged copies
</div>
- <script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
+ <script src="/usr/share/javascript/jquery/jquery.min.js"></script>
- <script src="http://yihui.name/knitr/js/docco-resize.js"></script>
+ <script src="https://yihui.github.io/knitr/js/docco-resize.js"></script>
</body>
</html>
--- a/inst/misc/docco-template.html
@@ -126,7 +108,7 @@ Description: Replace privacy breach links by packaged copies
+<script src="/usr/share/javascript/highlight.js/highlight.min.js"></script>
+<script src="/usr/lib/nodejs/highlight.js/languages/r.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
- <script src="http://yihui.name/media/js/center-images.js"></script>
+ <script src="https://yihui.github.io/media/js/center-images.js"></script>
#!mathjax#
--- a/inst/opencpu/apps/index.html
+++ b/inst/opencpu/apps/index.html
@@ -181,3 +163,21 @@ Description: Replace privacy breach links by packaged copies
<style type="text/css">
p{clear:both;}
</style>
+--- a/inst/doc/docco-linear.html
++++ b/inst/doc/docco-linear.html
+@@ -13,12 +13,12 @@ img{display:block;margin:auto;}
+ .page pre{width:100%;max-width:768px;}
+ pre, code{font-size:90%;}
+ </style>
+-<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/highlight.min.js"></script>
+-<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/8.3/languages/r.min.js"></script>
++<script src="/usr/share/javascript/highlight.js/highlight.min.js"></script>
++<script src="/usr/lib/nodejs/highlight.js/languages/r.js"></script>
+ <script>hljs.initHighlightingOnLoad();</script>
+ <script src="https://yihui.github.io/media/js/center-images.js"></script>
+ <!-- MathJax scripts -->
+-<script type="text/javascript" src="https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
++<script type="text/javascript" src="/usr/share/javascript/mathjax/MathJax.js?config=TeX-AMS-MML_HTMLorMML">
+ </script>
+
+
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/r-cran-knitr.git
More information about the debian-science-commits
mailing list