From c893ae9b7e61a833899b181e0017ee2cfab8b97e Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jan-Simon=20M=C3=B6ller?= Date: Thu, 1 Sep 2016 23:25:44 +0200 Subject: [PATCH] Changes for building meta-agl-demo with YP 2.1.1 'krogoth' MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Update meta-agl-demo for YP 2.1 'krogoth' Notable changes: - update qtbase wrt packageconfig flags - qtwayland needs the patches checked/ported - remove qtwayland examples from packagegroup-agl-appfw-native TODO: - Check graphic driver stack (mesa, wayland, weston, qtbase, qtwayland et al.) - Check wrt SPEC-237 - port patches for qtwayland - check where qtwayland-examples is gone and either remove or re-add Change-Id: Ib14f1230d0fdc84f82af3e875460c0269faec652 Signed-off-by: Jan-Simon Möller --- .../packagegroups/packagegroup-agl-appfw-native-qt5.bb | 5 ++++- recipes-qt/qt5/qtbase_%.bbappend | 12 ++++++------ recipes-qt/qt5/qtwayland_%.bbappend | 3 +++ 3 files changed, 13 insertions(+), 7 deletions(-) diff --git a/recipes-qt/packagegroups/packagegroup-agl-appfw-native-qt5.bb b/recipes-qt/packagegroups/packagegroup-agl-appfw-native-qt5.bb index abc62d806..1fe2579fd 100644 --- a/recipes-qt/packagegroups/packagegroup-agl-appfw-native-qt5.bb +++ b/recipes-qt/packagegroups/packagegroup-agl-appfw-native-qt5.bb @@ -31,12 +31,15 @@ RDEPENDS_${PN} += "\ qtquick1-plugins \ qtquick1-tools \ qtwayland \ - qtwayland-examples \ qtwayland-plugins \ qtwayland-tools \ qtgraphicaleffects-qmlplugins \ qml-execscript-plugin \ " +RDEPENDS_${PN}_checkforkrogoth += "\ + qtwayland-examples \ + " + # qtwebkit # qtwebkit-qmlplugins diff --git a/recipes-qt/qt5/qtbase_%.bbappend b/recipes-qt/qt5/qtbase_%.bbappend index ebca5c8e5..026e76fec 100644 --- a/recipes-qt/qt5/qtbase_%.bbappend +++ b/recipes-qt/qt5/qtbase_%.bbappend @@ -1,13 +1,13 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" -SRC_URI_append = "\ - file://0001-Force-qdbus-to-make-introspect-for-every-findMetaObj.patch \ - " - DEPENDS_append_koelsch = " libegl" DEPENDS_append_porter = " libegl" PACKAGECONFIG_GL = "${@bb.utils.contains('DISTRO_FEATURES', 'opengl', 'gles2', '', d)}" -PACKAGECONFIG_append = " icu accessibility" +PACKAGECONFIG_append = " icu accessibility eglfs" +PACKAGECONFIG_append_rpi = " fontconfig" + +EXTRA_OECONF_append = "" + -EXTRA_OECONF_append = " -qpa wayland" +PACKAGECONFIG[gles2]="-opengl es2 -eglfs,,virtual/libgles2 virtual/egl" diff --git a/recipes-qt/qt5/qtwayland_%.bbappend b/recipes-qt/qt5/qtwayland_%.bbappend index b61b121c4..ed9e3749a 100644 --- a/recipes-qt/qt5/qtwayland_%.bbappend +++ b/recipes-qt/qt5/qtwayland_%.bbappend @@ -22,10 +22,13 @@ FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" SRC_URI_append = "\ file://0010-Added-manifest-file-according-to-smack-3-domain-mode.patch \ + " +SRC_URI_append_checkforkrogoth = "\ file://disable_xcomposite_egl_qt_wayland_client_buffer_integration.patch \ file://0001-Implement-initial-IVI-shell-support-with-shell-integ.patch \ file://0002-Fix-multiple-QWindow.patch \ " + DEPENDS_append_koelsch = " libegl gles-user-module" DEPENDS_append_porter = " libegl gles-user-module" -- 2.16.6