Qt 5.3.0
v2 cover Qt 5.3.0
Bump to the latest stable release.
Changes v1 -> v2:
- fix build with uClibc
- add openssl dependency also in makefile (Suggested by Peter Korsgaard)
- remove redundant sql dependency of websockets module
Fatih A??c? (3):
qt5: bump to 5.3.0
qt5enginio: new package
qt5websockets: new package
package/qt5/Config.in | 2 + package/qt5/qt5.mk | 4 +- ...ase-0004-QDnsLookup-Fix-build-with-uClibc.patch | 35 +++++++++++ package/qt5/qt5base/qt5base-0004-qatomic-ppc.patch | 29 ---------- .../qt5base-0005-uclibc-no-gnu-lib-names.patch | 44 -------------- ...not-check-feature-macros-for-posix_falloc.patch | 41 ------------- ...qt5base-0007-Fix-no-opengl-build-with-egl.patch | 65 --------------------- ...on-t-require-GL-when-build-with-no-opengl.patch | 28 --------- ...5base-Fix-linuxfb-argument-mmsize-parsing.patch | 38 ------------ ...n_t-build-scanner-example-without-qtquick.patch | 30 ---------- ...ample-needs-no-widgets-but-it-needs-quick.patch | 67 ---------------------- package/qt5/qt5enginio/Config.in | 13 +++++ package/qt5/qt5enginio/qt5enginio.mk | 56 ++++++++++++++++++ package/qt5/qt5websockets/Config.in | 11 ++++ ...01-Remove-dependency-on-unused-sql-module.patch | 28 +++++++++ package/qt5/qt5websockets/qt5websockets.mk | 55 ++++++++++++++++++ 16 files changed, 202 insertions(+), 344 deletions(-) create mode 100644 package/qt5/qt5base/qt5base-0004-QDnsLookup-Fix-build-with-uClibc.patch delete mode 100644 package/qt5/qt5base/qt5base-0004-qatomic-ppc.patch delete mode 100644 package/qt5/qt5base/qt5base-0005-uclibc-no-gnu-lib-names.patch delete mode 100644 package/qt5/qt5base/qt5base-0006-sqlite3-Do-not-check-feature-macros-for-posix_falloc.patch delete mode 100644 package/qt5/qt5base/qt5base-0007-Fix-no-opengl-build-with-egl.patch delete mode 100644 package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch delete mode 100644 package/qt5/qt5base/qt5base-Fix-linuxfb-argument-mmsize-parsing.patch delete mode 100644 package/qt5/qt5connectivity/qt5connectivity-0001-don_t-build-scanner-example-without-qtquick.patch delete mode 100644 package/qt5/qt5connectivity/qt5connectivity-0002-the-poster-example-needs-no-widgets-but-it-needs-quick.patch create mode 100644 package/qt5/qt5enginio/Config.in create mode 100644 package/qt5/qt5enginio/qt5enginio.mk create mode 100644 package/qt5/qt5websockets/Config.in create mode 100644 package/qt5/qt5websockets/qt5websockets-0001-Remove-dependency-on-unused-sql-module.patch create mode 100644 package/qt5/qt5websockets/qt5websockets.mk
Signature · 1 line
1.9.1
PATCH v2 1/3 qt5: bump to 5.3.0
Remove upstreamed patches.
See http://qt-project.org/qt5/qt53 for the release information.
--- package/qt5/qt5.mk | 4 +- ...ase-0004-QDnsLookup-Fix-build-with-uClibc.patch | 35 +++++++++++ package/qt5/qt5base/qt5base-0004-qatomic-ppc.patch | 29 ---------- .../qt5base-0005-uclibc-no-gnu-lib-names.patch | 44 -------------- ...not-check-feature-macros-for-posix_falloc.patch | 41 ------------- ...qt5base-0007-Fix-no-opengl-build-with-egl.patch | 65 --------------------- ...on-t-require-GL-when-build-with-no-opengl.patch | 28 --------- ...5base-Fix-linuxfb-argument-mmsize-parsing.patch | 38 ------------ ...n_t-build-scanner-example-without-qtquick.patch | 30 ---------- ...ample-needs-no-widgets-but-it-needs-quick.patch | 67 ---------------------- 10 files changed, 37 insertions(+), 344 deletions(-) create mode 100644 package/qt5/qt5base/qt5base-0004-QDnsLookup-Fix-build-with-uClibc.patch delete mode 100644 package/qt5/qt5base/qt5base-0004-qatomic-ppc.patch delete mode 100644 package/qt5/qt5base/qt5base-0005-uclibc-no-gnu-lib-names.patch delete mode 100644 package/qt5/qt5base/qt5base-0006-sqlite3-Do-not-check-feature-macros-for-posix_falloc.patch delete mode 100644 package/qt5/qt5base/qt5base-0007-Fix-no-opengl-build-with-egl.patch delete mode 100644 package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch delete mode 100644 package/qt5/qt5base/qt5base-Fix-linuxfb-argument-mmsize-parsing.patch delete mode 100644 package/qt5/qt5connectivity/qt5connectivity-0001-don_t-build-scanner-example-without-qtquick.patch delete mode 100644 package/qt5/qt5connectivity/qt5connectivity-0002-the-poster-example-needs-no-widgets-but-it-needs-quick.patch
package/qt5/qt5.mk +2 -2
@@ -1,5 +1,5 @@ -QT5_VERSION_MAJOR = 5.2 -QT5_VERSION = $(QT5_VERSION_MAJOR).1 +QT5_VERSION_MAJOR = 5.3 +QT5_VERSION = $(QT5_VERSION_MAJOR).0 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-0004-QDnsLookup-Fix-build-with-uClibc.patch new file +35 -0
@@ -0,0 +1,35 @@ +From af2241c678bcd9af58d38f98f5caec96a498733e Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= <[email protected]> +Date: Fri, 23 May 2014 17:02:01 +0300 +Subject: [PATCH] QDnsLookup: Fix build with uClibc + +uClibc doesn't have a nsmap member in __res_state. Since it also doesn't have +res_nquery() which is mandatory for QDnsLookup, we can simply disable the code +to fix the build. + +Sent-Upstream: https://codereview.qt-project.org/86159 +Signed-off-by: Fatih A??c? <[email protected]> +Change-Id: Ia872f535519aca3a2de763548c6dd0e3e0ee20d4 +--- + src/network/kernel/qdnslookup_unix.cpp | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/src/network/kernel/qdnslookup_unix.cpp b/src/network/kernel/qdnslookup_unix.cpp +index 26834df..2a482a6 100644 +--- a/src/network/kernel/qdnslookup_unix.cpp ++++ b/src/network/kernel/qdnslookup_unix.cpp +@@ -160,9 +160,11 @@ void QDnsLookupRunnable::query(const int requestType, const QByteArray &requestN + Q_CHECK_PTR(ns); + state._u._ext.nsaddrs[0] = ns; + } ++#ifndef __UCLIBC__ + // Set nsmap[] to indicate that nsaddrs[0] is an IPv6 address + // See: https://sourceware.org/ml/libc-hacker/2002-05/msg00035.html + state._u._ext.nsmap[0] = MAXNS + 1; ++#endif + state._u._ext.nscount6 = 1; + ns->sin6_family = AF_INET6; + ns->sin6_port = htons(53); +-- +1.9.1 +
package/qt5/qt5base/qt5base-0004-qatomic-ppc.patch deleted +0 -29
@@ -1,29 +0,0 @@ -Set loadAcquire() as const - -Fixes powerpc build. - -Fetched-from: https://bugzilla.redhat.com/attachment.cgi?id=812643 -Signed-off-by: Fatih A??c? <[email protected]> - -Index: qtbase-opensource-src-5.1.1/src/corelib/thread/qoldbasicatomic.h -=================================================================== ---- qtbase-opensource-src-5.1.1.orig/src/corelib/thread/qoldbasicatomic.h -+++ qtbase-opensource-src-5.1.1/src/corelib/thread/qoldbasicatomic.h -@@ -63,7 +63,7 @@ public: - // Atomic API, implemented in qatomic_XXX.h - - int load() const { return _q_value; } -- int loadAcquire() { return _q_value; } -+ int loadAcquire() const { return _q_value; } - void store(int newValue) { _q_value = newValue; } - void storeRelease(int newValue) { _q_value = newValue; } - -@@ -107,7 +107,7 @@ public: - // Atomic API, implemented in qatomic_XXX.h - - T *load() const { return _q_value; } -- T *loadAcquire() { return _q_value; } -+ T *loadAcquire() const { return _q_value; } - void store(T *newValue) { _q_value = newValue; } - void storeRelease(T *newValue) { _q_value = newValue; } -
package/qt5/qt5base/qt5base-0005-uclibc-no-gnu-lib-names.patch deleted +0 -44
44 lines not on this page · raw message
package/qt5/qt5base/qt5base-0006-sqlite3-Do-not-check-feature-macros-for-posix_falloc.patch deleted +0 -41
41 lines not on this page · raw message
package/qt5/qt5base/qt5base-0007-Fix-no-opengl-build-with-egl.patch deleted +0 -65
65 lines not on this page · raw message
package/qt5/qt5base/qt5base-CMake-don-t-require-GL-when-build-with-no-opengl.patch deleted +0 -28
@@ -1,28 +0,0 @@ -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 deleted +0 -38
@@ -1,38 +0,0 @@ -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 -
package/qt5/qt5connectivity/qt5connectivity-0001-don_t-build-scanner-example-without-qtquick.patch deleted +0 -30
@@ -1,30 +0,0 @@ -qt5connectivity: Don't build scanner example without QtQuick -Signed-off-by: Vicente Olivert Riera <[email protected]> - -From 1454664752505f5870e4173d15362bfdfe4148e7 Mon Sep 17 00:00:00 2001 -From: Alex Blasche <[email protected]> -Date: Wed, 15 Jan 2014 12:11:31 +0100 -Subject: [PATCH] Don't build scanner example without QtQuick - -Task-number: QTBUG-35711 -Change-Id: I0406fb5edd8fb2a90046308853485eaaa4311a26 -Reviewed-by: Friedemann Kleint <[email protected]> -Reviewed-by: Fabian Bumberger <[email protected]> -Reviewed-by: Alex Blasche <[email protected]> ---- - examples/bluetooth/bluetooth.pro | 2 +- - 1 files changed, 1 insertions(+), 1 deletions(-) - -diff --git a/examples/bluetooth/bluetooth.pro b/examples/bluetooth/bluetooth.pro -index e3ef769..549bb7c 100644 ---- a/examples/bluetooth/bluetooth.pro -+++ b/examples/bluetooth/bluetooth.pro -@@ -6,4 +6,4 @@ qtHaveModule(widgets) { - bttennis - } - --SUBDIRS += scanner -+qtHaveModule(quick): SUBDIRS += scanner --- -1.7.1 -
package/qt5/qt5connectivity/qt5connectivity-0002-the-poster-example-needs-no-widgets-but-it-needs-quick.patch deleted +0 -67
67 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v2 2/3 qt5enginio: new package
In reply to Fatih Aşıcı--- package/qt5/Config.in | 1 + package/qt5/qt5enginio/Config.in | 13 +++++++++ package/qt5/qt5enginio/qt5enginio.mk | 56 ++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 package/qt5/qt5enginio/Config.in create mode 100644 package/qt5/qt5enginio/qt5enginio.mk
package/qt5/Config.in +1 -0
@@ -29,6 +29,7 @@ if BR2_PACKAGE_QT5 source "package/qt5/qt5base/Config.in" source "package/qt5/qt5connectivity/Config.in" source "package/qt5/qt5declarative/Config.in" +source "package/qt5/qt5enginio/Config.in" source "package/qt5/qt5graphicaleffects/Config.in" source "package/qt5/qt5imageformats/Config.in" source "package/qt5/qt5multimedia/Config.in"
package/qt5/qt5enginio/Config.in new file +13 -0
@@ -0,0 +1,13 @@ +config BR2_PACKAGE_QT5ENGINIO + bool "qt5enginio" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_QT5BASE + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_NETWORK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5enginio module. + + http://qt-project.org
package/qt5/qt5enginio/qt5enginio.mk new file +56 -0
56 lines not on this page · raw message
Signature · 1 line
1.9.1
PATCH v2 2/3 qt5enginio: new package
Quoted 89 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
"Fatih" == Fatih A??c? <[email protected]> writes:
Signed-off-by Fatih A??c? <[email protected]>--- package/qt5/Config.in | 1 + package/qt5/qt5enginio/Config.in | 13 +++++++++ package/qt5/qt5enginio/qt5enginio.mk | 56 ++++++++++++++++++++++++++++++++++++ 3 files changed, 70 insertions(+) create mode 100644 package/qt5/qt5enginio/Config.in create mode 100644 package/qt5/qt5enginio/qt5enginio.mkpackage/qt5/Config.in +1
-0@@ -29,6 +29,7 @@ if BR2_PACKAGE_QT5 source "package/qt5/qt5base/Config.in" source "package/qt5/qt5connectivity/Config.in" source "package/qt5/qt5declarative/Config.in" +source "package/qt5/qt5enginio/Config.in" source "package/qt5/qt5graphicaleffects/Config.in" source "package/qt5/qt5imageformats/Config.in" source "package/qt5/qt5multimedia/Config.in"package/qt5/qt5enginio/Config.in new file +13
-0@@ -0,0 +1,13 @@ +config BR2_PACKAGE_QT5ENGINIO + bool "qt5enginio" + select BR2_PACKAGE_OPENSSL + select BR2_PACKAGE_QT5BASE + select BR2_PACKAGE_QT5BASE_GUI + select BR2_PACKAGE_QT5BASE_NETWORK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5enginio module. + + http://qt-project.orgpackage/qt5/qt5enginio/qt5enginio.mk new file +41
-0@@ -0,0 +1,56 @@ +################################################################################ +# +# qt5enginio +# +################################################################################ + +QT5ENGINIO_VERSION = $(QT5_VERSION) +QT5ENGINIO_SITE = $(QT5_SITE) +QT5ENGINIO_SOURCE = qtenginio-opensource-src-$(QT5ENGINIO_VERSION).tar.xz +QT5ENGINIO_DEPENDENCIES = openssl qt5base +QT5ENGINIO_INSTALL_STAGING = YES + +ifeq ($(BR2_PACKAGE_QT5BASE_LICENSE_APPROVED),y) +QT5ENGINIO_LICENSE = LGPLv2.1 or GPLv3.0 +QT5ENGINIO_LICENSE_FILES = LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt +else +QT5ENGINIO_LICENSE = Commercial license +QT5ENGINIO_REDISTRIBUTE = NO +endif + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +QT5ENGINIO_DEPENDENCIES += qt5declarative +endif + +define QT5ENGINIO_CONFIGURE_CMDS + (cd $(@D); $(TARGET_MAKE_ENV) $(HOST_DIR)/usr/bin/qmake) +endef + +define QT5ENGINIO_BUILD_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) +endef + +define QT5ENGINIO_INSTALL_STAGING_CMDS + $(TARGET_MAKE_ENV) $(MAKE) -C $(@D) install + $(QT5_LA_PRL_FILES_FIXUP) +endef + +ifeq ($(BR2_PACKAGE_QT5DECLARATIVE),y) +define QT5ENGINIO_INSTALL_TARGET_QMLS + cp -dpfr $(STAGING_DIR)/usr/qml/Enginio $(TARGET_DIR)/usr/qml/ +endef
package/qt5/qt5enginio/qt5enginio.mk line 51
Quoted 10 lines
package/qt5/qt5enginio/qt5enginio.mk new file +10
-0+endif + +ifeq ($(BR2_PACKAGE_QT5BASE_EXAMPLES),y) +define QT5ENGINIO_INSTALL_TARGET_EXAMPLES + cp -dpfr $(STAGING_DIR)/usr/lib/qt/examples/enginio $(TARGET_DIR)/usr/lib/qt/examples/ +endef +endif + +define QT5ENGINIO_INSTALL_TARGET_CMDS + cp -dpf $(STAGING_DIR)/usr/lib/libEnginio.so.* $(TARGET_DIR)/usr/lib
This should only be done for !BR2_PREFER_STATIC_LIB (same for qt5websockets).
Committed all 3 to next with that fixed, thanks.
Signature · 1 line
Bye, Peter Korsgaard
PATCH v2 3/3 qt5websockets: new package
In reply to Fatih Aşıcı--- package/qt5/Config.in | 1 + package/qt5/qt5websockets/Config.in | 11 +++++ ...01-Remove-dependency-on-unused-sql-module.patch | 28 +++++++++++ package/qt5/qt5websockets/qt5websockets.mk | 55 ++++++++++++++++++++++ 4 files changed, 95 insertions(+) create mode 100644 package/qt5/qt5websockets/Config.in create mode 100644 package/qt5/qt5websockets/qt5websockets-0001-Remove-dependency-on-unused-sql-module.patch create mode 100644 package/qt5/qt5websockets/qt5websockets.mk
package/qt5/Config.in +1 -0
@@ -40,6 +40,7 @@ source "package/qt5/qt5sensors/Config.in" source "package/qt5/qt5serialport/Config.in" source "package/qt5/qt5svg/Config.in" source "package/qt5/qt5webkit/Config.in" +source "package/qt5/qt5websockets/Config.in" source "package/qt5/qt5x11extras/Config.in" source "package/qt5/qt5xmlpatterns/Config.in" endif
package/qt5/qt5websockets/Config.in new file +11 -0
@@ -0,0 +1,11 @@ +config BR2_PACKAGE_QT5WEBSOCKETS + bool "qt5websockets" + select BR2_PACKAGE_QT5BASE + select BR2_PACKAGE_QT5BASE_NETWORK + help + Qt is a cross-platform application and UI framework for + developers using C++. + + This package corresponds to the qt5websockets module. + + http://qt-project.org
package/qt5/qt5websockets/qt5websockets-0001-Remove-dependency-on-unused-sql-module.patch new file +28 -0
@@ -0,0 +1,28 @@ +From c6b4e9f6609b91e56301bde39be48fc65fcfb916 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?Fatih=20A=C5=9F=C4=B1c=C4=B1?= <[email protected]> +Date: Tue, 20 May 2014 16:15:43 +0300 +Subject: [PATCH] Remove dependency on unused sql module + +Sent-Upstream: https://codereview.qt-project.org/85844 +Signed-off-by: Fatih A??c? <[email protected]> +Change-Id: I102bcb81ec53d022480e81a3632b93d42bf33403 +--- + src/websockets/websockets.pro | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/websockets/websockets.pro b/src/websockets/websockets.pro +index 99e84b6..5b5ff78 100644 +--- a/src/websockets/websockets.pro ++++ b/src/websockets/websockets.pro +@@ -1,7 +1,7 @@ + load(qt_build_config) + TARGET = QtWebSockets + +-QT = core network core-private sql ++QT = core network core-private + + TEMPLATE = lib + +-- +1.9.1 +
package/qt5/qt5websockets/qt5websockets.mk new file +55 -0
55 lines not on this page · raw message
Signature · 1 line
1.9.1