[debhelper-devel] [debhelper] 01/01: Exclude .devhelp2 files from being compressed
Niels Thykier
nthykier at moszumanska.debian.org
Fri Nov 20 23:35:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
nthykier pushed a commit to branch master
in repository debhelper.
commit 118a68607d3e068a26bac3f506938d308c658fa8
Author: Michael Biebl <biebl at debian.org>
Date: Thu Jun 18 13:02:58 2015 +0200
Exclude .devhelp2 files from being compressed
gtkdoc reads the .devhelp2 files to create proper cross-references in
the HTML documentation. Compressing those files breaks this since gtkdoc
does not support reading compressed files.
Since those .devhelp2 files are usually rather small and only installed
on developer machines, the space saveings are not worth it.
Thus exclude the files from being compressed by dh_compress.
https://bugs.launchpad.net/ubuntu/+source/gtk-doc/+bug/1466210
Signed-off-by: Niels Thykier <niels at thykier.net>
---
debian/changelog | 7 +++++++
dh_compress | 1 +
2 files changed, 8 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index be3e90a..41ab32a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+debhelper (9.20151117+unreleased) UNRELEASED; urgency=medium
+
+ * dh_compress: Apply patch from Michael Biebl to skip
+ compression of .devhelp2 files. (Closes: #789153)
+
+ -- Niels Thykier <niels at thykier.net> Sat, 21 Nov 2015 00:33:52 +0100
+
debhelper (9.20151117) unstable; urgency=medium
[ Niels Thykier ]
diff --git a/dh_compress b/dh_compress
index e664f4b..7dcc36c 100755
--- a/dh_compress
+++ b/dh_compress
@@ -129,6 +129,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
! -iname "*.xz" ! -iname "*.lz" ! -iname "*.lzma" \\
! -iname "*.svg" ! -iname "*.svgz" ! -iname "*.js" \\
! -name "index.sgml" ! -name "objects.inv" ! -name "*.map" \\
+ ! -name "*.devhelp2" \\
! -name "copyright" 2>/dev/null || true;
find usr/share/fonts/X11 -type f -name "*.pcf" 2>/dev/null || true;
`);
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debhelper/debhelper.git
More information about the debhelper-devel
mailing list