diff options
Diffstat (limited to 'recipes-qt/qt5/qtbase-5.0.2')
| -rw-r--r-- | recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch | 14 | ||||
| -rw-r--r-- | recipes-qt/qt5/qtbase-5.0.2/0012-wayland-scanner-disable-silent-rules.patch | 45 |
2 files changed, 53 insertions, 6 deletions
diff --git a/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch b/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch index 7a6b1e74..1cd7dd60 100644 --- a/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch +++ b/recipes-qt/qt5/qtbase-5.0.2/0001-Add-linux-oe-g-platform.patch | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | From 9de9d0ccfacbac39d3eb171efe3e8c74a2417ae3 Mon Sep 17 00:00:00 2001 | 1 | From 231e94888c257da84bd39b138f5010c255387ae3 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: I464fe8f17fa4ed4c80165183daf79b08fc491697 | ||
| 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 2ea1ea4..6db4577 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-5.0.2/0012-wayland-scanner-disable-silent-rules.patch b/recipes-qt/qt5/qtbase-5.0.2/0012-wayland-scanner-disable-silent-rules.patch new file mode 100644 index 00000000..1d2d35e5 --- /dev/null +++ b/recipes-qt/qt5/qtbase-5.0.2/0012-wayland-scanner-disable-silent-rules.patch | |||
| @@ -0,0 +1,45 @@ | |||
| 1 | From a74a1b5bc86553863b8dcbea7a7fde5642e73115 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 | |||
