Re: *-doc package should not gzip PDF file
On Saturday 24 June 2006 14:35, Osamu Aoki wrote:
--cut--
> For architecture: all *-doc packages, there is no technical and
> practical reason to gzip *.pdf file. I agree. packages are gziped so
> package size d nt change. We do it just because of policy and bcause
> helper script is written such way as I said.
>
> If anyone wants this to be fixed following should happen.
>
> * Write a patch to the debhelper gzip text/pdf/ps file logic
> - do not compress if the package is *-doc and file extension is pdf.
> - possibly even avoid compressing if the result of compression gain
> less than **% (10% ?? or 1KB) of size.
debhelper is already smart enough... what is wrong with --exclude (-X.pdf)
option of dh_compress ?
--
pub 4096R/0E4BD0AB 2003-03-18 <people.fccf.net/danchev/key pgp.mit.edu>
fingerprint 1AE7 7C66 0A26 5BFF DF22 5D55 1C57 0C89 0E4B D0AB
Reply to: