On Monday 04 January 2010 11:35:43 Koen Kooi wrote: > On 04-01-10 11:25, Holger Hans Peter Freyther wrote: > > For X11 we already have a PREFERRED_PROVIDER setting in place and don't > > need to update. > > Thats not quite true, only qt4x11 is defined, but we need qt4-x11-free.
What about these two? I'm killing the qt4x11 PROVIDER stupidity... It does not make any sense nowadays and we should kill "-free" from the Qt package in the future as well. z.
From 252fb7cc8618f2f16b724a1b0a844d27fb3bb4b0 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther <[email protected]> Date: Wed, 6 Jan 2010 12:22:16 +0800 Subject: [PATCH 1/5] qt4x11: Cease out the qt4x11 PROVIDER * The LGPL and Commercial edition are actually the same tarball. * If someone sees the need he can take qt qt4-recipes and specify -commercial in the compilation. --- classes/qt4x11.bbclass | 2 +- conf/compatibility-providers.conf | 2 +- conf/distro/kaeilos.conf | 4 ---- recipes/qt4/qt4-x11-free.inc | 1 - 4 files changed, 2 insertions(+), 7 deletions(-) diff --git a/classes/qt4x11.bbclass b/classes/qt4x11.bbclass index aa2e2a1..2d56b7e 100644 --- a/classes/qt4x11.bbclass +++ b/classes/qt4x11.bbclass @@ -1,4 +1,4 @@ -DEPENDS_prepend = "$...@["qt4x11 ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}" +DEPENDS_prepend = "$...@["qt4-x11-free ", ""][(bb.data.getVar('PN', d, 1)[:12] == 'qt4-x11-free')]}" inherit qmake2 diff --git a/conf/compatibility-providers.conf b/conf/compatibility-providers.conf index 10a81f2..61a3730 100644 --- a/conf/compatibility-providers.conf +++ b/conf/compatibility-providers.conf @@ -47,7 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr" PREFERRED_PROVIDER_opkg ?= "opkg" #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg" PREFERRED_PROVIDER_qemu-native ?= "qemu-native" -PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free" +PREFERRED_PROVIDER_qt4-x11-free ?= "qt4-x11-free" PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap" PREFERRED_PROVIDER_tslib-conf ?= "tslib" PREFERRED_PROVIDER_tslib ?= "tslib" diff --git a/conf/distro/kaeilos.conf b/conf/distro/kaeilos.conf index 4d790f4..03595db 100644 --- a/conf/distro/kaeilos.conf +++ b/conf/distro/kaeilos.conf @@ -182,10 +182,6 @@ PREFERRED_PROVIDER_gdk-pixbuf-loader-wbmp ?= "gtk+" PREFERRED_PROVIDER_gdk-pixbuf-loader-xbm ?= "gtk+" PREFERRED_PROVIDER_gdk-pixbuf-loader-xpm ?= "gtk+" -# QT stuff: -# There are several flavours of qt4x11 in OE, so lets pick one that is buildable for everyone -PREFERRED_PROVIDER_qt4x11 ?= "qt4-x11-free" - #Silence a warning during parsing PREFERRED_PROVIDER_task-bootstrap = "task-bootstrap" diff --git a/recipes/qt4/qt4-x11-free.inc b/recipes/qt4/qt4-x11-free.inc index ade148b..dffe3a0 100644 --- a/recipes/qt4/qt4-x11-free.inc +++ b/recipes/qt4/qt4-x11-free.inc @@ -4,7 +4,6 @@ PRIORITY = "optional" HOMEPAGE = "http://www.trolltech.com" LICENSE = "GPL QPL" DEPENDS += "virtual/libx11 fontconfig xft libxext libxrender libxrandr libxcursor" -PROVIDES = "qt4x11" INC_PR = "r14" -- 1.6.5
From 3d941e890f9eeab142d5521a72fbb563a2d804ed Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther <[email protected]> Date: Mon, 4 Jan 2010 15:37:05 +0800 Subject: [PATCH 2/5] qt4: Make the gles variants for Embedded and X11 provide the normal variant This way a distribution/user can set PREFERRED_PROVIDER_qt4-embedded = "qt4-embedded-gles" to select the GLES/OpenVG runtime. The default is qt4-embedded as GLES require 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. For X11 we already have a PREFERRED_PROVIDER setting in place and don't need to update. --- 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 + recipes/qt4/qt4-x11-free-gles_git.bb.disabled | 1 + 6 files changed, 6 insertions(+), 0 deletions(-) diff --git a/conf/compatibility-providers.conf b/conf/compatibility-providers.conf index 61a3730..0d8e9bc 100644 --- a/conf/compatibility-providers.conf +++ b/conf/compatibility-providers.conf @@ -47,6 +47,7 @@ PREFERRED_PROVIDER_openmoko-alsa-scenarios ?= "alsa-scenarii-shr" PREFERRED_PROVIDER_opkg ?= "opkg" #PREFERRED_PROVIDER_opkg ?= "opkg-nogpg" PREFERRED_PROVIDER_qemu-native ?= "qemu-native" +PREFERRED_PROVIDER_qt4-embedded ?= "qt4-embedded" PREFERRED_PROVIDER_qt4-x11-free ?= "qt4-x11-free" PREFERRED_PROVIDER_task-bootstrap ?= "task-bootstrap" PREFERRED_PROVIDER_tslib-conf ?= "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 --- 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 = "LGPLv2.1 GPLv3" DEPENDS += "virtual/egl" +PROVIDES += "qt4-embedded" SRC_URI += "file://sgx-hack.patch;patch=1" export EXTRA_QMAKE_MUNGE = " glmunge " diff --git a/recipes/qt4/qt4-embedded-gles_4.6.0.bb b/recipes/qt4/qt4-embedded-gles_4.6.0.bb index 04e074f..915dd07 100644 --- 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 = "${INC_PR}.1" +PROVIDES += "qt4-embedded" QT_GLFLAGS = "-opengl es2 -openvg" require qt-4.6.0.inc diff --git a/recipes/qt4/qt4-x11-free-gles_4.5.2.bb b/recipes/qt4/qt4-x11-free-gles_4.5.2.bb index cd81841..a3f60bf 100644 --- 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 = "${INC_PR}.3" DEPENDS += "virtual/egl" +PROVIDES += "qt4-x11-free" #SRC_URI += "file://sgx-hack.patch;patch=1" SRC_URI += "file://hack-out-pg_config.patch;patch=1" diff --git a/recipes/qt4/qt4-x11-free-gles_4.6.0.bb b/recipes/qt4/qt4-x11-free-gles_4.6.0.bb index 089992c..8d09d89 100644 --- 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 += " \ FILESPATHPKG .= ":qt4-x11-free-${PV}:qt4-x11-free" DEPENDS += "virtual/egl" +PROVIDES += "qt4-x11-free" diff --git a/recipes/qt4/qt4-x11-free-gles_git.bb.disabled b/recipes/qt4/qt4-x11-free-gles_git.bb.disabled index 22db2df..5977891 100644 --- a/recipes/qt4/qt4-x11-free-gles_git.bb.disabled +++ b/recipes/qt4/qt4-x11-free-gles_git.bb.disabled @@ -5,6 +5,7 @@ FILESPATHPKG =. "qt4-x11-free-${PV}:qt4-x11-free:" QT_GLFLAGS = "-opengl es1 -openvg" require qt4-x11-free.inc +PROVIDES = "qt4-x11-free" LICENSE = "LGPLv2.1 GPLv3" PR = "${INC_PR}.0+gitr${SRCREV}" -- 1.6.5
_______________________________________________ Openembedded-devel mailing list [email protected] http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
