* [meta-qt5][PATCH] Make possible to bake meta-toolchain-qt5 without opengl
@ 2015-10-17 0:10 Ivan Sergio Borgonovo
2015-10-17 8:57 ` Martin Jansa
0 siblings, 1 reply; 4+ messages in thread
From: Ivan Sergio Borgonovo @ 2015-10-17 0:10 UTC (permalink / raw)
To: openembedded-devel
From: Ivan Sergio Borgonovo <mail@webthatworks.it>
---
.../packagegroup-qt5-toolchain-target.bb | 56 +++++++++++-----------
1 file changed, 28 insertions(+), 28 deletions(-)
diff --git a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
index 41c467c..22da7a3 100644
--- a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
+++ b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
@@ -12,11 +12,11 @@ USE_RUBY = " \
qtquick1-dev \
qtquick1-mkspecs \
qtquick1-plugins \
- qtquick1-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtquick1-qmlplugins', '', d)} \
qttranslations-qtquick1 \
qtwebkit-dev \
qtwebkit-mkspecs \
- qtwebkit-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtwebkit-qmlplugins', '', d)} \
"
# Requires Wayland to work
@@ -36,9 +36,9 @@ USE_X11 = " \
RDEPENDS_${PN} += " \
packagegroup-core-standalone-sdk-target \
libsqlite3-dev \
- qt3d-dev \
- qt3d-mkspecs \
- qt3d-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qt3d-dev', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qt3d-mkspecs', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qt3d-qmlplugins', '', d)} \
qtbase-dev \
qtbase-fonts \
qtbase-mkspecs \
@@ -48,40 +48,40 @@ RDEPENDS_${PN} += " \
qttranslations-qtbase \
qttranslations-qtconfig \
qttranslations-qthelp \
- qtconnectivity-dev \
- qtconnectivity-mkspecs \
- qtconnectivity-qmlplugins \
- qttranslations-qtconnectivity \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtconnectivity-dev', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtconnectivity-mkspecs', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtconnectivity-qmlplugins', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qttranslations-qtconnectivity', '', d)} \
qtdeclarative-dev \
qtdeclarative-mkspecs \
qtdeclarative-plugins \
- qtdeclarative-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtdeclarative-qmlplugins', '', d)} \
qtdeclarative-staticdev \
qttranslations-qmlviewer \
qttranslations-qtdeclarative \
qtenginio-dev \
qtenginio-mkspecs \
- qtenginio-qmlplugins \
- qtgraphicaleffects-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtenginio-qmlplugins', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtgraphicaleffects-qmlplugins', '', d)} \
qtimageformats-dev \
qtimageformats-plugins \
- qtlocation-dev \
- qtlocation-mkspecs \
- qtlocation-plugins \
- qtlocation-qmlplugins \
- qttranslations-qtlocation \
- qtmultimedia-dev \
- qtmultimedia-mkspecs \
- qtmultimedia-plugins \
- qtmultimedia-qmlplugins \
- qttranslations-qtmultimedia \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtlocation-dev', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtlocation-mkspecs', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtlocation-plugins', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtlocation-qmlplugins', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qttranslations-qtlocation', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtmultimedia-dev', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtmultimedia-mkspecs', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtmultimedia-plugins', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtmultimedia-qmlplugins', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qttranslations-qtmultimedia', '', d)} \
qtscript-dev \
qtscript-mkspecs \
qttranslations-qtscript \
qtsensors-dev \
qtsensors-mkspecs \
qtsensors-plugins \
- qtsensors-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtsensors-qmlplugins', '', d)} \
qtserialport-dev \
qtserialport-mkspecs \
qtsvg-dev \
@@ -89,10 +89,10 @@ RDEPENDS_${PN} += " \
qtsvg-plugins \
qtsystems-dev \
qtsystems-mkspecs \
- qtsystems-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtsystems-qmlplugins', '', d)} \
qttools-dev \
qttools-mkspecs \
- qttools-plugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qttools-plugins', '', d)} \
qttools-staticdev \
qttools-tools \
${@base_contains('DISTRO_FEATURES', 'wayland', '${USE_WAYLAND}', '', d)} \
@@ -100,11 +100,11 @@ RDEPENDS_${PN} += " \
${@base_contains('DISTRO_FEATURES', 'x11', '${USE_X11}', '', d)} \
qtwebsockets-dev \
qtwebsockets-mkspecs \
- qtwebsockets-qmlplugins \
- qttranslations-qtwebsockets \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtwebsockets-qmlplugins', '', d)} \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qttranslations-qtwebsockets', '', d)} \
qtwebchannel-dev \
qtwebchannel-mkspecs \
- qtwebchannel-qmlplugins \
+ ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtwebchannel-qmlplugins', '', d)} \
qtxmlpatterns-dev \
qtxmlpatterns-mkspecs \
qttranslations-qtxmlpatterns \
--
2.6.1
^ permalink raw reply related [flat|nested] 4+ messages in thread* Re: [meta-qt5][PATCH] Make possible to bake meta-toolchain-qt5 without opengl
2015-10-17 0:10 [meta-qt5][PATCH] Make possible to bake meta-toolchain-qt5 without opengl Ivan Sergio Borgonovo
@ 2015-10-17 8:57 ` Martin Jansa
2015-10-17 9:16 ` Ivan Sergio Borgonovo
2015-10-18 23:56 ` Ivan Sergio Borgonovo
0 siblings, 2 replies; 4+ messages in thread
From: Martin Jansa @ 2015-10-17 8:57 UTC (permalink / raw)
To: openembedded-devel
Are all these restricted to DISTRO_FEATURE opengl?
I don't think so, you probably need to enable icu in qtbase and a lot of
these will get available (with or without opengl in DISTRO_FEATURES).
On Sat, Oct 17, 2015 at 2:10 AM, Ivan Sergio Borgonovo <
ivan@gloom.home.webthatworks.it> wrote:
> From: Ivan Sergio Borgonovo <mail@webthatworks.it>
>
> ---
> .../packagegroup-qt5-toolchain-target.bb | 56
> +++++++++++-----------
> 1 file changed, 28 insertions(+), 28 deletions(-)
>
> diff --git a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
> b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
> index 41c467c..22da7a3 100644
> --- a/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
> +++ b/recipes-qt/packagegroups/packagegroup-qt5-toolchain-target.bb
> @@ -12,11 +12,11 @@ USE_RUBY = " \
> qtquick1-dev \
> qtquick1-mkspecs \
> qtquick1-plugins \
> - qtquick1-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtquick1-qmlplugins',
> '', d)} \
> qttranslations-qtquick1 \
> qtwebkit-dev \
> qtwebkit-mkspecs \
> - qtwebkit-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtwebkit-qmlplugins',
> '', d)} \
> "
>
> # Requires Wayland to work
> @@ -36,9 +36,9 @@ USE_X11 = " \
> RDEPENDS_${PN} += " \
> packagegroup-core-standalone-sdk-target \
> libsqlite3-dev \
> - qt3d-dev \
> - qt3d-mkspecs \
> - qt3d-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qt3d-dev', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qt3d-mkspecs', '', d)}
> \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qt3d-qmlplugins', '',
> d)} \
> qtbase-dev \
> qtbase-fonts \
> qtbase-mkspecs \
> @@ -48,40 +48,40 @@ RDEPENDS_${PN} += " \
> qttranslations-qtbase \
> qttranslations-qtconfig \
> qttranslations-qthelp \
> - qtconnectivity-dev \
> - qtconnectivity-mkspecs \
> - qtconnectivity-qmlplugins \
> - qttranslations-qtconnectivity \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtconnectivity-dev',
> '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtconnectivity-mkspecs', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtconnectivity-qmlplugins', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qttranslations-qtconnectivity', '', d)} \
> qtdeclarative-dev \
> qtdeclarative-mkspecs \
> qtdeclarative-plugins \
> - qtdeclarative-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtdeclarative-qmlplugins', '', d)} \
> qtdeclarative-staticdev \
> qttranslations-qmlviewer \
> qttranslations-qtdeclarative \
> qtenginio-dev \
> qtenginio-mkspecs \
> - qtenginio-qmlplugins \
> - qtgraphicaleffects-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtenginio-qmlplugins',
> '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtgraphicaleffects-qmlplugins', '', d)} \
> qtimageformats-dev \
> qtimageformats-plugins \
> - qtlocation-dev \
> - qtlocation-mkspecs \
> - qtlocation-plugins \
> - qtlocation-qmlplugins \
> - qttranslations-qtlocation \
> - qtmultimedia-dev \
> - qtmultimedia-mkspecs \
> - qtmultimedia-plugins \
> - qtmultimedia-qmlplugins \
> - qttranslations-qtmultimedia \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtlocation-dev', '',
> d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtlocation-mkspecs',
> '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtlocation-plugins',
> '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtlocation-qmlplugins', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qttranslations-qtlocation', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtmultimedia-dev', '',
> d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtmultimedia-mkspecs',
> '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtmultimedia-plugins',
> '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtmultimedia-qmlplugins', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qttranslations-qtmultimedia', '', d)} \
> qtscript-dev \
> qtscript-mkspecs \
> qttranslations-qtscript \
> qtsensors-dev \
> qtsensors-mkspecs \
> qtsensors-plugins \
> - qtsensors-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtsensors-qmlplugins',
> '', d)} \
> qtserialport-dev \
> qtserialport-mkspecs \
> qtsvg-dev \
> @@ -89,10 +89,10 @@ RDEPENDS_${PN} += " \
> qtsvg-plugins \
> qtsystems-dev \
> qtsystems-mkspecs \
> - qtsystems-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qtsystems-qmlplugins',
> '', d)} \
> qttools-dev \
> qttools-mkspecs \
> - qttools-plugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl', 'qttools-plugins', '',
> d)} \
> qttools-staticdev \
> qttools-tools \
> ${@base_contains('DISTRO_FEATURES', 'wayland', '${USE_WAYLAND}', '',
> d)} \
> @@ -100,11 +100,11 @@ RDEPENDS_${PN} += " \
> ${@base_contains('DISTRO_FEATURES', 'x11', '${USE_X11}', '', d)} \
> qtwebsockets-dev \
> qtwebsockets-mkspecs \
> - qtwebsockets-qmlplugins \
> - qttranslations-qtwebsockets \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtwebsockets-qmlplugins', '', d)} \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qttranslations-qtwebsockets', '', d)} \
> qtwebchannel-dev \
> qtwebchannel-mkspecs \
> - qtwebchannel-qmlplugins \
> + ${@base_contains('DISTRO_FEATURES', 'opengl',
> 'qtwebchannel-qmlplugins', '', d)} \
> qtxmlpatterns-dev \
> qtxmlpatterns-mkspecs \
> qttranslations-qtxmlpatterns \
> --
> 2.6.1
>
> --
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel@lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>
^ permalink raw reply [flat|nested] 4+ messages in thread* Re: [meta-qt5][PATCH] Make possible to bake meta-toolchain-qt5 without opengl
2015-10-17 8:57 ` Martin Jansa
@ 2015-10-17 9:16 ` Ivan Sergio Borgonovo
2015-10-18 23:56 ` Ivan Sergio Borgonovo
1 sibling, 0 replies; 4+ messages in thread
From: Ivan Sergio Borgonovo @ 2015-10-17 9:16 UTC (permalink / raw)
To: openembedded-devel
On 10/17/2015 10:57 AM, Martin Jansa wrote:
> Are all these restricted to DISTRO_FEATURE opengl?
> I don't think so, you probably need to enable icu in qtbase and a lot of
> these will get available (with or without opengl in DISTRO_FEATURES).
icu is enabled
PACKAGECONFIG_DISTRO_append_pn-qtbase = " linuxfb tslib icu alsa "
is that is what you mean.
I'm actually surprised how many things fail to build if no opengl. I'll
try to work it out but at least IMHO, better be able to bake the
toolchain with fewer packages than don't build it at all.
The alternative is -c populate_sdk then ./configure then compile and
then move packages manually.
Or it could have been some mistake on my part about rebuilding stuff, if
you've any suggestion to double check it is welcome.
I'll try to investigate about dependencies and make it better, but this
could be a starting...
thanks
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [meta-qt5][PATCH] Make possible to bake meta-toolchain-qt5 without opengl
2015-10-17 8:57 ` Martin Jansa
2015-10-17 9:16 ` Ivan Sergio Borgonovo
@ 2015-10-18 23:56 ` Ivan Sergio Borgonovo
1 sibling, 0 replies; 4+ messages in thread
From: Ivan Sergio Borgonovo @ 2015-10-18 23:56 UTC (permalink / raw)
To: openembedded-devel
On 10/17/2015 10:57 AM, Martin Jansa wrote:
> Are all these restricted to DISTRO_FEATURE opengl?
>
> I don't think so, you probably need to enable icu in qtbase and a lot of
> these will get available (with or without opengl in DISTRO_FEATURES).
OK you were right.
Cleaning the cache I've been able to add back some packages without any
error.
Do you have any suggestion to avoid rebuilding the whole image without
getting tricked by errors possibly triggered by a previous build?
I'll resubmit once I'm really sure nothing else can be added back.
Sorry for the previous patch.
thanks
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-10-18 23:57 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-10-17 0:10 [meta-qt5][PATCH] Make possible to bake meta-toolchain-qt5 without opengl Ivan Sergio Borgonovo
2015-10-17 8:57 ` Martin Jansa
2015-10-17 9:16 ` Ivan Sergio Borgonovo
2015-10-18 23:56 ` Ivan Sergio Borgonovo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.