diff options
author | Mikko Levonmaa <mikko.levonmaa@palm.com> | 2013-03-06 12:20:37 -0800 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2013-05-05 12:56:34 +0200 |
commit | bbaf26aec2f2b64c2d061ab4c81773d569d99d4e (patch) | |
tree | fcfba7b4d9405d451bedbea1d56afdb200159c14 /recipes-qt/qt5/qtbase | |
parent | 92aba5ebafd80830b1ca5b3ff9ad34eea17d47cc (diff) | |
download | meta-qt5-bbaf26aec2f2b64c2d061ab4c81773d569d99d4e.tar.gz |
qtbase: Find wayland-scanner correctly
* Remove silent rules for wayland-scanner
Signed-off-by: Mikko Levonmaa <mikko.levonmaa@palm.com>
Signed-off-by: Martin Jansa <martin.jansa@lge.com>
Diffstat (limited to 'recipes-qt/qt5/qtbase')
-rw-r--r-- | recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | 14 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0012-wayland-scanner-disable-silent-rules.patch | 45 |
2 files changed, 53 insertions, 6 deletions
diff --git a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch index 49244bef..5907490c 100644 --- a/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From f5d5c9778031fbb807753c67133ddda35f9a0e30 Mon Sep 17 00:00:00 2001 | 1 | From ccf2e79173cfd0fee9f1e603107792dd5aa8e775 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 | 3 | Date: Mon, 15 Apr 2013 04:29:32 +0200 |
4 | Subject: [PATCH 01/11] Add linux-oe-g++ platform | 4 | Subject: [PATCH 01/12] Add linux-oe-g++ platform |
5 | 5 | ||
6 | * This qmake.conf unlike other platforms reads most variables from | 6 | * This qmake.conf unlike other platforms reads most variables from |
7 | shell environment, because it's easier for qt recipes to export | 7 | shell environment, because it's easier for qt recipes to export |
@@ -31,12 +31,13 @@ Subject: [PATCH 01/11] Add linux-oe-g++ platform | |||
31 | 31 | ||
32 | Upstream-Status: Pending | 32 | Upstream-Status: Pending |
33 | 33 | ||
34 | Change-Id: Ia0cc6a6b00ec78442d80ed2a3cf40b604588a0f6 | ||
34 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 35 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
35 | --- | 36 | --- |
36 | configure | 54 ++++++++++++++++--- | 37 | configure | 54 ++++++++++++++++--- |
37 | mkspecs/linux-oe-g++/qmake.conf | 39 ++++++++++++++ | 38 | mkspecs/linux-oe-g++/qmake.conf | 40 ++++++++++++++ |
38 | mkspecs/linux-oe-g++/qplatformdefs.h | 100 +++++++++++++++++++++++++++++++++++ | 39 | mkspecs/linux-oe-g++/qplatformdefs.h | 100 +++++++++++++++++++++++++++++++++++ |
39 | 3 files changed, 186 insertions(+), 7 deletions(-) | 40 | 3 files changed, 187 insertions(+), 7 deletions(-) |
40 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf | 41 | create mode 100644 mkspecs/linux-oe-g++/qmake.conf |
41 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h | 42 | create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h |
42 | 43 | ||
@@ -149,10 +150,10 @@ index 89246c8..0ab8eee 100755 | |||
149 | EXTRA_CFLAGS="$EXTRA_CFLAGS -DQMAKE_OPENSOURCE_EDITION" | 150 | EXTRA_CFLAGS="$EXTRA_CFLAGS -DQMAKE_OPENSOURCE_EDITION" |
150 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf | 151 | diff --git a/mkspecs/linux-oe-g++/qmake.conf b/mkspecs/linux-oe-g++/qmake.conf |
151 | new file mode 100644 | 152 | new file mode 100644 |
152 | index 0000000..42966fe | 153 | index 0000000..ca26b10 |
153 | --- /dev/null | 154 | --- /dev/null |
154 | +++ b/mkspecs/linux-oe-g++/qmake.conf | 155 | +++ b/mkspecs/linux-oe-g++/qmake.conf |
155 | @@ -0,0 +1,39 @@ | 156 | @@ -0,0 +1,40 @@ |
156 | +# | 157 | +# |
157 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded | 158 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded |
158 | +# | 159 | +# |
@@ -166,6 +167,7 @@ index 0000000..42966fe | |||
166 | +# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip | 167 | +# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip |
167 | +QMAKE_AR = $(OE_QMAKE_AR) cqs | 168 | +QMAKE_AR = $(OE_QMAKE_AR) cqs |
168 | +QMAKE_STRIP = $(OE_QMAKE_STRIP) | 169 | +QMAKE_STRIP = $(OE_QMAKE_STRIP) |
170 | +QMAKE_WAYLAND_SCANNER = $(OE_QMAKE_WAYLAND_SCANNER) | ||
169 | + | 171 | + |
170 | +include(../common/gcc-base-unix.conf) | 172 | +include(../common/gcc-base-unix.conf) |
171 | + | 173 | + |
diff --git a/recipes-qt/qt5/qtbase/0012-wayland-scanner-disable-silent-rules.patch b/recipes-qt/qt5/qtbase/0012-wayland-scanner-disable-silent-rules.patch new file mode 100644 index 00000000..9431e79e --- /dev/null +++ b/recipes-qt/qt5/qtbase/0012-wayland-scanner-disable-silent-rules.patch | |||
@@ -0,0 +1,45 @@ | |||
1 | From 41a352655485234eda87b150154001ce89496505 Mon Sep 17 00:00:00 2001 | ||
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | ||
3 | Date: Sun, 5 May 2013 11:18:34 +0200 | ||
4 | Subject: [PATCH 12/12] wayland-scanner: disable silent rules | ||
5 | |||
6 | * for some reason "$$qtwayland-server-header.commands" on second line gets expanded as -server-header.commands | ||
7 | |||
8 | Change-Id: I1ffb04c01311f08984bc2a8c1cc92cb963d3e147 | ||
9 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
10 | --- | ||
11 | mkspecs/features/wayland-scanner.prf | 6 +++--- | ||
12 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
13 | |||
14 | diff --git a/mkspecs/features/wayland-scanner.prf b/mkspecs/features/wayland-scanner.prf | ||
15 | index 90e1e0f..0750849 100644 | ||
16 | --- a/mkspecs/features/wayland-scanner.prf | ||
17 | +++ b/mkspecs/features/wayland-scanner.prf | ||
18 | @@ -10,7 +10,7 @@ wayland-server-header.variable_out = HEADERS | ||
19 | wayland-server-header.output = wayland-${QMAKE_FILE_BASE}-server-protocol$${first(QMAKE_EXT_H)} | ||
20 | wayland-server-header.commands = $$QMAKE_WAYLAND_SCANNER server-header < ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT} | ||
21 | |||
22 | -silent:wayland-server-header.commands = @echo Wayland server header ${QMAKE_FILE_IN} && $$wayland-server-header.commands | ||
23 | +#silent:wayland-server-header.commands = @echo Wayland server header ${QMAKE_FILE_IN} && $$wayland-server-header.commands | ||
24 | QMAKE_EXTRA_COMPILERS += wayland-server-header | ||
25 | |||
26 | wayland-client-header.name = wayland ${QMAKE_FILE_BASE} | ||
27 | @@ -19,7 +19,7 @@ wayland-client-header.variable_out = HEADERS | ||
28 | wayland-client-header.output = wayland-${QMAKE_FILE_BASE}-client-protocol$${first(QMAKE_EXT_H)} | ||
29 | wayland-client-header.commands = $$QMAKE_WAYLAND_SCANNER client-header < ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT} | ||
30 | |||
31 | -silent:wayland-client-header.commands = @echo Wayland client header ${QMAKE_FILE_IN} && $$wayland-client-header.commands | ||
32 | +#silent:wayland-client-header.commands = @echo Wayland client header ${QMAKE_FILE_IN} && $$wayland-client-header.commands | ||
33 | QMAKE_EXTRA_COMPILERS += wayland-client-header | ||
34 | |||
35 | wayland-code.name = wayland ${QMAKE_FILE_BASE} | ||
36 | @@ -28,5 +28,5 @@ wayland-code.variable_out = SOURCES | ||
37 | wayland-code.output = wayland-${QMAKE_FILE_BASE}-protocol.c | ||
38 | wayland-code.commands = $$QMAKE_WAYLAND_SCANNER code < ${QMAKE_FILE_IN} > ${QMAKE_FILE_OUT} | ||
39 | |||
40 | -silent:wayland-code.commands = @echo Wayland code header ${QMAKE_FILE_IN} && $$wayland-code.commands | ||
41 | +#silent:wayland-code.commands = @echo Wayland code header ${QMAKE_FILE_IN} && $$wayland-code.commands | ||
42 | QMAKE_EXTRA_COMPILERS += wayland-code | ||
43 | -- | ||
44 | 1.8.2.1 | ||
45 | |||