[paludis-user] cave : libX11-1.4.0 issue

Rodolphe Rocca maitrechang at gmail.com
Sun Dec 12 22:04:09 UTC 2010


On 12/12/2010 03:10 PM, Ciaran McCreesh wrote:
> On Sun, 12 Dec 2010 11:43:33 +0100
> Rodolphe Rocca<maitrechang at gmail.com>  wrote:
>> Looking at the vlc ebuild I can see :
>>
>>           opengl? ( virtual/opengl ||
>> (<x11-libs/libX11-1.3.99.901[xcb]
>>   >=x11-libs/libX11-1.3.99.901 ) )
>>
>> Which looks conceptually good since libX11-1.4 lost its xcb use flag,
>> but... I'm not an ebuild syntax expert.
>>
>> There is a similar line in the pulseaudio ebuild.
>>
>> Is it an ebuild bug or a cave one ?
> It's an ebuild bug. || ( a b ) means "prefer a, but b is fine too".

What would be the correct syntax then ?

I tried :

opengl? ( virtual/opengl ||
(<x11-libs/libX11-1.3.99.901[xcb] ||>=x11-libs/libX11-1.3.99.901 ) )


But it looks like a real syntax error, not a sematic mistake.

Thank you for your help so that I can complete :

http://bugs.gentoo.org/show_bug.cgi?id=348518

Oh, and feel free to add your word to this issue since you have much more ammo than I do on the subject.




More information about the paludis-user mailing list