From 6dbefa1e2b6aa9ab52353360405905515793a3a3 Mon Sep 17 00:00:00 2001
From: =?utf8?q?Jos=C3=A9=20Bollo?= <jose.bollo@iot.bzh>
Date: Tue, 8 Nov 2016 11:38:51 +0100
Subject: [PATCH] web-runtime: provide IVI tuning for porter
MIME-Version: 1.0
Content-Type: text/plain; charset=utf8
Content-Transfer-Encoding: 8bit

Added to the environment:

  export QT_WAYLAND_SHELL_INTEGRATION="ivi-shell"

This allows HTML5 applications to run on top of the
IVI-shell.

Note to AGL integrators: this is a temporary patch
that can be removed at the end.

Change-Id: Ic2b5f75327af6cbd1af4c7bd1eeb5cc3a2b743fd
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Signed-off-by: Stephane Desneux <stephane.desneux@iot.bzh>
---
 meta-app-framework/recipes-core/web-runtime/web-runtime/web-runtime | 1 +
 meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb      | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/meta-app-framework/recipes-core/web-runtime/web-runtime/web-runtime b/meta-app-framework/recipes-core/web-runtime/web-runtime/web-runtime
index ca712e155..0b8604439 100755
--- a/meta-app-framework/recipes-core/web-runtime/web-runtime/web-runtime
+++ b/meta-app-framework/recipes-core/web-runtime/web-runtime/web-runtime
@@ -1,2 +1,3 @@
 #!/bin/sh
+export QT_WAYLAND_SHELL_INTEGRATION="ivi-shell"
 exec /usr/bin/qt5/qmlscene "$1" /usr/bin/web-runtime-webkit.qml
diff --git a/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb b/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb
index 9df4dff2d..fa149875c 100644
--- a/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb
+++ b/meta-app-framework/recipes-core/web-runtime/web-runtime_0.1.bb
@@ -7,7 +7,7 @@ LICENSE = "MIT"
 LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
 
 SRC_URI = "\
-	file://web-runtime;md5sum=00cdb6980e03cf8c8f7d60dd978c61d7 \
+	file://web-runtime;md5sum=6114c0bdd20290912a423fa01beb50f0 \
 	file://web-runtime.qml;md5sum=5d6a379e9b7e5654319e5ba638824a58 \
 	file://web-runtime-webkit.qml;md5sum=4daf9df39078634c27a7923d37e82e3d \
 "
-- 
2.16.6