[debhelper-devel] Bug#730483: dh_compress: skip compression for .epub .odt just like .jar .zip
Osamu Aoki
osamu at debian.org
Mon Nov 25 13:05:37 UTC 2013
Package: debhelper
Version: 9.20131110
Severity: normal
Tags: patch
In documentation directory, we expect files in:
* oasis.opendocument.text with .odt
http://en.wikipedia.org/wiki/OpenDocument
* OEBPS Container Format with .epub
http://en.wikipedia.org/wiki/EPUB
Both are compressed in the ZIP format just like .zip and .jar .
http://en.wikipedia.org/wiki/Zip_(file_format)
We should skip compressing them with dh_compress.
As I was making patch, I realized .css is excluded. Though .htaccess is
usually less than 4k, I wonder why not exclude .htaccess too.
Also, other OpenDocument files are in zip format. Notably, .odg (draw)
and .odp (presentation) .
Patch is to address all these. Even if you wish to cut down this list,
.epub and .odt must be excluded from the compression.
(For now, I have -X in my source and filed Bug#730370 for live-manual)
Osamu
-- 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.11-2-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.23.91.20131123-1
ii dpkg 1.17.1
ii dpkg-dev 1.17.1
ii file 1:5.14-2
ii man-db 2.6.5-2
ii perl 5.18.1-4
ii po-debconf 1.0.16+nmu2
debhelper recommends no packages.
Versions of packages debhelper suggests:
ii dh-make 0.63
-- no debconf information
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dh_compress.patch
Type: text/x-diff
Size: 680 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/debhelper-devel/attachments/20131125/835cb0e1/attachment-0001.patch>
More information about the debhelper-devel
mailing list