aboutsummaryrefslogtreecommitdiffstats
path: root/meta-ivi-demo/recipes-qt/qt5/qtwayland/0018-packaging-enable-xdg-shell-at-runtime.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta-ivi-demo/recipes-qt/qt5/qtwayland/0018-packaging-enable-xdg-shell-at-runtime.patch')
-rw-r--r--meta-ivi-demo/recipes-qt/qt5/qtwayland/0018-packaging-enable-xdg-shell-at-runtime.patch31
1 files changed, 31 insertions, 0 deletions
diff --git a/meta-ivi-demo/recipes-qt/qt5/qtwayland/0018-packaging-enable-xdg-shell-at-runtime.patch b/meta-ivi-demo/recipes-qt/qt5/qtwayland/0018-packaging-enable-xdg-shell-at-runtime.patch
new file mode 100644
index 0000000..bca61b5
--- /dev/null
+++ b/meta-ivi-demo/recipes-qt/qt5/qtwayland/0018-packaging-enable-xdg-shell-at-runtime.patch
@@ -0,0 +1,31 @@
+From 9617c349a212d5407087daf4f4a2386bce94ecc1 Mon Sep 17 00:00:00 2001
+From: Philippe Coval <philippe.coval@open.eurogiciel.org>
+Date: Thu, 12 Jun 2014 11:55:29 +0200
+Subject: [PATCH 18/21] packaging: enable xdg-shell at runtime
+
+Change-Id: Iffbae496f1e09c8fa44a28d4eb515678e3bbb297
+Bug-Tizen: TIVI-3113/part
+Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
+---
+ packaging/qt5-qtwayland.spec | 5 +++++
+ 1 file changed, 5 insertions(+)
+
+diff --git a/packaging/qt5-qtwayland.spec b/packaging/qt5-qtwayland.spec
+index cba18e2..ff32185 100644
+--- a/packaging/qt5-qtwayland.spec
++++ b/packaging/qt5-qtwayland.spec
+@@ -97,6 +97,11 @@ rm -rf %{buildroot}
+
+ %post
+ /sbin/ldconfig
++
++f="/etc/profile.d/qt.sh"
++grep QT_WAYLAND_USE_XDG_SHELL $f \
++ || echo "QT_WAYLAND_USE_XDG_SHELL='defined'; export QT_WAYLAND_USE_XDG_SHELL" >> $f
++
+ %postun
+ /sbin/ldconfig
+
+--
+1.9.1
+