diff options
| author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-11-02 11:13:33 +0200 |
|---|---|---|
| committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-11-02 11:15:16 +0200 |
| commit | ec328d9677f39c223a697bbe1cbf8952631e9817 (patch) | |
| tree | 02053800a6baa93715ddffaae4fcfa0b03a3d23e /recipes-qt | |
| parent | e0db5666f9c04c92683514ca220b0aafd0a49df2 (diff) | |
| parent | d87335a50a9dd35d890786edbd79b8953fdaa11a (diff) | |
| download | meta-qt5-ec328d9677f39c223a697bbe1cbf8952631e9817.tar.gz | |
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9
* qtyocto/upstream/master:
qt5-ptest.inc: fix qtxmlpatterns:do_install_ptest out-of-order call
meta-qt5: Update to 5.9.2 release
qt5: add missing commercial license
qtxmlpatterns: Add HOMEPAGE info into recipe file.
qttools: Add HOMEPAGE info into recipe file.
qtsvg: Add HOMEPAGE info into recipe file.
qtscript: Add HOMEPAGE info into recipe file.
qtquick1: Add HOMEPAGE info into recipe file.
qtdeclarative: Add HOMEPAGE info into recipe file.
meta: drop a useless file
qtbase-native: Force use of built-in pcre
qtbase-native: set path to mkspec for cmake properly again
qtbase: Fix build with musl/clang
qtbase: Add OE clang specific mkspecs
Conflicts:
recipes-qt/qt5/qtcharts_git.bb
recipes-qt/qt5/qtwebengine_git.bb
Change-Id: I78ce0587cf7468bfdc22156ee8bbd24872f79c6a
Diffstat (limited to 'recipes-qt')
20 files changed, 189 insertions, 37 deletions
diff --git a/recipes-qt/examples/qt5everywheredemo_1.0.bb b/recipes-qt/examples/qt5everywheredemo_1.0.bb index 7735d902..ee947991 100644 --- a/recipes-qt/examples/qt5everywheredemo_1.0.bb +++ b/recipes-qt/examples/qt5everywheredemo_1.0.bb | |||
| @@ -1,12 +1,12 @@ | |||
| 1 | SUMMARY = "Qt5 everywhere demo" | 1 | SUMMARY = "Qt5 everywhere demo" |
| 2 | DESCRIPTION = "Quick tour of Qt 5.0, primarily focusing on its graphical capabilities." | 2 | DESCRIPTION = "Quick tour of Qt 5.0, primarily focusing on its graphical capabilities." |
| 3 | LICENSE = "BSD" | ||
| 3 | HOMEPAGE = "https://qt.gitorious.org/qt-labs" | 4 | HOMEPAGE = "https://qt.gitorious.org/qt-labs" |
| 4 | LICENSE = "LGPLv2.1" | 5 | LIC_FILES_CHKSUM = "file://qml/QtDemo/main.qml;endline=39;md5=7d80863906a4bc8ffca77fd869e335a9" |
| 5 | LIC_FILES_CHKSUM = "file://main.cpp;md5=1187cb795a0f96bce64e63dd1a67dc2b" | ||
| 6 | 6 | ||
| 7 | DEPENDS = "qtdeclarative qtgraphicaleffects" | 7 | DEPENDS = "qtdeclarative qtgraphicaleffects qtsvg qtmultimedia" |
| 8 | 8 | ||
| 9 | SRCREV = "c17fe9e0ec0882ac4c4dc1168095f569acab5d09" | 9 | SRCREV = "35d72a2eba7456a2efc5eb8b77afbc00f69ba0ac" |
| 10 | SRC_URI = "${QT_LABS_GIT}/qt-labs-qt5-everywhere-demo" | 10 | SRC_URI = "${QT_LABS_GIT}/qt-labs-qt5-everywhere-demo" |
| 11 | 11 | ||
| 12 | S = "${WORKDIR}/git/QtDemo" | 12 | S = "${WORKDIR}/git/QtDemo" |
diff --git a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb index 2676bdd7..383145be 100644 --- a/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb +++ b/recipes-qt/qt5/qt5-plugin-generic-vboxtouch_git.bb | |||
| @@ -9,7 +9,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 9 | file://evdevmousehandler.cpp;beginline=1;endline=40;md5=9081062f6e7f74b6e62ad7ecee4a71be \ | 9 | file://evdevmousehandler.cpp;beginline=1;endline=40;md5=9081062f6e7f74b6e62ad7ecee4a71be \ |
| 10 | " | 10 | " |
| 11 | 11 | ||
| 12 | PV = "1.1.3+gitr${SRCPV}" | 12 | PV = "1.1.4+gitr${SRCPV}" |
| 13 | 13 | ||
| 14 | DEPENDS = "qtbase" | 14 | DEPENDS = "qtbase" |
| 15 | 15 | ||
| @@ -17,7 +17,7 @@ DEPENDS = "qtbase" | |||
| 17 | CXXFLAGS += "-Wno-narrowing" | 17 | CXXFLAGS += "-Wno-narrowing" |
| 18 | 18 | ||
| 19 | SRC_URI = "git://github.com/nemomobile/qt5-plugin-generic-vboxtouch.git" | 19 | SRC_URI = "git://github.com/nemomobile/qt5-plugin-generic-vboxtouch.git" |
| 20 | SRCREV = "d613ad1cc64d7a6a9b38df4d49146170be6876aa" | 20 | SRCREV = "3f2bdb5a1d346f02d5ab185522271ba2288a42bb" |
| 21 | S = "${WORKDIR}/git/vboxtouch" | 21 | S = "${WORKDIR}/git/vboxtouch" |
| 22 | 22 | ||
| 23 | inherit qmake5 | 23 | inherit qmake5 |
diff --git a/recipes-qt/qt5/qt5-ptest.inc b/recipes-qt/qt5/qt5-ptest.inc index 4844878a..97bce88e 100644 --- a/recipes-qt/qt5/qt5-ptest.inc +++ b/recipes-qt/qt5/qt5-ptest.inc | |||
| @@ -4,8 +4,9 @@ inherit ptest | |||
| 4 | 4 | ||
| 5 | addtask do_populate_sysroot after do_install before do_compile_ptest_base | 5 | addtask do_populate_sysroot after do_install before do_compile_ptest_base |
| 6 | deltask do_compile_ptest_base | 6 | deltask do_compile_ptest_base |
| 7 | addtask do_compile_ptest_base after do_populate_sysroot before do_install_ptest | 7 | addtask do_compile_ptest_base after do_populate_sysroot before do_install_ptest_base |
| 8 | addtask do_install_ptest after do_compile_ptest_base before do_package | 8 | deltask do_install_ptest_base |
| 9 | addtask do_install_ptest_base after do_compile_ptest_base before do_package | ||
| 9 | 10 | ||
| 10 | do_compile_ptest() { | 11 | do_compile_ptest() { |
| 11 | cd ${S}/tests | 12 | cd ${S}/tests |
diff --git a/recipes-qt/qt5/qtbase-native_git.bb b/recipes-qt/qt5/qtbase-native_git.bb index 5a37a9e4..b0f59701 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
| @@ -38,14 +38,21 @@ SRC_URI += "\ | |||
| 38 | # 5.9.meta-qt5-native.2 | 38 | # 5.9.meta-qt5-native.2 |
| 39 | SRC_URI += " \ | 39 | SRC_URI += " \ |
| 40 | file://0009-Always-build-uic.patch \ | 40 | file://0009-Always-build-uic.patch \ |
| 41 | file://0010-Add-OE-specific-specs-for-clang-compiler.patch \ | ||
| 42 | file://0011-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | ||
| 43 | file://0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | ||
| 41 | " | 44 | " |
| 42 | 45 | ||
| 43 | CLEANBROKEN = "1" | 46 | CLEANBROKEN = "1" |
| 44 | 47 | ||
| 48 | XPLATFORM_toolchain-clang = "linux-oe-clang" | ||
| 49 | XPLATFORM ?= "linux-oe-g++" | ||
| 50 | |||
| 45 | PACKAGECONFIG_CONFARGS = " \ | 51 | PACKAGECONFIG_CONFARGS = " \ |
| 46 | -sysroot ${STAGING_DIR_NATIVE} \ | 52 | -sysroot ${STAGING_DIR_NATIVE} \ |
| 47 | -no-gcc-sysroot \ | 53 | -no-gcc-sysroot \ |
| 48 | -system-zlib \ | 54 | -system-zlib \ |
| 55 | -qt-pcre \ | ||
| 49 | -no-libjpeg \ | 56 | -no-libjpeg \ |
| 50 | -no-libpng \ | 57 | -no-libpng \ |
| 51 | -no-gif \ | 58 | -no-gif \ |
| @@ -79,7 +86,7 @@ PACKAGECONFIG_CONFARGS = " \ | |||
| 79 | -nomake examples \ | 86 | -nomake examples \ |
| 80 | -nomake tests \ | 87 | -nomake tests \ |
| 81 | -no-rpath \ | 88 | -no-rpath \ |
| 82 | -platform linux-oe-g++ \ | 89 | -platform ${XPLATFORM} \ |
| 83 | " | 90 | " |
| 84 | 91 | ||
| 85 | # for qtbase configuration we need default settings | 92 | # for qtbase configuration we need default settings |
| @@ -112,6 +119,10 @@ do_install() { | |||
| 112 | fi | 119 | fi |
| 113 | 120 | ||
| 114 | install -m 755 ${B}/bin/qfloat16-tables ${D}${OE_QMAKE_PATH_BINS} | 121 | install -m 755 ${B}/bin/qfloat16-tables ${D}${OE_QMAKE_PATH_BINS} |
| 122 | |||
| 123 | # since 5.9.2 something sets a very strange path to mkspec ("${_qt5Core_install_prefix}/../../../../../../../../../../usr/lib/qt5//mkspecs/linux-oe-g++") | ||
| 124 | # override this until somebody finds a better way | ||
| 125 | echo 'set(_qt5_corelib_extra_includes "${_qt5Core_install_prefix}/lib${QT_DIR_NAME}/mkspecs/linux-oe-g++")' > ${D}${libdir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake | ||
| 115 | } | 126 | } |
| 116 | 127 | ||
| 117 | SRCREV = "ec16ba393baf504d4b192cc349775c62d3c96aa0" | 128 | SRCREV = "ec16ba393baf504d4b192cc349775c62d3c96aa0" |
diff --git a/recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch b/recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch new file mode 100644 index 00000000..b019f67c --- /dev/null +++ b/recipes-qt/qt5/qtbase/0010-Add-OE-specific-specs-for-clang-compiler.patch | |||
| @@ -0,0 +1,72 @@ | |||
| 1 | From 3a46fb7b47d19c5261e1590f8d70fe41443def64 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 3 Sep 2017 09:11:44 -0700 | ||
| 4 | Subject: [PATCH] Add OE specific specs for clang compiler | ||
| 5 | |||
| 6 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 7 | --- | ||
| 8 | mkspecs/linux-oe-clang/qmake.conf | 43 ++++++++++++++++++++++++++++++++++ | ||
| 9 | mkspecs/linux-oe-clang/qplatformdefs.h | 1 + | ||
| 10 | 2 files changed, 44 insertions(+) | ||
| 11 | create mode 100644 mkspecs/linux-oe-clang/qmake.conf | ||
| 12 | create mode 100644 mkspecs/linux-oe-clang/qplatformdefs.h | ||
| 13 | |||
| 14 | diff --git a/mkspecs/linux-oe-clang/qmake.conf b/mkspecs/linux-oe-clang/qmake.conf | ||
| 15 | new file mode 100644 | ||
| 16 | index 0000000000..ffc9f051db | ||
| 17 | --- /dev/null | ||
| 18 | +++ b/mkspecs/linux-oe-clang/qmake.conf | ||
| 19 | @@ -0,0 +1,43 @@ | ||
| 20 | +# | ||
| 21 | +# qmake configuration for linux-g++ with modifications for building with OpenEmbedded | ||
| 22 | +# | ||
| 23 | + | ||
| 24 | +MAKEFILE_GENERATOR = UNIX | ||
| 25 | +CONFIG += incremental | ||
| 26 | +QMAKE_INCREMENTAL_STYLE = sublib | ||
| 27 | + | ||
| 28 | +include(../common/linux.conf) | ||
| 29 | + | ||
| 30 | +# QMAKE_<TOOL> (moc, uic, rcc) are gone, overwrite only ar and strip | ||
| 31 | +QMAKE_AR = $$(OE_QMAKE_AR) cqs | ||
| 32 | +QMAKE_STRIP = $$(OE_QMAKE_STRIP) | ||
| 33 | +QMAKE_WAYLAND_SCANNER = $$(OE_QMAKE_WAYLAND_SCANNER) | ||
| 34 | + | ||
| 35 | +include(../common/gcc-base-unix.conf) | ||
| 36 | + | ||
| 37 | +# *FLAGS from gcc-base.conf | ||
| 38 | +QMAKE_CFLAGS += $$(OE_QMAKE_CFLAGS) | ||
| 39 | +QMAKE_CXXFLAGS += $$(OE_QMAKE_CXXFLAGS) | ||
| 40 | +QMAKE_LFLAGS += $$(OE_QMAKE_LDFLAGS) | ||
| 41 | + | ||
| 42 | +include(../common/clang.conf) | ||
| 43 | + | ||
| 44 | +# tc settings from g++-base.conf | ||
| 45 | +QMAKE_COMPILER = $$(OE_QMAKE_COMPILER) clang | ||
| 46 | +QMAKE_CC = $$(OE_QMAKE_CC) | ||
| 47 | +QMAKE_CXX = $$(OE_QMAKE_CXX) | ||
| 48 | + | ||
| 49 | +QMAKE_CFLAGS_RELEASE_WITH_DEBUGINFO += $$(OE_QMAKE_CFLAGS) | ||
| 50 | + | ||
| 51 | +QMAKE_LINK = $$(OE_QMAKE_LINK) | ||
| 52 | +QMAKE_LINK_SHLIB = $$(OE_QMAKE_LINK) | ||
| 53 | +QMAKE_LINK_C = $$(OE_QMAKE_LINK) | ||
| 54 | +QMAKE_LINK_C_SHLIB = $$(OE_QMAKE_LINK) | ||
| 55 | + | ||
| 56 | +# for the SDK | ||
| 57 | +isEmpty(QMAKE_QT_CONFIG):QMAKE_QT_CONFIG = $$(OE_QMAKE_QT_CONFIG) | ||
| 58 | + | ||
| 59 | +include(../oe-device-extra.pri) | ||
| 60 | + | ||
| 61 | +load(device_config) | ||
| 62 | +load(qt_config) | ||
| 63 | diff --git a/mkspecs/linux-oe-clang/qplatformdefs.h b/mkspecs/linux-oe-clang/qplatformdefs.h | ||
| 64 | new file mode 100644 | ||
| 65 | index 0000000000..880c927b21 | ||
| 66 | --- /dev/null | ||
| 67 | +++ b/mkspecs/linux-oe-clang/qplatformdefs.h | ||
| 68 | @@ -0,0 +1 @@ | ||
| 69 | +#include "../linux-clang/qplatformdefs.h" | ||
| 70 | -- | ||
| 71 | 2.14.1 | ||
| 72 | |||
diff --git a/recipes-qt/qt5/qtbase/0011-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch b/recipes-qt/qt5/qtbase/0011-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch new file mode 100644 index 00000000..0c7fb874 --- /dev/null +++ b/recipes-qt/qt5/qtbase/0011-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch | |||
| @@ -0,0 +1,35 @@ | |||
| 1 | From 8394ad48f454aa292e4da57b3b75a3701dadcf96 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 3 Sep 2017 09:44:48 -0700 | ||
| 4 | Subject: [PATCH] linux-clang: Invert conditional for defining QT_SOCKLEN_T | ||
| 5 | |||
| 6 | This helps to make sure that QT_SOCKLEN_T is defined to be 'int' | ||
| 7 | only when its glibc < 2 and not for other libcswhich may define | ||
| 8 | it as per standards but are not glibc, e.g. musl | ||
| 9 | |||
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 11 | --- | ||
| 12 | mkspecs/linux-clang/qplatformdefs.h | 6 +++--- | ||
| 13 | 1 file changed, 3 insertions(+), 3 deletions(-) | ||
| 14 | |||
| 15 | diff --git a/mkspecs/linux-clang/qplatformdefs.h b/mkspecs/linux-clang/qplatformdefs.h | ||
| 16 | index d29225f12f..a0cdb57343 100644 | ||
| 17 | --- a/mkspecs/linux-clang/qplatformdefs.h | ||
| 18 | +++ b/mkspecs/linux-clang/qplatformdefs.h | ||
| 19 | @@ -84,10 +84,10 @@ | ||
| 20 | |||
| 21 | #undef QT_SOCKLEN_T | ||
| 22 | |||
| 23 | -#if defined(__GLIBC__) && (__GLIBC__ >= 2) | ||
| 24 | -#define QT_SOCKLEN_T socklen_t | ||
| 25 | -#else | ||
| 26 | +#if defined(__GLIBC__) && (__GLIBC__ < 2) | ||
| 27 | #define QT_SOCKLEN_T int | ||
| 28 | +#else | ||
| 29 | +#define QT_SOCKLEN_T socklen_t | ||
| 30 | #endif | ||
| 31 | |||
| 32 | #if defined(_XOPEN_SOURCE) && (_XOPEN_SOURCE >= 500) | ||
| 33 | -- | ||
| 34 | 2.14.1 | ||
| 35 | |||
diff --git a/recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch b/recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch new file mode 100644 index 00000000..a1776258 --- /dev/null +++ b/recipes-qt/qt5/qtbase/0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch | |||
| @@ -0,0 +1,28 @@ | |||
| 1 | From 30076434a9f651614db8c3e5db32d4acae54c600 Mon Sep 17 00:00:00 2001 | ||
| 2 | From: Khem Raj <raj.khem@gmail.com> | ||
| 3 | Date: Sun, 3 Sep 2017 10:11:50 -0700 | ||
| 4 | Subject: [PATCH] tst_qlocale: Enable QT_USE_FENV only on glibc | ||
| 5 | |||
| 6 | musl does not have feenableexcept function | ||
| 7 | |||
| 8 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
| 9 | --- | ||
| 10 | tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | 2 +- | ||
| 11 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 12 | |||
| 13 | diff --git a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | ||
| 14 | index 10d78b1f2f..a59f358f80 100644 | ||
| 15 | --- a/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | ||
| 16 | +++ b/tests/auto/corelib/tools/qlocale/tst_qlocale.cpp | ||
| 17 | @@ -46,7 +46,7 @@ | ||
| 18 | #include <private/qlocale_tools_p.h> | ||
| 19 | #include <qnumeric.h> | ||
| 20 | |||
| 21 | -#if defined(Q_OS_LINUX) && !defined(__UCLIBC__) | ||
| 22 | +#if defined(Q_OS_LINUX) && defined(__GLIBC__) | ||
| 23 | # define QT_USE_FENV | ||
| 24 | #endif | ||
| 25 | |||
| 26 | -- | ||
| 27 | 2.14.1 | ||
| 28 | |||
diff --git a/recipes-qt/qt5/qtbase_git.bb b/recipes-qt/qt5/qtbase_git.bb index 3ae2dfc1..802da3b4 100644 --- a/recipes-qt/qt5/qtbase_git.bb +++ b/recipes-qt/qt5/qtbase_git.bb | |||
| @@ -26,6 +26,9 @@ SRC_URI += "\ | |||
| 26 | file://0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ | 26 | file://0006-Pretend-Qt5-wasn-t-found-if-OE_QMAKE_PATH_EXTERNAL_H.patch \ |
| 27 | file://0007-Delete-qlonglong-and-qulonglong.patch \ | 27 | file://0007-Delete-qlonglong-and-qulonglong.patch \ |
| 28 | file://0008-Replace-pthread_yield-with-sched_yield.patch \ | 28 | file://0008-Replace-pthread_yield-with-sched_yield.patch \ |
| 29 | file://0010-Add-OE-specific-specs-for-clang-compiler.patch \ | ||
| 30 | file://0011-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | ||
| 31 | file://0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | ||
| 29 | file://run-ptest \ | 32 | file://run-ptest \ |
| 30 | " | 33 | " |
| 31 | 34 | ||
| @@ -160,6 +163,9 @@ QT_CONFIG_FLAGS += " \ | |||
| 160 | # since we cannot set empty set filename to a not existent file | 163 | # since we cannot set empty set filename to a not existent file |
| 161 | deltask generate_qt_config_file | 164 | deltask generate_qt_config_file |
| 162 | 165 | ||
| 166 | XPLATFORM_toolchain-clang = "linux-oe-clang" | ||
| 167 | XPLATFORM ?= "linux-oe-g++" | ||
| 168 | |||
| 163 | do_configure() { | 169 | do_configure() { |
| 164 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" during configuration | 170 | # Avoid qmake error "Cannot read [...]/usr/lib/qt5/mkspecs/oe-device-extra.pri: No such file or directory" during configuration |
| 165 | touch ${S}/mkspecs/oe-device-extra.pri | 171 | touch ${S}/mkspecs/oe-device-extra.pri |
| @@ -188,7 +194,7 @@ do_configure() { | |||
| 188 | -external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \ | 194 | -external-hostbindir ${OE_QMAKE_PATH_EXTERNAL_HOST_BINS} \ |
| 189 | -hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \ | 195 | -hostdatadir ${OE_QMAKE_PATH_HOST_DATA} \ |
| 190 | -platform ${OE_QMAKE_PLATFORM_NATIVE} \ | 196 | -platform ${OE_QMAKE_PLATFORM_NATIVE} \ |
| 191 | -xplatform linux-oe-g++ \ | 197 | -xplatform ${XPLATFORM} \ |
| 192 | ${QT_CONFIG_FLAGS} | 198 | ${QT_CONFIG_FLAGS} |
| 193 | } | 199 | } |
| 194 | 200 | ||
diff --git a/recipes-qt/qt5/qtcharts_git.bb b/recipes-qt/qt5/qtcharts_git.bb index da6e999f..3a8b46c9 100644 --- a/recipes-qt/qt5/qtcharts_git.bb +++ b/recipes-qt/qt5/qtcharts_git.bb | |||
| @@ -9,3 +9,7 @@ LIC_FILES_CHKSUM = " \ | |||
| 9 | DEPENDS += "qtbase qtdeclarative qtmultimedia" | 9 | DEPENDS += "qtbase qtdeclarative qtmultimedia" |
| 10 | 10 | ||
| 11 | SRCREV = "e3af14e9169207e0e73f7e50191106895c29ddc4" | 11 | SRCREV = "e3af14e9169207e0e73f7e50191106895c29ddc4" |
| 12 | |||
| 13 | # The same issue as in qtbase: | ||
| 14 | # http://errors.yoctoproject.org/Errors/Details/152641/ | ||
| 15 | LDFLAGS_append_x86 = "${@bb.utils.contains('DISTRO_FEATURES', 'ld-is-gold', ' -fuse-ld=bfd ', '', d)}" | ||
diff --git a/recipes-qt/qt5/qtdeclarative_git.bb b/recipes-qt/qt5/qtdeclarative_git.bb index cda7b3ad..4ae870a1 100644 --- a/recipes-qt/qt5/qtdeclarative_git.bb +++ b/recipes-qt/qt5/qtdeclarative_git.bb | |||
| @@ -2,6 +2,7 @@ require qt5.inc | |||
| 2 | require qt5-git.inc | 2 | require qt5-git.inc |
| 3 | require qt5-ptest.inc | 3 | require qt5-ptest.inc |
| 4 | 4 | ||
| 5 | HOMEPAGE = "http://www.qt.io" | ||
| 5 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 6 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
| 6 | LIC_FILES_CHKSUM = " \ | 7 | LIC_FILES_CHKSUM = " \ |
| 7 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | 8 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
diff --git a/recipes-qt/qt5/qtenginio_git.bb b/recipes-qt/qt5/qtenginio_git.bb index 1fa8e826..30d5eeae 100644 --- a/recipes-qt/qt5/qtenginio_git.bb +++ b/recipes-qt/qt5/qtenginio_git.bb | |||
| @@ -13,4 +13,4 @@ LIC_FILES_CHKSUM = " \ | |||
| 13 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" | 13 | DEPENDS += "qtbase qtdeclarative qtxmlpatterns" |
| 14 | 14 | ||
| 15 | QT_MODULE_BRANCH = "dev" | 15 | QT_MODULE_BRANCH = "dev" |
| 16 | SRCREV = "0555cf73c8b5abd41d8a4ff02457315c9e7c667d" | 16 | SRCREV = "23603a3b088178d8ec92fddb240e5a5c55d77d5a" |
diff --git a/recipes-qt/qt5/qtquick1_git.bb b/recipes-qt/qt5/qtquick1_git.bb index eaa36611..c1bbc8aa 100644 --- a/recipes-qt/qt5/qtquick1_git.bb +++ b/recipes-qt/qt5/qtquick1_git.bb | |||
| @@ -2,6 +2,7 @@ require qt5.inc | |||
| 2 | require qt5-git.inc | 2 | require qt5-git.inc |
| 3 | require qt5-ptest.inc | 3 | require qt5-ptest.inc |
| 4 | 4 | ||
| 5 | HOMEPAGE = "http://www.qt.io" | ||
| 5 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 6 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
| 6 | LIC_FILES_CHKSUM = " \ | 7 | LIC_FILES_CHKSUM = " \ |
| 7 | file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \ | 8 | file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \ |
diff --git a/recipes-qt/qt5/qtscript_git.bb b/recipes-qt/qt5/qtscript_git.bb index 50d2190f..b4f5a714 100644 --- a/recipes-qt/qt5/qtscript_git.bb +++ b/recipes-qt/qt5/qtscript_git.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | require qt5.inc | 1 | require qt5.inc |
| 2 | require qt5-git.inc | 2 | require qt5-git.inc |
| 3 | 3 | ||
| 4 | HOMEPAGE = "http://www.qt.io" | ||
| 4 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 5 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
| 5 | LIC_FILES_CHKSUM = " \ | 6 | LIC_FILES_CHKSUM = " \ |
| 6 | file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \ | 7 | file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \ |
diff --git a/recipes-qt/qt5/qtsvg_git.bb b/recipes-qt/qt5/qtsvg_git.bb index 93306035..f9e04c85 100644 --- a/recipes-qt/qt5/qtsvg_git.bb +++ b/recipes-qt/qt5/qtsvg_git.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | require qt5.inc | 1 | require qt5.inc |
| 2 | require qt5-git.inc | 2 | require qt5-git.inc |
| 3 | 3 | ||
| 4 | HOMEPAGE = "http://www.qt.io" | ||
| 4 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 5 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
| 5 | LIC_FILES_CHKSUM = " \ | 6 | LIC_FILES_CHKSUM = " \ |
| 6 | file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \ | 7 | file://LICENSE.LGPLv21;md5=4bfd28363f541b10d9f024181b8df516 \ |
diff --git a/recipes-qt/qt5/qtsystems_git.bb b/recipes-qt/qt5/qtsystems_git.bb index 911a7098..0c6ce7e0 100644 --- a/recipes-qt/qt5/qtsystems_git.bb +++ b/recipes-qt/qt5/qtsystems_git.bb | |||
| @@ -30,4 +30,4 @@ do_install_append() { | |||
| 30 | 30 | ||
| 31 | QT_MODULE_BRANCH = "dev" | 31 | QT_MODULE_BRANCH = "dev" |
| 32 | 32 | ||
| 33 | SRCREV = "f364358a817ba57fa5aa9c67e731241249e704f8" | 33 | SRCREV = "9c204e05ae7fefe9525b30238b469b1bb65d2537" |
diff --git a/recipes-qt/qt5/qttools_git.bb b/recipes-qt/qt5/qttools_git.bb index 80896939..69305196 100644 --- a/recipes-qt/qt5/qttools_git.bb +++ b/recipes-qt/qt5/qttools_git.bb | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | require qt5.inc | 1 | require qt5.inc |
| 2 | require qt5-git.inc | 2 | require qt5-git.inc |
| 3 | 3 | ||
| 4 | HOMEPAGE = "http://www.qt.io" | ||
| 4 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 5 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
| 5 | LIC_FILES_CHKSUM = " \ | 6 | LIC_FILES_CHKSUM = " \ |
| 6 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | 7 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
diff --git a/recipes-qt/qt5/qtxmlpatterns_git.bb b/recipes-qt/qt5/qtxmlpatterns_git.bb index d4fccafe..8b706ddb 100644 --- a/recipes-qt/qt5/qtxmlpatterns_git.bb +++ b/recipes-qt/qt5/qtxmlpatterns_git.bb | |||
| @@ -2,6 +2,7 @@ require qt5.inc | |||
| 2 | require qt5-git.inc | 2 | require qt5-git.inc |
| 3 | require qt5-ptest.inc | 3 | require qt5-ptest.inc |
| 4 | 4 | ||
| 5 | HOMEPAGE = "http://www.qt.io" | ||
| 5 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" | 6 | LICENSE = "GFDL-1.3 & BSD & ( GPL-3.0 & The-Qt-Company-GPL-Exception-1.0 | The-Qt-Company-Commercial ) & ( GPL-2.0+ | LGPL-3.0 | The-Qt-Company-Commercial )" |
| 6 | LIC_FILES_CHKSUM = " \ | 7 | LIC_FILES_CHKSUM = " \ |
| 7 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ | 8 | file://LICENSE.LGPL3;md5=e6a600fd5e1d9cbde2d983680233ad02 \ |
diff --git a/recipes-qt/qtchooser/qtchooser_git.bb b/recipes-qt/qtchooser/qtchooser_git.bb index f7656450..e745e8ad 100644 --- a/recipes-qt/qtchooser/qtchooser_git.bb +++ b/recipes-qt/qtchooser/qtchooser_git.bb | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | DESCRIPTION = "Wrapper to select between Qt development binary versions" | 1 | DESCRIPTION = "Wrapper to select between Qt development binary versions" |
| 2 | HOMEPAGE = "http://macieira.org/qtchooser" | 2 | HOMEPAGE = "http://macieira.org/qtchooser" |
| 3 | LICENSE = "LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | GPL-3.0" | 3 | LICENSE = "LGPL-2.1 & Digia-Qt-LGPL-Exception-1.1 | GPL-3.0" |
| 4 | SRC_URI = "git://code.qt.io/qt/qtchooser.git;branch=master \ | 4 | SRC_URI = "git://code.qt.io/cgit/qtsdk/qtchooser.git;branch=master \ |
| 5 | file://0001-Makefile-install-the-man-dir.patch" | 5 | file://0001-Makefile-install-the-man-dir.patch" |
| 6 | 6 | ||
| 7 | LIC_FILES_CHKSUM = " \ | 7 | LIC_FILES_CHKSUM = " \ |
| @@ -10,8 +10,8 @@ LIC_FILES_CHKSUM = " \ | |||
| 10 | file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ | 10 | file://LICENSE.LGPL;md5=4193e7f1d47a858f6b7c0f1ee66161de \ |
| 11 | " | 11 | " |
| 12 | S = "${WORKDIR}/git" | 12 | S = "${WORKDIR}/git" |
| 13 | SRCREV = "4717841185d34bbe450e3b24445f2d35e3325a6a" | 13 | SRCREV = "a1b6736e4f2daf86cd1626004d40ef57db85fbb5" |
| 14 | PV = "39+git${SRCREV}" | 14 | #PV = "39+git${SRCREV}" |
| 15 | 15 | ||
| 16 | inherit pkgconfig | 16 | inherit pkgconfig |
| 17 | 17 | ||
diff --git a/recipes-qt/tufao/tufao/build-Fix-mkspecs-and-CMake-module-install-directori.patch b/recipes-qt/tufao/tufao/build-Fix-mkspecs-and-CMake-module-install-directori.patch index a6da1ae4..d405c168 100644 --- a/recipes-qt/tufao/tufao/build-Fix-mkspecs-and-CMake-module-install-directori.patch +++ b/recipes-qt/tufao/tufao/build-Fix-mkspecs-and-CMake-module-install-directori.patch | |||
| @@ -1,42 +1,31 @@ | |||
| 1 | From 878c5a2a47d620f36dd281d4b0eb6677a8a1fbd4 Mon Sep 17 00:00:00 2001 | 1 | From d8c16e032a6b639b410761a07f2158e0aeda0b08 Mon Sep 17 00:00:00 2001 |
| 2 | From: Otavio Salvador <otavio@ossystems.com.br> | 2 | From: Otavio Salvador <otavio@ossystems.com.br> |
| 3 | Date: Sat, 7 Jun 2014 18:13:14 -0300 | 3 | Date: Sat, 7 Jun 2014 18:13:14 -0300 |
| 4 | Subject: [PATCH] build: Fix mkspecs and CMake module install directories | 4 | Subject: [PATCH] build: Fix mkspecs and CMake module install directories |
| 5 | |||
| 5 | Organization: O.S. Systems Software LTDA. | 6 | Organization: O.S. Systems Software LTDA. |
| 6 | 7 | ||
| 7 | Upstream-Status: Inapropriate [configuration] | 8 | Upstream-Status: Inapropriate [configuration] |
| 8 | 9 | ||
| 9 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> | 10 | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> |
| 11 | Signed-off-by: Herman van Hazendonk <github.com@herrie.org> | ||
| 10 | --- | 12 | --- |
| 11 | CMakeLists.txt | 2 +- | 13 | CMakeLists.txt | 2 +- |
| 12 | pkg/CMakeLists.txt | 2 +- | 14 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 13 | 2 files changed, 2 insertions(+), 2 deletions(-) | ||
| 14 | 15 | ||
| 15 | diff --git a/CMakeLists.txt b/CMakeLists.txt | 16 | diff --git a/CMakeLists.txt b/CMakeLists.txt |
| 16 | index d78fedf..1f4db6b 100644 | 17 | index 0695a76..f2266c9 100644 |
| 17 | --- a/CMakeLists.txt | 18 | --- a/CMakeLists.txt |
| 18 | +++ b/CMakeLists.txt | 19 | +++ b/CMakeLists.txt |
| 19 | @@ -27,7 +27,7 @@ endfunction(QUERY_QMAKE) | 20 | @@ -34,7 +34,7 @@ endfunction(QUERY_QMAKE) |
| 20 | query_qmake(QT_INSTALL_PLUGINS QT_PLUGINS_DIR) | 21 | query_qmake(QT_INSTALL_PLUGINS QT_PLUGINS_DIR) |
| 21 | query_qmake(QT_HOST_DATA QT_DATA_DIR) | 22 | query_qmake(QT_HOST_DATA QT_DATA_DIR) |
| 22 | 23 | ||
| 23 | -set(QT_MKSPECS_DIR ${QT_DATA_DIR}/mkspecs) | 24 | -set(QT_MKSPECS_DIR ${QT_DATA_DIR}/mkspecs) |
| 24 | +set(QT_MKSPECS_DIR ${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs) | 25 | +set(QT_MKSPECS_DIR ${OE_QMAKE_PATH_QT_ARCHDATA}/mkspecs) |
| 25 | 26 | ||
| 26 | # Configure options | 27 | # Debug version of library should have 'd' postfix on Windows |
| 27 | option(GENERATE_DOC | 28 | # and '_debug' on Mac OS X |
| 28 | diff --git a/pkg/CMakeLists.txt b/pkg/CMakeLists.txt | ||
| 29 | index 25891a5..a87fedd 100644 | ||
| 30 | --- a/pkg/CMakeLists.txt | ||
| 31 | +++ b/pkg/CMakeLists.txt | ||
| 32 | @@ -19,6 +19,6 @@ if(PKG_CONFIG_FOUND) | ||
| 33 | ) | ||
| 34 | endif(PKG_CONFIG_FOUND) | ||
| 35 | install(FILES "${CMAKE_CURRENT_BINARY_DIR}/FindTufao${TUFAO_VERSION_MAJOR}.cmake" | ||
| 36 | - DESTINATION "${CMAKE_ROOT}/Modules" | ||
| 37 | + DESTINATION "${libdir}/cmake" | ||
| 38 | COMPONENT development | ||
| 39 | ) | ||
| 40 | -- | 29 | -- |
| 41 | 2.0.0.rc4 | 30 | 2.0.0.rc4 |
| 42 | 31 | ||
diff --git a/recipes-qt/tufao/tufao_1.2.1.bb b/recipes-qt/tufao/tufao_1.3.10.bb index 34b28b78..d4b62e2b 100644 --- a/recipes-qt/tufao/tufao_1.2.1.bb +++ b/recipes-qt/tufao/tufao_1.3.10.bb | |||
| @@ -3,8 +3,8 @@ LICENSE = "LGPL-2.1" | |||
| 3 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" | 3 | LIC_FILES_CHKSUM = "file://COPYING.LESSER;md5=4fbd65380cdd255951079008b364516c" |
| 4 | DEPENDS = "qtbase" | 4 | DEPENDS = "qtbase" |
| 5 | 5 | ||
| 6 | SRCREV = "a4832b4c941b5ff3f5fab23adcff39e6ad6cb4e5" | 6 | SRCREV = "ad505c32d0ba14c3c616de8ba4c7eb79396c20a6" |
| 7 | SRC_URI = "git://github.com/vinipsmaker/tufao.git;protocol=http \ | 7 | SRC_URI = "git://github.com/vinipsmaker/tufao.git;protocol=http;branch=1.x \ |
| 8 | file://build-Fix-mkspecs-and-CMake-module-install-directori.patch" | 8 | file://build-Fix-mkspecs-and-CMake-module-install-directori.patch" |
| 9 | 9 | ||
| 10 | # This includes bugfixes from 1.x branch | 10 | # This includes bugfixes from 1.x branch |
