summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuli Piippo <samuli.piippo@theqtcompany.com>2016-03-08 09:18:57 +0200
committerSamuli Piippo <samuli.piippo@theqtcompany.com>2016-03-08 13:07:17 +0200
commit79029e538cebb72972e80b79dc596c122ad8c15b (patch)
tree987104cbb19fcd7d1d89fc1e08f545f40afd4ee9
parent60c8b35f13f0969a2244e5ab06333fc3994ed221 (diff)
parentd6fe20e6083d421cc6091892e1d302c46e2d075d (diff)
downloadmeta-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--.gitignore2
-rw-r--r--recipes-devtools/gdb/gdb_%.bbappend2
-rw-r--r--recipes-qt/libconnman-qt/libconnman-qt5_git.bb6
-rw-r--r--recipes-qt/qt5/qtbase/0004-qt_module-Fix-pkgconfig-and-libtool-replacements.patch66
-rw-r--r--recipes-qt/qt5/qtwebengine_git.bb1
-rw-r--r--recipes-qt/qt5/qtwebkit/0004-Fix-linking-with-libpthread.patch33
-rw-r--r--recipes-qt/qt5/qtwebkit_git.bb1
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"
5LICENSE = "Apache-2.0" 5LICENSE = "Apache-2.0"
6LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88" 6LIC_FILES_CHKSUM = "file://libconnman-qt/clockmodel.h;endline=8;md5=ea9f724050803f15d2d900ce3c5dac88"
7DEPENDS += "qtbase qtdeclarative" 7DEPENDS += "qtbase qtdeclarative"
8PV = "1.0.97+git${SRCPV}" 8PV = "1.0.98+git${SRCPV}"
9 9
10SRCREV = "4cca434935fa4d70d6841a2c20717eecb0beafa8" 10SRCREV = "8d4580a55ca02b84fc3db374c6530e39c94e0d92"
11SRC_URI = "git://git.merproject.org/mer-core/libconnman-qt.git;protocol=https" 11SRC_URI = "git://git.merproject.org/mer-core/libconnman-qt.git;protocol=https"
12 12
13S = "${WORKDIR}/git" 13S = "${WORKDIR}/git"
@@ -15,5 +15,3 @@ S = "${WORKDIR}/git"
15inherit pkgconfig 15inherit pkgconfig
16 16
17RDEPENDS_${PN} += "connman" 17RDEPENDS_${PN} += "connman"
18
19PNBLACKLIST[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 @@
1From 9d880bebf7efc83495487f8ea9a434956fe98eb0 Mon Sep 17 00:00:00 2001 1From db746d1ca0c41fe3da103d09fc240a0df9db5404 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Sat, 27 Apr 2013 23:15:37 +0200 3Date: Sat, 27 Apr 2013 23:15:37 +0200
4Subject: [PATCH] qt_module: Fix pkgconfig and libtool replacements 4Subject: [PATCH 04/10] qt_module: Fix pkgconfig and libtool replacements
5MIME-Version: 1.0 5MIME-Version: 1.0
6Content-Type: text/plain; charset=UTF-8 6Content-Type: text/plain; charset=UTF-8
7Content-Transfer-Encoding: 8bit 7Content-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
61Change-Id: Ie1c94b15f2a4e736b65b4d0924d99eb2a7d92a6c 61Change-Id: Ie1c94b15f2a4e736b65b4d0924d99eb2a7d92a6c
62Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 62Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
63Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> 63Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
64Signed-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
70diff --git a/mkspecs/features/qt.prf b/mkspecs/features/qt.prf
71index 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
69diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf 94diff --git a/mkspecs/features/qt_common.prf b/mkspecs/features/qt_common.prf
70index 38602f6..f9c401f 100644 95index 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
82diff --git a/mkspecs/features/qt_module.prf b/mkspecs/features/qt_module.prf
83index 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--
1121.9.1 1082.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 = "(.*)"
47COMPATIBLE_MACHINE_x86-64 = "(.*)" 47COMPATIBLE_MACHINE_x86-64 = "(.*)"
48COMPATIBLE_MACHINE_armv6 = "(.*)" 48COMPATIBLE_MACHINE_armv6 = "(.*)"
49COMPATIBLE_MACHINE_armv7a = "(.*)" 49COMPATIBLE_MACHINE_armv7a = "(.*)"
50COMPATIBLE_MACHINE_armv7ve = "(.*)"
50 51
51inherit qmake5 52inherit qmake5
52inherit gettext 53inherit 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 @@
1From 5dd4bb67cfce812fd7686e43616e2069f354a7df Mon Sep 17 00:00:00 2001
2From: Allan Sandfeld Jensen <allan.jensen@theqtcompany.com>
3Date: Mon, 22 Feb 2016 10:57:32 +0100
4Subject: [PATCH] Fix linking with libpthread
5
6WebKit use libpthread directly but is depending on other qt modules
7causing it to be linked against, which might break unless -lpthread
8is last. Instead just add it explicitly after the static libraries.
9
10Upstream-Status: Backport from 5.7 branch
11
12Change-Id: I2b95cff2c96373f8dce6f95052c4fccbe1982b33
13Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
14Signed-off-by: Jonathan Liu <net147@gmail.com>
15---
16 Tools/qmake/mkspecs/features/default_post.prf | 1 +
17 1 file changed, 1 insertion(+)
18
19diff --git a/Tools/qmake/mkspecs/features/default_post.prf b/Tools/qmake/mkspecs/features/default_post.prf
20index 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--
322.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
27PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel" 28PACKAGECONFIG ??= "gstreamer qtlocation qtmultimedia qtsensors qtwebchannel"