On Wed, Aug 06, 2014 at 11:30:12PM +0000, Cooper Jr., Franklin wrote:
> If the graphics SDK provides libdrm and libwayland libraries

Huh? Those libs are not provided by the graphics SDK.


> why isn't the 
> dependency on virtual/libgles2 and virtual/egl enough? I see that 
> omap5-sgx-ddk-um-linux already provides libgles2 and egl.

Because omap5-sgx-ddk-um-linux does not have libdrm and libwayland. Those are 
provided by the corresponding packages I'm adding into the dependency.


> > -----Original Message-----
> > From: [email protected] [mailto:meta-arago-
> > [email protected]] On Behalf Of Denys Dmytriyenko
> > Sent: Wednesday, August 06, 2014 5:54 PM
> > To: [email protected]
> > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies for
> > GLES check on omap-a15 platforms
> > 
> > From: Denys Dmytriyenko <[email protected]>
> > 
> > GLES libraries for omap-a15 platforms come in binary form and are pre-built
> > against libdrm and libwayland libraries. When qtbase tries to do a check for
> > GLES support, it fails to link the test app, when libdrm and libwayland are 
> > not
> > yet available in sysroots:
> > 
> > | OpenGL ES 2.x auto-detection... ()
> > | ...-g++ ... -o opengles2.o
> > | .../qtbase-opensource-src-5.2.1/config.tests/unix/opengles2/opengles2.
> > | cpp ...-g++ ... -o opengles2 opengles2.o -lsrv_um -lGLESv2
> > | .../bin/ld: warning: libdrm.so.2, needed by .../usr/lib/libsrv_um.so,
> > | not found (try using -rpath or -rpath-link)
> > | .../bin/ld: warning: libwayland-server.so.0, needed by
> > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link)
> > | .../bin/ld: warning: libdrm_omap.so.1, needed by
> > | .../usr/lib/libIMGegl.so, not found (try using -rpath or -rpath-link) ...
> > | collect2: error: ld returned 1 exit status
> > | Makefile:103: recipe for target 'opengles2' failed
> > | make: *** [opengles2] Error 1
> > | OpenGL ES 2.x disabled.
> > | The OpenGL ES 2.0 functionality test failed!
> > 
> > Add libdrm and wayland as extra dependencies for qtbase when building on
> > omap-a15 with gles flag enabled.
> > 
> > Signed-off-by: Denys Dmytriyenko <[email protected]>
> > ---
> >  meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend | 6 ++++++
> >  1 file changed, 6 insertions(+)
> >  create mode 100644 meta-arago-distro/recipes-
> > qt/qt5/qtbase_5.2.1.bbappend
> > 
> > diff --git a/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend b/meta-
> > arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > new file mode 100644
> > index 0000000..c879313
> > --- /dev/null
> > +++ b/meta-arago-distro/recipes-qt/qt5/qtbase_5.2.1.bbappend
> > @@ -0,0 +1,6 @@
> > +GLES_EXTRA_DEPS = ""
> > +GLES_EXTRA_DEPS_omap-a15 = "libdrm wayland"
> > +
> > +PACKAGECONFIG[gles2] = "-opengl es2 -eglfs,,virtual/libgles2 virtual/egl
> > ${GLES_EXTRA_DEPS}"
> > +
> > +PR_append = "-arago0"
> > --
> > 2.0.4
> > 
> > _______________________________________________
> > meta-arago mailing list
> > [email protected]
> > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
> _______________________________________________
> meta-arago mailing list
> [email protected]
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to