Skip to contentSkip to conversation

Use the webkit-based broswer as the qt5 demo broswer for k3 devices

PATCH Superseded Eric Ruei 2 participants 4 messages Sep 13, 2018 – Sep 14, 2018

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Eric Ruei

author
#0 lore raw

cover Use the webkit-based broswer as the qt5 demo broswer for k3 devices

Eric Ruei (2):
matrix-gui: qt5-demos: break qt5 demos package into individual ones packagegroup-arago-tisdk-matrix: replace qt5 demo browser with webkit
broswer for K3 devices

 .../packagegroup-arago-tisdk-matrix.bb             | 11 ++++++++--
 .../recipes-core/matrix/matrix-gui-apps-git.inc    |  4 ++--
 .../matrix/matrix-gui-qt5-demos_2.0.bb             | 25 +++++++++++++++++-----
 3 files changed, 31 insertions(+), 9 deletions(-)
Signature · 1 line
1.9.1
author
#1 lore raw

PATCH 1/2 matrix-gui: qt5-demos: break qt5 demos package into individual ones

- bump SRCREV of matrix-gui-v2-apps to pickup webkit-browser demo
- break qt5 demos package into individual one for each demo to to be selected based on certain conditions.

---
 .../recipes-core/matrix/matrix-gui-apps-git.inc    |  4 ++--
 .../matrix/matrix-gui-qt5-demos_2.0.bb             | 25 +++++++++++++++++-----
 2 files changed, 22 insertions(+), 7 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc +2 -2
index 3620e85..a5da492 100644
@@ -4,9 +4,9 @@ LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}"
 
 SRC_URI = "git://git.ti.com/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=${BRANCH}"
-SRCREV = "1fab50f6ceac640bf946e8716a68b1c827256489"
+SRCREV = "28aa0adb7733f103e07d82123924c5a6d1a9bfeb"
 BRANCH = "master"
-INC_PR = "r57"
+INC_PR = "r58"
 
 # Pull in the base package for installing matrix applications
 require matrix-gui-apps.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-qt5-demos_2.0.bb +20 -5
index 2401832..78f5547 100644
@@ -7,13 +7,28 @@ PR = "${INC_PR}.1"
 
 inherit allarch
 
-SRC_URI_append_k3 = " \
-           file://0001-qt5_broswer-use-webkit-browser-instead-of-webengine-.patch;pnum=2 \
-"
-
 S = "${WORKDIR}/git/qt5_apps"
 
 # Make sure qt5 submenu and app images has been installed
-RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-qt5"
+QT5_RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-qt5"
 
 FILES_${PN} += "${MATRIX_BASE_DIR}/*"
+PACKAGES = "matrix-qt5-demo-animated \
+            matrix-qt5-demo-browser \
+            matrix-qt5-demo-calculator \
+            matrix-qt5-demo-deform \
+            matrix-qt5-demo-webkit-browser \
+"
+
+RDEPENDS_matrix-qt5-demo-animated = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-browser = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-calculator = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-deform = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-webkit-browser = "${QT5_RDEPENDS}"
+
+# Split the matrix files by qt5 demos
+FILES_matrix-qt5-demo-animated = "${MATRIX_APP_DIR}/qt5_animated_tiles/*"
+FILES_matrix-qt5-demo-browser = "${MATRIX_APP_DIR}/qt5_browser/*"
+FILES_matrix-qt5-demo-calculator = "${MATRIX_APP_DIR}/qt5_calculator/*"
+FILES_matrix-qt5-demo-deform = "${MATRIX_APP_DIR}/qt5_deform/*"
+FILES_matrix-qt5-demo-webkit-browser = "${MATRIX_APP_DIR}/qt5_webkit_browser/*"
Signature · 1 line
1.9.1
#2 lore raw

Re: [PATCH 1/2] matrix-gui: qt5-demos: break qt5 demos package into individual ones

Eric,

Please rebase - the patch doesn't apply due to:
http://arago-project.org/git/?p=meta-arago.git;a=commitdiff;h=805e88f44bc7b1f23ced8ac568c7085e37a232c4

Denys

Quoted 72 lines · Eric Ruei

- bump SRCREV of matrix-gui-v2-apps to pickup webkit-browser demo
- break qt5 demos package into individual one for each demo to to be selected based on certain conditions.

---
 .../recipes-core/matrix/matrix-gui-apps-git.inc    |  4 ++--
 .../matrix/matrix-gui-qt5-demos_2.0.bb             | 25 +++++++++++++++++-----
 2 files changed, 22 insertions(+), 7 deletions(-)
