summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--recipes-qt/qt5/qtwebkit/0002-Fix-build-with-non-glibc-libc-on-musl.patch (renamed from recipes-qt/qt5/qtwebkit/0001-Fix-build-with-non-glibc-libc-on-musl.patch)10
-rw-r--r--recipes-qt/qt5/qtwebkit/0003-WebKitMacros-Append-to-I-and-not-to-isystem.patch (renamed from recipes-qt/qt5/qtwebkit/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch)31
-rw-r--r--recipes-qt/qt5/qtwebkit_git.bb14
3 files changed, 27 insertions, 28 deletions
diff --git a/recipes-qt/qt5/qtwebkit/0001-Fix-build-with-non-glibc-libc-on-musl.patch b/recipes-qt/qt5/qtwebkit/0002-Fix-build-with-non-glibc-libc-on-musl.patch
index 5cd604e5..dead46d1 100644
--- a/recipes-qt/qt5/qtwebkit/0001-Fix-build-with-non-glibc-libc-on-musl.patch
+++ b/recipes-qt/qt5/qtwebkit/0002-Fix-build-with-non-glibc-libc-on-musl.patch
@@ -1,4 +1,4 @@
1From 356ef55b985d8d874f2358b937d396bea52ebff6 Mon Sep 17 00:00:00 2001 1From 9db9a8850602c2446b1a7ee96608fd74cf56a342 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Thu, 23 Aug 2018 04:06:17 +0000 3Date: Thu, 23 Aug 2018 04:06:17 +0000
4Subject: [PATCH] Fix build with non-glibc libc on musl 4Subject: [PATCH] Fix build with non-glibc libc on musl
@@ -8,12 +8,12 @@ Need to ensure glibc features are not assumed to be linux-wide
8Upstream-Status: Pending 8Upstream-Status: Pending
9Signed-off-by: Khem Raj <raj.khem@gmail.com> 9Signed-off-by: Khem Raj <raj.khem@gmail.com>
10--- 10---
11 Source/JavaScriptCore/heap/MachineStackMarker.cpp | 8 ++++---- 11 Source/JavaScriptCore/heap/MachineStackMarker.cpp | 8 ++++----
12 .../inspector/JSGlobalObjectInspectorController.cpp | 2 ++ 12 .../inspector/JSGlobalObjectInspectorController.cpp | 2 ++
13 2 files changed, 6 insertions(+), 4 deletions(-) 13 2 files changed, 6 insertions(+), 4 deletions(-)
14 14
15diff --git a/Source/JavaScriptCore/heap/MachineStackMarker.cpp b/Source/JavaScriptCore/heap/MachineStackMarker.cpp 15diff --git a/Source/JavaScriptCore/heap/MachineStackMarker.cpp b/Source/JavaScriptCore/heap/MachineStackMarker.cpp
16index 883914f..ce4e8d3 100644 16index 883914fd3..ce4e8d331 100644
17--- a/Source/JavaScriptCore/heap/MachineStackMarker.cpp 17--- a/Source/JavaScriptCore/heap/MachineStackMarker.cpp
18+++ b/Source/JavaScriptCore/heap/MachineStackMarker.cpp 18+++ b/Source/JavaScriptCore/heap/MachineStackMarker.cpp
19@@ -566,7 +566,7 @@ void* MachineThreads::Thread::Registers::stackPointer() const 19@@ -566,7 +566,7 @@ void* MachineThreads::Thread::Registers::stackPointer() const
@@ -53,7 +53,7 @@ index 883914f..ce4e8d3 100644
53 // The following sequence depends on glibc's sys/ucontext.h. 53 // The following sequence depends on glibc's sys/ucontext.h.
54 #if CPU(X86) 54 #if CPU(X86)
55diff --git a/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp b/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 55diff --git a/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp b/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp
56index fd7f869..e95391b 100644 56index fd7f869d4..e95391b32 100644
57--- a/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 57--- a/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp
58+++ b/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp 58+++ b/Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp
59@@ -51,8 +51,10 @@ 59@@ -51,8 +51,10 @@
diff --git a/recipes-qt/qt5/qtwebkit/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch b/recipes-qt/qt5/qtwebkit/0003-WebKitMacros-Append-to-I-and-not-to-isystem.patch
index d96a6b65..c24eb69e 100644
--- a/recipes-qt/qt5/qtwebkit/0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch
+++ b/recipes-qt/qt5/qtwebkit/0003-WebKitMacros-Append-to-I-and-not-to-isystem.patch
@@ -1,4 +1,4 @@
1From 7c2e6013caf7720530f963ca03eab2baa540c512 Mon Sep 17 00:00:00 2001 1From ef1b87e4ce8db720a4d7f5ee80fec4388dc3b086 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Fri, 24 Aug 2018 07:13:39 +0000 3Date: Fri, 24 Aug 2018 07:13:39 +0000
4Subject: [PATCH] WebKitMacros: Append to -I and not to -isystem 4Subject: [PATCH] WebKitMacros: Append to -I and not to -isystem
@@ -34,7 +34,7 @@ Signed-off-by: Khem Raj <raj.khem@gmail.com>
34 13 files changed, 13 insertions(+), 13 deletions(-) 34 13 files changed, 13 insertions(+), 13 deletions(-)
35 35
36diff --git a/Source/JavaScriptCore/shell/CMakeLists.txt b/Source/JavaScriptCore/shell/CMakeLists.txt 36diff --git a/Source/JavaScriptCore/shell/CMakeLists.txt b/Source/JavaScriptCore/shell/CMakeLists.txt
37index 27d8133..9480f6d 100644 37index 27d81336f..9480f6d88 100644
38--- a/Source/JavaScriptCore/shell/CMakeLists.txt 38--- a/Source/JavaScriptCore/shell/CMakeLists.txt
39+++ b/Source/JavaScriptCore/shell/CMakeLists.txt 39+++ b/Source/JavaScriptCore/shell/CMakeLists.txt
40@@ -20,7 +20,7 @@ WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS() 40@@ -20,7 +20,7 @@ WEBKIT_INCLUDE_CONFIG_FILES_IF_EXISTS()
@@ -47,7 +47,7 @@ index 27d8133..9480f6d 100644
47 target_link_libraries(jsc ${JSC_LIBRARIES}) 47 target_link_libraries(jsc ${JSC_LIBRARIES})
48 set_target_properties(jsc PROPERTIES FOLDER "JavaScriptCore") 48 set_target_properties(jsc PROPERTIES FOLDER "JavaScriptCore")
49diff --git a/Source/WebKit/qt/declarative/CMakeLists.txt b/Source/WebKit/qt/declarative/CMakeLists.txt 49diff --git a/Source/WebKit/qt/declarative/CMakeLists.txt b/Source/WebKit/qt/declarative/CMakeLists.txt
50index e1ba22b..84cb565 100644 50index e1ba22bc1..84cb56544 100644
51--- a/Source/WebKit/qt/declarative/CMakeLists.txt 51--- a/Source/WebKit/qt/declarative/CMakeLists.txt
52+++ b/Source/WebKit/qt/declarative/CMakeLists.txt 52+++ b/Source/WebKit/qt/declarative/CMakeLists.txt
53@@ -15,7 +15,7 @@ include_directories( 53@@ -15,7 +15,7 @@ include_directories(
@@ -60,7 +60,7 @@ index e1ba22b..84cb565 100644
60 ${Qt5Quick_INCLUDE_DIRS} 60 ${Qt5Quick_INCLUDE_DIRS}
61 ${Qt5Quick_PRIVATE_INCLUDE_DIRS} 61 ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
62diff --git a/Source/WebKit/qt/tests/CMakeLists.txt b/Source/WebKit/qt/tests/CMakeLists.txt 62diff --git a/Source/WebKit/qt/tests/CMakeLists.txt b/Source/WebKit/qt/tests/CMakeLists.txt
63index 3dc6af1..d821f02 100644 63index 3dc6af1d5..d821f0284 100644
64--- a/Source/WebKit/qt/tests/CMakeLists.txt 64--- a/Source/WebKit/qt/tests/CMakeLists.txt
65+++ b/Source/WebKit/qt/tests/CMakeLists.txt 65+++ b/Source/WebKit/qt/tests/CMakeLists.txt
66@@ -7,7 +7,7 @@ include_directories( 66@@ -7,7 +7,7 @@ include_directories(
@@ -73,7 +73,7 @@ index 3dc6af1..d821f02 100644
73 ${Qt5Gui_PRIVATE_INCLUDE_DIRS} 73 ${Qt5Gui_PRIVATE_INCLUDE_DIRS}
74 ${Qt5Widgets_INCLUDE_DIRS} 74 ${Qt5Widgets_INCLUDE_DIRS}
75diff --git a/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt b/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt 75diff --git a/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt b/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt
76index 210342e..bfc768f 100644 76index 210342ef5..bfc768fa0 100644
77--- a/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt 77--- a/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt
78+++ b/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt 78+++ b/Source/WebKit2/UIProcess/API/qt/tests/CMakeLists.txt
79@@ -4,7 +4,7 @@ include_directories( 79@@ -4,7 +4,7 @@ include_directories(
@@ -86,7 +86,7 @@ index 210342e..bfc768f 100644
86 ${Qt5Quick_PRIVATE_INCLUDE_DIRS} 86 ${Qt5Quick_PRIVATE_INCLUDE_DIRS}
87 ${Qt5QuickTest_INCLUDE_DIRS} 87 ${Qt5QuickTest_INCLUDE_DIRS}
88diff --git a/Source/cmake/WebKitMacros.cmake b/Source/cmake/WebKitMacros.cmake 88diff --git a/Source/cmake/WebKitMacros.cmake b/Source/cmake/WebKitMacros.cmake
89index 07e3143..a1e5887 100644 89index 07e31432a..a1e58873f 100644
90--- a/Source/cmake/WebKitMacros.cmake 90--- a/Source/cmake/WebKitMacros.cmake
91+++ b/Source/cmake/WebKitMacros.cmake 91+++ b/Source/cmake/WebKitMacros.cmake
92@@ -260,7 +260,7 @@ endmacro() 92@@ -260,7 +260,7 @@ endmacro()
@@ -99,7 +99,7 @@ index 07e3143..a1e5887 100644
99 ${${_target}_HEADERS} 99 ${${_target}_HEADERS}
100 ${${_target}_SOURCES} 100 ${${_target}_SOURCES}
101diff --git a/Tools/DumpRenderTree/CMakeLists.txt b/Tools/DumpRenderTree/CMakeLists.txt 101diff --git a/Tools/DumpRenderTree/CMakeLists.txt b/Tools/DumpRenderTree/CMakeLists.txt
102index 4a726cc..cd0c5e3 100644 102index 4a726ccaf..cd0c5e303 100644
103--- a/Tools/DumpRenderTree/CMakeLists.txt 103--- a/Tools/DumpRenderTree/CMakeLists.txt
104+++ b/Tools/DumpRenderTree/CMakeLists.txt 104+++ b/Tools/DumpRenderTree/CMakeLists.txt
105@@ -115,7 +115,7 @@ list(APPEND TestNetscapePlugin_LIBRARIES 105@@ -115,7 +115,7 @@ list(APPEND TestNetscapePlugin_LIBRARIES
@@ -112,7 +112,7 @@ index 4a726cc..cd0c5e3 100644
112 add_executable(DumpRenderTree ${DumpRenderTree_SOURCES}) 112 add_executable(DumpRenderTree ${DumpRenderTree_SOURCES})
113 target_link_libraries(DumpRenderTree ${DumpRenderTree_LIBRARIES}) 113 target_link_libraries(DumpRenderTree ${DumpRenderTree_LIBRARIES})
114diff --git a/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt b/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt 114diff --git a/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt b/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt
115index c431667..6dff244 100644 115index c431667b2..6dff24475 100644
116--- a/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt 116--- a/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt
117+++ b/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt 117+++ b/Tools/DumpRenderTree/TestNetscapePlugIn/CMakeLists.txt
118@@ -42,7 +42,7 @@ set(WebKitTestNetscapePlugin_SYSTEM_INCLUDE_DIRECTORIES 118@@ -42,7 +42,7 @@ set(WebKitTestNetscapePlugin_SYSTEM_INCLUDE_DIRECTORIES
@@ -125,7 +125,7 @@ index c431667..6dff244 100644
125 set(WebKitTestNetscapePlugin_LIBRARIES 125 set(WebKitTestNetscapePlugin_LIBRARIES
126 ${X11_LIBRARIES} 126 ${X11_LIBRARIES}
127diff --git a/Tools/ImageDiff/CMakeLists.txt b/Tools/ImageDiff/CMakeLists.txt 127diff --git a/Tools/ImageDiff/CMakeLists.txt b/Tools/ImageDiff/CMakeLists.txt
128index 6ce4ed5..4dd6c4a 100644 128index 6ce4ed522..4dd6c4adf 100644
129--- a/Tools/ImageDiff/CMakeLists.txt 129--- a/Tools/ImageDiff/CMakeLists.txt
130+++ b/Tools/ImageDiff/CMakeLists.txt 130+++ b/Tools/ImageDiff/CMakeLists.txt
131@@ -14,7 +14,7 @@ set(IMAGE_DIFF_LIBRARIES 131@@ -14,7 +14,7 @@ set(IMAGE_DIFF_LIBRARIES
@@ -138,7 +138,7 @@ index 6ce4ed5..4dd6c4a 100644
138 target_link_libraries(ImageDiff ${IMAGE_DIFF_LIBRARIES}) 138 target_link_libraries(ImageDiff ${IMAGE_DIFF_LIBRARIES})
139 set_target_properties(ImageDiff PROPERTIES FOLDER "Tools") 139 set_target_properties(ImageDiff PROPERTIES FOLDER "Tools")
140diff --git a/Tools/MiniBrowser/qt/CMakeLists.txt b/Tools/MiniBrowser/qt/CMakeLists.txt 140diff --git a/Tools/MiniBrowser/qt/CMakeLists.txt b/Tools/MiniBrowser/qt/CMakeLists.txt
141index 68dd13c..b491df2 100644 141index 68dd13c8b..b491df2a8 100644
142--- a/Tools/MiniBrowser/qt/CMakeLists.txt 142--- a/Tools/MiniBrowser/qt/CMakeLists.txt
143+++ b/Tools/MiniBrowser/qt/CMakeLists.txt 143+++ b/Tools/MiniBrowser/qt/CMakeLists.txt
144@@ -64,7 +64,7 @@ if (ENABLE_TEST_SUPPORT) 144@@ -64,7 +64,7 @@ if (ENABLE_TEST_SUPPORT)
@@ -151,7 +151,7 @@ index 68dd13c..b491df2 100644
151 target_link_libraries(MiniBrowser ${MiniBrowser_LIBRARIES}) 151 target_link_libraries(MiniBrowser ${MiniBrowser_LIBRARIES})
152 set_target_properties(MiniBrowser PROPERTIES FOLDER "Tools" AUTOMOC ON) 152 set_target_properties(MiniBrowser PROPERTIES FOLDER "Tools" AUTOMOC ON)
153diff --git a/Tools/QtTestBrowser/CMakeLists.txt b/Tools/QtTestBrowser/CMakeLists.txt 153diff --git a/Tools/QtTestBrowser/CMakeLists.txt b/Tools/QtTestBrowser/CMakeLists.txt
154index ccd8e0f..18de9f2 100644 154index ccd8e0ff2..18de9f274 100644
155--- a/Tools/QtTestBrowser/CMakeLists.txt 155--- a/Tools/QtTestBrowser/CMakeLists.txt
156+++ b/Tools/QtTestBrowser/CMakeLists.txt 156+++ b/Tools/QtTestBrowser/CMakeLists.txt
157@@ -62,7 +62,7 @@ if (ENABLE_TEST_SUPPORT) 157@@ -62,7 +62,7 @@ if (ENABLE_TEST_SUPPORT)
@@ -164,7 +164,7 @@ index ccd8e0f..18de9f2 100644
164 target_link_libraries(QtTestBrowser ${QtTestBrowser_LIBRARIES}) 164 target_link_libraries(QtTestBrowser ${QtTestBrowser_LIBRARIES})
165 set_target_properties(QtTestBrowser PROPERTIES FOLDER "Tools" AUTOMOC ON) 165 set_target_properties(QtTestBrowser PROPERTIES FOLDER "Tools" AUTOMOC ON)
166diff --git a/Tools/TestWebKitAPI/PlatformQt.cmake b/Tools/TestWebKitAPI/PlatformQt.cmake 166diff --git a/Tools/TestWebKitAPI/PlatformQt.cmake b/Tools/TestWebKitAPI/PlatformQt.cmake
167index c054c66..046a91a 100644 167index c054c661b..046a91abc 100644
168--- a/Tools/TestWebKitAPI/PlatformQt.cmake 168--- a/Tools/TestWebKitAPI/PlatformQt.cmake
169+++ b/Tools/TestWebKitAPI/PlatformQt.cmake 169+++ b/Tools/TestWebKitAPI/PlatformQt.cmake
170@@ -7,7 +7,7 @@ include_directories( 170@@ -7,7 +7,7 @@ include_directories(
@@ -177,7 +177,7 @@ index c054c66..046a91a 100644
177 ${Qt5Gui_INCLUDE_DIRS} 177 ${Qt5Gui_INCLUDE_DIRS}
178 ) 178 )
179diff --git a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt 179diff --git a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt
180index b0b4739..434e4ca 100644 180index b0b473962..434e4ca25 100644
181--- a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt 181--- a/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt
182+++ b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt 182+++ b/Tools/TestWebKitAPI/Tests/WebKit2Gtk/CMakeLists.txt
183@@ -23,7 +23,7 @@ include_directories( 183@@ -23,7 +23,7 @@ include_directories(
@@ -190,7 +190,7 @@ index b0b4739..434e4ca 100644
190 ${GLIB_INCLUDE_DIRS} 190 ${GLIB_INCLUDE_DIRS}
191 ${GSTREAMER_INCLUDE_DIRS} 191 ${GSTREAMER_INCLUDE_DIRS}
192diff --git a/Tools/WebKitTestRunner/CMakeLists.txt b/Tools/WebKitTestRunner/CMakeLists.txt 192diff --git a/Tools/WebKitTestRunner/CMakeLists.txt b/Tools/WebKitTestRunner/CMakeLists.txt
193index 6355772..6279658 100644 193index 6355772ce..627965858 100644
194--- a/Tools/WebKitTestRunner/CMakeLists.txt 194--- a/Tools/WebKitTestRunner/CMakeLists.txt
195+++ b/Tools/WebKitTestRunner/CMakeLists.txt 195+++ b/Tools/WebKitTestRunner/CMakeLists.txt
196@@ -116,7 +116,7 @@ GENERATE_BINDINGS(WebKitTestRunner_SOURCES 196@@ -116,7 +116,7 @@ GENERATE_BINDINGS(WebKitTestRunner_SOURCES
@@ -202,6 +202,3 @@ index 6355772..6279658 100644
202 202
203 add_library(TestRunnerInjectedBundle SHARED ${WebKitTestRunnerInjectedBundle_SOURCES}) 203 add_library(TestRunnerInjectedBundle SHARED ${WebKitTestRunnerInjectedBundle_SOURCES})
204 target_link_libraries(TestRunnerInjectedBundle ${WebKitTestRunner_LIBRARIES}) 204 target_link_libraries(TestRunnerInjectedBundle ${WebKitTestRunner_LIBRARIES})
205--
2061.9.1
207
diff --git a/recipes-qt/qt5/qtwebkit_git.bb b/recipes-qt/qt5/qtwebkit_git.bb
index 3a573e6d..8714d18f 100644
--- a/recipes-qt/qt5/qtwebkit_git.bb
+++ b/recipes-qt/qt5/qtwebkit_git.bb
@@ -1,12 +1,6 @@
1require qt5.inc 1require qt5.inc
2require qt5-git.inc 2require qt5-git.inc
3 3
4SRC_URI += "\
5 file://0001-Do-not-skip-build-for-cross-compile.patch \
6 file://0001-Fix-build-with-non-glibc-libc-on-musl.patch \
7 file://0001-WebKitMacros-Append-to-I-and-not-to-isystem.patch \
8"
9
10LICENSE = "BSD & LGPLv2+ | GPL-2.0" 4LICENSE = "BSD & LGPLv2+ | GPL-2.0"
11LIC_FILES_CHKSUM = " \ 5LIC_FILES_CHKSUM = " \
12 file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \ 6 file://LICENSE.LGPLv21;md5=58a180e1cf84c756c29f782b3a485c29 \
@@ -15,6 +9,14 @@ LIC_FILES_CHKSUM = " \
15 9
16DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-native bison-native" 10DEPENDS += "qtbase qtdeclarative icu ruby-native sqlite3 glib-2.0 libxslt gperf-native bison-native"
17 11
12# Patches from https://github.com/meta-qt5/qtwebkit/commits/b5.11
13# 5.11.meta-qt5.1
14SRC_URI += "\
15 file://0001-Do-not-skip-build-for-cross-compile.patch \
16 file://0002-Fix-build-with-non-glibc-libc-on-musl.patch \
17 file://0003-WebKitMacros-Append-to-I-and-not-to-isystem.patch \
18"
19
18inherit cmake_qt5 perlnative pythonnative 20inherit cmake_qt5 perlnative pythonnative
19 21
20# qemuarm build fails with: 22# qemuarm build fails with: