All of lore.kernel.org
 help / color / mirror / Atom feed
* [morty/master][PATCH 0/4] Enable thermostat demo for QT5
@ 2018-02-06 20:15 Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 1/4] packagegroup-arago-tisdk-matrix: add thermostat demo back to MATRIX_QT_APPS Eric Ruei
                   ` (3 more replies)
  0 siblings, 4 replies; 7+ messages in thread
From: Eric Ruei @ 2018-02-06 20:15 UTC (permalink / raw)
  To: meta-arago

Eric Ruei (4):
  packagegroup-arago-tisdk-matrix: add thermostat demo back to
    MATRIX_QT_APPS
  packagegroup-arago-tisdk-qte(-sdk-host): move qt-tstat to QT_DEMOS
  ti-tisdk-makefile: add qt-tstat to MAKEFILES_MATRIX_GUI
    unconditionally
  qt-tstat: pickup the latest version for both Qt4/Qt5 support

 .../packagegroup-arago-tisdk-matrix.bb              |  4 ++--
 .../packagegroup-arago-tisdk-qte-sdk-host.bb        |  5 ++---
 .../packagegroups/packagegroup-arago-tisdk-qte.bb   |  5 ++---
 .../ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb      |  4 ++--
 .../thermostat-demo/qt-tstat/qt_tstat.sh            | 13 +++++++++++++
 .../recipes-apps/thermostat-demo/qt-tstat_2.0.bb    | 21 +++++++++++----------
 6 files changed, 32 insertions(+), 20 deletions(-)
 create mode 100755 meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh

-- 
1.9.1



^ permalink raw reply	[flat|nested] 7+ messages in thread

* [morty/master][PATCH 1/4] packagegroup-arago-tisdk-matrix: add thermostat demo back to MATRIX_QT_APPS
  2018-02-06 20:15 [morty/master][PATCH 0/4] Enable thermostat demo for QT5 Eric Ruei
@ 2018-02-06 20:15 ` Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 2/4] packagegroup-arago-tisdk-qte(-sdk-host): move qt-tstat to QT_DEMOS Eric Ruei
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 7+ messages in thread
From: Eric Ruei @ 2018-02-06 20:15 UTC (permalink / raw)
  To: meta-arago

note: The thermostat demo was removed from MATRIX_QT_APPS because it was for
      Qt4 only

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb     | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
index 0cae08d..f1c3083 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-matrix.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to include Matrix v2"
 LICENSE = "MIT"
-PR = "r68"
+PR = "r69"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -31,9 +31,9 @@ MATRIX_COMMON_APPS = "              \
     ${@bb.utils.contains('DISTRO_FEATURES', 'wayland', 'matrix-gui-weston-terminal-demo', '', d)} \
 "
 
-#    matrix-gui-thermostat-demo
 MATRIX_QT_APPS = " \
     matrix-gui-qt5-demos \
+    matrix-gui-thermostat-demo \
 "
 
 MATRIX_TOUCH_APPS = " \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [morty/master][PATCH 2/4] packagegroup-arago-tisdk-qte(-sdk-host): move qt-tstat to QT_DEMOS
  2018-02-06 20:15 [morty/master][PATCH 0/4] Enable thermostat demo for QT5 Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 1/4] packagegroup-arago-tisdk-matrix: add thermostat demo back to MATRIX_QT_APPS Eric Ruei