meta-arago-extras/recipes-core/matrix/matrix-gui-apps-git.inc +2 -2
index 3620e85..a5da492 100644
@@ -4,9 +4,9 @@ LICENSE_CHECKSUM = "LICENSE;md5=6e0ae7214f6c74c149cb25f373057fa9"
 LIC_FILES_CHKSUM := "file://../${LICENSE_CHECKSUM}"
 
 SRC_URI = "git://git.ti.com/matrix-gui-v2/matrix-gui-v2-apps.git;protocol=git;branch=${BRANCH}"
-SRCREV = "1fab50f6ceac640bf946e8716a68b1c827256489"
+SRCREV = "28aa0adb7733f103e07d82123924c5a6d1a9bfeb"
 BRANCH = "master"
-INC_PR = "r57"
+INC_PR = "r58"
 
 # Pull in the base package for installing matrix applications
 require matrix-gui-apps.inc
meta-arago-extras/recipes-core/matrix/matrix-gui-qt5-demos_2.0.bb +20 -5
index 2401832..78f5547 100644
@@ -7,13 +7,28 @@ PR = "${INC_PR}.1"
 
 inherit allarch
 
-SRC_URI_append_k3 = " \
-           file://0001-qt5_broswer-use-webkit-browser-instead-of-webengine-.patch;pnum=2 \
-"
-
 S = "${WORKDIR}/git/qt5_apps"
 
 # Make sure qt5 submenu and app images has been installed
-RDEPENDS_${PN} += "matrix-gui-apps-images matrix-gui-submenus-qt5"
+QT5_RDEPENDS += "matrix-gui-apps-images matrix-gui-submenus-qt5"
 
 FILES_${PN} += "${MATRIX_BASE_DIR}/*"
+PACKAGES = "matrix-qt5-demo-animated \
+            matrix-qt5-demo-browser \
+            matrix-qt5-demo-calculator \
+            matrix-qt5-demo-deform \
+            matrix-qt5-demo-webkit-browser \
+"
+
+RDEPENDS_matrix-qt5-demo-animated = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-browser = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-calculator = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-deform = "${QT5_RDEPENDS}"
+RDEPENDS_matrix-qt5-demo-webkit-browser = "${QT5_RDEPENDS}"
+
+# Split the matrix files by qt5 demos
+FILES_matrix-qt5-demo-animated = "${MATRIX_APP_DIR}/qt5_animated_tiles/*"
+FILES_matrix-qt5-demo-browser = "${MATRIX_APP_DIR}/qt5_browser/*"
+FILES_matrix-qt5-demo-calculator = "${MATRIX_APP_DIR}/qt5_calculator/*"
+FILES_matrix-qt5-demo-deform = "${MATRIX_APP_DIR}/qt5_deform/*"
+FILES_matrix-qt5-demo-webkit-browser = "${MATRIX_APP_DIR}/qt5_webkit_browser/*"
Signature · 6 lines
1.9.1

_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago
author
#3 lore raw

PATCH 2/2 packagegroup-arago-tisdk-matrix: replace qt5 demo browser with webkit broswer for K3 devices

In reply to Eric Ruei
---
 .../packagegroups/packagegroup-arago-tisdk-matrix.bb          | 11 +++++++++--
 1 file changed, 9 insertions(+), 2 deletions(-)
meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb +9 -2
index 919bd41..edb7a50 100644
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r73"
+PR = "r74"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -32,7 +32,10 @@ MATRIX_COMMON_APPS = "              \
 "
 
 MATRIX_QT_APPS = " \
-    matrix-gui-qt5-demos \
+    matrix-qt5-demo-animated \
+    matrix-qt5-demo-browser \
+    matrix-qt5-demo-calculator \
+    matrix-qt5-demo-deform \
     matrix-gui-thermostat-demo \
 "
 
@@ -42,6 +45,10 @@ MATRIX_TOUCH_APPS = " \
 
 MATRIX_QT_APPS_keystone = ""
 MATRIX_QT_APPS_omapl138 = ""
+MATRIX_QT_APPS_remove_k3 = "matrix-qt5-demo-browser"
+MATRIX_QT_APPS_append_k3 = " \
+    matrix-qt5-demo-webkit-browser \
+"
 
 MATRIX_SGX_DEMOS = " \
     matrix-3d-demo-chameleon \
Signature · 1 line
1.9.1