Received: from gandharva.secretlabs.de ([78.46.147.237]) by linuxtogo.org with esmtp (Exim 4.69) (envelope-from ) id 1NRkAS-0005x1-Tr for openembedded-devel@lists.openembedded.org; Mon, 04 Jan 2010 11:28:11 +0100 Received: from tamarin.localnet (123-192-180-176.dynamic.kbronet.com.tw [123.192.180.176]) by gandharva.secretlabs.de (Postfix) with ESMTPSA id F40A71B10C02 for ; Mon, 4 Jan 2010 10:23:21 +0000 (UTC) From: Holger Hans Peter Freyther To: openembedded-devel@lists.openembedded.org Date: Mon, 4 Jan 2010 11:25:50 +0100 User-Agent: KMail/1.12.2 (Linux/2.6.31; KDE/4.3.2; i686; ; ) References: <200912190854.11510.holger+oe@freyther.de> <201001040840.28000.holger+oe@freyther.de> In-Reply-To: MIME-Version: 1.0 Message-Id: <201001041125.50618.holger+oe@freyther.de> X-SA-Exim-Connect-IP: 78.46.147.237 X-SA-Exim-Mail-From: holger+oe@freyther.de X-SA-Exim-Version: 4.2.1 (built Wed, 25 Jun 2008 17:20:07 +0000) X-SA-Exim-Scanned: No (on linuxtogo.org); Unknown failure Subject: Re: Qt4 GLES (once again) X-BeenThere: openembedded-devel@lists.openembedded.org X-Mailman-Version: 2.1.11 Precedence: list Reply-To: openembedded-devel@lists.openembedded.org List-Id: Using the OpenEmbedded metadata to build Distributions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Jan 2010 10:28:12 -0000 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Monday 04 January 2010 09:21:52 Koen Kooi wrote: > On 04-01-10 08:40, Holger Hans Peter Freyther wrote: > > On Saturday 02 January 2010 09:28:18 Koen Kooi wrote: > >> If that works, I can live with that. > > > > Hi Koen, > > > > that is the current patch. It is working for the !GLES case and it would > > be great if you could test the GLES case and then I would be happy to > > commit it. >=20 > For one it's missing the qt4-x11 case :) could you please test? =46rom 10bd4976831427aadee784ca046d9aedb6ea1407 Mon Sep 17 00:00:00 2001 =46rom: Holger Hans Peter Freyther Date: Mon, 4 Jan 2010 15:37:05 +0800 Subject: [PATCH] qt4: Make the gles variants for Embedded and X11 provide t= he normal variant This way a distribution/user can set PREFERRED_PROVIDER_qt4-embedded =3D "q= t4-embedded-gles" to select the GLES/OpenVG runtime. The default is qt4-embedded as GLES requ= ire a dedicated library most of the time provided as a binary blob by the vendor requiring = the user to manually download and store it at the right place. =46or X11 we already have a PREFERRED_PROVIDER setting in place and don't n= eed to update. =2D-- conf/compatibility-providers.conf | 1 + recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled | 1 + recipes/qt4/qt4-embedded-gles_4.6.0.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.5.2.bb | 1 + recipes/qt4/qt4-x11-free-gles_4.6.0.bb | 1 + 5 files changed, 5 insertions(+), 0 deletions(-) diff --git a/conf/compatibility-providers.conf b/conf/compatibility-provide= rs.conf index 10a81f2..cf61ab5 100644 =2D-- a/conf/compatibility-providers.conf +++ b/conf/compatibility-providers.conf @@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?=3D "alsa-sce= narii-shr" PREFERRED_PROVIDER_opkg ?=3D "opkg" #PREFERRED_PROVIDER_opkg ?=3D "opkg-nogpg" PREFERRED_PROVIDER_qemu-native ?=3D "qemu-native" +PREFERRED_PROVIDER_qt4-embedded ?=3D "qt4-embedded" PREFERRED_PROVIDER_qt4x11 ?=3D "qt4-x11-free" PREFERRED_PROVIDER_task-bootstrap ?=3D "task-bootstrap" PREFERRED_PROVIDER_tslib-conf ?=3D "tslib" diff --git a/recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled b/recipes/qt4/= qt4-embedded-gles_4.5.2.bb.disabled index 5aa07c2..a888e7d 100644 =2D-- a/recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled +++ b/recipes/qt4/qt4-embedded-gles_4.5.2.bb.disabled @@ -9,6 +9,7 @@ require qt4-embedded_${PV}.bb LICENSE =3D "LGPLv2.1 GPLv3" =20 DEPENDS +=3D "virtual/egl" +PROVIDES +=3D "qt4-embedded" SRC_URI +=3D "file://sgx-hack.patch;patch=3D1" =20 export EXTRA_QMAKE_MUNGE =3D " glmunge " diff --git a/recipes/qt4/qt4-embedded-gles_4.6.0.bb b/recipes/qt4/qt4-embed= ded-gles_4.6.0.bb index f819c66..06cdcc5 100644 =2D-- a/recipes/qt4/qt4-embedded-gles_4.6.0.bb +++ b/recipes/qt4/qt4-embedded-gles_4.6.0.bb @@ -1,6 +1,7 @@ require qt4-embedded.inc PR =3D "${INC_PR}.0" =20 +PROVIDES +=3D "qt4-embedded" QT_GLFLAGS =3D "-opengl es2 -openvg" =20 require qt-4.6.0.inc diff --git a/recipes/qt4/qt4-x11-free-gles_4.5.2.bb b/recipes/qt4/qt4-x11-f= ree-gles_4.5.2.bb index cd81841..a3f60bf 100644 =2D-- a/recipes/qt4/qt4-x11-free-gles_4.5.2.bb +++ b/recipes/qt4/qt4-x11-free-gles_4.5.2.bb @@ -11,6 +11,7 @@ require qt4-x11-free_${PV}.bb PR =3D "${INC_PR}.3" =20 DEPENDS +=3D "virtual/egl" +PROVIDES +=3D "qt4-x11-free" #SRC_URI +=3D "file://sgx-hack.patch;patch=3D1" SRC_URI +=3D "file://hack-out-pg_config.patch;patch=3D1" =20 diff --git a/recipes/qt4/qt4-x11-free-gles_4.6.0.bb b/recipes/qt4/qt4-x11-f= ree-gles_4.6.0.bb index a74feaf..cc3aeed 100644 =2D-- a/recipes/qt4/qt4-x11-free-gles_4.6.0.bb +++ b/recipes/qt4/qt4-x11-free-gles_4.6.0.bb @@ -13,5 +13,6 @@ QT_CONFIG_FLAGS +=3D " \ FILESPATHPKG .=3D ":qt4-x11-free-${PV}:qt4-x11-free" =20 DEPENDS +=3D "virtual/egl" +PROVIDES +=3D "qt4-x11-free" =20 =20 =2D-=20 1.6.5