[Python-modules-commits] [gamera] 11/14: added gendoc-no-sflogo.diff

Daniel Stender danstender-guest at moszumanska.debian.org
Fri May 8 12:42:28 UTC 2015


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

danstender-guest pushed a commit to branch master
in repository gamera.

commit 423dc1936b0164da2cc1ef1334cf2b1e906ccc57
Author: Daniel Stender <debian at danielstender.com>
Date:   Fri May 8 12:44:17 2015 +0200

    added gendoc-no-sflogo.diff
---
 debian/changelog                     |  3 ++-
 debian/patches/gendoc-no-sflogo.diff | 16 ++++++++++++++++
 debian/patches/series                |  1 +
 debian/rules                         |  1 -
 4 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 22c40d8..fa6a515 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,9 +12,10 @@ gamera (3.4.2-1) UNRELEASED; urgency=medium
      + dropped avoid_mktemp.diff, gendoc-version-parsing.diff, suppress-
        wxdebug-assertion-messages.diff, wxpython3.0-transition.diff (applied
        upstream).
+     + added gendoc-no-sflogo.diff (dropped sflogo removal from deb/rules).
    * Added deb/gbp.conf.
 
- -- Daniel Stender <debian at danielstender.com>  Fri, 08 May 2015 12:15:10 +0200
+ -- Daniel Stender <debian at danielstender.com>  Fri, 08 May 2015 12:42:18 +0200
 
 gamera (3.4.1+svn1423-4) unstable; urgency=medium
 
diff --git a/debian/patches/gendoc-no-sflogo.diff b/debian/patches/gendoc-no-sflogo.diff
new file mode 100644
index 0000000..163fca8
--- /dev/null
+++ b/debian/patches/gendoc-no-sflogo.diff
@@ -0,0 +1,16 @@
+Description: prevent footer generation in docs which contains
+ Sourceforge logo
+Author: Daniel Stender <debian at danielstender.com>
+Applied-Upstream: not-needed
+Last-Update: 2015-05-08
+
+--- a/doc/gendoc.py
++++ b/doc/gendoc.py
+@@ -11,5 +11,6 @@
+        'nrows ncols page_offset_x page_offset_y stride size bytes pixel_type storage_format'),
+       ("gamera.core", "RGBPixel",
+        'red green blue hue saturation value cie_x cie_y cie_z cie_Lab_L cie_Lab_a cie_Lab_b cyan magenta yellow')
+-      ])
++      ],
++      sourceforge_logo=False)
+    
diff --git a/debian/patches/series b/debian/patches/series
index bd4ea53..520f522 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
+gendoc-no-sflogo.diff
 gendoc-use-wxversion.diff
 gendoc-draw-text.diff
 fix-paths.diff
diff --git a/debian/rules b/debian/rules
index 93b9580..114e854 100755
--- a/debian/rules
+++ b/debian/rules
@@ -141,7 +141,6 @@ doc/manpage/gamera_gui.1: build/build-stamp
 
 build/doc-stamp: build/build-stamp
 	cd doc && PYTHONPATH=$(default_pythonpath) python gendoc.py
-	grep -rl sflogo doc/html/ | xargs sed -i 's/<img\ src="http:\/\/sflogo.*downloads"\ \/>/Sourceforge/'
 	touch $(@)
 
 # clean target

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/gamera.git



More information about the Python-modules-commits mailing list