diff options
author | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2016-03-08 09:18:57 +0200 |
---|---|---|
committer | Samuli Piippo <samuli.piippo@theqtcompany.com> | 2016-03-08 13:07:17 +0200 |
commit | 79029e538cebb72972e80b79dc596c122ad8c15b (patch) | |
tree | 987104cbb19fcd7d1d89fc1e08f545f40afd4ee9 | |
parent | 60c8b35f13f0969a2244e5ab06333fc3994ed221 (diff) | |
parent | d6fe20e6083d421cc6091892e1d302c46e2d075d (diff) | |
download | meta-qt5-79029e538cebb72972e80b79dc596c122ad8c15b.tar.gz |
Merge remote-tracking branch 'meta-qt5/master' into HEAD
* meta-qt5/master:
qtwebengine: enable ARMv7VE support
Add .gitignore to ignore .pyc/.pyo files
gdb: include readline in default PACKAGECONFIG
libconnman-qt5: update to 1.0.98
qtwebkit: backport patch to fix linking with qtwebkit
libconnman-qt5: remove blacklist
qtbase: fix up pkgconfig replacements
Conflicts:
recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch
Change-Id: I7dfa3f9828a9ef587676d4ce21e676679abc98ec
-rw-r--r-- | .gitignore | 2 | ||||
-rw-r--r-- | recipes-devtools/gdb/gdb_%.bbappend | 2 | ||||
-rw-r--r-- | recipes-qt/libconnman-qt/libconnman-qt5_git.bb | 6 | ||||
-rw-r--r-- | recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch | 66 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebengine_git.bb | 1 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebkit/0004-Fix-linking-with-libpthread.patch | 33 | ||||
-rw-r--r-- | recipes-qt/qt5/qtwebkit_git.bb | 1 |
7 files changed, 71 insertions, 40 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 00000000..52e4e611 --- /dev/null +++ b/.gitignore | |||
@@ -0,0 +1,2 @@ | |||
1 | *.pyc | ||
2 | *.pyo | ||
diff --git a/recipes-devtools/gdb/gdb_%.bbappend b/recipes-devtools/gdb/gdb_%.bbappend index 41592c41..3e663e71 100644 --- a/recipes-devtools/gdb/gdb_%.bbappend +++ b/recipes-devtools/gdb/gdb_%.bbappend | |||
@@ -1 +1 @@ | |||
PACKAGECONFIG ??= "python" | PACKAGECONFIG ??= "readline python" | ||
diff --git a/recipes-qt/libconnman-qt/libconnman-qt5_git.bb b/recipes-qt/libconnman-qt/libconnman-qt5_git.bb index 71c04df8..c9a81404 100644 --- a/recipes-qt/libconnman-qt/libconnman-qt5_git.bb +++ b/recipes-qt/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.0.97+git${SRCPV}" | 8 | PV = "1.0.98+git${SRCPV}" |
9 | 9 | ||
10 | SRCREV = "4cca434935fa4d70d6841a2c20717eecb0beafa8" | 10 | SRCREV = "8d4580a55ca02b84fc3db374c6530e39c94e0d92" |
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 | 12 | ||
13 | S = "${WORKDIR}/git" | 13 | S = "${WORKDIR}/git" |
@@ -15,5 +15,3 @@ S = "${WORKDIR}/git" | |||
15 | inherit pkgconfig | 15 | inherit pkgconfig |
16 | 16 | ||
17 | RDEPENDS_${PN} += "connman" | 17 | RDEPENDS_${PN} += "connman" |
18 | |||
19 | PNBLACKLIST[libconnman-qt5] ?= "BROKEN: QA Issue: connman-qt5.pc failed sanity test (tmpdir)" | ||
diff --git a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch index d82fef21..4807df09 100644 --- a/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch +++ b/recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch | |||
@@ -1,7 +1,7 @@ | |||
1 | From 9d880bebf7efc83495487f8ea9a434956fe98eb0 Mon Sep 17 00:00:00 2001 | 1 | From db746d1ca0c41fe3da103d09fc240a0df9db5404 Mon Sep 17 00:00:00 2001 |
2 | From: Martin Jansa <Martin.Jansa@gmail.com> | 2 | From: Martin Jansa <Martin.Jansa@gmail.com> |
3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 | 3 | Date: Sat, 27 Apr 2013 23:15:37 +0200 |
4 | Subject: [PATCH] qt_module: Fix pkgconfig and libtool replacements | 4 | Subject: [PATCH 04/10] qt_module: Fix pkgconfig and libtool replacements |
5 | MIME-Version: 1.0 | 5 | MIME-Version: 1.0 |
6 | Content-Type: text/plain; charset=UTF-8 | 6 | Content-Type: text/plain; charset=UTF-8 |
7 | Content-Transfer-Encoding: 8bit | 7 | Content-Transfer-Encoding: 8bit |
@@ -26,7 +26,7 @@ Content-Transfer-Encoding: 8bit | |||
26 | * qmake does not prefix them with QT_SYSROOT when using them | 26 | * qmake does not prefix them with QT_SYSROOT when using them |
27 | so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE | 27 | so e.g. when building qtdeclarative we get -L/usr/lib to LINKAGE |
28 | variable, which is unsafe for cross-compilation | 28 | variable, which is unsafe for cross-compilation |
29 | * writing QT_SYSROOT in .prl files is dangerous for sstate when | 29 | * writting QT_SYSROOT in .prl files is dangerous for sstate when |
30 | builds are in different directories, so we need | 30 | builds are in different directories, so we need |
31 | SSTATE_SCAN_FILES += "*.pri *.prl" | 31 | SSTATE_SCAN_FILES += "*.pri *.prl" |
32 | to make them relocateble | 32 | to make them relocateble |
@@ -61,11 +61,36 @@ Content-Transfer-Encoding: 8bit | |||
61 | Change-Id: Ie1c94b15f2a4e736b65b4d0924d99eb2a7d92a6c | 61 | Change-Id: Ie1c94b15f2a4e736b65b4d0924d99eb2a7d92a6c |
62 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | 62 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> |
63 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> | 63 | Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> |
64 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
64 | --- | 65 | --- |
66 | mkspecs/features/qt.prf | 13 +++++++++++++ | ||
65 | mkspecs/features/qt_common.prf | 2 +- | 67 | mkspecs/features/qt_common.prf | 2 +- |
66 | mkspecs/features/qt_module.prf | 11 +++++++++++ | 68 | 2 files changed, 14 insertions(+), 1 deletion(-) |
67 | 2 files changed, 12 insertions(+), 1 deletion(-) | ||
68 | 69 | ||
70 | diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf | ||
71 | index f62b6bb..91be8b3 100644 | ||
72 | --- a/mkspecs/features/qt.prf | ||
73 | +++ b/mkspecs/features/qt.prf | ||
74 | @@ -321,6 +321,19 @@ contains(TEMPLATE, .*app) { | ||
75 | QTPLUGIN = $$manualplugs $$autoplugs | ||
76 | } | ||
77 | |||
78 | +contains(TEMPLATE, .*lib) { | ||
79 | + pkgconfig_prefix_replace.match = "prefix=$$[QT_SYSROOT]" | ||
80 | + pkgconfig_prefix_replace.replace = "prefix=" | ||
81 | + pkgconfig_prefix_replace.CONFIG = path | ||
82 | + QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_prefix_replace | ||
83 | + | ||
84 | + # drop -L/usr/lib in .prl files | ||
85 | + prl_replace.match = "-L\$${libdir}" | ||
86 | + prl_replace.replace = "" | ||
87 | + prl_replace.CONFIG = path | ||
88 | + QMAKE_PRL_INSTALL_REPLACE += prl_replace | ||
89 | +} | ||
90 | + | ||
91 | QT_PLUGIN_VERIFY = DEPLOYMENT_PLUGIN | ||
92 | contains(QT_CONFIG, static) { | ||
93 | QT_PLUGIN_VERIFY += QTPLUGIN | ||
69 | diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf | 94 | diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf |
70 | index 38602f6..f9c401f 100644 | 95 | index 38602f6..f9c401f 100644 |
71 | --- a/mkspecs/features/qt_common.prf | 96 | --- a/mkspecs/features/qt_common.prf |
@@ -79,35 +104,6 @@ index 38602f6..f9c401f 100644 | |||
79 | } | 104 | } |
80 | lib_replace.CONFIG = path | 105 | lib_replace.CONFIG = path |
81 | QMAKE_PRL_INSTALL_REPLACE += lib_replace | 106 | QMAKE_PRL_INSTALL_REPLACE += lib_replace |
82 | diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf | ||
83 | index fdce486..8e7a650 100644 | ||
84 | --- a/mkspecs/features/qt_module.prf | ||
85 | +++ b/mkspecs/features/qt_module.prf | ||
86 | @@ -259,6 +259,11 @@ load(qt_targets) | ||
87 | pclib_replace.replace = $$QMAKE_PKGCONFIG_LIBDIR | ||
88 | pclib_replace.CONFIG = path | ||
89 | QMAKE_PKGCONFIG_INSTALL_REPLACE += pclib_replace | ||
90 | + | ||
91 | + pkgconfig_include_replace.match = $$rplbase/include | ||
92 | + pkgconfig_include_replace.replace = "\$$\\{includedir}" | ||
93 | + pkgconfig_include_replace.CONFIG = path | ||
94 | + QMAKE_PKGCONFIG_INSTALL_REPLACE += pkgconfig_include_replace | ||
95 | } | ||
96 | !lib_bundle:unix { | ||
97 | CONFIG += create_libtool | ||
98 | @@ -271,6 +276,12 @@ load(qt_targets) | ||
99 | ltlib_replace.replace = $$QMAKE_LIBTOOL_LIBDIR | ||
100 | ltlib_replace.CONFIG = path | ||
101 | QMAKE_LIBTOOL_INSTALL_REPLACE += ltlib_replace | ||
102 | + | ||
103 | + # drop -L/usr/lib in .prl files | ||
104 | + prl_replace.match = "-L\$${libdir}" | ||
105 | + prl_replace.replace = "" | ||
106 | + prl_replace.CONFIG = path | ||
107 | + QMAKE_PRL_INSTALL_REPLACE += prl_replace | ||
108 | } | ||
109 | |||
110 | contains(QT_PRODUCT, OpenSource.*):DEFINES *= QT_OPENSOURCE | ||
111 | -- | 107 | -- |
112 | 1.9.1 | 108 | 2.7.1 |
113 | 109 | ||
diff --git a/recipes-qt/qt5/qtwebengine_git.bb b/recipes-qt/qt5/qtwebengine_git.bb index 30168f43..32a6459d 100644 --- a/recipes-qt/qt5/qtwebengine_git.bb +++ b/recipes-qt/qt5/qtwebengine_git.bb | |||
@@ -47,6 +47,7 @@ COMPATIBLE_MACHINE_x86 = "(.*)" | |||
47 | COMPATIBLE_MACHINE_x86-64 = "(.*)" | 47 | COMPATIBLE_MACHINE_x86-64 = "(.*)" |
48 | COMPATIBLE_MACHINE_armv6 = "(.*)" | 48 | COMPATIBLE_MACHINE_armv6 = "(.*)" |
49 | COMPATIBLE_MACHINE_armv7a = "(.*)" | 49 | COMPATIBLE_MACHINE_armv7a = "(.*)" |
50 | COMPATIBLE_MACHINE_armv7ve = "(.*)" | ||
50 | 51 | ||
51 | inherit qmake5 | 52 | inherit qmake5 |
52 | inherit gettext | 53 | inherit gettext |
diff --git a/recipes-qt/qt5/qtwebkit/0004-Fix-linking-with-libpthread.patch b/recipes-qt/qt5/qtwebkit/0004-Fix-linking-with-libpthread.patch new file mode 100644 index 00000000..c5e6ac52 --- /dev/null +++ b/recipes-qt/qt5/qtwebkit/0004-Fix-linking-with-libpthread.patch | |||
@@ -0,0 +1,33 @@ | |||
1 | From 5dd4bb67cfce812fd7686e43616e2069f354a7df Mon Sep 17 00:00:00 2001 | ||
2 | From: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com> | ||
3 | Date: Mon, 22 Feb 2016 10:57:32 +0100 | ||
4 | Subject: [PATCH] Fix linking with libpthread | ||
5 | |||
6 | WebKit use libpthread directly but is depending on other qt modules | ||
7 | causing it to be linked against, which might break unless -lpthread | ||
8 | is last. Instead just add it explicitly after the static libraries. | ||
9 | |||
10 | Upstream-Status: Backport from 5.7 branch | ||
11 | |||
12 | Change-Id: I2b95cff2c96373f8dce6f95052c4fccbe1982b33 | ||
13 | Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com> | ||
14 | Signed-off-by: Jonathan Liu <net147@gmail.com> | ||
15 | --- | ||
16 | Tools/qmake/mkspecs/features/default_post.prf | 1 + | ||
17 | 1 file changed, 1 insertion(+) | ||
18 | |||
19 | diff --git a/Tools/qmake/mkspecs/features/default_post.prf b/Tools/qmake/mkspecs/features/default_post.prf | ||
20 | index 67276b7..39bb3f7 100644 | ||
21 | --- a/Tools/qmake/mkspecs/features/default_post.prf | ||
22 | +++ b/Tools/qmake/mkspecs/features/default_post.prf | ||
23 | @@ -201,6 +201,7 @@ needToLink() { | ||
24 | linkAgainstLibrary($$library, $$eval(WEBKIT.$${library_identifier}.root_source_dir)) | ||
25 | LIBS += $$eval(WEBKIT.$${library_identifier}.dependent_libs) | ||
26 | } | ||
27 | + posix:!darwin: LIBS += -lpthread | ||
28 | } | ||
29 | |||
30 | creating_module { | ||
31 | -- | ||
32 | 2.7.1 | ||
33 | |||
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb index 9044d4fb..04cefada 100644 --- a/recipes-qt/qt5/qtwebkit_git.bb +++ b/recipes-qt/qt5/qtwebkit_git.bb | |||
@@ -22,6 +22,7 @@ SRC_URI += "\ | |||
22 | file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ | 22 | file://0001-qtwebkit-fix-QA-issue-bad-RPATH.patch \ |
23 | file://0002-Remove-TEXTREL-tag-in-x86.patch \ | 23 | file://0002-Remove-TEXTREL-tag-in-x86.patch \ |
24 | file://0003-Exclude-backtrace-API-for-non-glibc-libraries.patch \ | 24 | file://0003-Exclude-backtrace-API-for-non-glibc-libraries.patch \ |
25 | file://0004-Fix-linking-with-libpthread.patch \ | ||
25 | " | 26 | " |
26 | 27 | ||
27 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel" | 28 | PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel" |