Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-dev
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-dev@g.o
From: Zac Medico <zmedico@g.o>
Subject: Re: Re: How to handle dependencies on protocol headers?
Date: Thu, 15 Sep 2011 21:49:35 -0700
On 09/15/2011 09:42 PM, Matt Turner wrote:
> On Fri, Sep 16, 2011 at 12:32 AM, Matt Turner <mattst88@g.o> wrote:
>> Often packages depending on X11 libraries will also have to specify
>> the X11 libraries' proto packages in DEPEND. This is because the X11
>> library itself #includes files provided by the proto package. It's not
>> really that the X11 library depends on this at run-time, so the
>> protocol packages aren't specified in the RDEPEND of the libraries.
>>
>> This is documented in a number of bug reports (see 379545), and it
>> seems that the decision is between
>>  - add proto package to dependency list of packages using X11 libs
>>  - add proto package to rdepend list of the relevant library itself
>>
>> The first is more correct, I think, but it's also much more annoying.
>> Mesa winds up having x11-proto/inputproto in DEPEND for some long
>> forgotten reason, for instance.
>>
>> The second option is much simpler and less error prone, but removes
>> the ability to depclean the proto packages.
>>
>> It seems that some sort of DEPEND variable that means "I only need
>> this when other packages are building against me" would be useful.
>> Thoughts?
>>
>> Matt
> 
> Another similar situation:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=342393

Maybe the virtual/mesa-build approach that I suggested can be adapted to
other similar situations:

  https://bugs.gentoo.org/show_bug.cgi?id=342393#c23

-- 
Thanks,
Zac


Replies:
Re: Re: How to handle dependencies on protocol headers?
-- Matt Turner
Re: Re: How to handle dependencies on protocol headers?
-- Alexander Bersenev
References:
Re: How to handle dependencies on protocol headers?
-- Matt Turner
Navigation:
Lists: gentoo-dev: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: How to handle dependencies on protocol headers?
Next by thread:
Re: Re: How to handle dependencies on protocol headers?
Previous by date:
Re: How to handle dependencies on protocol headers?
Next by date:
Re: Re: How to handle dependencies on protocol headers?


Updated Jun 29, 2012

Summary: Archive of the gentoo-dev mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.