Skip to contentSkip to conversation

Backport the qt5/qt6 specific patches

PATCH Superseded [email protected] 1 participant 4 messages Feb 19, 2025

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

cover Backport the qt5/qt6 specific patches

From: Randolph Sapp <[email protected]>

Now that the other components have been merged we can remove meta-arago-demos and all the qt5 specific patches and roll forward with the same dynmaic layer mechanism we are using in master.

Slightly modified backport to handle patch content changes and an issue with the meta-toolchain-arago recipe path.

Randolph Sapp (3):
meta-arago-demos: remove this layer due to qt5 dep meta-arago-*: remove all qt5 configs
meta-arago-test: dynamic layer for qt6 support

 meta-arago-demos/COPYING.MIT                  |  17 --
 meta-arago-demos/README                       |  38 ---
 meta-arago-demos/SECURITY                     |  20 --
 meta-arago-demos/conf/layer.conf              |  26 --
 .../acontis-atemsys_3.0.1.28.bb               |  18 --
 .../recipes-apps/evse-hmi/evse-hmi_git.bb     |  25 --
 .../mmwavegesture-hmi_git.bb                  |  25 --
 .../pdm-anomaly-detection_git.bb              |  29 --
 .../point-cloud-viewer_git.bb                 |  35 ---
 .../protection-relays-hmi_git.bb              |  25 --
 .../examples/qtwebbrowser_5.15.1.bb           |  49 ----
 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-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         |  20 --
 ...xit-button-for-non-window-environmen.patch |  60 ----
 ...01-deform-Fix-how-controls-are-shown.patch |  33 ---
 ...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 |  81 ------
 .../0002-deform-disable-opengl-button.patch   |  71 -----
 .../recipes-qt/qt5/qtbase/quit.png            | Bin 645 -> 0 bytes
 .../recipes-qt/qt5/qtbase_%.bbappend          |  46 ---
 ...touchinteraction.qml-Add-exit-button.patch |  60 ----
 .../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 |  29 --
 .../qtwebkit/GraphicsContext3DQt.cpp.patch    |  26 --
 .../qtwebkit/GraphicsSurfaceGL_NoX.cpp.patch  | 270 ------------------
 .../qt5/qtwebkit/GraphicsSurfaceToken.h.patch |  33 ---
 .../recipes-qt/qt5/qtwebkit/WebCore.pri.patch |  17 --
 .../qt5/qtwebkit/qttestbrowser.cpp.patch      |  24 --
 .../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 |  26 --
 meta-arago-test/conf/layer.conf               |   4 +
 .../packagegroups/ti-test.bbappend            |   7 +
 .../recipes-qt/qt6/qtbase_%.bbappend          |   3 +
 50 files changed, 16 insertions(+), 1402 deletions(-)
 delete mode 100644 meta-arago-demos/COPYING.MIT
 delete mode 100644 meta-arago-demos/README
 delete mode 100644 meta-arago-demos/SECURITY
 delete mode 100644 meta-arago-demos/conf/layer.conf
 delete mode 100644 meta-arago-demos/recipes-apps/acontis-ethercat-demo/acontis-atemsys_3.0.1.28.bb
 delete mode 100644 meta-arago-demos/recipes-apps/evse-hmi/evse-hmi_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/mmwavegesture-hmi/mmwavegesture-hmi_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/pdm-anomaly-detection/pdm-anomaly-detection_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/protection-relays-hmi/protection-relays-hmi_git.bb
 delete mode 100644 meta-arago-demos/recipes-qt/examples/qtwebbrowser_5.15.1.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.48.1
#1 lore raw

PATCH 1/3 meta-arago-demos: remove this layer due to qt5 dep

From: Randolph Sapp <[email protected]>

Remove this layer now that the current recipes are unreachable. These were the last of the "demos" in this layer and they were only being built for legacy devices. Demos should primarily be in layers above this unless they are used for functionality testing.

These modifications are required as part of the effort to make this layer less dependent on meta-qt5. Moving forward TI builds of arago will enable and test Qt6 by default, but unlike before this will not be done in a way that creates an explicit dependency in this layer. This should allow customers and layers that consume or extend this layer to toggle Qt support more easily.

