* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
@ 2014-02-06 13:40 Peter Kuemmel
2014-02-06 14:09 ` Peter Kuemmel
2014-02-06 15:27 ` Thomas Petazzoni
0 siblings, 2 replies; 11+ messages in thread
From: Peter Kuemmel @ 2014-02-06 13:40 UTC (permalink / raw)
To: buildroot
A non-text attachment was scrubbed...
Name: 0001-Qt5-update-to-5.2.1.patch
Type: text/x-patch
Size: 12461 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140206/de78f509/attachment.bin>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
2014-02-06 13:40 Peter Kuemmel
@ 2014-02-06 14:09 ` Peter Kuemmel
2014-02-06 15:27 ` Thomas Petazzoni
1 sibling, 0 replies; 11+ messages in thread
From: Peter Kuemmel @ 2014-02-06 14:09 UTC (permalink / raw)
To: buildroot
Also removes a merged qwebkit patch.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Qt5-update-to-5.2.1.patch
Type: text/x-patch
Size: 14072 bytes
Desc: not available
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20140206/76c42a44/attachment.bin>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
2014-02-06 13:40 Peter Kuemmel
2014-02-06 14:09 ` Peter Kuemmel
@ 2014-02-06 15:27 ` Thomas Petazzoni
2014-02-06 15:44 ` Peter Kuemmel
1 sibling, 1 reply; 11+ messages in thread
From: Thomas Petazzoni @ 2014-02-06 15:27 UTC (permalink / raw)
To: buildroot
Dear Peter Kuemmel,
On Thu, 6 Feb 2014 14:40:43 +0100 (CET), Peter Kuemmel wrote:
> From 315027aef2dec428857bcd0699ea60a7bcc80a8c Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <kuemmel@coffeelogic.de>
> Date: Wed, 5 Feb 2014 20:49:47 +0100
> Subject: [PATCH 1/2] Qt5: update to 5.2.1
> MIME-Version: 1.0
> Content-Type: text/plain; charset=UTF-8
> Content-Transfer-Encoding: 8bit
As explained in the documentation, could you use "git send-email" to
send your patches? For the moment, they are sent as attached files,
which is very unpractical for review.
Thanks a lot for these contributions!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
2014-02-06 15:27 ` Thomas Petazzoni
@ 2014-02-06 15:44 ` Peter Kuemmel
2014-02-06 15:50 ` Thomas Petazzoni
0 siblings, 1 reply; 11+ messages in thread
From: Peter Kuemmel @ 2014-02-06 15:44 UTC (permalink / raw)
To: buildroot
> Von: "Thomas Petazzoni" <thomas.petazzoni@free-electrons.com>
>
> As explained in the documentation, could you use "git send-email" to
Sorry, I thought using send-email is just optional.
So someone else interested should put it into the queue,
but don't use my signed-off patches.
The qttools patch needs a change:
+ cp -dpf $(STAGING_DIR)/usr/lib/libQt5Help.so.* $(TARGET_DIR)/usr/lib
+ cp -dpf $(STAGING_DIR)/usr/lib/libQt5CLucene.so.* $(TARGET_DIR)/usr/lib
Thanks,
Peter
> send your patches? For the moment, they are sent as attached files,
> which is very unpractical for review.
>
> Thanks a lot for these contributions!
>
> Thomas
> --
> Thomas Petazzoni, CTO, Free Electrons
> Embedded Linux, Kernel and Android engineering
> http://free-electrons.com
>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
2014-02-06 15:44 ` Peter Kuemmel
@ 2014-02-06 15:50 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2014-02-06 15:50 UTC (permalink / raw)
To: buildroot
Dear Peter Kuemmel,
On Thu, 6 Feb 2014 16:44:28 +0100 (CET), Peter Kuemmel wrote:
> > As explained in the documentation, could you use "git send-email" to
>
> Sorry, I thought using send-email is just optional.
It is in some sense optional, if you do send patches "the right way".
But the easiest solution to send them "the right way" is to use git
send-email.
> So someone else interested should put it into the queue,
> but don't use my signed-off patches.
Unfortunately, this often doesn't work: once someone sends patches,
there are review comments, and the submitter often has to make a few
changes, and resubmit. So if someone else picks up your patches, he
will have to do this work, while as the original author of the patches,
it would be much easier if you did this work.
Those contributions are very useful to Buildroot, so it would very
appreciated if you could go through the contribution process
completely. I know it takes a bit of time, but it is a necessary
process to ensure that the quality of patches merged is up to the
standards the community has defined.
Thanks a lot!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
@ 2014-02-14 15:22 Peter Kümmel
2014-02-14 15:22 ` [Buildroot] [PATCH 2/2] Qt5: patches for linuxfb only systems Peter Kümmel
2014-03-02 17:45 ` [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1 Fatih Aşıcı
0 siblings, 2 replies; 11+ messages in thread
From: Peter Kümmel @ 2014-02-14 15:22 UTC (permalink / raw)
To: buildroot
Removed patches are now part of the 5.2.1 release.
Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
---
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
diff --git a/package/qt5/qt5.mk b/package/qt5/qt5.mk
index 6b05334..0ce6cf5 100644
--- a/package/qt5/qt5.mk
+++ b/package/qt5/qt5.mk
@@ -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))
diff --git a/package/qt5/qt5base/qt5base-0001-Fix-build-MIPS64-bigendian.patch b/package/qt5/qt5base/qt5base-0001-Fix-build-MIPS64-bigendian.patch
deleted file mode 100644
index 00dcd48..0000000
--- a/package/qt5/qt5base/qt5base-0001-Fix-build-MIPS64-bigendian.patch
+++ /dev/null
@@ -1,51 +0,0 @@
-qt5base: Fix build error on 64bit BigEndian platforms
-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-
-From cea101bd10cc158b97d5fbf45b33dad9b649c08b Mon Sep 17 00:00:00 2001
-From: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-Date: Mon, 2 Dec 2013 13:59:34 +0000
-Subject: [PATCH] qtbase: Fix build error on 64bit BigEndian platforms
-
-The functions fromBytesToWord() and fromWordToBytes() are called when
-building on 64bit BigEndian platforms. It fails because those
-functions are disabled on the source code. Enabling those functions for
-64bit BigEndian platforms fixes the problem.
-
-Task-number: QTBUG-35228
-
-Change-Id: I5ccacd4fb5051df05f67c8da879b3a9e49953861
-Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-Reviewed-by: Giuseppe D'Angelo <giuseppe.dangelo@kdab.com>
-Reviewed-by: Richard J. Moore <rich@kde.org>
----
- src/3rdparty/sha3/KeccakF-1600-opt64.c | 4 ++--
- 1 file changed, 2 insertions(+), 2 deletions(-)
- mode change 100755 => 100644 src/3rdparty/sha3/KeccakF-1600-opt64.c
-
-diff --git a/src/3rdparty/sha3/KeccakF-1600-opt64.c b/src/3rdparty/sha3/KeccakF-1600-opt64.c
-old mode 100755
-new mode 100644
-index 7bd442e..a547bb5
---- a/src/3rdparty/sha3/KeccakF-1600-opt64.c
-+++ b/src/3rdparty/sha3/KeccakF-1600-opt64.c
-@@ -328,7 +328,7 @@ static void KeccakPermutation(unsigned char *state)
- KeccakPermutationOnWords((UINT64*)state);
- }
-
--#if 0 // Unused in the Qt configuration
-+#if (PLATFORM_BYTE_ORDER == IS_BIG_ENDIAN)
- static void fromBytesToWord(UINT64 *word, const UINT8 *bytes)
- {
- unsigned int i;
-@@ -449,7 +449,7 @@ static void KeccakAbsorb(unsigned char *state, const unsigned char *data, unsign
- #endif
- }
-
--#if 0 // Unused in the Qt configuration
-+#if (PLATFORM_BYTE_ORDER == IS_BIG_ENDIAN)
- static void fromWordToBytes(UINT8 *bytes, const UINT64 word)
- {
- unsigned int i;
---
-1.8.5.1
-
diff --git a/package/qt5/qt5base/qt5base-0007-detect-posix_fallocate-at-configure-time.patch b/package/qt5/qt5base/qt5base-0007-detect-posix_fallocate-at-configure-time.patch
deleted file mode 100644
index b0011f6..0000000
--- a/package/qt5/qt5base/qt5base-0007-detect-posix_fallocate-at-configure-time.patch
+++ /dev/null
@@ -1,167 +0,0 @@
-From 46e632e2555b6b8abe6b8d8ad7d255e27c128e25 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= <fatih.asici@gmail.com>
-Date: Mon, 11 Nov 2013 17:04:46 +0200
-Subject: [PATCH] Detect posix_fallocate at configure time
-
-Testing feature macros is not enough for uclibc. Fixes build of the built-in
-sqlite3 with uclibc <= 0.9.33.2. Later versions will have posix_fallocate().
-
-Change-Id: I918a52777ac63624635802221effc6b86fa2269c
-Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
-Reported-Upstream: https://codereview.qt-project.org/70935
----
- .../unix/posix_fallocate/posix_fallocate.cpp | 53 ++++++++++++++++++++++
- .../unix/posix_fallocate/posix_fallocate.pro | 2 +
- configure | 14 ++++++
- src/3rdparty/sqlite.pri | 1 +
- src/3rdparty/sqlite/sqlite3.c | 7 ---
- 5 files changed, 70 insertions(+), 7 deletions(-)
- create mode 100644 config.tests/unix/posix_fallocate/posix_fallocate.cpp
- create mode 100644 config.tests/unix/posix_fallocate/posix_fallocate.pro
-
-diff --git a/config.tests/unix/posix_fallocate/posix_fallocate.cpp b/config.tests/unix/posix_fallocate/posix_fallocate.cpp
-new file mode 100644
-index 0000000..5acd45a
---- /dev/null
-+++ b/config.tests/unix/posix_fallocate/posix_fallocate.cpp
-@@ -0,0 +1,53 @@
-+/****************************************************************************
-+**
-+** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).
-+** Contact: http://www.qt-project.org/legal
-+**
-+** This file is part of the config.tests of the Qt Toolkit.
-+**
-+** $QT_BEGIN_LICENSE:LGPL$
-+** Commercial License Usage
-+** Licensees holding valid commercial Qt licenses may use this file in
-+** accordance with the commercial license agreement provided with the
-+** Software or, alternatively, in accordance with the terms contained in
-+** a written agreement between you and Digia. For licensing terms and
-+** conditions see http://qt.digia.com/licensing. For further information
-+** use the contact form at http://qt.digia.com/contact-us.
-+**
-+** GNU Lesser General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU Lesser
-+** General Public License version 2.1 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.LGPL included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU Lesser General Public License version 2.1 requirements
-+** will be met: http://www.gnu.org/licenses/old-licenses/lgpl-2.1.html.
-+**
-+** In addition, as a special exception, Digia gives you certain additional
-+** rights. These rights are described in the Digia Qt LGPL Exception
-+** version 1.1, included in the file LGPL_EXCEPTION.txt in this package.
-+**
-+** GNU General Public License Usage
-+** Alternatively, this file may be used under the terms of the GNU
-+** General Public License version 3.0 as published by the Free Software
-+** Foundation and appearing in the file LICENSE.GPL included in the
-+** packaging of this file. Please review the following information to
-+** ensure the GNU General Public License version 3.0 requirements will be
-+** met: http://www.gnu.org/copyleft/gpl.html.
-+**
-+**
-+** $QT_END_LICENSE$
-+**
-+****************************************************************************/
-+
-+#include <fcntl.h>
-+
-+int main(int, char **)
-+{
-+#if _XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L
-+ return ::posix_fallocate(0, 0, 0);
-+#else
-+# error posix_fallocate not available
-+ // MIPSpro doesn't understand #error, so force a compiler error
-+ force_compiler_error = true;
-+#endif
-+}
-diff --git a/config.tests/unix/posix_fallocate/posix_fallocate.pro b/config.tests/unix/posix_fallocate/posix_fallocate.pro
-new file mode 100644
-index 0000000..f01b15f
---- /dev/null
-+++ b/config.tests/unix/posix_fallocate/posix_fallocate.pro
-@@ -0,0 +1,2 @@
-+SOURCES = posix_fallocate.cpp
-+CONFIG -= qt dylib
-diff --git a/configure b/configure
-index 81e2a93..b67ed89 100755
---- a/configure
-+++ b/configure
-@@ -968,6 +968,7 @@ CFG_MIPS_DSP=auto
- CFG_MIPS_DSPR2=auto
- CFG_CLOCK_GETTIME=auto
- CFG_CLOCK_MONOTONIC=auto
-+CFG_POSIX_FALLOCATE=auto
- CFG_MREMAP=auto
- CFG_GETADDRINFO=auto
- CFG_IPV6IFNAME=auto
-@@ -5653,6 +5654,15 @@ elif [ "$CFG_CLOCK_GETTIME" = "no" ]; then
- CFG_CLOCK_MONOTONIC=no
- fi
-
-+# detect posix_fallocate
-+if [ "$CFG_POSIX_FALLOCATE" = "auto" ]; then
-+ if compileTest unix/posix_fallocate "posix_fallocate"; then
-+ CFG_POSIX_FALLOCATE=yes
-+ else
-+ CFG_POSIX_FALLOCATE=no
-+ fi
-+fi
-+
- # detect mremap
- if [ "$CFG_MREMAP" = "auto" ]; then
- if compileTest unix/mremap "mremap"; then
-@@ -5970,6 +5980,9 @@ fi
- if [ "$CFG_CLOCK_MONOTONIC" = "yes" ]; then
- QT_CONFIG="$QT_CONFIG clock-monotonic"
- fi
-+if [ "$CFG_POSIX_FALLOCATE" = "yes" ]; then
-+ QT_CONFIG="$QT_CONFIG posix_fallocate"
-+fi
- if [ "$CFG_MREMAP" = "yes" ]; then
- QT_CONFIG="$QT_CONFIG mremap"
- fi
-@@ -6449,6 +6462,7 @@ QMakeVar set sql-plugins "$SQL_PLUGINS"
- [ "$CFG_GLIB" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GLIB"
- [ "$CFG_QGTKSTYLE" != "yes" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_STYLE_GTK"
- [ "$CFG_CLOCK_MONOTONIC" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_CLOCK_MONOTONIC"
-+[ "$CFG_POSIX_FALLOCATE" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_POSIX_FALLOCATE"
- [ "$CFG_MREMAP" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_MREMAP"
- [ "$CFG_GETADDRINFO" = "no" ]&& QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_GETADDRINFO"
- [ "$CFG_IPV6IFNAME" = "no" ] && QCONFIG_FLAGS="$QCONFIG_FLAGS QT_NO_IPV6IFNAME"
-diff --git a/src/3rdparty/sqlite.pri b/src/3rdparty/sqlite.pri
-index 58d4ddd..072502c 100644
---- a/src/3rdparty/sqlite.pri
-+++ b/src/3rdparty/sqlite.pri
-@@ -1,6 +1,7 @@
- CONFIG(release, debug|release):DEFINES *= NDEBUG
- DEFINES += SQLITE_OMIT_LOAD_EXTENSION SQLITE_OMIT_COMPLETE SQLITE_ENABLE_FTS3 SQLITE_ENABLE_FTS3_PARENTHESIS SQLITE_ENABLE_RTREE
- !contains(CONFIG, largefile):DEFINES += SQLITE_DISABLE_LFS
-+contains(QT_CONFIG, posix_fallocate):DEFINES += HAVE_POSIX_FALLOCATE=1
- winrt: DEFINES += SQLITE_OS_WINRT
- INCLUDEPATH += $$PWD/sqlite
- SOURCES += $$PWD/sqlite/sqlite3.c
-diff --git a/src/3rdparty/sqlite/sqlite3.c b/src/3rdparty/sqlite/sqlite3.c
-index 03fa649..1ae9be2 100644
---- a/src/3rdparty/sqlite/sqlite3.c
-+++ b/src/3rdparty/sqlite/sqlite3.c
-@@ -22935,13 +22935,6 @@ SQLITE_PRIVATE const char *sqlite3OpcodeName(int i){
- */
- #if SQLITE_OS_UNIX /* This file is used on unix only */
-
--/* Use posix_fallocate() if it is available
--*/
--#if !defined(HAVE_POSIX_FALLOCATE) \
-- && (_XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L)
--# define HAVE_POSIX_FALLOCATE 1
--#endif
--
- /*
- ** There are various methods for file locking used for concurrency
- ** control:
---
-1.8.4.rc3
-
diff --git a/package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch b/package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
deleted file mode 100644
index edbfb90..0000000
--- a/package/qt5/qt5webkit/qt5webkit-0002-Fix-QtWebKit-build-on-ARM-softfp.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-From 8a716a29721d900069d82878c45cf87a356adba3 Mon Sep 17 00:00:00 2001
-From: Allan Sandfeld Jensen <allan.jensen@digia.com>
-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 <jocelyn.turcotte@digia.com>
-Signed-off-by: Fatih A??c? <fatih.asici@gmail.com>
----
- 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
-
--
1.8.3.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2/2] Qt5: patches for linuxfb only systems
2014-02-14 15:22 [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1 Peter Kümmel
@ 2014-02-14 15:22 ` Peter Kümmel
2014-03-02 17:46 ` Fatih Aşıcı
2014-03-02 17:45 ` [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1 Fatih Aşıcı
1 sibling, 1 reply; 11+ messages in thread
From: Peter Kümmel @ 2014-02-14 15:22 UTC (permalink / raw)
To: buildroot
Merged patches from the official qtbase/stable branch,
not part of 5.2.1.
Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
---
...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
diff --git a/package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch b/package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch
new file mode 100644
index 0000000..e04bcc4
--- /dev/null
+++ b/package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch
@@ -0,0 +1,28 @@
+From 02edc30764935d64f0994a9c592ca729f1c37410 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <syntheticpp@gmx.net>
+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 <stephen.kelly@kdab.com>
+---
+ 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
+
diff --git a/package/qt5/qt5base/qt5base-Fix-linuxfb-argument-mmsize-parsing.patch b/package/qt5/qt5base/qt5base-Fix-linuxfb-argument-mmsize-parsing.patch
new file mode 100644
index 0000000..3b9811b
--- /dev/null
+++ b/package/qt5/qt5base/qt5base-Fix-linuxfb-argument-mmsize-parsing.patch
@@ -0,0 +1,38 @@
+From b1fb89055d4d1bc88b7b0b788ad8eca4f3641f9a Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Peter=20K=C3=BCmmel?= <syntheticpp@gmx.net>
+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
+
--
1.8.3.2
^ permalink raw reply related [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
2014-02-14 15:22 [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1 Peter Kümmel
2014-02-14 15:22 ` [Buildroot] [PATCH 2/2] Qt5: patches for linuxfb only systems Peter Kümmel
@ 2014-03-02 17:45 ` Fatih Aşıcı
2014-03-02 20:05 ` Thomas Petazzoni
1 sibling, 1 reply; 11+ messages in thread
From: Fatih Aşıcı @ 2014-03-02 17:45 UTC (permalink / raw)
To: buildroot
On Friday 14 February 2014 16:22:06 Peter K?mmel wrote:
> Removed patches are now part of the 5.2.1 release.
>
> Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
Acked-by: Fatih A??c? <fatih.asici@gmail.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2/2] Qt5: patches for linuxfb only systems
2014-02-14 15:22 ` [Buildroot] [PATCH 2/2] Qt5: patches for linuxfb only systems Peter Kümmel
@ 2014-03-02 17:46 ` Fatih Aşıcı
2014-03-02 20:05 ` Thomas Petazzoni
0 siblings, 1 reply; 11+ messages in thread
From: Fatih Aşıcı @ 2014-03-02 17:46 UTC (permalink / raw)
To: buildroot
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.
>
> Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
Acked-by: Fatih A??c? <fatih.asici@gmail.com>
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1
2014-03-02 17:45 ` [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1 Fatih Aşıcı
@ 2014-03-02 20:05 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2014-03-02 20:05 UTC (permalink / raw)
To: buildroot
Dear Fatih A??c?,
On Sun, 02 Mar 2014 19:45:52 +0200, Fatih A??c? wrote:
> On Friday 14 February 2014 16:22:06 Peter K?mmel wrote:
> > Removed patches are now part of the 5.2.1 release.
> >
> > Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
>
> Acked-by: Fatih A??c? <fatih.asici@gmail.com>
Thanks, patch applied.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
* [Buildroot] [PATCH 2/2] Qt5: patches for linuxfb only systems
2014-03-02 17:46 ` Fatih Aşıcı
@ 2014-03-02 20:05 ` Thomas Petazzoni
0 siblings, 0 replies; 11+ messages in thread
From: Thomas Petazzoni @ 2014-03-02 20:05 UTC (permalink / raw)
To: buildroot
Dear Fatih A??c?,
On Sun, 02 Mar 2014 19:46:14 +0200, Fatih A??c? wrote:
> 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.
> >
> > Signed-off-by: Peter K?mmel <syntheticpp@gmx.net>
>
> Acked-by: Fatih A??c? <fatih.asici@gmail.com>
Thanks, patch applied.
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2014-03-02 20:05 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-02-14 15:22 [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1 Peter Kümmel
2014-02-14 15:22 ` [Buildroot] [PATCH 2/2] Qt5: patches for linuxfb only systems Peter Kümmel
2014-03-02 17:46 ` Fatih Aşıcı
2014-03-02 20:05 ` Thomas Petazzoni
2014-03-02 17:45 ` [Buildroot] [PATCH 1/2] Qt5: update to 5.2.1 Fatih Aşıcı
2014-03-02 20:05 ` Thomas Petazzoni
-- strict thread matches above, loose matches on Subject: below --
2014-02-06 13:40 Peter Kuemmel
2014-02-06 14:09 ` Peter Kuemmel
2014-02-06 15:27 ` Thomas Petazzoni
2014-02-06 15:44 ` Peter Kuemmel
2014-02-06 15:50 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox