On Wed, Feb 16, 2005 at 12:02:11AM +0000, Stuart Herbert wrote:
> RedHat makes that very easy to do.  Gentoo supports binary packages, but we 
> don't split out the runtime stuff from the type of files which RedHat put in 
> their 'devel' packages.
I'm in favour of the concept of sub-packages of binary output.

> I have an idea about how we could go about implementing this.  Rather than 
> adding (f.ex) a libjpeg-devel package, we could enhance Portage to support a 
> second image directory.  Ebuilds could then put runtime files into ${D} as 
> normal, and 'devel' files into (f.ex) ${I} (it's a shame that ${D} was chosen 
> for the image directory ;-)
As for implementation, a proposal for this as 'subpackages' has come up
before. The basic overview was basically that any given package could
be broken down into a set of subpackages. Some of the suffix names are
standardized (-common, -bin ,-devel [static libs and headers], -doc,
-contrib), but packages are allowed to define their own as well (eg one
for each PHP extension .so)

The major complexity problems come in with describing (r)dependancies of
subpackages. The rest of the implementation is reasonable trivial.

-- 
Robin Hugh Johnson
E-Mail     : [EMAIL PROTECTED]
Home Page  : http://www.orbis-terrarum.net/?l=people.robbat2
ICQ#       : 30269588 or 41961639
GnuPG FP   : 11AC BA4F 4778 E3F6 E4ED  F38E B27B 944E 3488 4E85

Attachment: pgpqT7F090xgT.pgp
Description: PGP signature

Reply via email to