[sfepy] 02/06: Add patches directory.

Anton Gladky gladk at moszumanska.debian.org
Tue May 3 20:00:48 UTC 2016


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

gladk pushed a commit to branch master
in repository sfepy.

commit f82fc2902dc7df8d59e9a90477d2184d3ce852a9
Author: Anton Gladky <gladk at debian.org>
Date:   Tue May 3 21:37:33 2016 +0200

    Add patches directory.
---
 debian/patches/01_remove_google_analytics.patch | 49 +++++++++++++++++++++++++
 debian/patches/series                           |  1 +
 2 files changed, 50 insertions(+)

diff --git a/debian/patches/01_remove_google_analytics.patch b/debian/patches/01_remove_google_analytics.patch
new file mode 100644
index 0000000..fa2e2d3
--- /dev/null
+++ b/debian/patches/01_remove_google_analytics.patch
@@ -0,0 +1,49 @@
+Description: remove Google analytics script in docs
+Author: Anton Gladky <gladk at debian.org>
+Last-Update: 2015-03-21
+
+Index: sfepy-release_2016.1/doc/_templates/layout.html
+===================================================================
+--- sfepy-release_2016.1.orig/doc/_templates/layout.html
++++ sfepy-release_2016.1/doc/_templates/layout.html
+@@ -35,17 +35,4 @@
+ 
+ {% block footer %}
+ {{ super() }}
+-<div class="footer">This page uses <a href="http://analytics.google.com/">
+-Google Analytics</a> to collect statistics. You can disable it by blocking
+-the JavaScript coming from www.google-analytics.com.
+-<script type="text/javascript">
+-  (function() {
+-    var ga = document.createElement('script');
+-    ga.src = ('https:' == document.location.protocol ?
+-              'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+-    ga.setAttribute('async', 'true');
+-    document.documentElement.firstChild.appendChild(ga);
+-  })();
+-</script>
+-</div>
+ {% endblock %}
+Index: sfepy-release_2016.1/doc/gallery_template.html
+===================================================================
+--- sfepy-release_2016.1.orig/doc/gallery_template.html
++++ sfepy-release_2016.1/doc/gallery_template.html
+@@ -96,18 +96,5 @@
+         © Copyright 2010, Robert Cimrman and Contributors.
+       Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.1.3.
+     </div>
+-<div class="footer">This page uses <a href="http://analytics.google.com/">
+-Google Analytics</a> to collect statistics. You can disable it by blocking
+-the JavaScript coming from www.google-analytics.com.
+-<script type="text/javascript">
+-  (function() {
+-    var ga = document.createElement('script');
+-    ga.src = ('https:' == document.location.protocol ?
+-              'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
+-    ga.setAttribute('async', 'true');
+-    document.documentElement.firstChild.appendChild(ga);
+-  })();
+-</script>
+-</div>
+ 
+ </body>
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..b4e6505
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+01_remove_google_analytics.patch

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



More information about the debian-science-commits mailing list