Gentoo Archives: gentoo-dev

From: Mart Raudsepp <leio@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] ecompress heads up
Date: Fri, 26 Jan 2007 19:17:35
Message-Id: 1169838740.5590.2.camel@localhost
In Reply to: Re: [gentoo-dev] ecompress heads up by "Petteri Räty"
1 On Fri, 2007-01-26 at 21:03 +0200, Petteri Räty wrote:
2 > Mike Frysinger wrote:
3 > > the new version of portage has customizable compression ... this is cool as
4 > > now people can do bzip/gzip/whatever
5 > >
6 > > the downside is that it breaks with packages that assume everything is
7 > > compressed with gzip ... so here is a list of common things ebuilds should
8 > > not be doing:
9 > > doman foo.1.gz
10 > > dosym foo.1.gz /usr/share/man/man1/fooie.1.gz
11 > > dodoc README.gz
12 > > etc...
13 > > -mike
14 >
15 > Wouldn't it be better to make doman gunzip and recompress until packages
16 > have been fixed. Now users are getting broken man pages with recent portage.
17 > https://bugs.gentoo.org/show_bug.cgi?id=163954
18
19 Furthermore, maybe it could check the compression type if any on the
20 original and then
21 a) If file isn't compressed yet compress with the chosen method
22 (compressor) by user
23 b) If file is compressed with the same compressor than chosen by user do
24 nothing
25 c) If file is compressed with a different compressor than chosen by
26 user, decompress and recompress with chosen compressor
27
28 Sounds like that could work as a long term solution. No?
29
30
31 --
32 Mart Raudsepp
33 Gentoo Developer
34 Mail: leio@g.o
35 Weblog: http://planet.gentoo.org/developers/leio

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] ecompress heads up Paul de Vrieze <pauldv@g.o>
Re: [gentoo-dev] ecompress heads up Mike Frysinger <vapier@g.o>