Skip to contentSkip to conversation

Qt5: update to 5.2.1

PATCH New Peter Kümmel 3 participants 6 messages Feb 14, 2014 – Mar 2, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 Qt5: update to 5.2.1

Removed patches are now part of the 5.2.1 release.

---
 package/qt5/qt5.mk                                 |   2 +-
 .../qt5base-0001-Fix-build-MIPS64-bigendian.patch  |  51 -------
 ...-detect-posix_fallocate-at-configure-time.patch | 167 ---------------------
 ...kit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch |  35 -----
 4 files changed, 1 insertion(+), 254 deletions(-)
 delete mode 100644 package/qt5/qt5base/qt5base-0001-Fix-build-MIPS64-bigendian.patch
 delete mode 100644 package/qt5/qt5base/qt5base-0007-detect-posix_fallocate-at-configure-time.patch
 delete mode 100644 package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
package/qt5/qt5.mk +1 -1
index 6b05334..0ce6cf5 100644
@@ -1,5 +1,5 @@
 QT5_VERSION_MAJOR = 5.2
-QT5_VERSION = $(QT5_VERSION_MAJOR).0
+QT5_VERSION = $(QT5_VERSION_MAJOR).1
 QT5_SITE = http://download.qt-project.org/official_releases/qt/$(QT5_VERSION_MAJOR)/$(QT5_VERSION)/submodules/
 include $(sort $(wildcard package/qt5/*/*.mk))
 
package/qt5/qt5base/qt5base-0001-Fix-build-MIPS64-bigendian.patch deleted +0 -51

51 lines not on this page · raw message

package/qt5/qt5base/qt5base-0007-detect-posix_fallocate-at-configure-time.patch deleted +0 -167

167 lines not on this page · raw message

package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch deleted +0 -35
deleted file mode 100644
index edbfb90..0000000
@@ -1,35 +0,0 @@
-From 8a716a29721d900069d82878c45cf87a356adba3 Mon Sep 17 00:00:00 2001
-From: Allan Sandfeld Jensen <[email protected]>
-Date: Tue, 17 Dec 2013 12:26:58 +0100
-Subject: [PATCH] Fix QtWebKit build on ARM softfp
-
-The low level interpreter depends on hardfp, so we need to disable it
-when builing on ARM targets with softfp.
-
-Task-number: QTBUG-35681
-Change-Id: I8aaef546b92182a87cc7116ac452d8725de6a7db
-Reviewed-by: Jocelyn Turcotte <[email protected]>
-Signed-off-by: Fatih A??c? <[email protected]>
----
- Source/WTF/wtf/Platform.h | 5 +++++
- 1 file changed, 5 insertions(+)
-
-diff --git a/Source/WTF/wtf/Platform.h b/Source/WTF/wtf/Platform.h
-index 3a9b509..cddc210 100644
---- a/Source/WTF/wtf/Platform.h
-+++ b/Source/WTF/wtf/Platform.h
-@@ -771,6 +771,11 @@
- #define ENABLE_LLINT 0
- #endif
- 
-+/* LLINT on ARM depends on an FPU */
-+#if !defined(ENABLE_LLINT) && CPU(ARM) && !CPU(ARM_HARDFP)
-+#define ENABLE_LLINT 0
-+#endif
-+
- /* On some of the platforms where we have a JIT, we want to also have the 
-    low-level interpreter. */
- #if !defined(ENABLE_LLINT) \
--- 
-1.8.5.1
-
Signature · 1 line
1.8.3.2
#1 lore raw

PATCH 2/2 Qt5: patches for linuxfb only systems

Merged patches from the official qtbase/stable branch, not part of 5.2.1.

---
 ...on-t-require-GL-when-build-with-no-opengl.patch | 28 ++++++++++++++++
 ...5base-Fix-linuxfb-argument-mmsize-parsing.patch | 38 ++++++++++++++++++++++
 2 files changed, 66 insertions(+)
 create mode 100644 package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch
 create mode 100644 package/qt5/qt5base/qt5base-Fix-linuxfb-argument-mmsize-parsing.patch
package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch new file +28 -0
new file mode 100644
index 0000000..e04bcc4
@@ -0,0 +1,28 @@
+From 02edc30764935d64f0994a9c592ca729f1c37410 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <[email protected]>
+Date: Fri, 31 Jan 2014 22:28:19 +0100
+Subject: [PATCH] CMake: don't require GL when build with -no-opengl
+
+Task-number: QTBUG-36509
+Change-Id: I03451527ab91754d87ff2a43985952c7c7641826
+Reviewed-by: Stephen Kelly <[email protected]>
+---
+ src/gui/gui.pro | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/src/gui/gui.pro b/src/gui/gui.pro
+index 3203b41..f4c35a3 100644
+--- a/src/gui/gui.pro
++++ b/src/gui/gui.pro
+@@ -81,7 +81,7 @@ contains(QT_CONFIG, angle) {
+         !isEmpty(QMAKE_LIBDIR_OPENGL_ES2): CMAKE_OPENGL_LIBDIR = $$cmakePortablePaths($$QMAKE_LIBDIR_OPENGL_ES2)
+         CMAKE_GL_HEADER_NAME = GLES2/gl2.h
+         CMAKE_QT_OPENGL_IMPLEMENTATION = GLESv2
+-    } else {
++    } else:contains(QT_CONFIG, opengl) {
+         !isEmpty(QMAKE_INCDIR_OPENGL): CMAKE_GL_INCDIRS = $$cmakeTargetPaths($$QMAKE_INCDIR_OPENGL)
+         CMAKE_OPENGL_INCDIRS = $$cmakePortablePaths($$QMAKE_INCDIR_OPENGL)
+         CMAKE_OPENGL_LIBS = $$cmakeProcessLibs($$QMAKE_LIBS_OPENGL)
+-- 
+1.8.3.2
+
package/qt5/qt5base/qt5base-Fix-linuxfb-argument-mmsize-parsing.patch new file +38 -0
new file mode 100644
index 0000000..3b9811b
@@ -0,0 +1,38 @@
+From b1fb89055d4d1bc88b7b0b788ad8eca4f3641f9a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <[email protected]>
+Date: Fri, 7 Feb 2014 13:12:37 +0100
+Subject: [PATCH] Fix linuxfb argument 'mmsize' parsing
+
+Parse first for 'mmsize' because the regex for 'size' also fits to 'mmsize'.
+
+Task-number: QTBUG-29133
+Change-Id: Idc4950270818e496d5d94a97a172b7c780f069b1
+---
+ src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp
+index 735a43d..33a9523 100644
+--- a/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp
++++ b/src/plugins/platforms/linuxfb/qlinuxfbscreen.cpp
+@@ -333,6 +333,8 @@ bool QLinuxFbScreen::initialize()
+     foreach (const QString &arg, mArgs) {
+         if (arg == QLatin1String("nographicsmodeswitch"))
+             doSwitchToGraphicsMode = false;
++        else if (mmSizeRx.indexIn(arg) != -1)
++            userMmSize = QSize(mmSizeRx.cap(1).toInt(), mmSizeRx.cap(2).toInt());
+         else if (sizeRx.indexIn(arg) != -1)
+             userGeometry.setSize(QSize(sizeRx.cap(1).toInt(), sizeRx.cap(2).toInt()));
+         else if (offsetRx.indexIn(arg) != -1)
+@@ -341,8 +343,6 @@ bool QLinuxFbScreen::initialize()
+             ttyDevice = ttyRx.cap(1);
+         else if (fbRx.indexIn(arg) != -1)
+             fbDevice = fbRx.cap(1);
+-        else if (mmSizeRx.indexIn(arg) != -1)
+-            userMmSize = QSize(mmSizeRx.cap(1).toInt(), mmSizeRx.cap(2).toInt());
+     }
+ 
+     if (fbDevice.isEmpty()) {
+-- 
+1.8.3.2
+
Signature · 1 line
1.8.3.2
#3 lore raw

PATCH 2/2 Qt5: patches for linuxfb only systems

Dear Fatih A??c?,

Quoted 7 lines · Fatih A??c?
Quoted 4 lines · On Friday 14 February 2014 16:22:07 Peter K?mmel wrote:

Merged patches from the official qtbase/stable branch, not part of 5.2.1.

Thanks, patch applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
#5 lore raw

PATCH 1/2 Qt5: update to 5.2.1

Dear Fatih A??c?,

Quoted 6 lines · Fatih A??c?
Quoted 3 lines · On Friday 14 February 2014 16:22:06 Peter K?mmel wrote:

Removed patches are now part of the 5.2.1 release.

Thanks, patch applied.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com