This should come after a patch to remove this layer from the oe-layersetup configs. If you run into any build issues, be sure to update your bblayers.conf accordingly.

---
 meta-arago-demos/COPYING.MIT                  | 17 -------
 meta-arago-demos/README                       | 38 --------------
 meta-arago-demos/SECURITY                     | 20 --------
 meta-arago-demos/conf/layer.conf              | 26 ----------
 .../acontis-atemsys_3.0.1.28.bb               | 18 -------
 .../recipes-apps/evse-hmi/evse-hmi_git.bb     | 25 ----------
 .../mmwavegesture-hmi_git.bb                  | 25 ----------
 .../pdm-anomaly-detection_git.bb              | 29 -----------
 .../point-cloud-viewer_git.bb                 | 35 -------------
 .../protection-relays-hmi_git.bb              | 25 ----------
 .../examples/qtwebbrowser_5.15.1.bb           | 49 -------------------
 11 files changed, 307 deletions(-)
 delete mode 100644 meta-arago-demos/COPYING.MIT
 delete mode 100644 meta-arago-demos/README
 delete mode 100644 meta-arago-demos/SECURITY
 delete mode 100644 meta-arago-demos/conf/layer.conf
 delete mode 100644 meta-arago-demos/recipes-apps/acontis-ethercat-demo/acontis-atemsys_3.0.1.28.bb
 delete mode 100644 meta-arago-demos/recipes-apps/evse-hmi/evse-hmi_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/mmwavegesture-hmi/mmwavegesture-hmi_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/pdm-anomaly-detection/pdm-anomaly-detection_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb
 delete mode 100644 meta-arago-demos/recipes-apps/protection-relays-hmi/protection-relays-hmi_git.bb
 delete mode 100644 meta-arago-demos/recipes-qt/examples/qtwebbrowser_5.15.1.bb
