aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-qt
diff options
context:
space:
mode:
authorMartin Jansa <Martin.Jansa@gmail.com>2015-08-24 15:01:56 +0200
committerMartin Jansa <Martin.Jansa@gmail.com>2015-08-25 11:56:33 +0200
commit44d180c09346cb5b04636e19a41a7f0cc3b3c32e (patch)
tree1f1d8b4daf6b1f964df7c87207a77e13f2659c84 /recipes-qt
parent40b7a93a3c6cf05136c606824c1cea848b75bcb6 (diff)
qtbase: refresh patches
* based on b5.5.0 branches in https://github.com/meta-qt5/qtbase Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'recipes-qt')
-rw-r--r--recipes-qt/qt5/nativesdk-qtbase_git.bb8
-rw-r--r--recipes-qt/qt5/qtbase-native_git.bb6
-rw-r--r--recipes-qt/qt5/qtbase/0001-Add-linux-oe-g-platform.patch16
-rw-r--r--recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch8
-rw-r--r--recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch16
-rw-r--r--recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch6
-rw-r--r--recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch6
-rw-r--r--recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch10
-rw-r--r--recipes-qt/qt5/qtbase/0007-QOpenGLPaintDevice-sub-area-support.patch (renamed from recipes-qt/qt5/qtbase/0008-QOpenGLPaintDevice-sub-area-support.patch)6
-rw-r--r--recipes-qt/qt5/qtbase/0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch72
-rw-r--r--recipes-qt/qt5/qtbase/0008-Always-build-uic.patch (renamed from recipes-qt/qt5/qtbase/0009-Always-build-uic.patch)6
-rw-r--r--recipes-qt/qt5/qtbase/0008-qmake-don-t-build-it-in-configure-but-allow-to-build.patch (renamed from recipes-qt/qt5/qtbase/0009-qmake-don-t-build-it-in-configure-but-allow-to-build.patch)16
-rw-r--r--recipes-qt/qt5/qtbase/0009-Add-external-hostbindir-option-for-native-sdk.patch (renamed from recipes-qt/qt5/qtbase/0010-Add-external-hostbindir-option-for-native-sdk.patch)14
-rw-r--r--recipes-qt/qt5/qtbase/0009-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch (renamed from recipes-qt/qt5/qtbase/0014-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch)7
-rw-r--r--recipes-qt/qt5/qtbase/0010-configure-preserve-built-qmake-and-swap-with-native-.patch (renamed from recipes-qt/qt5/qtbase/0009-configure-preserve-built-qmake-and-swap-with-native-.patch)11
-rw-r--r--recipes-qt/qt5/qtbase/0012-Set-paths-for-target-properly.patch72
-rw-r--r--recipes-qt/qt5/qtbase_git.bb6
17 files changed, 74 insertions, 212 deletions
diff --git a/recipes-qt/qt5/nativesdk-qtbase_git.bb b/recipes-qt/qt5/nativesdk-qtbase_git.bb
index 0b3e87df..28e6d09e 100644
--- a/recipes-qt/qt5/nativesdk-qtbase_git.bb
+++ b/recipes-qt/qt5/nativesdk-qtbase_git.bb
@@ -27,18 +27,18 @@ SRC_URI += "\
file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
file://0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
file://0006-configure-bump-path-length-from-256-to-512-character.patch \
- file://0008-QOpenGLPaintDevice-sub-area-support.patch \
+ file://0007-QOpenGLPaintDevice-sub-area-support.patch \
"
# common for qtbase-native and nativesdk-qtbase
SRC_URI += " \
- file://0009-Always-build-uic.patch \
- file://0010-Add-external-hostbindir-option-for-native-sdk.patch \
+ file://0008-Always-build-uic.patch \
+ file://0009-Add-external-hostbindir-option-for-native-sdk.patch \
"
# specific for nativesdk-qtbase
SRC_URI += " \
- file://0009-configure-preserve-built-qmake-and-swap-with-native-.patch \
+ file://0010-configure-preserve-built-qmake-and-swap-with-native-.patch \
"
# CMake's toolchain configuration of nativesdk-qtbase
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb
index ebd72805..e449b019 100644
--- a/recipes-qt/qt5/qtbase-native_git.bb
+++ b/recipes-qt/qt5/qtbase-native_git.bb
@@ -23,13 +23,13 @@ SRC_URI += "\
file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
file://0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
file://0006-configure-bump-path-length-from-256-to-512-character.patch \
- file://0008-QOpenGLPaintDevice-sub-area-support.patch \
+ file://0007-QOpenGLPaintDevice-sub-area-support.patch \
"
# common for qtbase-native and nativesdk-qtbase
SRC_URI += " \
- file://0009-Always-build-uic.patch \
- file://0010-Add-external-hostbindir-option-for-native-sdk.patch \
+ file://0008-Always-build-uic.patch \
+ file://0009-Add-external-hostbindir-option-for-native-sdk.patch \
"
CLEANBROKEN = "1"
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 1997d0db..568d2a40 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 @@
-From b8b9732948ede2b27304eed7f1d78aed16a4eeb7 Mon Sep 17 00:00:00 2001
+From de9a457dacd9388e8ef145fce9cf4e1e1da6468b Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Mon, 15 Apr 2013 04:29:32 +0200
-Subject: [PATCH 1/7] Add linux-oe-g++ platform
+Subject: [PATCH 01/10] Add linux-oe-g++ platform
* This qmake.conf unlike other platforms reads most variables from
shell environment, because it's easier for qt recipes to export
@@ -52,7 +52,7 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
create mode 100644 mkspecs/linux-oe-g++/qplatformdefs.h
diff --git a/configure b/configure
-index 7251e8e..8093782 100755
+index 8a4c89e..dfbb111 100755
--- a/configure
+++ b/configure
@@ -342,6 +342,16 @@ getQMakeConf()
@@ -120,7 +120,7 @@ index 7251e8e..8093782 100755
fi'`
eval "$cmd"
done
-@@ -3335,7 +3345,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then
+@@ -3337,7 +3347,7 @@ if [ "$XPLATFORM_MAC" = "yes" ]; then
[ "$CFG_QGTKSTYLE" = "auto" ] && CFG_QGTKSTYLE=no
fi
@@ -129,7 +129,7 @@ index 7251e8e..8093782 100755
TEST_COMPILER=$QMAKE_CONF_COMPILER
-@@ -3392,7 +3402,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then
+@@ -3394,7 +3404,7 @@ if [ "$XPLATFORM_SYMBIAN_SBSV2" = "no" ]; then
exit 1
fi
fi
@@ -138,7 +138,7 @@ index 7251e8e..8093782 100755
GCC_MACHINE_DUMP=
case "$TEST_COMPILER" in *g++) GCC_MACHINE_DUMP=$($TEST_COMPILER -dumpmachine);; esac
-@@ -3894,6 +3904,14 @@ setBootstrapVariable()
+@@ -3896,6 +3906,14 @@ setBootstrapVariable()
getQMakeConf "$1" | echo ${2-$1} = `if [ -n "$3" ]; then sed "$3"; else cat; fi` >> "$mkfile"
}
@@ -153,7 +153,7 @@ index 7251e8e..8093782 100755
# build qmake
if true; then ###[ '!' -f "$outpath/bin/qmake" ];
echo "Creating qmake..."
-@@ -3932,14 +3950,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
+@@ -3934,14 +3952,14 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
fi
[ "$CFG_SILENT" = "yes" ] && CC_TRANSFORM='s,^,\@,' || CC_TRANSFORM=
@@ -348,5 +348,5 @@ index 0000000..dd12003
+
+#endif // QPLATFORMDEFS_H
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
index 93571abd..57275176 100644
--- a/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
+++ b/recipes-qt/qt5/qtbase/0002-qlibraryinfo-allow-to-set-qt.conf-from-the-outside-u.patch
@@ -1,8 +1,8 @@
-From c8d9a59b03bf53838118f0ddf599d554a4fcf4c6 Mon Sep 17 00:00:00 2001
+From 7ca620bb9f03ddc8536ac3c45b485cc83603f1c8 Mon Sep 17 00:00:00 2001
From: Holger Freyther <zecke@selfish.org>
Date: Wed, 26 Sep 2012 17:22:30 +0200
-Subject: [PATCH 2/7] qlibraryinfo: allow to set qt.conf from the outside using
- the environment
+Subject: [PATCH 02/10] qlibraryinfo: allow to set qt.conf from the outside
+ using the environment
Allow to set a qt.conf from the outside using the environment. This allows
to inject new prefixes and other paths into qmake. This is needed when using
@@ -35,5 +35,5 @@ index 2912e68..f663c88 100644
return new QSettings(qtconfig, QSettings::IniFormat);
#ifdef QT_BUILD_QMAKE
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
index 4a8cdbbd..c44611d5 100644
--- a/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
+++ b/recipes-qt/qt5/qtbase/0003-Add-external-hostbindir-option.patch
@@ -1,7 +1,7 @@
-From d2212dd3c5acf7d3541f19470e688095a20d956c Mon Sep 17 00:00:00 2001
+From 0ac23b38794bd4580428e11b2cf1c88eb7f410f3 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 6 Apr 2013 13:15:07 +0200
-Subject: Add -external-hostbindir option
+Subject: [PATCH 03/10] Add -external-hostbindir option
* when cross-compiling it's sometimes useful to use existing tools from machine
(or in OpenEmbedded built with separate native recipe) when building for target
@@ -37,7 +37,7 @@ Conflicts:
7 files changed, 37 insertions(+), 12 deletions(-)
diff --git a/configure b/configure
-index 43c4dab..ffb69df 100755
+index dfbb111..548dd0d 100755
--- a/configure
+++ b/configure
@@ -806,6 +806,7 @@ QT_HOST_BINS=
@@ -77,7 +77,7 @@ index 43c4dab..ffb69df 100755
Configure options:
The defaults (*) are usually acceptable. A plus (+) denotes a default value
-@@ -3095,6 +3104,11 @@ fi
+@@ -3097,6 +3106,11 @@ fi
# command line and environment validation
#-------------------------------------------------------------------------------
@@ -125,7 +125,7 @@ index 1d3e88c..9b26adf 100644
!host_build|!force_bootstrap: MODULE_DEPENDS = $$replace(QT, -private$, _private)
diff --git a/qtbase.pro b/qtbase.pro
-index 51e8fb8..9806769 100644
+index 24d0f52..d3d79b3 100644
--- a/qtbase.pro
+++ b/qtbase.pro
@@ -37,12 +37,16 @@ CONFIG -= qt
@@ -148,7 +148,7 @@ index 51e8fb8..9806769 100644
}
INSTALLS += qmake
-@@ -54,6 +58,9 @@ exists($$licheck.files): INSTALLS += licheck
+@@ -54,6 +58,9 @@ licheck.files = $$PWD/bin/$$QT_LICHECK
#syncqt
syncqt.path = $$[QT_HOST_BINS]
syncqt.files = $$PWD/bin/syncqt.pl
@@ -159,7 +159,7 @@ index 51e8fb8..9806769 100644
# If we are doing a prefix build, create a "module" pri which enables
diff --git a/src/corelib/Qt5CoreConfigExtras.cmake.in b/src/corelib/Qt5CoreConfigExtras.cmake.in
-index 48d5f21..6482022 100644
+index 65fd1f9..457518b 100644
--- a/src/corelib/Qt5CoreConfigExtras.cmake.in
+++ b/src/corelib/Qt5CoreConfigExtras.cmake.in
@@ -5,7 +5,7 @@ if (NOT TARGET Qt5::qmake)
@@ -225,5 +225,5 @@ index 99d87e2..5621dc0 100644
_qt5_Widgets_check_file_exists(${imported_location})
--
-2.2.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
index 4bc6fdd8..aef49995 100644
--- a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
+++ b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
@@ -1,7 +1,7 @@
-From 3b289cf76a5ce78d94ee022af7d92152f5875372 Mon Sep 17 00:00:00 2001
+From bae1b8fbd3fe94a99a02fb751302baa788e9f2ff Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 27 Apr 2013 23:15:37 +0200
-Subject: [PATCH 3/7] qt_module: Fix pkgconfig and libtool replacements
+Subject: [PATCH 04/10] qt_module: Fix pkgconfig and libtool replacements
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
@@ -108,5 +108,5 @@ index 5412f37..5ab348a 100644
}
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch b/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch
index 8d1ed4ea..fbddae3b 100644
--- a/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch
+++ b/recipes-qt/qt5/qtbase/0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch
@@ -1,7 +1,7 @@
-From 232e2913168fd150bab4071bd57f8fef8d431eb4 Mon Sep 17 00:00:00 2001
+From 0b4d9044218df6e7fb700be6cfd21b4aaab24b18 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Wed, 19 Mar 2014 18:32:28 +0100
-Subject: [PATCH 4/7] qeglplatformintegration: Undefine CursorShape from X.h
+Subject: [PATCH 05/10] qeglplatformintegration: Undefine CursorShape from X.h
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
---
@@ -26,5 +26,5 @@ index 42fbf8c..8950f2d 100644
class QEGLPlatformWindow;
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch b/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch
index 0a6b92d4..91b13534 100644
--- a/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch
+++ b/recipes-qt/qt5/qtbase/0006-configure-bump-path-length-from-256-to-512-character.patch
@@ -1,7 +1,7 @@
-From 7b080f568fac5001f272a11f56968a3c65793077 Mon Sep 17 00:00:00 2001
+From fc3819b1f69278e9d66095d1faf33ae0e5a70eb6 Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Mon, 11 Nov 2013 20:27:30 -0500
-Subject: [PATCH 5/7] configure: bump path length from 256 to 512 characters
+Subject: [PATCH 06/10] configure: bump path length from 256 to 512 characters
Increase the path length that gets hardcoded into generated config.cpp file
from 256 to 512 characters, as nativesdk path can be quite long.
@@ -12,10 +12,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
-index 8093782..43c4dab 100755
+index 548dd0d..b8f1fb9 100755
--- a/configure
+++ b/configure
-@@ -3834,7 +3834,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
+@@ -3850,7 +3850,7 @@ static const char qt_configure_licensed_products_str [256 + 12] = "qt_lcnsprod=$
static const char qt_configure_installation [12+11] = "qt_instdate=2012-12-20";
/* Installation Info */
@@ -25,5 +25,5 @@ index 8093782..43c4dab 100755
static const char qt_configure_ext_prefix_path_str [256 + 12] = "qt_epfxpath=$QT_EXT_PREFIX";
static const char qt_configure_host_prefix_path_str [256 + 12] = "qt_hpfxpath=$QT_HOST_PREFIX";
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0008-QOpenGLPaintDevice-sub-area-support.patch b/recipes-qt/qt5/qtbase/0007-QOpenGLPaintDevice-sub-area-support.patch
index c6cbaf69..eb2fd5a8 100644
--- a/recipes-qt/qt5/qtbase/0008-QOpenGLPaintDevice-sub-area-support.patch
+++ b/recipes-qt/qt5/qtbase/0007-QOpenGLPaintDevice-sub-area-support.patch
@@ -1,7 +1,7 @@
-From fbcda470b5b64ab49a7a4c647e19bda623ce95b7 Mon Sep 17 00:00:00 2001
+From 7dfc673d6968ce890e5fad7fd8fd8a74c12b876b Mon Sep 17 00:00:00 2001
From: Jani Hautakangas <jani.hautakangas@ixonos.com>
Date: Thu, 16 May 2013 09:52:07 +0300
-Subject: [PATCH 7/7] QOpenGLPaintDevice sub-area support
+Subject: [PATCH 07/10] QOpenGLPaintDevice sub-area support
Allows creating QOpenGLPaintDevice targetting sub-area
of binded framebuffer.
@@ -153,5 +153,5 @@ index c179143..fad68d5 100644
} else {
if (m_vao.isCreated()) {
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch b/recipes-qt/qt5/qtbase/0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
deleted file mode 100644
index dabbc1c3..00000000
--- a/recipes-qt/qt5/qtbase/0007-eglfs-fix-egl-error-for-platforms-only-supporting-on.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 30d26b494bd5b77be6c4e4b41d8df7af5487ee4b Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
-Date: Wed, 5 Feb 2014 18:35:08 +0100
-Subject: [PATCH 6/7] eglfs: fix egl error for platforms only supporting one
- window/surface
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-running qmlscene -platform eglfs <filename>.qml
-
-caused
-
-EGL Error : Could not create the egl surface: error = 0x3003
-
-Rebased version of [1-2]
-
-Upstream-Status: unknown
-
-[1] http://repository.timesys.com/buildsources/q/qt-everywhere-opensource/qt-everywhere-opensource-5.1.1/qt-everywhere-opensource-5.1.1-qeglfswindow.cpp.patch
-[2] https://github.com/prabindh/qt-configs/blob/master/qt5_1.0_Feb13/qeglfswindow.cpp.patch
-
-Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
-Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
----
- src/plugins/platforms/eglfs/qeglfswindow.cpp | 16 +++++++++++++++-
- 1 file changed, 15 insertions(+), 1 deletion(-)
-
-diff --git a/src/plugins/platforms/eglfs/qeglfswindow.cpp b/src/plugins/platforms/eglfs/qeglfswindow.cpp
-index c0d51c9..bb4dc00 100644
---- a/src/plugins/platforms/eglfs/qeglfswindow.cpp
-+++ b/src/plugins/platforms/eglfs/qeglfswindow.cpp
-@@ -69,6 +69,15 @@ void QEglFSWindow::create()
-
- m_flags = Created;
-
-+ static EGLSurface __singleWindowSurface;
-+ if(QEglFSHooks::hooks() && ! QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::MultipleWindows) && (__singleWindowSurface)) {
-+ m_surface = __singleWindowSurface;
-+#ifdef QEGL_EXTRA_DEBUG
-+ qWarning("Surface recreate request, re-using %x\n", m_surface);
-+#endif
-+ return;
-+ }
-+
- if (window()->type() == Qt::Desktop)
- return;
-
-@@ -83,7 +92,7 @@ void QEglFSWindow::create()
- return;
- }
-
--#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK)
-+#if !defined(Q_OS_ANDROID) || defined(Q_OS_ANDROID_NO_SDK) || defined(EGL_API_FB)
- // We can have either a single OpenGL window or multiple raster windows.
- // Other combinations cannot work.
- qFatal("EGLFS: OpenGL windows cannot be mixed with others.");
-@@ -103,6 +112,11 @@ void QEglFSWindow::create()
-
- resetSurface();
-
-+ if(QEglFSHooks::hooks() && !QEglFSHooks::hooks()->hasCapability(QPlatformIntegration::MultipleWindows))
-+ {
-+ __singleWindowSurface = m_surface;
-+ }
-+
- screen->setPrimarySurface(m_surface);
-
- if (isRaster()) {
---
-2.4.2
-
diff --git a/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch b/recipes-qt/qt5/qtbase/0008-Always-build-uic.patch
index dc802a78..11e1bcb7 100644
--- a/recipes-qt/qt5/qtbase/0009-Always-build-uic.patch
+++ b/recipes-qt/qt5/qtbase/0008-Always-build-uic.patch
@@ -1,7 +1,7 @@
-From 8fb793a4a8e715f0c418df9ab17e39d103d59d3d Mon Sep 17 00:00:00 2001
+From 7159760b75cc338faee3e95d26d3aea377473681 Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 16 Nov 2013 00:32:30 +0100
-Subject: [PATCH 8/9] Always build uic
+Subject: [PATCH 08/10] Always build uic
Even if we are not building gui or widgets. This tool is needed later
as a native tool when compiling the target.
@@ -27,5 +27,5 @@ index b4d62aa..5e19215 100644
nacl: SUBDIRS -= src_network src_testlib
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0009-qmake-don-t-build-it-in-configure-but-allow-to-build.patch b/recipes-qt/qt5/qtbase/0008-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
index f5f2a23a..ef8fcb2a 100644
--- a/recipes-qt/qt5/qtbase/0009-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
+++ b/recipes-qt/qt5/qtbase/0008-qmake-don-t-build-it-in-configure-but-allow-to-build.patch
@@ -1,8 +1,8 @@
-From 51e7ea78d15a590f42154f19486f10d2019401e3 Mon Sep 17 00:00:00 2001
+From 890df28110c254022682b38f78bbbea1d62b8081 Mon Sep 17 00:00:00 2001
From: Michael Krelin <hacker@klever.net>
Date: Mon, 29 Oct 2012 20:07:49 -0700
-Subject: [PATCH 11/12] qmake: don't build it in configure, but allow to build
- it separately
+Subject: [PATCH 8/9] qmake: don't build it in configure, but allow to build it
+ separately
* it is already built in qtbase-native, so we don't need it in configure
* allow building a separate qmake for the target
@@ -25,10 +25,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
3 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
-index c19ff6a..7a34b11 100755
+index b8f1fb9..c72b8ee 100755
--- a/configure
+++ b/configure
-@@ -3729,7 +3729,7 @@ setBootstrapEvalVariable()
+@@ -3929,7 +3929,7 @@ setBootstrapEvalVariable()
# build qmake
@@ -38,10 +38,10 @@ index c19ff6a..7a34b11 100755
mkdir -p "$outpath/qmake" || exit
diff --git a/qmake/qmake.pri b/qmake/qmake.pri
-index 4de41d6..69982b7 100644
+index 782151d..4b314a8 100644
--- a/qmake/qmake.pri
+++ b/qmake/qmake.pri
-@@ -82,7 +82,8 @@ bootstrap { #Qt code
+@@ -80,7 +80,8 @@ bootstrap { #Qt code
qjsonparser.cpp \
qjsonarray.cpp \
qjsonobject.cpp \
@@ -64,5 +64,5 @@ index 89d6ea5..0ff4a96 100644
VPATH += \
../src/corelib/global \
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0010-Add-external-hostbindir-option-for-native-sdk.patch b/recipes-qt/qt5/qtbase/0009-Add-external-hostbindir-option-for-native-sdk.patch
index 546e954b..59b67289 100644
--- a/recipes-qt/qt5/qtbase/0010-Add-external-hostbindir-option-for-native-sdk.patch
+++ b/recipes-qt/qt5/qtbase/0009-Add-external-hostbindir-option-for-native-sdk.patch
@@ -1,7 +1,7 @@
-From 45bdf5ff770fe17634f216c3f533645bfd450f04 Mon Sep 17 00:00:00 2001
+From a48e2ad5bef673e9d345d5d6de94e5bbda53fa2b Mon Sep 17 00:00:00 2001
From: Martin Jansa <Martin.Jansa@gmail.com>
Date: Sat, 6 Apr 2013 13:15:07 +0200
-Subject: [PATCH 9/9] Add -external-hostbindir option for native(sdk)
+Subject: [PATCH 09/10] Add -external-hostbindir option for native(sdk)
* when cross-compiling it's sometimes useful to use existing tools from machine
(or in OpenEmbedded built with separate native recipe) when building for target
@@ -29,17 +29,18 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Conflicts:
tools/configure/configureapp.cpp
---
+ configure | 1 +
qmake/property.cpp | 1 +
src/corelib/global/qlibraryinfo.cpp | 3 ++-
src/corelib/global/qlibraryinfo.h | 1 +
tools/configure/configureapp.cpp | 11 +++++++++++
- 4 files changed, 15 insertions(+), 1 deletion(-)
+ 5 files changed, 16 insertions(+), 1 deletion(-)
diff --git a/configure b/configure
-index ffb69df..aa46774 100755
+index b8f1fb9..1d2157f 100755
--- a/configure
+++ b/configure
-@@ -3831,6 +3831,7 @@ addConfStr "$CFG_SYSROOT"
+@@ -3833,6 +3833,7 @@ addConfStr "$CFG_SYSROOT"
addConfStr "$QT_REL_HOST_BINS"
addConfStr "$QT_REL_HOST_LIBS"
addConfStr "$QT_REL_HOST_DATA"
@@ -128,3 +129,6 @@ index 3bf0546..53bf146 100644
addConfStr(1, targSpec);
addConfStr(1, hostSpec);
+--
+2.5.0
+
diff --git a/recipes-qt/qt5/qtbase/0014-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch b/recipes-qt/qt5/qtbase/0009-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch
index dee8b350..3be238b6 100644
--- a/recipes-qt/qt5/qtbase/0014-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch
+++ b/recipes-qt/qt5/qtbase/0009-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch
@@ -1,7 +1,8 @@
-From 8f09897de948cea8861ca95e182f442cf15a339e Mon Sep 17 00:00:00 2001
+From 168bf7753c648e7599ab9967501e74373037f5e9 Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Mon, 8 Jun 2015 13:59:25 -0700
-Subject: [PATCH] linux-oe-g++: Invert conditional for defining QT_SOCKLEN_T
+Subject: [PATCH 9/9] linux-oe-g++: Invert conditional for defining
+ QT_SOCKLEN_T
This helps to make sure that QT_SOCKLEN_T is defined to be 'int'
only when its glibc < 2 and not also for the libraries which may define
@@ -31,5 +32,5 @@ index dd12003..8623651 100644
#if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500)
--
-2.1.4
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0009-configure-preserve-built-qmake-and-swap-with-native-.patch b/recipes-qt/qt5/qtbase/0010-configure-preserve-built-qmake-and-swap-with-native-.patch
index 4cc9bf0e..109c7d18 100644
--- a/recipes-qt/qt5/qtbase/0009-configure-preserve-built-qmake-and-swap-with-native-.patch
+++ b/recipes-qt/qt5/qtbase/0010-configure-preserve-built-qmake-and-swap-with-native-.patch
@@ -1,7 +1,8 @@
-From abbd6ce89977ff1854c7eb6a5864568ee81a6ccd Mon Sep 17 00:00:00 2001
+From ee09941be5f00409029497b65358f8b8d3db91de Mon Sep 17 00:00:00 2001
From: Denys Dmytriyenko <denys@ti.com>
Date: Mon, 11 Nov 2013 20:22:34 -0500
-Subject: [PATCH 9/9] configure: preserve built qmake and swap with native one
+Subject: [PATCH 10/10] configure: preserve built qmake and swap with native
+ one
Let configure script build the real qmake, but right after it's built, swap
it with a native qmake for further internal use, preserving the real one.
@@ -12,10 +13,10 @@ Signed-off-by: Denys Dmytriyenko <denys@ti.com>
1 file changed, 2 insertions(+)
diff --git a/configure b/configure
-index 43c4dab..69e6f46 100755
+index 1d2157f..bea14af 100755
--- a/configure
+++ b/configure
-@@ -4082,6 +4082,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
+@@ -4099,6 +4099,8 @@ if true; then ###[ '!' -f "$outpath/bin/qmake" ];
echo "Done."
fi
fi # Build qmake
@@ -25,5 +26,5 @@ index 43c4dab..69e6f46 100755
echo "Running configuration tests..."
--
-2.4.2
+2.5.0
diff --git a/recipes-qt/qt5/qtbase/0012-Set-paths-for-target-properly.patch b/recipes-qt/qt5/qtbase/0012-Set-paths-for-target-properly.patch
deleted file mode 100644
index cb1005c9..00000000
--- a/recipes-qt/qt5/qtbase/0012-Set-paths-for-target-properly.patch
+++ /dev/null
@@ -1,72 +0,0 @@
-From 4dd60bf7b9db89fad8154168e71581ed648cf356 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Andreas=20M=C3=BCller?= <schnitzeltony@googlemail.com>
-Date: Thu, 22 Jan 2015 16:09:35 +0100
-Subject: [PATCH 12/12] Set paths for target properly
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-Upstream-Status: Inappropriate [OE specific]
-
-Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
----
- configure | 43 +++++++++++++++++++++----------------------
- 1 file changed, 21 insertions(+), 22 deletions(-)
-
-diff --git a/configure b/configure
-index 7a34b11..7bb4476 100755
---- a/configure
-+++ b/configure
-@@ -3644,28 +3644,27 @@ static const char qt_configure_prefix_path_strs[][512 + 12] = {
- "qt_xmplpath=$QT_SYSROOT_EXAMPLES",
- "qt_tstspath=$QT_SYSROOT_TESTS",
- #else
-- "qt_prfxpath=$QT_INSTALL_PREFIX",
-- "qt_docspath=$QT_INSTALL_DOCS",
-- "qt_hdrspath=$QT_INSTALL_HEADERS",
-- "qt_libspath=$QT_INSTALL_LIBS",
-- "qt_lbexpath=$QT_INSTALL_LIBEXECS",
-- "qt_binspath=$QT_INSTALL_BINS",
-- "qt_plugpath=$QT_INSTALL_PLUGINS",
-- "qt_impspath=$QT_INSTALL_IMPORTS",
-- "qt_qml2path=$QT_INSTALL_QML",
-- "qt_adatpath=$QT_INSTALL_ARCHDATA",
-- "qt_datapath=$QT_INSTALL_DATA",
-- "qt_trnspath=$QT_INSTALL_TRANSLATIONS",
-- "qt_xmplpath=$QT_INSTALL_EXAMPLES",
-- "qt_tstspath=$QT_INSTALL_TESTS",
-- "qt_ssrtpath=$CFG_SYSROOT",
-- "qt_hpfxpath=$QT_HOST_PREFIX",
-- "qt_hbinpath=$QT_HOST_BINS",
-- "qt_hlibpath=$QT_HOST_LIBS",
-- "qt_hdatpath=$QT_HOST_DATA",
-- "qt_ebinpath=$QT_EXTERNAL_HOST_BINS",
-- "qt_targspec=$shortxspec",
-- "qt_hostspec=$shortspec",
-+ "qt_prfxpath=$QT_SYSROOT_PREFIX",
-+ "qt_docspath=$QT_SYSROOT_DOCS",
-+ "qt_hdrspath=$QT_SYSROOT_HEADERS",
-+ "qt_libspath=$QT_SYSROOT_LIBS",
-+ "qt_lbexpath=$QT_SYSROOT_LIBEXECS",
-+ "qt_binspath=$QT_SYSROOT_BINS",
-+ "qt_plugpath=$QT_SYSROOT_PLUGINS",
-+ "qt_impspath=$QT_SYSROOT_IMPORTS",
-+ "qt_qml2path=$QT_SYSROOT_QML",
-+ "qt_adatpath=$QT_SYSROOT_ARCHDATA",
-+ "qt_datapath=$QT_SYSROOT_DATA",
-+ "qt_trnspath=$QT_SYSROOT_TRANSLATIONS",
-+ "qt_xmplpath=$QT_SYSROOT_EXAMPLES",
-+ "qt_tstspath=$QT_SYSROOT_TESTS",
-+ "qt_ssrtpath=",
-+ "qt_hpfxpath=$QT_SYSROOT_PREFIX",
-+ "qt_hbinpath=$QT_SYSROOT_BINS",
-+ "qt_hlibpath=$QT_SYSROOT_LIBS",
-+ "qt_hdatpath=$QT_SYSROOT_LIBS/qt5",
-+ "qt_targspec=linux-g++",
-+ "qt_hostspec=linux-g++",
- #endif
- };
- static const char qt_configure_settings_path_str[256 + 12] = "qt_stngpath=$QT_INSTALL_SETTINGS";
---
-2.4.2
-
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb
index f472c988..02445f83 100644
--- a/recipes-qt/qt5/qtbase_git.bb
+++ b/recipes-qt/qt5/qtbase_git.bb
@@ -17,13 +17,13 @@ SRC_URI += "\
file://0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch \
file://0005-qeglplatformintegration-Undefine-CursorShape-from-X..patch \
file://0006-configure-bump-path-length-from-256-to-512-character.patch \
- file://0008-QOpenGLPaintDevice-sub-area-support.patch \
+ file://0007-QOpenGLPaintDevice-sub-area-support.patch \
"
# specific for target qtbase
SRC_URI += "\
- file://0009-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \
- file://0014-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \
+ file://0008-qmake-don-t-build-it-in-configure-but-allow-to-build.patch \
+ file://0009-linux-oe-g-Invert-conditional-for-defining-QT_SOCKLE.patch \
"
DEPENDS += "qtbase-native"