diff options
author | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-11-06 10:22:59 +0200 |
---|---|---|
committer | Mikko Gronoff <mikko.gronoff@qt.io> | 2017-11-06 10:24:34 +0200 |
commit | 0ffe06cb808b1d321c55ff58c7f1184d6d3465fe (patch) | |
tree | bd917422c8d53fdea43b10ac50ed3e7836ef515b | |
parent | 2401cc3106e6f6e1d9c2a3016110cfa914a13dab (diff) | |
parent | d27de8ecd0308b548739f82cb8e1982d31c84085 (diff) | |
download | meta-qt5-0ffe06cb808b1d321c55ff58c7f1184d6d3465fe.tar.gz |
Merge remote-tracking branch 'qtyocto/5.9' into 5.10
* qtyocto/5.9:
qt5: update submodules to 5.9.3 (snapshot 1)
Merge remote-tracking branch 'qtyocto/upstream/master' into 5.9
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/nativesdk-qtbase_git.bb
recipes-qt/qt5/qt3d_git.bb
recipes-qt/qt5/qtbase-native_git.bb
recipes-qt/qt5/qtbase_git.bb
recipes-qt/qt5/qtcanvas3d_git.bb
recipes-qt/qt5/qtcharts_git.bb
recipes-qt/qt5/qtconnectivity_git.bb
recipes-qt/qt5/qtdatavis3d_git.bb
recipes-qt/qt5/qtdeclarative_git.bb
recipes-qt/qt5/qtgamepad_git.bb
recipes-qt/qt5/qtgraphicaleffects_git.bb
recipes-qt/qt5/qtimageformats_git.bb
recipes-qt/qt5/qtlocation_git.bb
recipes-qt/qt5/qtmultimedia_git.bb
recipes-qt/qt5/qtnetworkauth_git.bb
recipes-qt/qt5/qtquickcontrols2_git.bb
recipes-qt/qt5/qtquickcontrols_git.bb
recipes-qt/qt5/qtremoteobjects_git.bb
recipes-qt/qt5/qtscript_git.bb
recipes-qt/qt5/qtscxml_git.bb
recipes-qt/qt5/qtsensors_git.bb
recipes-qt/qt5/qtserialbus_git.bb
recipes-qt/qt5/qtserialport_git.bb
recipes-qt/qt5/qtsvg_git.bb
recipes-qt/qt5/qttools_git.bb
recipes-qt/qt5/qttranslations_git.bb
recipes-qt/qt5/qtvirtualkeyboard_git.bb
recipes-qt/qt5/qtwayland_git.bb
recipes-qt/qt5/qtwebchannel_git.bb
recipes-qt/qt5/qtwebengine_git.bb
recipes-qt/qt5/qtwebsockets_git.bb
recipes-qt/qt5/qtwebview_git.bb
recipes-qt/qt5/qtx11extras_git.bb
recipes-qt/qt5/qtxmlpatterns_git.bb
Change-Id: I562a75fd4af7f667c32cf13e1b486d1ac498821b
24 files changed, 211 insertions, 55 deletions
diff --git a/classes/qmake5_base.bbclass b/classes/qmake5_base.bbclass index 538c9489..3bc1279d 100644 --- a/classes/qmake5_base.bbclass +++ b/classes/qmake5_base.bbclass | |||
@@ -1,6 +1,9 @@ | |||
1 | # hardcode linux, because that's what 0001-Add-linux-oe-g-platform.patch adds | 1 | # hardcode linux, because that's what 0001-Add-linux-oe-g-platform.patch adds |
2 | OE_QMAKE_PLATFORM_NATIVE = "linux-oe-g++" | 2 | XPLATFORM_toolchain-clang = "linux-oe-clang" |
3 | OE_QMAKE_PLATFORM = "linux-oe-g++" | 3 | XPLATFORM ?= "linux-oe-g++" |
4 | |||
5 | OE_QMAKE_PLATFORM_NATIVE = "${XPLATFORM}" | ||
6 | OE_QMAKE_PLATFORM = "${XPLATFORM}" | ||
4 | 7 | ||
5 | # Add -d to show debug output from every qmake call, but it prints *a lot*, better to add it only to debugged recipe | 8 | # Add -d to show debug output from every qmake call, but it prints *a lot*, better to add it only to debugged recipe |
6 | OE_QMAKE_DEBUG_OUTPUT ?= "" | 9 | OE_QMAKE_DEBUG_OUTPUT ?= "" |
diff --git a/recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch b/recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch index 75943db0..7a67c744 100644 --- a/recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch +++ b/recipes-connectivity/libconnman-qt/libconnman-qt5/0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch | |||
@@ -1,22 +1,23 @@ | |||
1 | From 46b6456bc8995b8d6249fb008a538222d30716cd Mon Sep 17 00:00:00 2001 | 1 | From 827b323ee9a6db04c1f5b644abea0ced2095096a Mon Sep 17 00:00:00 2001 |
2 | From: Christophe Chapuis <chris.chapuis@gmail.com> | 2 | From: Christophe Chapuis <chris.chapuis@gmail.com> |
3 | Date: Tue, 26 Jan 2016 18:56:42 +0100 | 3 | Date: Tue, 26 Jan 2016 18:56:42 +0100 |
4 | Subject: [PATCH] Don't use MeeGo as prefix in order to make this a common | 4 | Subject: [PATCH] Don't use MeeGo as prefix in order to make this a common |
5 | component | 5 | component |
6 | 6 | ||
7 | Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com> | 7 | Signed-off-by: Christophe Chapuis <chris.chapuis@gmail.com> |
8 | Signed-off-by: Herman van Hazendonk <github.com@herrie.org> | ||
8 | --- | 9 | --- |
9 | plugin/components.h | 2 +- | 10 | plugin/plugin.cpp | 2 +- |
10 | plugin/plugin.pro | 2 +- | 11 | plugin/plugin.pro | 2 +- |
11 | plugin/qmldir | 2 +- | 12 | plugin/qmldir | 2 +- |
12 | 3 files changed, 3 insertions(+), 3 deletions(-) | 13 | 3 files changed, 3 insertions(+), 3 deletions(-) |
13 | 14 | ||
14 | diff --git a/plugin/components.h b/plugin/components.h | 15 | diff --git a/plugin/plugin.cpp b/plugin/plugin.cpp |
15 | index d4f2bcd..49b7ac2 100644 | 16 | index a383482..451c95f 100644 |
16 | --- a/plugin/components.h | 17 | --- a/plugin/plugin.cpp |
17 | +++ b/plugin/components.h | 18 | +++ b/plugin/plugin.cpp |
18 | @@ -17,7 +17,7 @@ | 19 | @@ -24,7 +24,7 @@ |
19 | class Components : public QQmlExtensionPlugin | 20 | class ConnmanPlugin: public QQmlExtensionPlugin |
20 | { | 21 | { |
21 | Q_OBJECT | 22 | Q_OBJECT |
22 | - Q_PLUGIN_METADATA(IID "MeeGo.Connman") | 23 | - Q_PLUGIN_METADATA(IID "MeeGo.Connman") |
@@ -25,7 +26,7 @@ index d4f2bcd..49b7ac2 100644 | |||
25 | public: | 26 | public: |
26 | void registerTypes(const char *uri); | 27 | void registerTypes(const char *uri); |
27 | diff --git a/plugin/plugin.pro b/plugin/plugin.pro | 28 | diff --git a/plugin/plugin.pro b/plugin/plugin.pro |
28 | index 31d9076..da47ad9 100644 | 29 | index c4f54cf..3763f57 100644 |
29 | --- a/plugin/plugin.pro | 30 | --- a/plugin/plugin.pro |
30 | +++ b/plugin/plugin.pro | 31 | +++ b/plugin/plugin.pro |
31 | @@ -17,7 +17,7 @@ LIBS += -l$$qtLibraryTarget(connman-$$TARGET_SUFFIX) | 32 | @@ -17,7 +17,7 @@ LIBS += -l$$qtLibraryTarget(connman-$$TARGET_SUFFIX) |
@@ -46,5 +47,5 @@ index 5db82b7..de56688 100644 | |||
46 | +module Connman | 47 | +module Connman |
47 | plugin ConnmanQtDeclarative | 48 | plugin ConnmanQtDeclarative |
48 | -- | 49 | -- |
49 | 1.8.1.2 | 50 | 2.11.0.windows.3 |
50 | 51 | ||
diff --git a/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb b/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb index 9605777d..ecd295c3 100644 --- a/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb +++ b/recipes-connectivity/libconnman-qt/libconnman-qt5_git.bb | |||
@@ -5,9 +5,9 @@ HOMEPAGE = "https://git.merproject.org/mer-core/libconnman-qt" | |||
5 | LICENSE = "Apache-2.0" | 5 | LICENSE = "Apache-2.0" |
6 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" | 6 | LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" |
7 | DEPENDS += "qtbase qtdeclarative" | 7 | DEPENDS += "qtbase qtdeclarative" |
8 | PV = "1.1.10+git${SRCPV}" | 8 | PV = "1.2.4+git${SRCPV}" |
9 | 9 | ||
10 | SRCREV = "4d6def3053eaccaac04e4f9e03ee24dea8b9e8d8" | 10 | SRCREV = "9d98e12ed60ae4fa9da62485cb8a82129ed1a464" |
11 | SRC_URI = "git://git.merproject.org/mer-core/libconnman-qt.git;protocol=https \ | 11 | SRC_URI = "git://git.merproject.org/mer-core/libconnman-qt.git;protocol=https \ |
12 | file://0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch \ | 12 | file://0001-Don-t-use-MeeGo-as-prefix-in-order-to-make-this-a-co.patch \ |
13 | " | 13 | " |
diff --git a/recipes-connectivity/libqofono/libqofono_git.bb b/recipes-connectivity/libqofono/libqofono_git.bb index 88df1351..18e9b8fd 100644 --- a/recipes-connectivity/libqofono/libqofono_git.bb +++ b/recipes-connectivity/libqofono/libqofono_git.bb | |||
@@ -5,11 +5,11 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" | |||
5 | 5 | ||
6 | DEPENDS += "qtbase qtdeclarative" | 6 | DEPENDS += "qtbase qtdeclarative" |
7 | 7 | ||
8 | SRCREV = "54435de3bed0b454ef4ea3ea32c7234fcd9f24c6" | 8 | SRCREV = "6916cd030b05f0bd137ea9b669fee48f20c19084" |
9 | SRC_URI = "git://git.merproject.org/mer-core/libqofono.git" | 9 | SRC_URI = "git://git.merproject.org/mer-core/libqofono.git" |
10 | S = "${WORKDIR}/git" | 10 | S = "${WORKDIR}/git" |
11 | 11 | ||
12 | PV = "0.87+gitr${SRCPV}" | 12 | PV = "0.92+gitr${SRCPV}" |
13 | 13 | ||
14 | inherit qmake5 | 14 | inherit qmake5 |
15 | 15 | ||
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 b0435ba9..f4e143f8 100644 --- a/recipes-qt/qt5/qtbase-native_git.bb +++ b/recipes-qt/qt5/qtbase-native_git.bb | |||
@@ -39,14 +39,21 @@ SRC_URI += "\ | |||
39 | SRC_URI += " \ | 39 | SRC_URI += " \ |
40 | file://0001-Disable-unnamed-tmp-files.patch \ | 40 | file://0001-Disable-unnamed-tmp-files.patch \ |
41 | file://0009-Always-build-uic.patch \ | 41 | file://0009-Always-build-uic.patch \ |
42 | file://0010-Add-OE-specific-specs-for-clang-compiler.patch \ | ||
43 | file://0011-linux-clang-Invert-conditional-for-defining-QT_SOCKL.patch \ | ||
44 | file://0012-tst_qlocale-Enable-QT_USE_FENV-only-on-glibc.patch \ | ||
42 | " | 45 | " |
43 | 46 | ||
44 | CLEANBROKEN = "1" | 47 | CLEANBROKEN = "1" |
45 | 48 | ||
49 | XPLATFORM_toolchain-clang = "linux-oe-clang" | ||
50 | XPLATFORM ?= "linux-oe-g++" | ||
51 | |||
46 | PACKAGECONFIG_CONFARGS = " \ | 52 | PACKAGECONFIG_CONFARGS = " \ |
47 | -sysroot ${STAGING_DIR_NATIVE} \ | 53 | -sysroot ${STAGING_DIR_NATIVE} \ |
48 | -no-gcc-sysroot \ | 54 | -no-gcc-sysroot \ |
49 | -system-zlib \ | 55 | -system-zlib \ |
56 | -qt-pcre \ | ||
50 | -no-libjpeg \ | 57 | -no-libjpeg \ |
51 | -no-libpng \ | 58 | -no-libpng \ |
52 | -no-gif \ | 59 | -no-gif \ |
@@ -80,7 +87,7 @@ PACKAGECONFIG_CONFARGS = " \ | |||
80 | -nomake examples \ | 87 | -nomake examples \ |
81 | -nomake tests \ | 88 | -nomake tests \ |
82 | -no-rpath \ | 89 | -no-rpath \ |
83 | -platform linux-oe-g++ \ | 90 | -platform ${XPLATFORM} \ |
84 | " | 91 | " |
85 | 92 | ||
86 | # for qtbase configuration we need default settings | 93 | # for qtbase configuration we need default settings |
@@ -113,6 +120,10 @@ do_install() { | |||
113 | fi | 120 | fi |
114 | 121 | ||
115 | install -m 755 ${B}/bin/qfloat16-tables ${D}${OE_QMAKE_PATH_BINS} | 122 | install -m 755 ${B}/bin/qfloat16-tables ${D}${OE_QMAKE_PATH_BINS} |
123 | |||
124 | # since 5.9.2 something sets a very strange path to mkspec ("${_qt5Core_install_prefix}/../../../../../../../../../../usr/lib/qt5//mkspecs/linux-oe-g++") | ||
125 | # override this until somebody finds a better way | ||
126 | echo 'set(_qt5_corelib_extra_includes "${_qt5Core_install_prefix}/lib${QT_DIR_NAME}/mkspecs/linux-oe-g++")' > ${D}${libdir}/cmake/Qt5Core/Qt5CoreConfigExtrasMkspecDir.cmake | ||
116 | } | 127 | } |
117 | 128 | ||
118 | SRCREV = "f27e029ef2e8400b803cec1b17ffd4e244d8610a" | 129 | SRCREV = "f27e029ef2e8400b803cec1b17ffd4e244d8610a" |
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 6aa8c160..40c7c3da 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 e575bc6c..83ec4223 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 = "cd8716678cf0cf2c9678edf4531a76cc00c7f828" | 11 | SRCREV = "cd8716678cf0cf2c9678edf4531a76cc00c7f828" |
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 afc38651..ef73f1f2 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 9aa358b5..5cff948f 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 b0bddc78..a3ba2774 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 bf632bb0..c8f3aa2f 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 e4ba6eda..dcb188dd 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 9fc1b5e9..18a8963c 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 |