Drop qt5 and enable qt6 in ti-test
v2 cover Drop qt5 and enable qt6 in ti-test
From: Randolph Sapp <[email protected]>
Since I haven't heard anything back on the previous discussion [1], here's a potential implementation of Qt6 in a minimal form that satisfies only our testing requirements.
It does not create any explicit dependencies in meta-arago-test, so this layer can still be used in conjunction with other distros without breaking things. Since it's a distro choice to pull in and configure Qt, we only configure the bare essentials to run the related tests.
This currently allows people to run example applications like hellogles3 with eglfs and wayland backends, which will be the first two backends being tested.
v2: Fix the issue in meta-toolchain-arago-tisdk preventing tisdk-core-bundle from building
[1] https://lists.yoctoproject.org/g/meta-arago/topic/110799093
Randolph Sapp (2):
meta-arago-*: remove all qt5 configs
meta-arago-test: dynamic layer for qt6 support
meta-arago-distro/README | 4 - meta-arago-distro/conf/distro/arago.conf | 24 -- meta-arago-distro/conf/layer.conf | 2 - .../images/tisdk-default-image.bb | 1 - .../meta/meta-toolchain-arago-qte.bb | 54 ---- .../meta/meta-toolchain-arago-tisdk.bb | 3 +- .../packagegroups/packagegroup-arago-qte.bb | 26 -- .../packagegroup-arago-tisdk-qte.bb | 21 -- ...ckagegroup-arago-toolchain-tisdk-target.bb | 1 - .../recipes-core/packagegroups/ti-world.bb | 1 - .../qt5/qtbase-conf/eglfs_kms_cfg.json | 5 - .../recipes-qt/qt5/qtbase-conf/qt_env.sh | 16 - .../qt5/qtbase-conf/ti33x/qt_env.sh | 14 - .../recipes-qt/qt5/qtbase-conf_1.0.bb | 23 -- ...xit-button-for-non-window-environmen.patch | 62 ---- ...01-deform-Fix-how-controls-are-shown.patch | 35 --- ...fs-Force-888-format-only-on-env-flag.patch | 44 --- ...latforms-eglfs_kms-fix-compiler-erro.patch | 29 -- ...d-exit-button-for-non-window-environ.patch | 83 ------ .../0002-deform-disable-opengl-button.patch | 73 ----- .../recipes-qt/qt5/qtbase/quit.png | Bin 645 -> 0 bytes .../recipes-qt/qt5/qtbase_%.bbappend | 46 --- ...touchinteraction.qml-Add-exit-button.patch | 62 ---- .../recipes-qt/qt5/qtdeclarative_git.bbappend | 10 - ...atform.h-add-define-MESA_EGL_NO_X11_.patch | 30 -- ...e-to-use-GL_NoX-version-of-GraphicsS.patch | 31 -- .../qtwebkit/GraphicsContext3DQt.cpp.patch | 29 -- .../qtwebkit/GraphicsSurfaceGL_NoX.cpp.patch | 273 ------------------ .../qt5/qtwebkit/GraphicsSurfaceToken.h.patch | 36 --- .../recipes-qt/qt5/qtwebkit/WebCore.pri.patch | 20 -- .../qt5/qtwebkit/qttestbrowser.cpp.patch | 27 -- .../recipes-qt/qt5/qtwebkit_%.bbappend | 18 -- meta-arago-extras/README | 4 - ...k-packagegroup-arago-qte-toolchain-host.bb | 12 - ...packagegroup-arago-qte-toolchain-target.bb | 35 --- .../cmake/extra-cmake-modules.bb | 1 - ..._QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch | 28 -- meta-arago-test/conf/layer.conf | 4 + .../packagegroups/ti-test.bbappend | 7 + .../recipes-qt/qt6/qtbase_%.bbappend | 3 + 40 files changed, 16 insertions(+), 1181 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/meta/meta-toolchain-arago-qte.bb delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-qte.bb delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf/qt_env.sh delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf_1.0.bb delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-calculator-Add-exit-button-for-non-window-environmen.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-deform-Fix-how-controls-are-shown.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-eglfs-Force-888-format-only-on-env-flag.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-qtbase-plugins-platforms-eglfs_kms-fix-compiler-erro.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0002-animatedtiles-Add-exit-button-for-non-window-environ.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0002-deform-disable-opengl-button.patch delete mode 100755 meta-arago-distro/recipes-qt/qt5/qtbase/quit.png delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtdeclarative/0001-touchinteraction.qml-Add-exit-button.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtdeclarative_git.bbappend delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsContext3DQt.cpp.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsSurfaceGL_NoX.cpp.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsSurfaceToken.h.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/WebCore.pri.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/qttestbrowser.cpp.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit_%.bbappend delete mode 100644 meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-qte-toolchain-host.bb delete mode 100644 meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-qte-toolchain-target.bb delete mode 100644 meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules/0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch create mode 100644 meta-arago-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend create mode 100644 meta-arago-test/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
Signature · 1 line
2.47.1
PATCH v2 1/2 meta-arago-*: remove all qt5 configs
From: Randolph Sapp <[email protected]>
Remove all the Qt5 specific configs, recipes, and package groups to prepare for Qt6. Some of these package configs will still work, but they are unecessary.
All of the conditional logic in meta-qt6 toggles the important flags automatically for us right now. This behavior will only change if X11 is enabled, which we currently disable.
--- meta-arago-distro/README | 4 - meta-arago-distro/conf/distro/arago.conf | 24 -- meta-arago-distro/conf/layer.conf | 2 - .../images/tisdk-default-image.bb | 1 - .../meta/meta-toolchain-arago-qte.bb | 54 ---- .../meta/meta-toolchain-arago-tisdk.bb | 3 +- .../packagegroups/packagegroup-arago-qte.bb | 26 -- .../packagegroup-arago-tisdk-qte.bb | 21 -- ...ckagegroup-arago-toolchain-tisdk-target.bb | 1 - .../recipes-core/packagegroups/ti-world.bb | 1 - .../qt5/qtbase-conf/eglfs_kms_cfg.json | 5 - .../recipes-qt/qt5/qtbase-conf/qt_env.sh | 16 - .../qt5/qtbase-conf/ti33x/qt_env.sh | 14 - .../recipes-qt/qt5/qtbase-conf_1.0.bb | 23 -- ...xit-button-for-non-window-environmen.patch | 62 ---- ...01-deform-Fix-how-controls-are-shown.patch | 35 --- ...fs-Force-888-format-only-on-env-flag.patch | 44 --- ...latforms-eglfs_kms-fix-compiler-erro.patch | 29 -- ...d-exit-button-for-non-window-environ.patch | 83 ------ .../0002-deform-disable-opengl-button.patch | 73 ----- .../recipes-qt/qt5/qtbase/quit.png | Bin 645 -> 0 bytes .../recipes-qt/qt5/qtbase_%.bbappend | 46 --- ...touchinteraction.qml-Add-exit-button.patch | 62 ---- .../recipes-qt/qt5/qtdeclarative_git.bbappend | 10 - ...atform.h-add-define-MESA_EGL_NO_X11_.patch | 30 -- ...e-to-use-GL_NoX-version-of-GraphicsS.patch | 31 -- .../qtwebkit/GraphicsContext3DQt.cpp.patch | 29 -- .../qtwebkit/GraphicsSurfaceGL_NoX.cpp.patch | 273 ------------------ .../qt5/qtwebkit/GraphicsSurfaceToken.h.patch | 36 --- .../recipes-qt/qt5/qtwebkit/WebCore.pri.patch | 20 -- .../qt5/qtwebkit/qttestbrowser.cpp.patch | 27 -- .../recipes-qt/qt5/qtwebkit_%.bbappend | 18 -- meta-arago-extras/README | 4 - ...k-packagegroup-arago-qte-toolchain-host.bb | 12 - ...packagegroup-arago-qte-toolchain-target.bb | 35 --- .../cmake/extra-cmake-modules.bb | 1 - ..._QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch | 28 -- 37 files changed, 2 insertions(+), 1181 deletions(-) delete mode 100644 meta-arago-distro/recipes-core/meta/meta-toolchain-arago-qte.bb delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-qte.bb delete mode 100644 meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf/qt_env.sh delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase-conf_1.0.bb delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-calculator-Add-exit-button-for-non-window-environmen.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-deform-Fix-how-controls-are-shown.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-eglfs-Force-888-format-only-on-env-flag.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0001-qtbase-plugins-platforms-eglfs_kms-fix-compiler-erro.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0002-animatedtiles-Add-exit-button-for-non-window-environ.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase/0002-deform-disable-opengl-button.patch delete mode 100755 meta-arago-distro/recipes-qt/qt5/qtbase/quit.png delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtdeclarative/0001-touchinteraction.qml-Add-exit-button.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtdeclarative_git.bbappend delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsContext3DQt.cpp.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsSurfaceGL_NoX.cpp.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsSurfaceToken.h.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/WebCore.pri.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit/qttestbrowser.cpp.patch delete mode 100644 meta-arago-distro/recipes-qt/qt5/qtwebkit_%.bbappend delete mode 100644 meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-qte-toolchain-host.bb delete mode 100644 meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-qte-toolchain-target.bb delete mode 100644 meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules/0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch
meta-arago-distro/README +0 -4
@@ -23,10 +23,6 @@ branch: master revision: HEAD layers: meta-oe, meta-networking, meta-python -URI: https://github.com/meta-qt5/meta-qt5 -branch: master -revision: HEAD - URI: git://git.yoctoproject.org/meta-arago branch: master revision: HEAD
meta-arago-distro/conf/distro/arago.conf +0 -24
@@ -63,26 +63,6 @@ INIT_MANAGER ?= "${@['systemd','sysvinit'][int(d.getVar('ARAGO_SYSVINIT'))]}" # Distro-specific package configuration PACKAGECONFIG:append:pn-systemd = " coredump networkd resolved serial-getty-generator" -# Configure Qt5 flags (GLES is still required for qtdeclarative and qtwebkit) -PACKAGECONFIG_GL:pn-qtbase = "gles2 linuxfb" -PACKAGECONFIG_DISTRO:pn-qtbase = "icu examples accessibility gif gbm kms libinput xkbcommon" -PACKAGECONFIG_FONTS:pn-qtbase = "fontconfig" -PACKAGECONFIG:remove:pn-qtwayland = "xcomposite-egl xcomposite-glx" - -# Add gstreamer in package configuration to enable video -PACKAGECONFIG:append:pn-qtmultimedia = " gstreamer" - -# Add examples in Qt5 package configurations -PACKAGECONFIG:append:pn-qtcharts = " examples" -#PACKAGECONFIG:append:pn-qtdeclarative = " examples" -PACKAGECONFIG:append:pn-qtlocation = " examples" -PACKAGECONFIG:append:pn-qtmultimedia = " examples" -PACKAGECONFIG:append:pn-qtscript = " examples" -PACKAGECONFIG:append:pn-qtserialport = " examples" -PACKAGECONFIG:append:pn-qtsvg = " examples" -PACKAGECONFIG:append:pn-qtwayland = " examples" -PACKAGECONFIG:append:pn-qtwebengine = " examples" - # Prefer OpenSSL over GnuTLS for curl due to TSU exemptions PACKAGECONFIG:pn-curl = "${@bb.utils.contains("DISTRO_FEATURES", "ipv6", "ipv6", "", d)} proxy openssl verbose zlib"
@@ -168,7 +148,3 @@ ASSUME_PROVIDED += "nativesdk-perl" # https://bugzilla.yoctoproject.org/show_bug.cgi?id=15552 INSANE_SKIP:nativesdk-openssl-misc += "build-deps" - -# https://github.com/meta-qt5/meta-qt5/issues/575 -ERROR_QA:remove:layer-qt5-layer = "buildpaths" -WARN_QA:append:layer-qt5-layer = " buildpaths"
meta-arago-distro/conf/layer.conf +0 -2
@@ -18,7 +18,6 @@ LAYERDEPENDS_meta-arago-distro = " \ networking-layer \ multimedia-layer \ meta-python \ - qt5-layer \ clang-layer \ virtualization-layer \ meta-arago-extras \
@@ -44,7 +43,6 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \ udev \ eudev \ weston-conf \ - qtbase-conf \ cryptodev-module \ "
meta-arago-distro/recipes-core/images/tisdk-default-image.bb +0 -1
@@ -17,7 +17,6 @@ IMAGE_INSTALL += "\ ti-test-extras \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ - ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-qte','',d)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \
meta-arago-distro/recipes-core/meta/meta-toolchain-arago-qte.bb deleted +0 -54
54 lines not on this page · raw message
meta-arago-distro/recipes-core/meta/meta-toolchain-arago-tisdk.bb +2 -1
@@ -1,6 +1,7 @@ TOOLCHAIN_SUFFIX ?= "-tisdk" +LICENSE = "MIT" require meta-toolchain-arago-tisdk.inc -require recipes-core/meta/meta-toolchain-arago-qte.bb +require meta-toolchain-arago.bb PR = "${INC_PR}.0"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-qte.bb deleted +0 -26
@@ -1,26 +0,0 @@ -DESCRIPTION = "Task to add Qt embedded related packages" -LICENSE = "MIT" -PR = "r16" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit packagegroup - -RDEPENDS:${PN} = "\ - qtbase-plugins \ - qtdeclarative-qmlplugins \ - qtlocation-plugins \ - qtlocation-qmlplugins \ - qtmultimedia-plugins \ - qtmultimedia-qmlplugins \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-plugins', '', d)} \ - qt3d-qmlplugins \ - qtquickcontrols-qmlplugins \ - qtquickcontrols2-qmlplugins \ - qtgraphicaleffects-qmlplugins \ - qtvirtualkeyboard-plugins \ - qtvirtualkeyboard-qmlplugins \ - liberation-fonts \ - qtconnectivity \ - qtconnectivity-qmlplugins \ -"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb deleted +0 -21
@@ -1,21 +0,0 @@ -DESCRIPTION = "Task to add Qt embedded related packages" -LICENSE = "MIT" -PR = "r22" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit packagegroup - -# qtdeclarative-examples -RDEPENDS:${PN} = "\ - packagegroup-arago-qte \ - qtbase-examples \ - qtdeclarative-tools \ - qtlocation-examples \ - qtmultimedia-examples \ - qtscript-examples \ - qtsvg-examples \ - ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland-examples', '', d)} \ - qtserialport-examples \ - qtcharts-examples \ -"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-toolchain-tisdk-target.bb +0 -1
@@ -18,7 +18,6 @@ TISDK_TOOLCHAIN_EXTRA_TARGET = "\ TISDK_TOOLCHAIN_EXTRA_TARGET:omapl138 = "" RDEPENDS:${PN} = "\ - ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-qte-toolchain-target','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk-sdk-target','',d)} \ ${TISDK_TOOLCHAIN_BASE_TARGET} \ ${TISDK_TOOLCHAIN_EXTRA_TARGET} \
meta-arago-distro/recipes-core/packagegroups/ti-world.bb +0 -1
@@ -32,7 +32,6 @@ RDEPENDS:${PN} = "\ ti-test \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-graphics','',d)} \ ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-gtk','',d)} \ - ${@bb.utils.contains('DISTRO_FEATURES','opengl','packagegroup-arago-tisdk-qte qt3d-examples','',d)} \ packagegroup-arago-tisdk-connectivity \ packagegroup-arago-tisdk-crypto \ packagegroup-arago-tisdk-multimedia \
meta-arago-distro/recipes-qt/qt5/qtbase-conf/eglfs_kms_cfg.json deleted +0 -5
@@ -1,5 +0,0 @@ -{ - "device": "/dev/dri/card0", - "hwcursor": false, - "pbuffers": true -}
meta-arago-distro/recipes-qt/qt5/qtbase-conf/qt_env.sh deleted +0 -16
@@ -1,16 +0,0 @@ -#!/bin/sh - -### QT Environment Variables ### -export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt -export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json -export QT_QPA_EGLFS_INTEGRATION=eglfs_kms -export QT_QPA_EGLFS_ALWAYS_SET_MODE=1 -export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell - -# SECCOMP-BPF Sandbox does not work due to unexpected FUTEX_UNLOCK_PI call -# from the pthread implementation. Disable this feature temporarily until -# those issues are resolved. -export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox" - -export QTWEBENGINE_DISABLE_SANDBOX=1 -#export QT_QPA_PLATFORM=eglfs
meta-arago-distro/recipes-qt/qt5/qtbase-conf/ti33x/qt_env.sh deleted +0 -14
@@ -1,14 +0,0 @@ -#!/bin/sh - -### QT Environment Variables ### -export QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180" -export SSL_CERT_FILE=/etc/ssl/certs/ca-certificates.crt -export QT_QPA_EGLFS_KMS_CONFIG=/etc/qt5/eglfs_kms_cfg.json -export QT_QPA_EGLFS_INTEGRATION=eglfs_kms -export QT_QPA_EGLFS_ALWAYS_SET_MODE=1 -export QT_WAYLAND_SHELL_INTEGRATION=xdg-shell - -# SECCOMP-BPF Sandbox does not work due to unexpected FUTEX_UNLOCK_PI call -# from the pthread implementation. Disable this feature temporarily until -# those issues are resolved. -export QTWEBENGINE_CHROMIUM_FLAGS="--disable-seccomp-filter-sandbox"
meta-arago-distro/recipes-qt/qt5/qtbase-conf_1.0.bb deleted +0 -23
@@ -1,23 +0,0 @@ -SUMMARY = "qtbase configuration files" -HOMEPAGE = "http://www.qt.io/" -LICENSE = "MIT" -LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -SRC_URI = "file://qt_env.sh \ - file://eglfs_kms_cfg.json \ - " - -S = "${WORKDIR}/sources" -UNPACKDIR = "${S}" - -# Add custom Arago qtbase Environment script and eglfs_kms configuration file -do_install () { - install -d ${D}${sysconfdir}/profile.d - install -m 0644 ${S}/qt_env.sh ${D}${sysconfdir}/profile.d/ - install -d ${D}${sysconfdir}/qt5 - install -m 0644 ${S}/eglfs_kms_cfg.json ${D}${sysconfdir}/qt5/ -} - -FILES:${PN} += "${sysconfdir}/profile.d/* ${sysconfdir}/qt5/*"
meta-arago-distro/recipes-qt/qt5/qtbase/0001-calculator-Add-exit-button-for-non-window-environmen.patch deleted +0 -62
62 lines not on this page · raw message
meta-arago-distro/recipes-qt/qt5/qtbase/0001-deform-Fix-how-controls-are-shown.patch deleted +0 -35
@@ -1,35 +0,0 @@ -From adad036a785f6b3910e6305181e7711c2bac0df6 Mon Sep 17 00:00:00 2001 -From: Jacob Stiffler <[email protected]> -Date: Fri, 12 Jun 2015 08:34:17 -0400 -Subject: [PATCH 1/2] deform: Fix how controls are shown. - -* Workaround for issue when controls are full screen, and user clicks - OK, black surface remains covering the entire screen. -* If controls are not full screen, then they must retain focus while - opened. - -Upstream-Status: Pending - -Signed-off-by: Jacob Stiffler <[email protected]> ---- - examples/widgets/painting/deform/pathdeform.cpp | 4 +++- - 1 file changed, 3 insertions(+), 1 deletion(-) - -diff --git a/examples/widgets/painting/deform/pathdeform.cpp b/examples/widgets/painting/deform/pathdeform.cpp -index 287f700..f8ecc3b 100644 ---- a/examples/widgets/painting/deform/pathdeform.cpp -+++ b/examples/widgets/painting/deform/pathdeform.cpp -@@ -266,7 +266,9 @@ PathDeformWidget::PathDeformWidget(QWidget *parent, bool smallScreen) - - void PathDeformWidget::showControls() - { -- m_controls->showFullScreen(); -+ // Hide first to keep controls in foreground. -+ m_controls->hide(); -+ m_controls->show(); - } - - void PathDeformWidget::hideControls() --- -1.7.9.5 -
meta-arago-distro/recipes-qt/qt5/qtbase/0001-eglfs-Force-888-format-only-on-env-flag.patch deleted +0 -44
44 lines not on this page · raw message
meta-arago-distro/recipes-qt/qt5/qtbase/0001-qtbase-plugins-platforms-eglfs_kms-fix-compiler-erro.patch deleted +0 -29
@@ -1,29 +0,0 @@ -From 7e1d01d4dc022f4da117f87a993d03b084134018 Mon Sep 17 00:00:00 2001 -From: Eric Ruei <[email protected]> -Date: Fri, 8 Mar 2019 17:02:38 -0500 -Subject: [PATCH] qtbase: plugins: platforms: eglfs_kms: fix compiler error - -Upstream-Status: Pending - -Signed-off-by: Eric Ruei <[email protected]> ---- - .../eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmintegration.cpp | 7 +------ - .../eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmintegration.h | 5 +++++ - 2 files changed, 6 insertions(+), 6 deletions(-) - -diff --git a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmintegration.cpp b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmintegration.cpp -index 4023381..eb24175 100644 ---- a/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmintegration.cpp -+++ b/src/plugins/platforms/eglfs/deviceintegration/eglfs_kms/qeglfskmsgbmintegration.cpp -@@ -83,7 +78,7 @@ EGLDisplay QEglFSKmsGbmIntegration::createDisplay(EGLNativeDisplayType nativeDis - } - - if (getPlatformDisplay) { -- display = getPlatformDisplay(EGL_PLATFORM_GBM_KHR, nativeDisplay, nullptr); -+ display = getPlatformDisplay(EGL_PLATFORM_GBM_KHR, (void *)nativeDisplay, nullptr); - } else { - qCDebug(qLcEglfsKmsDebug, "No eglGetPlatformDisplay for GBM, falling back to eglGetDisplay"); - display = eglGetDisplay(nativeDisplay); --- -1.9.1 -
meta-arago-distro/recipes-qt/qt5/qtbase/0002-animatedtiles-Add-exit-button-for-non-window-environ.patch deleted +0 -83
83 lines not on this page · raw message
meta-arago-distro/recipes-qt/qt5/qtbase/0002-deform-disable-opengl-button.patch deleted +0 -73
73 lines not on this page · raw message
meta-arago-distro/recipes-qt/qt5/qtbase/quit.png deleted binary +0 -0
meta-arago-distro/recipes-qt/qt5/qtbase_%.bbappend deleted +0 -46
46 lines not on this page · raw message
meta-arago-distro/recipes-qt/qt5/qtdeclarative/0001-touchinteraction.qml-Add-exit-button.patch deleted +0 -62
62 lines not on this page · raw message
meta-arago-distro/recipes-qt/qt5/qtdeclarative_git.bbappend deleted +0 -10
@@ -1,10 +0,0 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" -PR:append = ".tisdk1" - -CXXFLAGS:append:omap-a15 = " -DQ_OS_BLACKBERRY" - - -SRC_URI += " \ - file://0001-touchinteraction.qml-Add-exit-button.patch \ -" -
meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch deleted +0 -30
@@ -1,30 +0,0 @@ -From 4a21fcedd886772b7e1bd40861835f1b4f33c7ff Mon Sep 17 00:00:00 2001 -From: Eric Ruei <[email protected]> -Date: Fri, 30 Aug 2019 17:41:13 -0400 -Subject: [PATCH] HACK: ANGLE/khrplatform.h: add #define - MESA_EGL_NO_X11_HEADERS - -Note: Only the KHR/khrplatform.h at sysroot/usr/include should be used. - This patch is a tentative workaround to make both files compatible - -Upstream-Status: Inappropriate [tentative workaround only] - -Signed-off-by: Eric Ruei <[email protected]> ---- - Source/ThirdParty/ANGLE/include/KHR/khrplatform.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h b/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h -index c9e6f17d3..4e3ff69a8 100644 ---- a/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h -+++ b/Source/ThirdParty/ANGLE/include/KHR/khrplatform.h -@@ -279,4 +279,6 @@ typedef enum { - KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM - } khronos_boolean_enum_t; - -+#define MESA_EGL_NO_X11_HEADERS -+ - #endif /* __khrplatform_h_ */ --- -2.17.1 -
meta-arago-distro/recipes-qt/qt5/qtwebkit/0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch deleted +0 -31
@@ -1,31 +0,0 @@ -From 90de2ab42bdd51b92dd00f700d6766ca1ffd23c0 Mon Sep 17 00:00:00 2001 -From: Denys Dmytriyenko <[email protected]> -Date: Thu, 17 Jul 2014 16:11:46 -0400 -Subject: [PATCH] Target.pri: update to use GL_NoX version of GraphicsSurface - sources - -Upstream-Status: Inappropriate [arago specific] - -Signed-off-by: Denys Dmytriyenko <[email protected]> ---- - Source/WebCore/Target.pri | 4 ++++ - 1 file changed, 4 insertions(+) - -diff --git a/Source/WebCore/Target.pri b/Source/WebCore/Target.pri -index e2044bc..cc9bdd4 100644 ---- a/Source/WebCore/Target.pri -+++ b/Source/WebCore/Target.pri -@@ -4283,6 +4283,10 @@ use?(GRAPHICS_SURFACE) { - platform/graphics/surfaces/glx/X11Helper.cpp \ - platform/graphics/surfaces/glx/GraphicsSurfaceGLX.cpp - } -+ contains(QT_CONFIG, opengles2) { -+ SOURCES -= platform/graphics/surfaces/qt/GraphicsSurfaceGLX.cpp -+ SOURCES += platform/graphics/surfaces/qt/GraphicsSurfaceGL_NoX.cpp -+ } - } - - build?(qttestsupport) { --- -2.0.0 -
meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsContext3DQt.cpp.patch deleted +0 -29
@@ -1,29 +0,0 @@ - -Upstream-Status: Inappropriate [arago specific] - ---- qtwebkit/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp.orig 2013-09-07 13:41:19.946858466 +0530 -+++ qtwebkit/Source/WebCore/platform/graphics/qt/GraphicsContext3DQt.cpp 2013-09-07 17:48:13.958979770 +0530 -@@ -383,21 +383,23 @@ GraphicsContext3D::GraphicsContext3D(Gra - , m_boundTexture0(0) - , m_multisampleFBO(0) - , m_multisampleDepthStencilBuffer(0) - , m_multisampleColorBuffer(0) - , m_private(adoptPtr(new GraphicsContext3DPrivate(this, hostWindow, renderStyle))) - { - validateAttributes(); - -+#if USE(GLX) - if (!m_private->m_surface || !m_private->m_platformContext) { - LOG_ERROR("GraphicsContext3D: GL context creation failed."); - m_private = nullptr; - return; - } -+#endif - - static bool initialized = false; - static bool success = true; - if (!initialized) { - success = initializeOpenGLShims(); - initialized = true; - } - if (!success) {
meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsSurfaceGL_NoX.cpp.patch deleted +0 -273
273 lines not on this page · raw message
meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsSurfaceToken.h.patch deleted +0 -36
@@ -1,36 +0,0 @@ - -Upstream-Status: Inappropriate [arago specific] - ---- qtwebkit/Source/WebCore/platform/graphics/surfaces/GraphicsSurfaceToken.h.orig 2013-09-07 13:44:47.906849335 +0530 -+++ qtwebkit/Source/WebCore/platform/graphics/surfaces/GraphicsSurfaceToken.h 2013-09-07 13:46:12.554845618 +0530 -@@ -50,17 +50,30 @@ struct GraphicsSurfaceToken { - { - return frontBufferHandle != rhs.frontBufferHandle; - } - - bool isValid() const - { - return frontBufferHandle; - } -+#elif PLATFORM(QT) -+ GraphicsSurfaceToken(uint32_t windowID = 0) -+ : frontBufferHandle(windowID) -+ { } -+ -+ bool operator!=(const GraphicsSurfaceToken &rhs) const -+ { -+ return frontBufferHandle != rhs.frontBufferHandle; -+ } - -+ bool isValid() const -+ { -+ return frontBufferHandle; -+ } - #endif - - #if OS(DARWIN) || OS(WINDOWS) - GraphicsSurfaceToken(BufferHandle frontBuffer = 0, BufferHandle backBuffer = 0) - : frontBufferHandle(frontBuffer) - , backBufferHandle(backBuffer) - { } -
meta-arago-distro/recipes-qt/qt5/qtwebkit/WebCore.pri.patch deleted +0 -20
@@ -1,20 +0,0 @@ - -Upstream-Status: Inappropriate [arago specific] - -diff --git a/Source/WebCore/WebCore.pri b/Source/WebCore/WebCore.pri -index 0189394..00f7090 100644 ---- a/Source/WebCore/WebCore.pri -+++ b/Source/WebCore/WebCore.pri -@@ -227,8 +227,10 @@ use?(3D_GRAPHICS) { - use?(GRAPHICS_SURFACE) { - mac: LIBS += -framework IOSurface -framework CoreFoundation - linux-*: { -- LIBS += -lXcomposite -lXrender -- CONFIG *= x11 -+ xlibAvailable() { -+ LIBS += -lXcomposite -lXrender -+ CONFIG *= x11 -+ } - } - } -
meta-arago-distro/recipes-qt/qt5/qtwebkit/qttestbrowser.cpp.patch deleted +0 -27
@@ -1,27 +0,0 @@ - -Upstream-Status: Inappropriate [arago specific] - ---- qtwebkit/Tools/QtTestBrowser/qttestbrowser.cpp.orig 2013-09-08 17:28:48.633593482 +0530 -+++ qtwebkit/Tools/QtTestBrowser/qttestbrowser.cpp 2013-09-08 17:29:07.713592964 +0530 -@@ -235,19 +235,20 @@ void LauncherApplication::handleUserOpti - } - - if (args.contains("-webgl")) { - requiresGraphicsView("-webgl"); - windowOptions.useWebGL = true; - } - #endif - -+#if 0 - if (args.contains("-use-test-fonts")) - WebKit::QtTestSupport::initializeTestFonts(); -- -+#endif - if (args.contains("-print-loaded-urls")) - windowOptions.printLoadedUrls = true; - - QString inspectorUrlArg("-inspector-url"); - int inspectorUrlIndex = args.indexOf(inspectorUrlArg); - if (inspectorUrlIndex != -1) - windowOptions.inspectorUrl = takeOptionValue(&args, inspectorUrlIndex); -
meta-arago-distro/recipes-qt/qt5/qtwebkit_%.bbappend deleted +0 -18
@@ -1,18 +0,0 @@ -FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" - -# file://GraphicsSurfaceToken.h.patch -# file://0001-Target.pri-update-to-use-GL_NoX-version-of-GraphicsS.patch -# file://WebCore.pri.patch - -SRC_URI += " \ - file://GraphicsSurfaceGL_NoX.cpp.patch \ - file://0001-HACK-ANGLE-khrplatform.h-add-define-MESA_EGL_NO_X11_.patch \ -" - -PR:append = ".arago8" - -EXTRA_OECMAKE:append = " -DCMAKE_BUILD_TYPE=Release" - -EXTRA_OECMAKE:append:k3 = " -DUSE_SYSTEM_MALLOC=ON" - -DEPENDS += "flex-native bison-native"
meta-arago-extras/README +0 -4
@@ -23,10 +23,6 @@ branch: master revision: HEAD layers: meta-oe, meta-networking, meta-python -URI: https://github.com/meta-qt5/meta-qt5 -branch: master -revision: HEAD - Send pull requests, patches, comments or questions to: [email protected]
meta-arago-extras/recipes-core/packagegroups/nativesdk-packagegroup-arago-qte-toolchain-host.bb deleted +0 -12
@@ -1,12 +0,0 @@ -DESCRIPTION = "Host packages for Qt Embedded SDK" -PR = "r10" -LICENSE = "MIT" - -inherit packagegroup -inherit_defer nativesdk - -RDEPENDS:${PN} = "\ - nativesdk-packagegroup-arago-tisdk-host \ - nativesdk-qtbase \ - nativesdk-qttools \ - "
meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-qte-toolchain-target.bb deleted +0 -35
@@ -1,35 +0,0 @@ -DESCRIPTION = "Target packages for Qt Embedded SDK" -LICENSE = "MIT" - -PR = "r16" - -PACKAGE_ARCH = "${MACHINE_ARCH}" - -inherit packagegroup - -RDEPENDS:${PN} += " \ - packagegroup-arago-standalone-sdk-target \ - libsqlite3-dev \ - qtbase-mkspecs \ - qtdeclarative-mkspecs \ - qtscript-mkspecs \ - qt3d-mkspecs \ - qtlocation-mkspecs \ - qtsensors-mkspecs \ - qtsvg-mkspecs \ - qtxmlpatterns-mkspecs \ - qtbase-dev \ - qtbase-staticdev \ - qtdeclarative-dev \ - qtscript-dev \ - qt3d-dev \ - qtlocation-dev \ - qtsensors-dev \ - qtsvg-dev \ - qtxmlpatterns-dev \ - ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "qtwebengine-mkspecs qtwebengine-dev", "", d)} \ - qtserialport-mkspecs \ - qtserialport-dev \ - qtcharts-mkspecs \ - qtcharts-dev \ -"
meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules.bb +0 -1
@@ -7,7 +7,6 @@ SRCREV = "8dc36cfa882f07a60b3ebdf16d9aac57871bd382" SRC_URI = " \ git://anongit.kde.org/extra-cmake-modules;protocol=git;branch=master \ - file://0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch \ " S = "${WORKDIR}/git"
meta-arago-extras/recipes-devtools/cmake/extra-cmake-modules/0001-Search-within-OE_QMAKE_PATH_EXTERNAL_HOST_BINS-for-q.patch deleted +0 -28
@@ -1,28 +0,0 @@ -From 90d6c2bce5a50d2c05af25978bccbe047705eed7 Mon Sep 17 00:00:00 2001 -From: Simon Busch <[email protected]> -Date: Mon, 29 Dec 2014 12:05:20 +0100 -Subject: [PATCH] Search within OE_QMAKE_PATH_EXTERNAL_HOST_BINS for - qtwaylandscanner - -Upstream-Status: Inappropriate [oe specific] - -Signed-off-by: Simon Busch <[email protected]> ---- - find-modules/FindQtWaylandScanner.cmake | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/find-modules/FindQtWaylandScanner.cmake b/find-modules/FindQtWaylandScanner.cmake -index 7fb8a00..f782275 100644 ---- a/find-modules/FindQtWaylandScanner.cmake -+++ b/find-modules/FindQtWaylandScanner.cmake -@@ -88,7 +88,7 @@ include(${CMAKE_CURRENT_LIST_DIR}/ECMFindModuleHelpersStub.cmake) - ecm_find_package_version_check(QtWaylandScanner) - - # Find qtwaylandscanner --find_program(QtWaylandScanner_EXECUTABLE NAMES qtwaylandscanner) -+find_program(QtWaylandScanner_EXECUTABLE NAMES qtwaylandscanner HINTS ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS}) - - include(FindPackageHandleStandardArgs) - find_package_handle_standard_args(QtWaylandScanner --- -2.1.0
Signature · 1 line
2.47.1
PATCH v2 2/2 meta-arago-test: dynamic layer for qt6 support
In reply to [email protected]From: Randolph Sapp <[email protected]>
Add a dynamic layer for Qt6 example applications so we can run a quick test and see if things are configured correctly.
This is being introduced into test as opposed to the distro layer as there will soon be automated tests for Qt6, there are no explicit dependencies for Qt in meta-arago-distro anymore, and the example applications are currently only necessary for testing.
--- meta-arago-test/conf/layer.conf | 4 ++++ .../qt6-layer/recipes-core/packagegroups/ti-test.bbappend | 7 +++++++ .../qt6-layer/recipes-qt/qt6/qtbase_%.bbappend | 3 +++ 3 files changed, 14 insertions(+) create mode 100644 meta-arago-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend create mode 100644 meta-arago-test/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend
meta-arago-test/conf/layer.conf +4 -0
@@ -22,3 +22,7 @@ LAYERDEPENDS_meta-arago-test = " \ filesystems-layer \ meta-python \ " + +BBFILES_DYNAMIC += " \ + qt6-layer:${LAYERDIR}/dynamic-layers/qt6-layer/recipes*/*/*.bbappend \ +"
meta-arago-test/dynamic-layers/qt6-layer/recipes-core/packagegroups/ti-test.bbappend new file +7 -0
@@ -0,0 +1,7 @@ +# Include the examples for Qt6 related tests +# Include qtwayland for wayland support if the distro enables it + +TI_TEST_EXTRAS:append = " \ + qtbase-examples \ + ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'qtwayland', '', d)} \ +"
meta-arago-test/dynamic-layers/qt6-layer/recipes-qt/qt6/qtbase_%.bbappend new file +3 -0
@@ -0,0 +1,3 @@ +# Include the examples for Qt6 related tests + +PACKAGECONFIG:append = " examples"
Signature · 1 line
2.47.1