[sikuli] 03/06: New patch no-adsense.patch

Gilles Filippini pini at debian.org
Sat May 23 09:27:31 UTC 2015


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

pini pushed a commit to branch 1.0_x_rc3
in repository sikuli.

commit 086d3d084c0ab982f492db46fe17fc6af7cbfe0e
Author: Gilles Filippini <pini at debian.org>
Date:   Sat May 23 10:40:27 2015 +0200

    New patch no-adsense.patch
    
    to remove links to google-analytics from documentation.
---
 debian/changelog                |  2 ++
 debian/patches/no-adsense.patch | 23 +++++++++++++++++++++++
 debian/patches/series           |  1 +
 3 files changed, 26 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index af77960..0660569 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -5,6 +5,8 @@ sikuli (1.0~x~rc3.tesseract3-dfsg1-9) UNRELEASED; urgency=medium
     - replace deprecated libconstantine-java.jar with jnr-constants.jar
       (closes: #785720)
   * Update patch setTextAndMnemonic.patch accordingly
+  * New patch no-adsense.patch to remove links to google-analytics from
+    documentation
   * Bump Standards-Version to 3.9.6 (no changes)
 
  -- Gilles Filippini <pini at debian.org>  Sat, 23 May 2015 09:25:23 +0200
diff --git a/debian/patches/no-adsense.patch b/debian/patches/no-adsense.patch
new file mode 100644
index 0000000..20192d4
--- /dev/null
+++ b/debian/patches/no-adsense.patch
@@ -0,0 +1,23 @@
+Description: remove links to google-analytics from documentation.
+Index: sikuli/docs/source/_templates/layout.html
+===================================================================
+--- sikuli.orig/docs/source/_templates/layout.html
++++ sikuli/docs/source/_templates/layout.html
+@@ -3,17 +3,3 @@
+     <li><a href="http://sikuli.org/"><b>PROJECT SIKULI</b></a> | </li>
+         {{ super() }}
+ {% endblock %}
+-
+-{% block extrahead %}
+-<script type="text/javascript">
+-   var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
+-   document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
+-</script>
+-<script type="text/javascript">
+-   try {
+-      var pageTracker = _gat._getTracker("UA-11634531-1");
+-      pageTracker._trackPageview();
+-      } catch(err) {}
+-</script>
+-        {{ super() }}
+-{% endblock %}
diff --git a/debian/patches/series b/debian/patches/series
index 96e26bd..3f9b857 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -8,3 +8,4 @@ tessdata.patch
 gcc-4.7.patch
 no-opencv-surf-module.patch
 setTextAndMnemonic.patch
+no-adsense.patch

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-java/sikuli.git



More information about the pkg-java-commits mailing list