summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGordan Markuš <gordan.markus@pelagicore.com>2017-03-24 10:29:27 +0100
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-10 13:44:53 +0200
commit793f22fb02eaaeac4c582ac8f322c3aabf17f3bd (patch)
tree6ea0cebd5361bd25cdbb963ba33b107f28ec9040
parentff073f04109900fc07bf81e2f1df63c626caf342 (diff)
downloadmeta-qt5-793f22fb02eaaeac4c582ac8f322c3aabf17f3bd.tar.gz
qtwayland: update build without xkbcommon-evdev
Update patch that enables building qtwayland without xkbcommon-evdev. Building qtwayland without xkbcommon-eved with the previous patch resulted in the following error: error: undefined reference to 'xkb_state_mod_name_is_active' Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
-rw-r--r--recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch39
1 files changed, 33 insertions, 6 deletions
diff --git a/recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch b/recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
index e1e978e8..555bb28f 100644
--- a/recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
+++ b/recipes-qt/qt5/qtwayland/0001-fix-build-without-xkbcommon-evdev.patch
@@ -1,13 +1,40 @@
1From c93dbe53e8a1b2203c750a66c7efe6fc9a326903 Mon Sep 17 00:00:00 2001 1From 2b72ad7955fe19abb4a0b4ebb6bc7aa498e454bc Mon Sep 17 00:00:00 2001
2From: Raphael Freudiger <raphael.freudiger@siemens.com> 2From: Raphael Freudiger <laser_b@gmx.ch>
3Date: Thu, 22 Dec 2016 13:54:31 +0100 3Date: Tue, 10 Jan 2017 15:49:55 +0100
4Subject: [PATCH] fix build without xkbcommon-evdev 4Subject: [PATCH] fix build without xkbcommon-evdev
5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit
5 8
6Signed-off-by: Raphael Freudiger <raphael.freudiger@siemens.com> 9Change-Id: I4f52c4ad741fdd7063a18b67f5777b52f03726fe
10Signed-off-by: Raphael Freudiger <laser_b@gmx.ch>
11Signed-off-by: Gordan Markuš <gordan.markus@pelagicore.com>
7--- 12---
13 src/client/client.pro | 2 ++
14 src/compositor/compositor.pro | 2 ++
8 src/compositor/compositor_api/qwaylandkeyboard.cpp | 13 +++++++------ 15 src/compositor/compositor_api/qwaylandkeyboard.cpp | 13 +++++++------
9 1 file changed, 7 insertions(+), 6 deletions(-) 16 3 files changed, 11 insertions(+), 6 deletions(-)
10 17
18diff --git a/src/client/client.pro b/src/client/client.pro
19index 7482cfd..cb3578c 100644
20--- a/src/client/client.pro
21+++ b/src/client/client.pro
22@@ -120,3 +120,5 @@ MODULE_PLUGIN_TYPES = \
23 wayland-decoration-client \
24 wayland-shell-integration
25 load(qt_module)
26+
27+LIBS += -lxkbcommon
28diff --git a/src/compositor/compositor.pro b/src/compositor/compositor.pro
29index dc9000d..4eebfd6 100644
30--- a/src/compositor/compositor.pro
31+++ b/src/compositor/compositor.pro
32@@ -32,3 +32,5 @@ include ($$PWD/extensions/extensions.pri)
33 MODULE_PLUGIN_TYPES = \
34 wayland-graphics-integration-server
35 load(qt_module)
36+
37+LIBS += -lxkbcommon
11diff --git a/src/compositor/compositor_api/qwaylandkeyboard.cpp b/src/compositor/compositor_api/qwaylandkeyboard.cpp 38diff --git a/src/compositor/compositor_api/qwaylandkeyboard.cpp b/src/compositor/compositor_api/qwaylandkeyboard.cpp
12index 55381b4..5c054c6 100644 39index 55381b4..5c054c6 100644
13--- a/src/compositor/compositor_api/qwaylandkeyboard.cpp 40--- a/src/compositor/compositor_api/qwaylandkeyboard.cpp
@@ -40,5 +67,5 @@ index 55381b4..5c054c6 100644
40 { 67 {
41 Q_FOREACH (Resource *resource, resourceMap()) { 68 Q_FOREACH (Resource *resource, resourceMap()) {
42-- 69--
432.1.4 702.9.3
44 71