[yocto] [meta-raspberrypi][PATCH 2/2] Add RPROVIDES for OpenGL libraries

Andrei Gherzan andrei at gherzan.ro
Sat Feb 9 14:58:01 PST 2013


On Tue, Feb 5, 2013 at 8:54 PM, Philipp Wagner <lists at philipp-wagner.com>wrote:

> Am 05.02.2013 19:50, schrieb Tomas Frydrych:
> > On 30/01/13 21:51, Philipp Wagner wrote:
> >> https://github.com/djwillis/meta-raspberrypi/issues/55
> >>
> >>  PROVIDES = "virtual/libgl virtual/libgles2 virtual/egl"
> >> +RPROVIDES = "virtual/libgl virtual/libgles2 virtual/egl"
> >
> > As I noted in the above issue, this really is wrong; there is *no* libgl
> > provided by the RPi firmware.
>
> In the bug report, Andrei also mentions that it is required for some
> reason, but I don't know exactly what the reason is.
>
> Andrei, could you explain that in more detail?
>

Well it was a workaround. In this way opengl distro features would point to
our libraries even if that is not the right thing to do. Think about
libsdl. I actually did this for this case as i remember. libsdl was a
dependency for omxplayer and libsdl was triggering mesa in build because of
this opengl dependency taken from DISTRO FEATURES. So I made this to trick
the package not to depend on mesa but on rpi graphic libraries.

But I dropped this ugly thing. We need a real way to fix this now. There is
a discussion on ml already about this.
-- 
*Andrei Gherzan*
m: +40.744.478.414 |  f: +40.31.816.28.12
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/yocto/attachments/20130210/5ead5443/attachment.html>


More information about the yocto mailing list