Package: debhelper
Version: 8.0.0
Severity: wishlist

Hi,

Sphinx documentation generates objects.inv files, and they can only be 
used when uncompressed. Therefore dh_compress should ignore them.

Patch attached.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils                     2.20.1-15   The GNU assembler, linker and bina
ii  dpkg-dev                     1.15.8.5    Debian package development tools
ii  file                         5.04-5      Determines file type using "magic"
ii  html2text                    1.3.2a-15   advanced HTML to text converter
ii  man-db                       2.5.7-7     on-line manual pager
ii  perl                         5.10.1-16   Larry Wall's Practical Extraction 
ii  perl-base                    5.10.1-16   minimal Perl system
ii  po-debconf                   1.0.16+nmu1 tool for managing templates file t

debhelper recommends no packages.

Versions of packages debhelper suggests:
pn  dh-make                       <none>     (no description available)

-- no debconf information
>From 5dae968ddec84706b95eb5f9a3811a877f64ac7f Mon Sep 17 00:00:00 2001
From: Josselin Mouette <j...@debian.org>
Date: Tue, 4 Jan 2011 14:04:41 +0100
Subject: [PATCH] Ignore objects.inv files, generated by Sphinx documentation

---
 dh_compress |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dh_compress b/dh_compress
index 51a4e74..3eb6ff2 100755
--- a/dh_compress
+++ b/dh_compress
@@ -116,7 +116,7 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                                ! -iname "*-gz"  ! -iname "*-z" ! -iname "*_z" 
\\
                                ! -iname "*.jar" ! -iname "*.zip" ! -iname 
"*.css" \\
                                ! -iname "*.svg" ! -iname "*.svgz" ! -iname 
"*.js" \\
-                               ! -name "index.sgml" \\
+                               ! -name "index.sgml" ! -name "objects.inv" \\
                                ! -name "copyright" 2>/dev/null || true;
                        find usr/share/fonts/X11 -type f -name "*.pcf" 
2>/dev/null || true;
                `);
-- 
1.7.1

Reply via email to