@ 2018-02-06 20:15 ` Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 3/4] ti-tisdk-makefile: add qt-tstat to MAKEFILES_MATRIX_GUI unconditionally Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support Eric Ruei
  3 siblings, 0 replies; 7+ messages in thread
From: Eric Ruei @ 2018-02-06 20:15 UTC (permalink / raw)
  To: meta-arago

qt-tstat has been enhanced to support both Qt4 and Qt5

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb           | 5 ++---
 .../recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb       | 5 ++---
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb
index 5d596f8..1cef6bb 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte-sdk-host.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to add Qt embedded related sources into the sdk"
 LICENSE = "MIT"
-PR = "r7"
+PR = "r8"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -8,12 +8,11 @@ inherit packagegroup
 
 QT4_DEMOS = "\
     ${@base_conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles', 'quick-playground-src', '', d)} \
-    qt-tstat-src \
 "
 
 QT_DEMOS = "\
+    qt-tstat-src \
 "
-#    qt-tstat-src 
 
 RDEPENDS_${PN} = "\
     ${@base_conditional('QT_PROVIDER', 'qt5', '', "${QT4_DEMOS}", d)} \
diff --git a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb
index f6f7468..4215653 100644
--- a/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb
+++ b/meta-arago-distro/recipes-core/packagegroups/packagegroup-arago-tisdk-qte.bb
@@ -1,6 +1,6 @@
 DESCRIPTION = "Task to add Qt embedded related packages"
 LICENSE = "MIT"
-PR = "r17"
+PR = "r18"
 
 PACKAGE_ARCH = "${MACHINE_ARCH}"
 
@@ -10,7 +10,6 @@ QT4_DEMOS = "\
     qt4-embedded-examples \
     qt4-embedded-demos \
     ${@base_conditional('ARAGO_QT_PROVIDER', 'qt4-embedded-gles', 'quick-playground', '', d)} \
-    qt-tstat \
 "
 
 QT5_DEMOS = "\
@@ -29,8 +28,8 @@ QT5_DEMOS = "\
 "
 
 QT_DEMOS = "\
+    qt-tstat \
 "
-#    qt-tstat 
 
 RDEPENDS_${PN} = "\
     packagegroup-arago-qte \
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [morty/master][PATCH 3/4] ti-tisdk-makefile: add qt-tstat to MAKEFILES_MATRIX_GUI unconditionally
  2018-02-06 20:15 [morty/master][PATCH 0/4] Enable thermostat demo for QT5 Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 1/4] packagegroup-arago-tisdk-matrix: add thermostat demo back to MATRIX_QT_APPS Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 2/4] packagegroup-arago-tisdk-qte(-sdk-host): move qt-tstat to QT_DEMOS Eric Ruei
@ 2018-02-06 20:15 ` Eric Ruei
  2018-02-06 20:15 ` [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support Eric Ruei
  3 siblings, 0 replies; 7+ messages in thread
From: Eric Ruei @ 2018-02-06 20:15 UTC (permalink / raw)
  To: meta-arago

qt-tstat has been enhanced to support both Qt4 and Qt5

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb          | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
index 29e74b0..0f7670c 100644
--- a/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
+++ b/meta-arago-distro/recipes-tisdk/ti-tisdk-makefile/ti-tisdk-makefile_1.0.bb
@@ -50,11 +50,11 @@ SRC_URI = "\
     file://Makefile_barcode-roi \
 "
 
-PR = "r84"
+PR = "r85"
 
 MAKEFILES_MATRIX_GUI = "matrix-gui-browser \
                         refresh-screen \
-                        ${@base_conditional('QT_PROVIDER', 'qt5', '', 'qt-tstat', d)} \
+                        qt-tstat \
 "
 
 MAKEFILES_MATRIX_GUI_keystone = ""
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support
  2018-02-06 20:15 [morty/master][PATCH 0/4] Enable thermostat demo for QT5 Eric Ruei
                   ` (2 preceding siblings ...)
  2018-02-06 20:15 ` [morty/master][PATCH 3/4] ti-tisdk-makefile: add qt-tstat to MAKEFILES_MATRIX_GUI unconditionally Eric Ruei
@ 2018-02-06 20:15 ` Eric Ruei
  2018-02-07 17:29   ` Denys Dmytriyenko
  3 siblings, 1 reply; 7+ messages in thread
From: Eric Ruei @ 2018-02-06 20:15 UTC (permalink / raw)
  To: meta-arago

- update the git URL and SRCREV
- select matrix desktop file based on QT vesion
- add qt-tstat.sh to force the QT5 demo to run as eglfs full-screen app

Signed-off-by: Eric Ruei <e-ruei1@ti.com>
---
 .../thermostat-demo/qt-tstat/qt_tstat.sh            | 13 +++++++++++++
 .../recipes-apps/thermostat-demo/qt-tstat_2.0.bb    | 21 +++++++++++----------
 2 files changed, 24 insertions(+), 10 deletions(-)
 create mode 100755 meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh

diff --git a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh
new file mode 100755
index 0000000..01ca4f9
--- /dev/null
+++ b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh
@@ -0,0 +1,13 @@
+#!/bin/bash
+
+/etc/init.d/weston stop
+sleep 1
+
+echo 0 > /sys/class/graphics/fbcon/cursor_blink
+
+ThermostatDemo -platform eglfs
+
+echo 1 > /sys/class/graphics/fbcon/cursor_blink
+
+/etc/init.d/weston start
+sleep 1
diff --git a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
index 494d582..acb0720 100644
--- a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
+++ b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
@@ -12,31 +12,32 @@ require recipes-core/matrix/matrix-gui-paths.inc
 
 inherit qt-provider
 
-PR = "r9"
+PR = "r10"
 
 DEPENDS += "${QT_DEPENDS_SVG} ${QT_DEPENDS_SCRIPT}"
 
 BRANCH ?= "master"
-SRCREV = "2512773c2d9da989e6a42c1e90b2b34496713072"
+SRCREV = "db7959b200e0ecbe59ff1c867251b1a8b17bd567"
 
-SRC_URI = " \
-	git://gitorious.org/thermostat-demo/thermostat-demo.git;protocol=git \
-"
-
-SRC_URI += "${@base_conditional('QT_PROVIDER', 'qt5', 'file://0002-Replace-QtGui-with-QtWidgets-per-Qt5-migration-guide.patch \
-	file://0003-Replace-fromAscii-toAscii-with-fromLatin1-toLatin1-p.patch', '', d)}"
+SRC_URI = "git://git.ti.com/apps/thermostat-demo.git;protocol=git;branch=${BRANCH} \
+	   file://qt_tstat.sh"
 
 S = "${WORKDIR}/git/"
 
+DESKTOP_FILE = "${@base_conditional('QT_PROVIDER', 'qt5', 'thermostat_demo_qt5.desktop', 'thermostat_demo.desktop', d)}"
+
+
 do_install() {
 	install -d ${D}/usr/bin
 	install -m 0755 ${B}/ThermostatDemo ${D}/usr/bin/ThermostatDemo
+	install ${WORKDIR}/qt_tstat.sh ${D}/usr/bin/qt_tstat.sh
 	install -d ${D}${MATRIX_APP_DIR}/qt_tstat
-	cp -rf ${S}/matrix-files/*  ${D}${MATRIX_APP_DIR}/qt_tstat
+	install ${S}/matrix-files/desc_thermostat_demo.html  ${D}${MATRIX_APP_DIR}/qt_tstat
+	install ${S}/matrix-files/${DESKTOP_FILE}  ${D}${MATRIX_APP_DIR}/qt_tstat/thermostat_demo.desktop
 }
 
 PACKAGES += "matrix-gui-thermostat-demo"
 
-RDEPENDS_matrix-gui-thermostat-demo += "matrix-gui-apps-images matrix-gui-submenus-qt4"
+RDEPENDS_matrix-gui-thermostat-demo += "matrix-gui-apps-images ${@base_conditional('QT_PROVIDER', 'qt5', 'matrix-gui-submenus-qt5', 'matrix-gui-submenus-qt4', d)}"
 
 FILES_matrix-gui-thermostat-demo += "${MATRIX_APP_DIR}/*"
-- 
1.9.1



^ permalink raw reply related	[flat|nested] 7+ messages in thread

* Re: [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support
  2018-02-06 20:15 ` [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support Eric Ruei
@ 2018-02-07 17:29   ` Denys Dmytriyenko
  2018-02-08 14:28     ` Ruei, Eric
  0 siblings, 1 reply; 7+ messages in thread
From: Denys Dmytriyenko @ 2018-02-07 17:29 UTC (permalink / raw)
  To: Eric Ruei; +Cc: meta-arago

This should be the first patch in the series, not last.

Also, morty is pretty much done.


On Tue, Feb 06, 2018 at 03:15:50PM -0500, Eric Ruei wrote:
> - update the git URL and SRCREV
> - select matrix desktop file based on QT vesion
> - add qt-tstat.sh to force the QT5 demo to run as eglfs full-screen app

Why is it eglfs-forced?


> Signed-off-by: Eric Ruei <e-ruei1@ti.com>
> ---
>  .../thermostat-demo/qt-tstat/qt_tstat.sh            | 13 +++++++++++++
>  .../recipes-apps/thermostat-demo/qt-tstat_2.0.bb    | 21 +++++++++++----------
>  2 files changed, 24 insertions(+), 10 deletions(-)
>  create mode 100755 meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh
> 
> diff --git a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh
> new file mode 100755
> index 0000000..01ca4f9
> --- /dev/null
> +++ b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh
> @@ -0,0 +1,13 @@
> +#!/bin/bash
> +
> +/etc/init.d/weston stop
> +sleep 1
> +
> +echo 0 > /sys/class/graphics/fbcon/cursor_blink
> +
> +ThermostatDemo -platform eglfs
> +
> +echo 1 > /sys/class/graphics/fbcon/cursor_blink
> +
> +/etc/init.d/weston start
> +sleep 1
> diff --git a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
> index 494d582..acb0720 100644
> --- a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
> +++ b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
> @@ -12,31 +12,32 @@ require recipes-core/matrix/matrix-gui-paths.inc
>  
>  inherit qt-provider
>  
> -PR = "r9"
> +PR = "r10"
>  
>  DEPENDS += "${QT_DEPENDS_SVG} ${QT_DEPENDS_SCRIPT}"
>  
>  BRANCH ?= "master"
> -SRCREV = "2512773c2d9da989e6a42c1e90b2b34496713072"
> +SRCREV = "db7959b200e0ecbe59ff1c867251b1a8b17bd567"
>  
> -SRC_URI = " \
> -	git://gitorious.org/thermostat-demo/thermostat-demo.git;protocol=git \
> -"
> -
> -SRC_URI += "${@base_conditional('QT_PROVIDER', 'qt5', 'file://0002-Replace-QtGui-with-QtWidgets-per-Qt5-migration-guide.patch \
> -	file://0003-Replace-fromAscii-toAscii-with-fromLatin1-toLatin1-p.patch', '', d)}"
> +SRC_URI = "git://git.ti.com/apps/thermostat-demo.git;protocol=git;branch=${BRANCH} \
> +	   file://qt_tstat.sh"
>  
>  S = "${WORKDIR}/git/"
>  
> +DESKTOP_FILE = "${@base_conditional('QT_PROVIDER', 'qt5', 'thermostat_demo_qt5.desktop', 'thermostat_demo.desktop', d)}"
> +
> +
>  do_install() {
>  	install -d ${D}/usr/bin
>  	install -m 0755 ${B}/ThermostatDemo ${D}/usr/bin/ThermostatDemo
> +	install ${WORKDIR}/qt_tstat.sh ${D}/usr/bin/qt_tstat.sh
>  	install -d ${D}${MATRIX_APP_DIR}/qt_tstat
> -	cp -rf ${S}/matrix-files/*  ${D}${MATRIX_APP_DIR}/qt_tstat
> +	install ${S}/matrix-files/desc_thermostat_demo.html  ${D}${MATRIX_APP_DIR}/qt_tstat
> +	install ${S}/matrix-files/${DESKTOP_FILE}  ${D}${MATRIX_APP_DIR}/qt_tstat/thermostat_demo.desktop
>  }
>  
>  PACKAGES += "matrix-gui-thermostat-demo"
>  
> -RDEPENDS_matrix-gui-thermostat-demo += "matrix-gui-apps-images matrix-gui-submenus-qt4"
> +RDEPENDS_matrix-gui-thermostat-demo += "matrix-gui-apps-images ${@base_conditional('QT_PROVIDER', 'qt5', 'matrix-gui-submenus-qt5', 'matrix-gui-submenus-qt4', d)}"
>  
>  FILES_matrix-gui-thermostat-demo += "${MATRIX_APP_DIR}/*"
> -- 
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support
  2018-02-07 17:29   ` Denys Dmytriyenko
@ 2018-02-08 14:28     ` Ruei, Eric
  0 siblings, 0 replies; 7+ messages in thread
From: Ruei, Eric @ 2018-02-08 14:28 UTC (permalink / raw)
  To: Dmytriyenko, Denys; +Cc: meta-arago

Hi, Denys:

Should I resubmit those patches in right order to rocko/master?

Best regards,

Eric


-----Original Message-----
From: Dmytriyenko, Denys 
Sent: Wednesday, February 07, 2018 12:29 PM
To: Ruei, Eric
Cc: meta-arago@arago-project.org
Subject: Re: [meta-arago] [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support

This should be the first patch in the series, not last.

Also, morty is pretty much done.


On Tue, Feb 06, 2018 at 03:15:50PM -0500, Eric Ruei wrote:
> - update the git URL and SRCREV
> - select matrix desktop file based on QT vesion
> - add qt-tstat.sh to force the QT5 demo to run as eglfs full-screen 
> app

Why is it eglfs-forced?


> Signed-off-by: Eric Ruei <e-ruei1@ti.com>
> ---
>  .../thermostat-demo/qt-tstat/qt_tstat.sh            | 13 +++++++++++++
>  .../recipes-apps/thermostat-demo/qt-tstat_2.0.bb    | 21 +++++++++++----------
>  2 files changed, 24 insertions(+), 10 deletions(-)  create mode 
> 100755 
> meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh
> 
> diff --git 
> a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh 
> b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat.sh
> new file mode 100755
> index 0000000..01ca4f9
> --- /dev/null
> +++ b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat/qt_tstat
> +++ .sh
> @@ -0,0 +1,13 @@
> +#!/bin/bash
> +
> +/etc/init.d/weston stop
> +sleep 1
> +
> +echo 0 > /sys/class/graphics/fbcon/cursor_blink
> +
> +ThermostatDemo -platform eglfs
> +
> +echo 1 > /sys/class/graphics/fbcon/cursor_blink
> +
> +/etc/init.d/weston start
> +sleep 1
> diff --git 
> a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb 
> b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
> index 494d582..acb0720 100644
> --- a/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
> +++ b/meta-arago-extras/recipes-apps/thermostat-demo/qt-tstat_2.0.bb
> @@ -12,31 +12,32 @@ require recipes-core/matrix/matrix-gui-paths.inc
>  
>  inherit qt-provider
>  
> -PR = "r9"
> +PR = "r10"
>  
>  DEPENDS += "${QT_DEPENDS_SVG} ${QT_DEPENDS_SCRIPT}"
>  
>  BRANCH ?= "master"
> -SRCREV = "2512773c2d9da989e6a42c1e90b2b34496713072"
> +SRCREV = "db7959b200e0ecbe59ff1c867251b1a8b17bd567"
>  
> -SRC_URI = " \
> -	git://gitorious.org/thermostat-demo/thermostat-demo.git;protocol=git \
> -"
> -
> -SRC_URI += "${@base_conditional('QT_PROVIDER', 'qt5', 'file://0002-Replace-QtGui-with-QtWidgets-per-Qt5-migration-guide.patch \
> -	file://0003-Replace-fromAscii-toAscii-with-fromLatin1-toLatin1-p.patch', '', d)}"
> +SRC_URI = "git://git.ti.com/apps/thermostat-demo.git;protocol=git;branch=${BRANCH} \
> +	   file://qt_tstat.sh"
>  
>  S = "${WORKDIR}/git/"
>  
> +DESKTOP_FILE = "${@base_conditional('QT_PROVIDER', 'qt5', 'thermostat_demo_qt5.desktop', 'thermostat_demo.desktop', d)}"
> +
> +
>  do_install() {
>  	install -d ${D}/usr/bin
>  	install -m 0755 ${B}/ThermostatDemo ${D}/usr/bin/ThermostatDemo
> +	install ${WORKDIR}/qt_tstat.sh ${D}/usr/bin/qt_tstat.sh
>  	install -d ${D}${MATRIX_APP_DIR}/qt_tstat
> -	cp -rf ${S}/matrix-files/*  ${D}${MATRIX_APP_DIR}/qt_tstat
> +	install ${S}/matrix-files/desc_thermostat_demo.html  ${D}${MATRIX_APP_DIR}/qt_tstat
> +	install ${S}/matrix-files/${DESKTOP_FILE}  
> +${D}${MATRIX_APP_DIR}/qt_tstat/thermostat_demo.desktop
>  }
>  
>  PACKAGES += "matrix-gui-thermostat-demo"
>  
> -RDEPENDS_matrix-gui-thermostat-demo += "matrix-gui-apps-images matrix-gui-submenus-qt4"
> +RDEPENDS_matrix-gui-thermostat-demo += "matrix-gui-apps-images ${@base_conditional('QT_PROVIDER', 'qt5', 'matrix-gui-submenus-qt5', 'matrix-gui-submenus-qt4', d)}"
>  
>  FILES_matrix-gui-thermostat-demo += "${MATRIX_APP_DIR}/*"
> --
> 1.9.1
> 
> _______________________________________________
> meta-arago mailing list
> meta-arago@arago-project.org
> http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2018-02-08 14:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-06 20:15 [morty/master][PATCH 0/4] Enable thermostat demo for QT5 Eric Ruei
2018-02-06 20:15 ` [morty/master][PATCH 1/4] packagegroup-arago-tisdk-matrix: add thermostat demo back to MATRIX_QT_APPS Eric Ruei
2018-02-06 20:15 ` [morty/master][PATCH 2/4] packagegroup-arago-tisdk-qte(-sdk-host): move qt-tstat to QT_DEMOS Eric Ruei
2018-02-06 20:15 ` [morty/master][PATCH 3/4] ti-tisdk-makefile: add qt-tstat to MAKEFILES_MATRIX_GUI unconditionally Eric Ruei
2018-02-06 20:15 ` [morty/master][PATCH 4/4] qt-tstat: pickup the latest version for both Qt4/Qt5 support Eric Ruei
2018-02-07 17:29   ` Denys Dmytriyenko
2018-02-08 14:28     ` Ruei, Eric

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.