Package: debhelper
Version: 9.20140228
Severity: minor
Tags: patch

Hi again,

I saw a bug report on apt:
 https://bugs.debian.org/738933

libapt-pkg-doc seems to be fixed but I thought including xhtml as a part
of default exception list may be a reasonable thing.

See attached patch.

I think we should make exceptions to compressed zip/gz/xz files and html
files following our tradition.  "xhtml" seems to be one which we expect
to more.

Regards,

Osamu

PS: I agree keeping up this exception list is getting too much in some
cases.  Once btrfs-with-compression becomes our default file system, I
think we are better off without explicit compression. I agree with you
leaving bug#584528 (PNG/SVG/...) #593382 (Python source) for now.

-- System Information:
Debian Release: jessie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.13-1-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages debhelper depends on:
ii  binutils    2.24-3
ii  dpkg        1.17.6
ii  dpkg-dev    1.17.6
ii  file        1:5.17-0.1
ii  man-db      2.6.6-1
ii  perl        5.18.2-2
ii  po-debconf  1.0.16+nmu2

debhelper recommends no packages.

Versions of packages debhelper suggests:
ii  dh-make  0.63

-- no debconf information
--- dh_compress.orig	2014-03-01 15:52:37.978492343 +0900
+++ dh_compress	2014-03-01 15:54:56.453046988 +0900
@@ -113,7 +113,7 @@
 			find usr/share/doc \\
 				\\( -type d -name _sources -prune -false \\) -o \\
 				-type f \\( -size +4k -or -name "changelog*" -or -name "NEWS*" \\) \\
-				\\( -name changelog.html -or ! -iname "*.htm*" \\) \\
+				\\( -name changelog.html -or ! -iname "*.htm*" -or ! -iname "*.xhtml"\\) \\
 				! -iname "*.gif" ! -iname "*.png" ! -iname "*.jpg" \\
 				! -iname "*.jpeg" ! -iname "*.gz" ! -iname "*.taz" \\
 				! -iname "*.tgz" ! -iname "*.z" ! -iname "*.bz2" \\

Reply via email to