Gentoo Archives: gentoo-commits

From: Aaron Bauman <bman@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtwebkit/files/
Date: Sun, 01 Dec 2019 18:42:48
Message-Id: 1575225756.0c26ac28753383ed6b714d00651f56a97ae0ebf6.bman@gentoo
1 commit: 0c26ac28753383ed6b714d00651f56a97ae0ebf6
2 Author: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail <DOT> com>
3 AuthorDate: Sun Dec 1 08:20:33 2019 +0000
4 Commit: Aaron Bauman <bman <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 18:42:36 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c26ac28
7
8 dev-qt/qtwebkit: remove unused patches
9
10 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
11 Closes: https://github.com/gentoo/gentoo/pull/13818
12 Signed-off-by: Aaron Bauman <bman <AT> gentoo.org>
13
14 ...0180120-cmake-fix-pkgconfig_deps-spelling.patch | 97 ----------------------
15 ...twebkit-5.212.0_pre20180120-fix-pkgconfig.patch | 29 -------
16 .../qtwebkit-5.212.0_pre20180120-functional.patch | 22 -----
17 ...webkit-5.212.0_pre20180120-js-build-error.patch | 34 --------
18 4 files changed, 182 deletions(-)
19
20 diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-cmake-fix-pkgconfig_deps-spelling.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-cmake-fix-pkgconfig_deps-spelling.patch
21 deleted file mode 100644
22 index a460cec609b..00000000000
23 --- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-cmake-fix-pkgconfig_deps-spelling.patch
24 +++ /dev/null
25 @@ -1,97 +0,0 @@
26 -From 326604b27878566d581ea8c1991abd280453a75b Mon Sep 17 00:00:00 2001
27 -From: Andrew Webster <awebster@××××.com>
28 -Date: Tue, 20 Mar 2018 09:08:00 -0400
29 -Subject: [PATCH] [cmake] Make spelling for PKGCONFIG_DEPS consistent
30 -
31 -It was referenced as PKGCONGIG_DEPS and PKGCONFIG_DEPS which left
32 -Qt5WebKitWidgets with empty dependencies. Correcting to
33 -PKGCONFIG_DEPS gives it the proper dependencies.
34 -
35 -Qt5WebKit was already working, but the spelling has also been
36 -corrected to avoid confusion.
37 ----
38 - Source/WebKit/PlatformQt.cmake | 14 +++++++-------
39 - 1 file changed, 7 insertions(+), 7 deletions(-)
40 -
41 -diff --git a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake
42 -index 28976b611cd8..de3eabab1157 100644
43 ---- a/Source/WebKit/PlatformQt.cmake
44 -+++ b/Source/WebKit/PlatformQt.cmake
45 -@@ -427,7 +427,7 @@ install(
46 - COMPONENT Data
47 - )
48 -
49 --set(WEBKIT_PKGCONGIG_DEPS "Qt5Core Qt5Gui Qt5Network")
50 -+set(WEBKIT_PKGCONFIG_DEPS "Qt5Core Qt5Gui Qt5Network")
51 - set(WEBKIT_PRI_DEPS "core gui network")
52 - set(WEBKIT_PRI_EXTRA_LIBS "")
53 - set(WEBKIT_PRI_RUNTIME_DEPS "core_private gui_private")
54 -@@ -448,11 +448,11 @@ if (USE_MEDIA_FOUNDATION)
55 - set(WEBKIT_PRI_EXTRA_LIBS "-lmfuuid -lstrmiids ${WEBKIT_PRI_EXTRA_LIBS}")
56 - endif ()
57 - if (USE_QT_MULTIMEDIA)
58 -- set(WEBKIT_PKGCONGIG_DEPS "${WEBKIT_PKGCONGIG_DEPS} Qt5Multimedia")
59 -+ set(WEBKIT_PKGCONFIG_DEPS "${WEBKIT_PKGCONFIG_DEPS} Qt5Multimedia")
60 - set(WEBKIT_PRI_RUNTIME_DEPS "multimedia ${WEBKIT_PRI_RUNTIME_DEPS}")
61 - endif ()
62 -
63 --set(WEBKITWIDGETS_PKGCONGIG_DEPS "${WEBKIT_PKGCONGIG_DEPS} Qt5Widgets Qt5WebKit")
64 -+set(WEBKITWIDGETS_PKGCONFIG_DEPS "${WEBKIT_PKGCONGIG_DEPS} Qt5Widgets Qt5WebKit")
65 - set(WEBKITWIDGETS_PRI_DEPS "${WEBKIT_PRI_DEPS} widgets webkit")
66 - set(WEBKITWIDGETS_PRI_RUNTIME_DEPS "${WEBKIT_PRI_RUNTIME_DEPS} widgets_private")
67 -
68 -@@ -465,12 +465,12 @@ if (ENABLE_PRINT_SUPPORT)
69 - endif ()
70 -
71 - if (USE_QT_MULTIMEDIA)
72 -- set(WEBKITWIDGETS_PKGCONGIG_DEPS "${WEBKITWIDGETS_PKGCONGIG_DEPS} Qt5MultimediaWidgets")
73 -+ set(WEBKITWIDGETS_PKGCONFIG_DEPS "${WEBKITWIDGETS_PKGCONFIG_DEPS} Qt5MultimediaWidgets")
74 - set(WEBKITWIDGETS_PRI_RUNTIME_DEPS "${WEBKITWIDGETS_PRI_RUNTIME_DEPS} multimediawidgets")
75 - endif ()
76 -
77 - if (QT_STATIC_BUILD)
78 -- set(WEBKITWIDGETS_PKGCONGIG_DEPS "${WEBKITWIDGETS_PKGCONGIG_DEPS} Qt5PrintSupport")
79 -+ set(WEBKITWIDGETS_PKGCONFIG_DEPS "${WEBKITWIDGETS_PKGCONFIG_DEPS} Qt5PrintSupport")
80 - set(WEBKITWIDGETS_PRI_DEPS "${WEBKITWIDGETS_PRI_DEPS} printsupport")
81 - set(EXTRA_LIBS_NAMES WebCore JavaScriptCore WTF)
82 - append_lib_names_to_list(EXTRA_LIBS_NAMES ${LIBXML2_LIBRARIES} ${SQLITE_LIBRARIES} ${ZLIB_LIBRARIES} ${JPEG_LIBRARIES} ${PNG_LIBRARIES})
83 -@@ -494,7 +494,7 @@ if (QT_STATIC_BUILD)
84 - endif ()
85 - list(REMOVE_DUPLICATES EXTRA_LIBS_NAMES)
86 - foreach (LIB_NAME ${EXTRA_LIBS_NAMES})
87 -- set(WEBKIT_PKGCONGIG_DEPS "${WEBKIT_PKGCONGIG_DEPS} ${LIB_PREFIX}${LIB_NAME}")
88 -+ set(WEBKIT_PKGCONFIG_DEPS "${WEBKIT_PKGCONFIG_DEPS} ${LIB_PREFIX}${LIB_NAME}")
89 - set(WEBKIT_PRI_EXTRA_LIBS "${WEBKIT_PRI_EXTRA_LIBS} -l${LIB_PREFIX}${LIB_NAME}")
90 - endforeach ()
91 - endif ()
92 -@@ -504,7 +504,7 @@ if (NOT MACOS_BUILD_FRAMEWORKS)
93 - BASE_NAME Qt5WebKit
94 - DESCRIPTION "Qt WebKit module"
95 - INCLUDE_INSTALL_DIR "${KDE_INSTALL_INCLUDEDIR}/QtWebKit"
96 -- DEPS "${WEBKIT_PKGCONGIG_DEPS}"
97 -+ DEPS "${WEBKIT_PKGCONFIG_DEPS}"
98 - FILENAME_VAR WebKit_PKGCONFIG_FILENAME
99 - )
100 - set(ECM_PKGCONFIG_INSTALL_DIR "${LIB_INSTALL_DIR}/pkgconfig" CACHE PATH "The directory where pkgconfig will be installed to.")
101 -From 8c76aabf062232c3fb26839b76716006eca44eec Mon Sep 17 00:00:00 2001
102 -From: Andrew Webster <awebster@××××.com>
103 -Date: Tue, 20 Mar 2018 10:33:59 -0400
104 -Subject: [PATCH] [cmake] Another PKGCONFIG_DEPS correction
105 -
106 ----
107 - Source/WebKit/PlatformQt.cmake | 2 +-
108 - 1 file changed, 1 insertion(+), 1 deletion(-)
109 -
110 -diff --git a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake
111 -index de3eabab1157..6ab441b98d29 100644
112 ---- a/Source/WebKit/PlatformQt.cmake
113 -+++ b/Source/WebKit/PlatformQt.cmake
114 -@@ -452,7 +452,7 @@ if (USE_QT_MULTIMEDIA)
115 - set(WEBKIT_PRI_RUNTIME_DEPS "multimedia ${WEBKIT_PRI_RUNTIME_DEPS}")
116 - endif ()
117 -
118 --set(WEBKITWIDGETS_PKGCONFIG_DEPS "${WEBKIT_PKGCONGIG_DEPS} Qt5Widgets Qt5WebKit")
119 -+set(WEBKITWIDGETS_PKGCONFIG_DEPS "${WEBKIT_PKGCONFIG_DEPS} Qt5Widgets Qt5WebKit")
120 - set(WEBKITWIDGETS_PRI_DEPS "${WEBKIT_PRI_DEPS} widgets webkit")
121 - set(WEBKITWIDGETS_PRI_RUNTIME_DEPS "${WEBKIT_PRI_RUNTIME_DEPS} widgets_private")
122 -
123
124 diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-fix-pkgconfig.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-fix-pkgconfig.patch
125 deleted file mode 100644
126 index e5d7796ee14..00000000000
127 --- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-fix-pkgconfig.patch
128 +++ /dev/null
129 @@ -1,29 +0,0 @@
130 -From fbd1de045999d1e5b5dcae7ac6c1e674ac0044fe Mon Sep 17 00:00:00 2001
131 -From: Dmitry Shachnev <mitya57@×××××.com>
132 -Date: Sat, 24 Feb 2018 15:09:53 +0300
133 -Subject: [PATCH] [cmake] Fix include dir in the generated pkg-config files
134 -
135 ----
136 - Source/WebKit/PlatformQt.cmake | 2 ++
137 - 1 file changed, 2 insertions(+)
138 -
139 -diff --git a/Source/WebKit/PlatformQt.cmake b/Source/WebKit/PlatformQt.cmake
140 -index 6fe440be800c..28976b611cd8 100644
141 ---- a/Source/WebKit/PlatformQt.cmake
142 -+++ b/Source/WebKit/PlatformQt.cmake
143 -@@ -503,6 +503,7 @@ if (NOT MACOS_BUILD_FRAMEWORKS)
144 - ecm_generate_pkgconfig_file(
145 - BASE_NAME Qt5WebKit
146 - DESCRIPTION "Qt WebKit module"
147 -+ INCLUDE_INSTALL_DIR "${KDE_INSTALL_INCLUDEDIR}/QtWebKit"
148 - DEPS "${WEBKIT_PKGCONGIG_DEPS}"
149 - FILENAME_VAR WebKit_PKGCONFIG_FILENAME
150 - )
151 -@@ -728,6 +729,7 @@ if (NOT MACOS_BUILD_FRAMEWORKS)
152 - ecm_generate_pkgconfig_file(
153 - BASE_NAME Qt5WebKitWidgets
154 - DESCRIPTION "Qt WebKitWidgets module"
155 -+ INCLUDE_INSTALL_DIR "${KDE_INSTALL_INCLUDEDIR}/QtWebKitWidgets"
156 - DEPS "${WEBKITWIDGETS_PKGCONFIG_DEPS}"
157 - FILENAME_VAR WebKitWidgets_PKGCONFIG_FILENAME
158 - )
159
160 diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-functional.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-functional.patch
161 deleted file mode 100644
162 index d8b5ba6cf31..00000000000
163 --- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-functional.patch
164 +++ /dev/null
165 @@ -1,22 +0,0 @@
166 -From 4ce8ebc4094512b9916bfa5984065e95ac97c9d8 Mon Sep 17 00:00:00 2001
167 -From: Konstantin Tokarev <annulen@××××××.ru>
168 -Date: Fri, 26 Jan 2018 20:50:07 +0300
169 -Subject: [PATCH] Add missing #include <functional>
170 -
171 -Change-Id: Ic5499c1854479064b735bff79b3501992a20a12f
172 ----
173 - Source/WebCore/dom/SlotAssignment.h | 1 +
174 - 1 file changed, 1 insertion(+)
175 -
176 -diff --git a/Source/WebCore/dom/SlotAssignment.h b/Source/WebCore/dom/SlotAssignment.h
177 -index 0fcd4dfa6de8..9b9ebe429816 100644
178 ---- a/Source/WebCore/dom/SlotAssignment.h
179 -+++ b/Source/WebCore/dom/SlotAssignment.h
180 -@@ -28,6 +28,7 @@
181 -
182 - #if ENABLE(SHADOW_DOM) || ENABLE(DETAILS_ELEMENT)
183 -
184 -+#include <functional>
185 - #include <wtf/HashMap.h>
186 - #include <wtf/HashSet.h>
187 - #include <wtf/Vector.h>
188
189 diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-js-build-error.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-js-build-error.patch
190 deleted file mode 100644
191 index 904957c7186..00000000000
192 --- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20180120-js-build-error.patch
193 +++ /dev/null
194 @@ -1,34 +0,0 @@
195 -From e9a78eafc172a69d48ee48d971b3e430613ab513 Mon Sep 17 00:00:00 2001
196 -From: bernhardu <bernhardu@×××××××.org>
197 -Date: Mon, 25 Mar 2019 01:57:26 +0100
198 -Subject: [PATCH] Add attribute fastcall to derived class member
199 - JSImageConstructor::construct (#803)
200 -MIME-Version: 1.0
201 -Content-Type: text/plain; charset=UTF-8
202 -Content-Transfer-Encoding: 8bit
203 -
204 -Otherwise the Debian build on i386 fails with this error:
205 -In file included from ../Source/WebCore/bindings/js/JSImageConstructor.cpp:24,
206 - from ../Source/WebCore/bindings/js/JSBindingsAllInOne.cpp:101:
207 -../Source/WebCore/bindings/js/JSDOMConstructor.h: In instantiation of ‘static JSC::ConstructType WebCore::JSDOMNamedConstructor<JSClass>::getConstructData(JSC::JSCell*, JSC::ConstructData&) [with JSClass = WebCore::JSHTMLImageElement]’:
208 -../Source/WebCore/bindings/js/JSImageConstructor.cpp:75:97: required from here
209 -../Source/WebCore/bindings/js/JSDOMConstructor.h:195:35: error: invalid conversion from ‘JSC::EncodedJSValue (*)(JSC::ExecState*)’ {aka ‘long long int (*)(JSC::ExecState*)’} to ‘JSC::NativeFunction’ {aka ‘long long int (__attribute__((fastcall)) *)(JSC::ExecState*)’} [-fpermissive]
210 - constructData.native.function = construct;
211 - ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~
212 ----
213 - Source/WebCore/bindings/js/JSImageConstructor.cpp | 2 +-
214 - 1 file changed, 1 insertion(+), 1 deletion(-)
215 -
216 -diff --git a/Source/WebCore/bindings/js/JSImageConstructor.cpp b/Source/WebCore/bindings/js/JSImageConstructor.cpp
217 -index 923690600ab1..de553f5fa899 100644
218 ---- a/Source/WebCore/bindings/js/JSImageConstructor.cpp
219 -+++ b/Source/WebCore/bindings/js/JSImageConstructor.cpp
220 -@@ -44,7 +44,7 @@ template<> JSValue JSImageConstructor::prototypeForStructure(VM& vm, const JSDOM
221 - return JSHTMLElement::getConstructor(vm, &globalObject);
222 - }
223 -
224 --template<> EncodedJSValue JSImageConstructor::construct(ExecState* state)
225 -+template<> EncodedJSValue JSC_HOST_CALL JSImageConstructor::construct(ExecState* state)
226 - {
227 - JSImageConstructor* jsConstructor = jsCast<JSImageConstructor*>(state->callee());
228 - Document* document = jsConstructor->document();
229 \ No newline at end of file