Skip to contentSkip to conversation

matrix, packagegroup: disable qtwebkit and matrix gui for omapl138/armv5

PATCH New Denys Dmytriyenko 1 participant 1 message Feb 25, 2023

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 matrix, packagegroup: disable qtwebkit and matrix gui for omapl138/armv5

From: Denys Dmytriyenko <[email protected]>

Latest qtwebkit 5.15 fails to build for armv5 with bunch of errors like:

Error: selected processor does not support `movw r8,#:lower16:.Lllint_op_enter-.LrelativePCBase' in ARM mode

Since omapl138/armv5 is already underpowered and has no graphics, it doesn't make too much sense to run matrix gui in qtwebkit while software rendering everything offscreen.

---
 .../recipes-core/packagegroups/packagegroup-arago-qte.bb | 5 ++++-
 .../packagegroups/packagegroup-arago-tisdk-matrix.bb     | 1 +
 meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb  | 1 +
 .../packagegroup-arago-qte-toolchain-target.bb           | 9 +++++++--
 4 files changed, 13 insertions(+), 3 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-qte.bb +4 -1
index 6dac7bfb..129838cc 100644
@@ -6,6 +6,9 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
+WEBKIT = "qtwebkit-qmlplugins"
+WEBKIT:armv5 = ""
+
 RDEPENDS:${PN} = "\
     qtbase-plugins \
     qtdeclarative-qmlplugins \
@@ -20,7 +23,7 @@ RDEPENDS:${PN} = "\
     qtgraphicaleffects-qmlplugins \
     qtvirtualkeyboard-plugins \
     qtvirtualkeyboard-qmlplugins \
-    qtwebkit-qmlplugins \
+    ${WEBKIT} \
     liberation-fonts \
     qtconnectivity \
     qtconnectivity-qmlplugins \
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +1 -0
index d4a4712c..63afc4ec 100644
@@ -17,6 +17,7 @@ MATRIX_GUI = "               \
     refresh-screen           \
     matrix-gui-browser       \
 "
+MATRIX_GUI:omapl138 = ""
 
 MATRIX_COMMON_APPS = "              \
     matrix-gui-armbenchmarks-demos  \
meta-arago-extras/recipes-core/matrix/matrix-gui_2.0.bb +1 -0
index b22f1151..9299a929 100644
@@ -59,6 +59,7 @@ do_install(){
 }
 
 GUIDEPS = "${@bb.utils.contains('DISTRO_FEATURES','opengl',"matrix-gui-browser refresh-screen",'',d)}"
+GUIDEPS:omapl138 = ""
 
 RDEPENDS:${PN} += "matrix-lighttpd-config lighttpd lighttpd-module-cgi lighttpd-module-deflate lighttpd-module-expire php php-cgi php-cli ${GUIDEPS}"
 
meta-arago-extras/recipes-core/packagegroups/packagegroup-arago-qte-toolchain-target.bb +7 -2
index e0fb9a1d..0380f3a6 100644
@@ -7,6 +7,12 @@ PACKAGE_ARCH = "${MACHINE_ARCH}"
 
 inherit packagegroup
 
+WEBKIT = " \
+        qtwebkit-mkspecs \
+        qtwebkit-dev \
+"
+WEBKIT:armv5 = ""
+
 RDEPENDS:${PN} += " \
         packagegroup-arago-standalone-sdk-target \
         libsqlite3-dev \
@@ -27,8 +33,7 @@ RDEPENDS:${PN} += " \
         qtsensors-dev \
         qtsvg-dev \
         qtxmlpatterns-dev \
-        qtwebkit-mkspecs \
-        qtwebkit-dev \
+        ${WEBKIT} \
         ${@bb.utils.contains("BBFILE_COLLECTIONS", "meta-python2", "qtwebengine-mkspecs qtwebengine-dev", "", d)} \
         qtserialport-mkspecs \
         qtserialport-dev  \
Signature · 1 line
2.25.1