[OE-core] [oe-core 11/20] mesa: package gl/egl/osmesa to separate packages

Martin Jansa martin.jansa at gmail.com
Fri Oct 14 11:19:26 UTC 2011


On Fri, Oct 14, 2011 at 12:12:11PM +0100, Richard Purdie wrote:
> On Thu, 2011-10-13 at 13:30 +0200, Martin Jansa wrote:
> > * also install internal GL headers to libgl-dev
> > 
> > Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
> > ---
> >  meta/recipes-graphics/mesa/mesa-common.inc |   18 ++++++++++++++++--
> >  1 files changed, 16 insertions(+), 2 deletions(-)
> > 
> > diff --git a/meta/recipes-graphics/mesa/mesa-common.inc b/meta/recipes-graphics/mesa/mesa-common.inc
> > index 89ef0cf..62d9b24 100644
> > --- a/meta/recipes-graphics/mesa/mesa-common.inc
> > +++ b/meta/recipes-graphics/mesa/mesa-common.inc
> > @@ -40,7 +40,21 @@ require glx-use-tls.inc
> >  # Multiple virtual/gl providers being built breaks staging
> >  EXCLUDE_FROM_WORLD = "1"
> >  
> > -PACKAGES =+ "libglu libglu-dev"
> > -
> > +PACKAGES =+ "libegl libegl-dev libegl-dbg libglu libglu-dev libosmesa libosmesa-dev libgl libgl-dev"
> > +FILES_libegl = "${libdir}/libEGL.so.* ${libdir}/egl/*.so"
> > +FILES_libgl = "${libdir}/libGL.so.*"
> >  FILES_libglu = "${libdir}/libGLU.so.*"
> > +FILES_libosmesa = "${libdir}/libOSMesa.so.*"
> > +
> > +FILES_libegl-dev = "${libdir}/libEGL.* ${includedir}/EGL"
> > +FILES_libgl-dev = "${libdir}/libGL.* ${includedir}/GL"
> >  FILES_libglu-dev = "${libdir}/libGLU.* ${includedir}/GL/glu*.h"
> > +FILES_libosmesa-dev = "${libdir}/libOSMesa.* ${includedir}/osmesa.h"
> > +
> > +FILES_${PN}-dbg += "${libdir}/dri/.debug/*"
> > +FILES_libegl-dbg += "${libdir}/egl/.debug/*"
> > +
> > +do_install_append () {
> > +    install -d ${D}/${includedir}/GL
> > +    cp -pPr ${S}/include/GL/internal* ${D}/${includedir}/GL
> > +}
> 
> This last do_install_append is wrong. Things should only be using
> installed header files, not internal uninstalled ones. If the need
> anything else there is a bug. I know the intel video driver had issues
> in this area but those were fixed in the driver.

checking from where we got this in meta-oe I've found really old commit
http://git.openembedded.org/openembedded/commit/packages/mesa/mesa-common.inc?id=523eeb1062797a8562446fbefe9413a59540816b
so you're right, I'll try to rebuild without this and drop this part
from patchset.

> What other issues are people seeing without this piece?

Unless someone else knows about still broken driver :).

Regards,
-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20111014/2a04941e/attachment-0002.sig>


More information about the Openembedded-core mailing list