On 12/28/2009 11:47 PM, Fabio Erculiani wrote: > > > On Mon, Dec 28, 2009 at 10:32 PM, Samuli Suominen <ssuomi...@gentoo.org> > wrote: >> On 12/28/2009 10:51 PM, David Leverton wrote: >>> On Monday 28 December 2009 20:50:17 Fabio Erculiani wrote: >>>> What all this has to do with the fact that they are just build >>>> dependencies? Just wondering. >>> >>> They're not just build dependencies. They're required to use the >>> library in a >>> certain way, namely to compile other programs against it. As long as we >>> don't have compile-against dependencies, the only correct way to >>> express that >>> is RDEPEND (and also DEPEND because they're /also/ needed to build the >>> library itself). >>> >> >> That's what I've been trying to say (also with my example). >> That is, they are more than DEPENDs. > > How comes, > this is the list of files owned by xproto: >
... > How can a bunch of .h and pkgconfig files *do* all that magic you are > talking about? There's no magic involved. In order to _use_ libXext, which in this case is building something against libXext, also xextproto must be around, because libXext's includes are including xextproto's includes. As in, libXext must have xextproto around to be a complete package.