From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from bear.ext.ti.com (bear.ext.ti.com [192.94.94.41]) by arago-project.org (Postfix) with ESMTPS id 7C1A452A51 for ; Wed, 6 Aug 2014 23:34:22 +0000 (UTC) Received: from dlelxv90.itg.ti.com ([172.17.2.17]) by bear.ext.ti.com (8.13.7/8.13.7) with ESMTP id s76NYLQD030788; Wed, 6 Aug 2014 18:34:21 -0500 Received: from DLEE70.ent.ti.com (dlemailx.itg.ti.com [157.170.170.113]) by dlelxv90.itg.ti.com (8.14.3/8.13.8) with ESMTP id s76NYLMt005343; Wed, 6 Aug 2014 18:34:21 -0500 Received: from dlep32.itg.ti.com (157.170.170.100) by DLEE70.ent.ti.com (157.170.170.113) with Microsoft SMTP Server id 14.3.174.1; Wed, 6 Aug 2014 18:34:21 -0500 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by dlep32.itg.ti.com (8.14.3/8.13.8) with ESMTP id s76NYLi1011373; Wed, 6 Aug 2014 18:34:21 -0500 Date: Wed, 6 Aug 2014 19:34:21 -0400 From: Denys Dmytriyenko To: "Cooper Jr., Franklin" Message-ID: <20140806233421.GR23523@edge> References: <1407365627-29059-1-git-send-email-denis@denix.org> <1407365627-29059-2-git-send-email-denis@denix.org> <8F29D6B095ED194EA1980491A5E029710C6F5E80@DFLE08.ent.ti.com> MIME-Version: 1.0 In-Reply-To: <8F29D6B095ED194EA1980491A5E029710C6F5E80@DFLE08.ent.ti.com> User-Agent: Mutt/1.5.20 (2009-06-14) Cc: "meta-arago@arago-project.org" Subject: Re: [PATCH 2/4] qtbase: add additional dependencies for GLES check on omap-a15 platforms X-BeenThere: meta-arago@arago-project.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Arago metadata layer for TI SDKs - OE-Core/Yocto compatible List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 06 Aug 2014 23:34:22 -0000 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline 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: meta-arago-bounces@arago-project.org [mailto:meta-arago- > > bounces@arago-project.org] On Behalf Of Denys Dmytriyenko > > Sent: Wednesday, August 06, 2014 5:54 PM > > To: meta-arago@arago-project.org > > Subject: [meta-arago] [PATCH 2/4] qtbase: add additional dependencies for > > GLES check on omap-a15 platforms > > > > From: Denys Dmytriyenko > > > > 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 > > --- > > 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 > > meta-arago@arago-project.org > > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago > _______________________________________________ > meta-arago mailing list > meta-arago@arago-project.org > http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago