summaryrefslogtreecommitdiffstats
path: root/recipes-qt/qt5/qtwebengine
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-qt/qt5/qtwebengine')
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch10
-rw-r--r--recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch10
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-chromium-third_party-boringssl-Demand-for-newer-POSI.patch38
-rw-r--r--recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch10
-rw-r--r--recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch29
-rw-r--r--recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch71
6 files changed, 15 insertions, 153 deletions
diff --git a/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch b/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch
index 062d9ed1..b6500ea0 100644
--- a/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch
+++ b/recipes-qt/qt5/qtwebengine/0001-chromium-base.gypi-include-atomicops_internals_x86_g.patch
@@ -1,8 +1,8 @@
1From 2a264c2ea7080b026ea1ec85f6317de13c5a6f4f Mon Sep 17 00:00:00 2001 1From 53e16d6f07005c1176455a4488cd8f93218e3cde Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Fri, 3 Oct 2014 03:52:11 +0200 3Date: Fri, 3 Oct 2014 03:52:11 +0200
4Subject: [PATCH 1/2] <chromium> base.gypi: include 4Subject: [PATCH] <chromium> base.gypi: include atomicops_internals_x86_gcc.cc
5 atomicops_internals_x86_gcc.cc when building for x64 arch 5 when building for x64 arch
6 6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
8--- 8---
@@ -10,10 +10,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10 1 file changed, 1 insertion(+), 1 deletion(-) 10 1 file changed, 1 insertion(+), 1 deletion(-)
11 11
12diff --git a/src/3rdparty/chromium/base/base.gypi b/src/3rdparty/chromium/base/base.gypi 12diff --git a/src/3rdparty/chromium/base/base.gypi b/src/3rdparty/chromium/base/base.gypi
13index a5a285a..f1cad86 100644 13index b860735..0ed5de3 100644
14--- a/src/3rdparty/chromium/base/base.gypi 14--- a/src/3rdparty/chromium/base/base.gypi
15+++ b/src/3rdparty/chromium/base/base.gypi 15+++ b/src/3rdparty/chromium/base/base.gypi
16@@ -759,7 +759,7 @@ 16@@ -785,7 +785,7 @@
17 ['include', '^nix/'], 17 ['include', '^nix/'],
18 ], 18 ],
19 }], 19 }],
diff --git a/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch b/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch
index 02381e04..3249f834 100644
--- a/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch
+++ b/recipes-qt/qt5/qtwebengine/0001-functions.prf-Don-t-match-QMAKE_EXT_CPP-or-QMAKE_EXT.patch
@@ -1,7 +1,7 @@
1From cf7f63dfcf71b7baee30112ef73fed67504033f7 Mon Sep 17 00:00:00 2001 1From 38efc016f223a1277bd3a92e4c78ac816adbcdaa Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com> 2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Mon, 30 Jun 2014 20:08:17 +0200 3Date: Mon, 30 Jun 2014 20:08:17 +0200
4Subject: [PATCH 1/4] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H 4Subject: [PATCH 1/2] functions.prf: Don't match QMAKE_EXT_CPP or QMAKE_EXT_H
5 anywhere in path, but at the end 5 anywhere in path, but at the end
6 6
7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> 7Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
@@ -10,10 +10,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10 1 file changed, 2 insertions(+), 2 deletions(-) 10 1 file changed, 2 insertions(+), 2 deletions(-)
11 11
12diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf 12diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
13index 64064bd..8287c8f 100644 13index d5265ab..2825457 100644
14--- a/tools/qmake/mkspecs/features/functions.prf 14--- a/tools/qmake/mkspecs/features/functions.prf
15+++ b/tools/qmake/mkspecs/features/functions.prf 15+++ b/tools/qmake/mkspecs/features/functions.prf
16@@ -105,9 +105,9 @@ defineReplace(mocOutput) { 16@@ -113,9 +113,9 @@ defineReplace(mocOutput) {
17 out = $$1 17 out = $$1
18 # The order is important, since the output of the second replace would end up accidentaly transformed by the first one 18 # The order is important, since the output of the second replace would end up accidentaly transformed by the first one
19 for(ext, $$list($${QMAKE_EXT_CPP})): \ 19 for(ext, $$list($${QMAKE_EXT_CPP})): \
@@ -26,5 +26,5 @@ index 64064bd..8287c8f 100644
26 } 26 }
27 27
28-- 28--
292.6.1 292.6.2
30 30
diff --git a/recipes-qt/qt5/qtwebengine/0002-chromium-third_party-boringssl-Demand-for-newer-POSI.patch b/recipes-qt/qt5/qtwebengine/0002-chromium-third_party-boringssl-Demand-for-newer-POSI.patch
deleted file mode 100644
index ae91cd2f..00000000
--- a/recipes-qt/qt5/qtwebengine/0002-chromium-third_party-boringssl-Demand-for-newer-POSI.patch
+++ /dev/null
@@ -1,38 +0,0 @@
1From b534874479a150d1fef4e0a4fb79a176d0a342eb Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 27 Jun 2015 13:29:52 -0700
4Subject: [PATCH 2/2] chromium/third_party/boringssl: Demand for newer POSIX
5 macro
6
7Reason for change: Define _POSIX_C_SOURCE such that it demands correct
8posix interfaces, netdb.h declares interfaces such as
9getaddrinfo if __USE_POSIX, i.e. POSIX.1:1990 or later.
10However, these interfaces were new in the 2001 edition of POSIX
11therefore ask for Extension from POSIX.1:2001 since we use addrinfo
12structure here.
13
14Change-Id: Icb1c92745d1a0ca958108ae80c270c630628729e
15Signed-off-by: Khem Raj <raj.khem@gmail.com>
16Reviewed-on: https://boringssl-review.googlesource.com/5253
17Reviewed-by: Adam Langley <agl@google.com>
18Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
19---
20 src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c | 2 +-
21 1 file changed, 1 insertion(+), 1 deletion(-)
22
23diff --git a/src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c b/src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c
24index ba65a1a..66c3976 100644
25--- a/src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c
26+++ b/src/3rdparty/chromium/third_party/boringssl/src/crypto/bio/socket_helper.c
27@@ -12,7 +12,7 @@
28 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
29 * CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */
30
31-#define _POSIX_SOURCE
32+#define _POSIX_C_SOURCE 200112L
33
34 #include <openssl/bio.h>
35 #include <openssl/err.h>
36--
372.6.1
38
diff --git a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch b/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch
index 2ba8fec4..4224d322 100644
--- a/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch
+++ b/recipes-qt/qt5/qtwebengine/0002-functions.prf-Make-sure-we-only-use-the-file-name-to.patch
@@ -1,7 +1,7 @@
1From 7f81bad8fcd00afcf2214285856d46f50f91b55c Mon Sep 17 00:00:00 2001 1From ebfec8ca32379bffd18cbab1f4335a458fcc7e41 Mon Sep 17 00:00:00 2001
2From: Simon Busch <morphis@gravedo.de> 2From: Simon Busch <morphis@gravedo.de>
3Date: Tue, 18 Nov 2014 10:38:18 +0100 3Date: Tue, 18 Nov 2014 10:38:18 +0100
4Subject: [PATCH 2/4] functions.prf: Make sure we only use the file name to 4Subject: [PATCH 2/2] functions.prf: Make sure we only use the file name to
5 generate it's moc'ed abbreviation 5 generate it's moc'ed abbreviation
6 6
7Signed-off-by: Simon Busch <morphis@gravedo.de> 7Signed-off-by: Simon Busch <morphis@gravedo.de>
@@ -11,10 +11,10 @@ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
11 1 file changed, 2 insertions(+), 1 deletion(-) 11 1 file changed, 2 insertions(+), 1 deletion(-)
12 12
13diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf 13diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
14index 8287c8f..04bdba5 100644 14index 2825457..f761b64 100644
15--- a/tools/qmake/mkspecs/features/functions.prf 15--- a/tools/qmake/mkspecs/features/functions.prf
16+++ b/tools/qmake/mkspecs/features/functions.prf 16+++ b/tools/qmake/mkspecs/features/functions.prf
17@@ -102,7 +102,8 @@ defineReplace(findIncludedMocFiles) { 17@@ -110,7 +110,8 @@ defineReplace(findIncludedMocFiles) {
18 } 18 }
19 19
20 defineReplace(mocOutput) { 20 defineReplace(mocOutput) {
@@ -25,5 +25,5 @@ index 8287c8f..04bdba5 100644
25 for(ext, $$list($${QMAKE_EXT_CPP})): \ 25 for(ext, $$list($${QMAKE_EXT_CPP})): \
26 out = $$replace(out, ^(.*)($$re_escape($${ext}))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC}) 26 out = $$replace(out, ^(.*)($$re_escape($${ext}))$, $${QMAKE_CPP_MOD_MOC}\\1$${QMAKE_EXT_CPP_MOC})
27-- 27--
282.6.1 282.6.2
29 29
diff --git a/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch b/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch
deleted file mode 100644
index 23be4890..00000000
--- a/recipes-qt/qt5/qtwebengine/0003-functions.prf-allow-build-for-linux-oe-g-platform.patch
+++ /dev/null
@@ -1,29 +0,0 @@
1From a7bb8e37abb3a11e6257d6e154d33c7af5856dcc Mon Sep 17 00:00:00 2001
2From: Frieder Schrempf <frieder.schrempf@online.de>
3Date: Mon, 1 Dec 2014 14:34:40 +0000
4Subject: [PATCH 3/4] functions.prf: allow build for linux-oe-g++ platform
5
6Upstream-Status: Inappropriate [OE specific]
7
8Signed-off-by: Frieder Schrempf <frieder.schrempf@online.de>
9Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
10---
11 tools/qmake/mkspecs/features/functions.prf | 2 +-
12 1 file changed, 1 insertion(+), 1 deletion(-)
13
14diff --git a/tools/qmake/mkspecs/features/functions.prf b/tools/qmake/mkspecs/features/functions.prf
15index 04bdba5..4206661 100644
16--- a/tools/qmake/mkspecs/features/functions.prf
17+++ b/tools/qmake/mkspecs/features/functions.prf
18@@ -14,7 +14,7 @@ defineTest(isPlatformSupported) {
19
20 linux-g++*:!isGCCVersionSupported(): return(false)
21 !isPythonVersionSupported(): return(false)
22- linux-g++*|win32-msvc2013|macx-clang*: return(true)
23+ linux-g++*|linux-oe-g++*|win32-msvc2013|macx-clang*: return(true)
24 boot2qt: return(true)
25
26 skipBuild("Qt WebEngine can currently only be built for Linux (GCC), Windows (MSVC 2013), OS X (XCode 5.1+) or Qt for Device Creation.")
27--
282.6.1
29
diff --git a/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch b/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch
deleted file mode 100644
index 037b0e4e..00000000
--- a/recipes-qt/qt5/qtwebengine/0004-Generate-usable-qmake_extras.gypi.patch
+++ /dev/null
@@ -1,71 +0,0 @@
1From 324eab1b148df1e8330b2dbbd114ab696c163e46 Mon Sep 17 00:00:00 2001
2From: Samuli Piippo <samuli.piippo@theqtcompany.com>
3Date: Mon, 11 May 2015 13:47:06 +0300
4Subject: [PATCH 4/4] Generate usable qmake_extras.gypi
5
6Running qmake recursively does not take .depends into account, so
7the SUBDIRS need to be in correct order so that qmake_extras.gypi
8is used for the ninja files. Do no try to write compiler tools as
9it will break the build.
10
11Task-number: QTBUG-45706
12Upstream-Status: Pending
13---
14 src/core/core.pro | 7 ++++---
15 src/core/gyp_configure_host.pro | 3 ---
16 src/core/gyp_configure_target.pro | 3 ---
17 3 files changed, 4 insertions(+), 9 deletions(-)
18
19diff --git a/src/core/core.pro b/src/core/core.pro
20index cf00f39..747b711 100644
21--- a/src/core/core.pro
22+++ b/src/core/core.pro
23@@ -12,9 +12,7 @@ gyp_run.depends = core_gyp_generator
24 core_module.file = core_module.pro
25 core_module.depends = gyp_run
26
27-SUBDIRS += core_gyp_generator \
28- gyp_run \
29- core_module
30+SUBDIRS += core_gyp_generator
31
32 !win32 {
33 # gyp_configure_host.pro and gyp_configure_target.pro are phony pro files that
34@@ -28,3 +26,6 @@ SUBDIRS += core_gyp_generator \
35 gyp_run.depends += gyp_configure_host gyp_configure_target
36 SUBDIRS += gyp_configure_host gyp_configure_target
37 }
38+
39+SUBDIRS += gyp_run \
40+ core_module
41diff --git a/src/core/gyp_configure_host.pro b/src/core/gyp_configure_host.pro
42index eb94cb8..859bcbf 100644
43--- a/src/core/gyp_configure_host.pro
44+++ b/src/core/gyp_configure_host.pro
45@@ -6,9 +6,6 @@ option(host_build)
46
47 GYPI_CONTENTS = "{" \
48 " 'make_global_settings': [" \
49- " ['CC.host', '$$which($$QMAKE_CC)']," \
50- " ['CXX.host', '$$which($$QMAKE_CXX)']," \
51- " ['LD.host', '$$which($$QMAKE_LINK)'],"
52
53 GYPI_FILE = $$OUT_PWD/qmake_extras.gypi
54 !build_pass {
55diff --git a/src/core/gyp_configure_target.pro b/src/core/gyp_configure_target.pro
56index 2a59966..317d24a 100644
57--- a/src/core/gyp_configure_target.pro
58+++ b/src/core/gyp_configure_target.pro
59@@ -3,9 +3,6 @@ TEMPLATE = aux
60
61 TOOLCHAIN_INCLUDES = $${QMAKE_INCDIR_EGL} $${INCLUDEPATH} $${QMAKE_INCDIR}
62
63-GYPI_CONTENTS += " ['CC', '$$which($$QMAKE_CC)']," \
64- " ['CXX', '$$which($$QMAKE_CXX)']," \
65- " ['LD', '$$which($$QMAKE_LINK)'],"
66 GYPI_CONTENTS += " ]," \
67 " 'target_defaults': {" \
68 " 'target_conditions': [" \
69--
702.6.1
71