meta-arago-demos/COPYING.MIT deleted +0 -17
deleted file mode 100644
index fb950dc6..00000000
@@ -1,17 +0,0 @@
-Permission is hereby granted, free of charge, to any person obtaining a copy 
-of this software and associated documentation files (the "Software"), to deal 
-in the Software without restriction, including without limitation the rights 
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 
-copies of the Software, and to permit persons to whom the Software is 
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in 
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 
-THE SOFTWARE.
meta-arago-demos/README deleted +0 -38
deleted file mode 100644
index b6181c73..00000000
@@ -1,38 +0,0 @@
-meta-arago-demos provides demo applications to showcase in TI SDK products
-
-This layer works with the latest Yocto Project release (currently 5.0+) and tracks
-the stable/maintenance branches (currently "scarthgap") of the corresponding layers:
-
-URI: git://git.openembedded.org/openembedded-core
-branch: scarthgap
-revision: HEAD
-layers: meta
-
-URI: git://git.yoctoproject.org/meta-ti
-branch: scarthgap
-revision: HEAD
-layers: meta-ti-bsp, meta-ti-extras
-
-URI: git://git.yoctoproject.org/meta-arm
-branch: scarthgap
-revision: HEAD
-layers: meta-arm, meta-arm-toolchain
-
-URI: git://git.openembedded.org/meta-openembedded
-branch: scarthgap
-revision: HEAD
-layers: meta-oe, meta-networking, meta-python
-
-URI: https://github.com/meta-qt5/meta-qt5
-branch: scarthgap
-revision: HEAD
-
-Send pull requests, patches, comments or questions to:
[email protected]
-
-Please note - meta-arago mailing list requires subscription for posting:
-https://lists.yoctoproject.org/g/meta-arago
-
-Layer maintainers:
-Ryan Eatmon <[email protected]>
-Denys Dmytriyenko <[email protected]>
meta-arago-demos/SECURITY deleted +0 -20
deleted file mode 100644
index 2e38d80e..00000000
@@ -1,20 +0,0 @@
-How to Report a Potential Vulnerability?
-========================================
-
-If you would like to report a public issue (for example, one with a released
-CVE number), please report it to the mailing list:
-
-  https://lists.yoctoproject.org/g/meta-arago
-
-If you are dealing with a not-yet released or urgent issue, please send a
-message to one of the maintainers listed in the README.  Include as many
-details as possible:
-  - the layer or software module affected
-  - the recipe and its version
-  - any example code, if available
-
-Branches maintained with security fixes
----------------------------------------
-
-See https://wiki.yoctoproject.org/wiki/Releases for the list of current
-releases.  We only accept patches for the LTS releases and the master branch.
meta-arago-demos/conf/layer.conf deleted +0 -26
deleted file mode 100644
index f551af28..00000000
@@ -1,26 +0,0 @@
-# We have a conf and classes directory, append to BBPATH
-BBPATH .= ":${LAYERDIR}"
-
-# We have a recipes directory, add to BBFILES
-BBFILES += "${LAYERDIR}/recipes*/*/*.bb ${LAYERDIR}/recipes*/*/*.bbappend"
-
-BBFILE_COLLECTIONS += "meta-arago-demos"
-BBFILE_PATTERN_meta-arago-demos := "^${LAYERDIR}/"
-BBFILE_PRIORITY_meta-arago-demos = "10"
-
-LAYERSERIES_COMPAT_meta-arago-demos = "scarthgap"
-
-LAYERDEPENDS_meta-arago-demos = " \
-    core \
-    meta-ti-bsp \
-    meta-ti-extras \
-    openembedded-layer \
-    networking-layer \
-    meta-python \
-    arm-toolchain \
-    qt5-layer \
-"
-
-SIGGEN_EXCLUDERECIPES_ABISAFE += " \
-    gstreamer1.0-plugins-bad \
-"
meta-arago-demos/recipes-apps/acontis-ethercat-demo/acontis-atemsys_3.0.1.28.bb deleted +0 -18
deleted file mode 100644
index 897db273..00000000
@@ -1,18 +0,0 @@
-SUMMARY = "acontis atemsys kernel module for EtherCAT master"
-HOMEPAGE = "https://www.acontis.com/en/ethercat-for-ti-processors.html"
-LICENSE = "GPL-2.0-only"
-LIC_FILES_CHKSUM = "file://COPYING;md5=65dd37ccb3e888dc57e47d925b80b38a"
-
-SRC_URI = "https://www.acontis.com/files/support/ethercat/EC-Master-Atemsys-V${PV}-Linux.tar.gz;subdir=${P}"
-SRC_URI[md5sum] = "d8d92ae671c5cf78ae22bc5386d7f44f"
-SRC_URI[sha256sum] = "dd3d83eb984b17b8378e0a5e5dfae8c77e25c5428a26319f59f44f805aff9e89"
-
-COMPATIBLE_MACHINE = "am335x-evm|am57xx-evm"
-
-PR = "r0"
-
-S = "${WORKDIR}/${P}/yocto/meta-acontis/recipes-kernel/atemsys/files"
-
-inherit module
-
-EXTRA_OEMAKE += 'KERNELDIR="${STAGING_KERNEL_DIR}"'
meta-arago-demos/recipes-apps/evse-hmi/evse-hmi_git.bb deleted +0 -25
deleted file mode 100644
index 3550a3e7..00000000
@@ -1,25 +0,0 @@
-SUMMARY = "HMI demo for electronic vehicle charging station (EVSE) using QT QWidget tools"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=33;md5=a9cde3921a8be42ed79ab74661799104"
-
-DEPENDS += "qtbase"
-
-inherit qmake5
-
-# Qt uses atomic instructions not supported in thumb mode
-ARM_INSTRUCTION_SET = "arm"
-
-PV = "1.0"
-PR = "r1"
-
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/git/sitara-linux/evse-hmi.git;protocol=https;branch=${BRANCH}"
-
-SRCREV = "d8c309d2832735f8df84db9993a01d861fdc02d7"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 755 evse_hmi ${D}${bindir}
-}
meta-arago-demos/recipes-apps/mmwavegesture-hmi/mmwavegesture-hmi_git.bb deleted +0 -25
deleted file mode 100644
index ec7d5c3f..00000000
@@ -1,25 +0,0 @@
-SUMMARY = "Gesture baed HMI demo using mmWave IWR1642 chip and Sitara AM device"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=33;md5=e7e749ff1989b18db836e5d9910a37e9"
-
-inherit qmake5
-
-# Qt uses atomic instructions not supported in thumb mode
-ARM_INSTRUCTION_SET = "arm"
-
-PV = "1.0"
-PR = "r0"
-
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/git/sitara-linux/mmwavegesture-hmi.git;protocol=https;branch=${BRANCH}"
-
-SRCREV = "0881fc8bc5b3c3411af7b69c3837a8b3a1fbedc5"
-
-S = "${WORKDIR}/git"
-
-DEPENDS += "qtbase qtdeclarative qtserialport"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 755 mmwavegesture_hmi ${D}${bindir}
-}
meta-arago-demos/recipes-apps/pdm-anomaly-detection/pdm-anomaly-detection_git.bb deleted +0 -29
deleted file mode 100644
index 1ed29577..00000000
@@ -1,29 +0,0 @@
-SUMMARY = "Predictive maintenance demo for anomaly detection using Recurrent Neural Network (RNN)"
-LICENSE = "BSD-3-Clause & MIT & GPL-3.0-only"
-LIC_FILES_CHKSUM = "file://LICENSE;md5=e88016d2cbc82d0d2efbb0865891e9d6"
-
-inherit qmake5
-
-# Qt uses atomic instructions not supported in thumb mode
-ARM_INSTRUCTION_SET = "arm"
-
-PV = "1.0"
-PR = "r2"
-
-BRANCH = "master"
-SRC_URI  = "git://git.ti.com/git/apps/pdm-anomaly-detection.git;protocol=https;branch=${BRANCH}"
-
-SRCREV = "2ccf0e5e5aaac73166d52374650a25652bd6aed2"
-
-S = "${WORKDIR}/git"
-
-DEPENDS += "qtbase qtdeclarative qtcharts"
-
-do_install() {
-    install -d ${D}${datadir}/ti/examples/pdm
-    install -m 755 RnnPdmAnomalyDetection ${D}${datadir}/ti/examples/pdm
-    install -m 644 ${S}/coeff.bin ${D}${datadir}/ti/examples/pdm
-    install -m 644 ${S}/logs/* ${D}${datadir}/ti/examples/pdm
-}
-
-FILES:${PN} += "${datadir}/ti/examples/pdm"
meta-arago-demos/recipes-apps/point-cloud-viewer/point-cloud-viewer_git.bb deleted +0 -35
deleted file mode 100644
index 9211c653..00000000
@@ -1,35 +0,0 @@
-DESCRIPTION = "Point cloud viewer"
-HOMEPAGE = "https://git.ti.com/processor-sdk/point-cloud-viewer/"
-LICENSE = "TI-TSPA"
-LIC_FILES_CHKSUM := "file://PointCloudViewer_manifest.html;md5=7ea694db2dd8d82fd91a18cab8c2c2db"
-
-PR = "r2"
-
-COMPATIBLE_MACHINE = "dra7xx"
-
-BRANCH = "master"
-
-SRC_URI = "git://git.ti.com/git/processor-sdk/point-cloud-viewer.git;protocol=https;branch=${BRANCH}"
-
-SRCREV = "f0af54e63a6c802b4f8f0657873e74f1cb486e86"
-
-PV = "2.2"
-
-S = "${WORKDIR}/git"
-
-DEPENDS += "opencv"
-RDEPENDS:${PN} = "libxkbcommon"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 755 ${S}/point_cloud_viewer ${D}${bindir}
-
-    install -d ${D}${datadir}/ti/pointclouds
-    install -m 644 ${S}/example_point_cloud.xyz ${D}${datadir}/ti/pointclouds
-}
-
-FILES:${PN} += "\
-    ${datadir}/ti/pointclouds \
-"
-
-INSANE_SKIP:${PN} = "already-stripped file-rdeps"
meta-arago-demos/recipes-apps/protection-relays-hmi/protection-relays-hmi_git.bb deleted +0 -25
deleted file mode 100644
index 62770aaa..00000000
@@ -1,25 +0,0 @@
-SUMMARY = "HMI demo for Protection Relays using QT  tools"
-LICENSE = "BSD-3-Clause"
-LIC_FILES_CHKSUM = "file://main.cpp;beginline=1;endline=33;md5=a9cde3921a8be42ed79ab74661799104"
-
-DEPENDS += "qtbase"
-
-inherit qmake5
-
-# Qt uses atomic instructions not supported in thumb mode
-ARM_INSTRUCTION_SET = "arm"
-
-PV = "1.0"
-PR = "r0"
-
-BRANCH = "master"
-SRC_URI = "git://git.ti.com/git/sitara-linux/protection-relays-hmi.git;protocol=https;branch=${BRANCH}"
-
-SRCREV = "b116b5628a68ba3b6db88435023cf034504655d3"
-
-S = "${WORKDIR}/git"
-
-do_install() {
-    install -d ${D}${bindir}
-    install -m 755 protection_relays_hmi ${D}${bindir}
-}
meta-arago-demos/recipes-qt/examples/qtwebbrowser_5.15.1.bb deleted +0 -49

49 lines not on this page · raw message

Signature · 1 line
2.48.1
#2 lore raw

PATCH 2/3 meta-arago-*: remove all qt5 configs

In reply to [email protected]

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-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         |  20 --
 ...xit-button-for-non-window-environmen.patch |  60 ----
 ...01-deform-Fix-how-controls-are-shown.patch |  33 ---
 ...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 |  81 ------
 .../0002-deform-disable-opengl-button.patch   |  71 -----
 .../recipes-qt/qt5/qtbase/quit.png            | Bin 645 -> 0 bytes
 .../recipes-qt/qt5/qtbase_%.bbappend          |  46 ---
 ...touchinteraction.qml-Add-exit-button.patch |  60 ----
 .../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 |  29 --
 .../qtwebkit/GraphicsContext3DQt.cpp.patch    |  26 --
 .../qtwebkit/GraphicsSurfaceGL_NoX.cpp.patch  | 270 ------------------
 .../qt5/qtwebkit/GraphicsSurfaceToken.h.patch |  33 ---
 .../recipes-qt/qt5/qtwebkit/WebCore.pri.patch |  17 --
 .../qt5/qtwebkit/qttestbrowser.cpp.patch      |  24 --
 .../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 |  26 --
 36 files changed, 2 insertions(+), 1095 deletions(-)
 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
index 1656c609..28937e1f 100644
@@ -23,10 +23,6 @@ branch: scarthgap
 revision: HEAD
 layers: meta-oe, meta-networking, meta-python
 
-URI: https://github.com/meta-qt5/meta-qt5
-branch: scarthgap
-revision: HEAD
-
 URI: git://git.yoctoproject.org/meta-arago
 branch: scarthgap
 revision: HEAD
meta-arago-distro/conf/distro/arago.conf +0 -24
index 91c67d4b..24d8b005 100644
@@ -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"
 
@@ -171,7 +151,3 @@ INSANE_SKIP:nativesdk-openssl-misc += "build-deps"
 
 # https://bugzilla.yoctoproject.org/show_bug.cgi?id=15553
 INSANE_SKIP:nativesdk-qemu-user-mips += "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
index 824c5773..4a0e424d 100644
@@ -18,7 +18,6 @@ LAYERDEPENDS_meta-arago-distro = " \
     networking-layer \
     multimedia-layer \
     meta-python \
-    qt5-layer \
     clang-layer \
     meta-arago-extras \
     meta-arago-test \
@@ -45,7 +44,6 @@ SIGGEN_EXCLUDERECIPES_ABISAFE += " \
     udev \
     eudev \
     weston-conf \
-    qtbase-conf \
     cryptodev-module \
 "
 
meta-arago-distro/recipes-core/images/tisdk-default-image.bb +0 -1
index 335ee5c2..e0f085ff 100644
@@ -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-tisdk.bb +2 -1
index 4f272a52..0ab541d3 100644
@@ -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 recipes-core/meta/meta-toolchain-arago.bb
 
 PR = "${INC_PR}.0"
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-qte.bb deleted +0 -26
deleted file mode 100644
index 8ea830fd..00000000
@@ -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
deleted file mode 100644
index be851944..00000000
@@ -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
index 43cd9c59..fc0a0241 100644
@@ -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
index fc3eac74..64af6d93 100644
@@ -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
deleted file mode 100644
index 5667d11f..00000000
@@ -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
deleted file mode 100644
index 5180c8e4..00000000
@@ -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
deleted file mode 100644
index ef49b124..00000000
@@ -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 -20
deleted file mode 100644
index 63894c47..00000000
@@ -1,20 +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 \
-          "
-
-# Add custom Arago qtbase Environment script and eglfs_kms configuration file
-do_install () {
-    install -d ${D}${sysconfdir}/profile.d
-    install -m 0644 ${WORKDIR}/qt_env.sh ${D}${sysconfdir}/profile.d/
-    install -d ${D}${sysconfdir}/qt5
-    install -m 0644 ${WORKDIR}/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 -60

60 lines not on this page · raw message

meta-arago-distro/recipes-qt/qt5/qtbase/0001-deform-Fix-how-controls-are-shown.patch deleted +0 -33
deleted file mode 100644
index 076becaa..00000000
@@ -1,33 +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.
-
-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
deleted file mode 100644
index 16006aac..00000000
@@ -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 -81

81 lines not on this page · raw message

meta-arago-distro/recipes-qt/qt5/qtbase/0002-deform-disable-opengl-button.patch deleted +0 -71

71 lines not on this page · raw message

meta-arago-distro/recipes-qt/qt5/qtbase/quit.png deleted binary +0 -0
deleted file mode 100755
index b9eb270c97306679f991669992d18a5f37e4ce22..0000000000000000000000000000000000000000
GIT binary patch
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 -60

60 lines not on this page · raw message

meta-arago-distro/recipes-qt/qt5/qtdeclarative_git.bbappend deleted +0 -10
deleted file mode 100644
index 4167ac43..00000000
@@ -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
deleted file mode 100644
index 29521a8e..00000000
@@ -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 -29
deleted file mode 100644
index 55a4c032..00000000
@@ -1,29 +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
-
-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 -26
deleted file mode 100644
index aa752bb8..00000000
@@ -1,26 +0,0 @@
---- 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 -270

270 lines not on this page · raw message

meta-arago-distro/recipes-qt/qt5/qtwebkit/GraphicsSurfaceToken.h.patch deleted +0 -33
deleted file mode 100644
index 722df392..00000000
@@ -1,33 +0,0 @@
---- 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 -17
deleted file mode 100644
index 276b3cf8..00000000
@@ -1,17 +0,0 @@
-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 -24
deleted file mode 100644
index 9a57be22..00000000
@@ -1,24 +0,0 @@
---- 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
deleted file mode 100644
index 22d2dc70..00000000
@@ -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
index 6253e23c..54309a0f 100644
@@ -23,10 +23,6 @@ branch: scarthgap
 revision: HEAD
 layers: meta-oe, meta-networking, meta-python
 
-URI: https://github.com/meta-qt5/meta-qt5
-branch: scarthgap
-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
deleted file mode 100644
index 23c45abf..00000000
@@ -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
deleted file mode 100644
index 793fcd8f..00000000
@@ -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
index 297e2152..d5e8872c 100644
@@ -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 -26
deleted file mode 100644
index 964dbbf9..00000000
@@ -1,26 +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
-
-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.48.1
#3 lore raw

PATCH 3/3 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
index ad939dce..0b0874fc 100644
@@ -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
new file mode 100644
index 00000000..8d1f95f7
@@ -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
new file mode 100644
index 00000000..e2799572
@@ -0,0 +1,3 @@
+# Include the examples for Qt6 related tests
+
+PACKAGECONFIG:append = " examples"
Signature · 1 line
2.48.1