On Wed, Aug 06, 2014 at 07:45:18PM -0400, Cooper Jr., Franklin wrote: > Ahh I think I get it now. I was getting confused since I didn't have this > issue with AM335x. But it seems like this is a dependency on the Graphics > package since libIMGegl needs drm and wayland. > Although the omap15 graphics SDK is weird since it's a prebuilt but wouldn't > it be better to add that dependency on the Graphics package? We can avoid > situations like this for any package that needs egl/gles2.
I thought about that at first, but it's rather weird, as graphics SDK doesn't have build dependency on those packages, mostly because it's already pre-built... I was going to experiment with it a bit to see if it would be possible to use this graphics SDK w/o wayland libs, hence I just wanted to unblock qtbase for now, as it's configure test fails. > > -----Original Message----- > > From: Dmytriyenko, Denys > > Sent: Wednesday, August 06, 2014 6:34 PM > > To: Cooper Jr., Franklin > > Cc: Denys Dmytriyenko; [email protected] > > Subject: Re: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies > > for GLES check on omap-a15 platforms > > > > 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
