[vlfeat] 01/02: patch import

Dima Kogan dima at secretsauce.net
Sun Dec 22 21:05:37 UTC 2013


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

dkogan-guest pushed a commit to annotated tag debian/0.9.17+dfsg0-2
in repository vlfeat.

commit 5034085693a4faadd70f6c14917b733cd225f72b
Author: Dima Kogan <dima at secretsauce.net>
Date:   Sun Dec 22 12:48:17 2013 -0800

    patch import
---
 ...gle-adsense-and-google-analytics-from-the.patch | 56 ++++++++++++++++++++++
 debian/patches/series                              |  1 +
 2 files changed, 57 insertions(+)

diff --git a/debian/patches/0008-Removed-google-adsense-and-google-analytics-from-the.patch b/debian/patches/0008-Removed-google-adsense-and-google-analytics-from-the.patch
new file mode 100644
index 0000000..fb4645f
--- /dev/null
+++ b/debian/patches/0008-Removed-google-adsense-and-google-analytics-from-the.patch
@@ -0,0 +1,56 @@
+From: Dima Kogan <dima at secretsauce.net>
+Date: Sun, 22 Dec 2013 12:47:04 -0800
+Subject: Removed google adsense and google analytics from the docs
+
+This violated the user's privacy:
+
+ http://lintian.debian.org/tags/privacy-breach-google-adsense.html
+---
+ docsrc/vlfeat-website-template.xml | 30 ------------------------------
+ 1 file changed, 30 deletions(-)
+
+diff --git a/docsrc/vlfeat-website-template.xml b/docsrc/vlfeat-website-template.xml
+index a83a6ab..68b8516 100644
+--- a/docsrc/vlfeat-website-template.xml
++++ b/docsrc/vlfeat-website-template.xml
+@@ -51,40 +51,10 @@
+   </script>
+   <script type="text/javascript"
+           src="http://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"/>
+-
+-  <!-- Google Custom Search -->
+-  <script>
+-    (function() {
+-    var cx = '003215582122030917471:oq23albfeam';
+-    var gcse = document.createElement('script'); gcse.type = 'text/javascript'; gcse.async = true;
+-    gcse.src = (document.location.protocol == 'https:' ? 'https:' : 'http:') +
+-    '//www.google.com/cse/cse.js?cx=' + cx;
+-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(gcse, s);
+-    })();
+-  </script>
+-
+-  <!-- Google Analytics -->
+-  <script type="text/javascript">
+-    var _gaq = _gaq || [];
+-    _gaq.push(['_setAccount', 'UA-4936091-2']);
+-    _gaq.push(['_trackPageview']);
+-    (function() {
+-    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
+-    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+-    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
+-    })();
+-  </script>
+  </head>
+ 
+  <!-- Body Start -->
+  <body>
+-  <div id="header-section">
+-    <div id="header">
+-      <!-- Google CSE Search Box -->
+-      <div class="gcse-searchbox-only" id="google" data-resultsUrl="http://www.vlfeat.org/search.html"></div>
+-      <h1><a class="plain" href="%pathto:home;"><span id="vlfeat">VLFeat</span><span id="dotorg">.org</span></a></h1>
+-    </div>
+-  </div>
+   <div id="headbanner-section">
+     <div id="headbanner">
+       %path;
diff --git a/debian/patches/series b/debian/patches/series
index 088722d..371dae5 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -5,3 +5,4 @@
 0005-octave-make-clean-now-works-properly.patch
 0006-the-mex-.d-file-generator-now-works.-It-has-include-.patch
 0007-removed-architecture-detection-logic.patch
+0008-Removed-google-adsense-and-google-analytics-from-the.patch

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



More information about the debian-science-commits mailing list