On Fri, 2007-01-26 at 21:03 +0200, Petteri Räty wrote:
> Mike Frysinger wrote:
> > the new version of portage has customizable compression ... this is cool as 
> > now people can do bzip/gzip/whatever
> > 
> > the downside is that it breaks with packages that assume everything is 
> > compressed with gzip ... so here is a list of common things ebuilds should 
> > not be doing:
> > doman foo.1.gz
> > dosym foo.1.gz /usr/share/man/man1/fooie.1.gz
> > dodoc README.gz
> > etc...
> > -mike
> 
> Wouldn't it be better to make doman gunzip and recompress until packages
> have been fixed. Now users are getting broken man pages with recent portage.
> https://bugs.gentoo.org/show_bug.cgi?id=163954

Furthermore, maybe it could check the compression type if any on the
original and then
a) If file isn't compressed yet compress with the chosen method
(compressor) by user
b) If file is compressed with the same compressor than chosen by user do
nothing
c) If file is compressed with a different compressor than chosen by
user, decompress and recompress with chosen compressor

Sounds like that could work as a long term solution. No?


-- 
Mart Raudsepp
Gentoo Developer
Mail: [EMAIL PROTECTED]
Weblog: http://planet.gentoo.org/developers/leio

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to