[SCM] devede/master: Add patch to prevent wrong compression of the manpage

alessio at users.alioth.debian.org alessio at users.alioth.debian.org
Sat Nov 21 01:09:16 UTC 2015


The following commit has been merged in the master branch:
commit d0c630f1f01355e9a0d69cf326e3bcfe887e819d
Author: Alessio Treglia <alessio.treglia at smartodds.co.uk>
Date:   Sat Nov 21 01:05:00 2015 +0000

    Add patch to prevent wrong compression of the manpage

diff --git a/debian/patches/0003-dont_compress_manpage.patch b/debian/patches/0003-dont_compress_manpage.patch
new file mode 100644
index 0000000..efe19ab
--- /dev/null
+++ b/debian/patches/0003-dont_compress_manpage.patch
@@ -0,0 +1,30 @@
+Description: Let dh_installman do its job
+Author: Alessio Treglia <alessio at debian.org>
+Forwarded: not-needed
+---
+ setup.py |    7 +------
+ 1 file changed, 1 insertion(+), 6 deletions(-)
+
+--- devede.orig/setup.py
++++ devede/setup.py
+@@ -20,7 +20,7 @@ def get_data_files():
+         (os.path.join('share', 'devede_ng'), ['data/languages.lst']),
+         (os.path.join('share', 'devede_ng', 'backgrounds'), glob('data/pixmaps/backgrounds/*')),
+         (os.path.join('share', 'doc', 'devede_ng', 'html'), glob('doc/*')),
+-        (os.path.join('share','man','man1'), ['data/devede.1.gz'])
++        (os.path.join('share','man','man1'), ['data/devede.1'])
+     ]
+ 
+     for lang_name in [f for f in os.listdir('locale')]:
+@@ -53,11 +53,6 @@ def compile_translations():
+         pass
+ 
+ compile_translations()
+-try:
+-    if os.path.isfile('data/devede.1'):
+-        os.system("gzip -c data/devede.1 > data/devede.1.gz")
+-except:
+-    pass
+ 
+ #here = os.path.abspath(os.path.dirname(__file__))
+ 
diff --git a/debian/patches/series b/debian/patches/series
index aa244f2..f99a5c3 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,3 @@
 0001-fix_desktop_file.patch
 0002-fix_copy_files_verbose.path
+0003-dont_compress_manpage.patch

-- 
devede packaging



More information about the pkg-multimedia-commits mailing list