[yocto] virtual/mesa, virtual/libgl provided by multiple packages

Alex J Lennon ajlennon at dynamicdevices.co.uk
Fri Jun 27 01:22:19 PDT 2014


On 26/06/2014 22:51, Ash Charles wrote:
> Hi Alex,
> On Fri, Jun 13, 2014 at 1:49 PM, Alex J Lennon
> <ajlennon at dynamicdevices.co.uk> wrote:
>> I think these two lines in cogl-1.0.inc are causing mesa to be pulled in
>> incorrectly, but I'm not sure what ERDEPENDS does...
>>
>> # Extra RDEPENDS for PACKAGECONFIG
>> # This has to be explictly listed, because cogl dlopens the backends
>> ERDEPENDS_GL    = "libgl"
>> ERDEPENDS_GLES2 = "libgles2"
> I'm seeing the same issue.  I'm guessing that 'virtual/*' is not a
> valid target for an RDEPEND.  It looks like your libgles2 provider
> should RPROVIDE libgles2.  The receipe for SGX (graphics core)
> libraries, for example, contains lines like this:
> RREPLACES_${PN} = "libegl libgles1 libgles2"
> RPROVIDES_${PN} = "libegl libgles1 libgles2"
> RCONFLICTS_${PN} = "libegl libgles1 libgles2"
>
> Mesa does something similar (with some extra debian renaming that I
> didn't understand) in an anonymous python function in mesa.inc.
>
> --Ash

fwiw. I also ran into a problem with needing libglapi which seems to be
provided by mesa.

I am wondering if there's a need for a mesa-glapi similar to mesa-gl to
eliminate the need for mesa-proper

Regards, Alex




More information about the yocto mailing list