Raphael Hertzog writes ("Re: Bug#456332: dpkg could use an elevated pre-depends 
or depends      on lzma"):
> On Tue, 22 Jan 2008, Ian Jackson wrote:
> > I assume you mean why do it like that.  The answer is that you don't
> > need the lzma support in cases where it's not needed.  The
> > dependencies are more accurate.
> 
> You don't need a virtual package for that. You just need to have each
> package depend on the right decompressor.

Yes, but if the decompressor packages are reorganised at all, or we
decide to change again how it is implemented in dpkg, all of those
packages will become broken.

Given that this will be a pre-depends and will be in a large number of
packages, I think it is important that it be very stable.

> I would only be in favor of that if we modify dpkg to auto-generate that
> dependency, unfortunately right now we only know how to compress when
> "dpkg-deb -b -Z<something>" is called and this is after dpkg-gencontrol
> obviously.

How about if we arrange to pass -Z<something> to dpkg-gencontrol, and
have a table in dpkg-dev to map <something> to
deb-decompressor-<something> for values where it is needed ?

Ian.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to