1 |
commit: 782ad581f563b874a309931cd4ed49d95533df09 |
2 |
Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Oct 5 06:51:37 2021 +0000 |
4 |
Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Oct 5 07:36:50 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=782ad581 |
7 |
|
8 |
dev-qt/qtwebkit: treeclean |
9 |
|
10 |
Bug: https://bugs.gentoo.org/684580 |
11 |
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> |
12 |
|
13 |
dev-qt/qtwebkit/Manifest | 1 - |
14 |
.../qtwebkit-5.212.0_pre20200309-bison-3.7.patch | 46 ------- |
15 |
.../qtwebkit-5.212.0_pre20200309-glib-2.68.patch | 28 ---- |
16 |
.../qtwebkit-5.212.0_pre20200309-icu-68.patch | 120 ---------------- |
17 |
.../qtwebkit-5.212.0_pre20200309-python-3.9.patch | 27 ---- |
18 |
dev-qt/qtwebkit/metadata.xml | 26 ---- |
19 |
.../qtwebkit-5.212.0_pre20200309-r1.ebuild | 153 --------------------- |
20 |
profiles/package.mask | 6 - |
21 |
8 files changed, 407 deletions(-) |
22 |
|
23 |
diff --git a/dev-qt/qtwebkit/Manifest b/dev-qt/qtwebkit/Manifest |
24 |
deleted file mode 100644 |
25 |
index 7080d4f542b..00000000000 |
26 |
--- a/dev-qt/qtwebkit/Manifest |
27 |
+++ /dev/null |
28 |
@@ -1 +0,0 @@ |
29 |
-DIST qtwebkit-5.212.0-alpha4.tar.xz 12528508 BLAKE2B 72d7444f270f47b62044cf683ed306803660bfbafe1450440ea29e43e3c0e6e841b6e860dfa8affc1b32b7c539448f04e22a7ae38cce055d37905dfb3240aab0 SHA512 33f11270bd030599beff9c1983a6c5ff2d61f407cc8a6825f7f405d46f9184c720fc7f60c7359f08f828db96a2170092875066a0d5c0a21ff09bc48a2603fbf6 |
30 |
|
31 |
diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-bison-3.7.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-bison-3.7.patch |
32 |
deleted file mode 100644 |
33 |
index de3bbcfc3ef..00000000000 |
34 |
--- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-bison-3.7.patch |
35 |
+++ /dev/null |
36 |
@@ -1,46 +0,0 @@ |
37 |
-From d92b11fea65364fefa700249bd3340e0cd4c5b31 Mon Sep 17 00:00:00 2001 |
38 |
-From: Dmitry Shachnev <mitya57@×××××.com> |
39 |
-Date: Tue, 4 Aug 2020 21:04:06 +0300 |
40 |
-Subject: [PATCH] Let Bison generate the header directly, to fix build with |
41 |
- Bison 3.7 |
42 |
- |
43 |
-Starting with Bison 3.7, the generated C++ file #include's the header |
44 |
-by default, instead of duplicating it. So we should not delete it. |
45 |
- |
46 |
-Remove the code to add #ifdef guards to the header, since Bison adds |
47 |
-them itself since version 2.6.3. |
48 |
---- |
49 |
- Source/WebCore/css/makegrammar.pl | 21 +-------------------- |
50 |
- 1 file changed, 1 insertion(+), 20 deletions(-) |
51 |
- |
52 |
-diff --git a/Source/WebCore/css/makegrammar.pl b/Source/WebCore/css/makegrammar.pl |
53 |
-index 5d63b08102eb..9435701c7061 100644 |
54 |
---- a/Source/WebCore/css/makegrammar.pl |
55 |
-+++ b/Source/WebCore/css/makegrammar.pl |
56 |
-@@ -73,25 +73,6 @@ |
57 |
- } |
58 |
- |
59 |
- my $fileBase = File::Spec->join($outputDir, $filename); |
60 |
--my @bisonCommand = ($bison, "-d", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp"); |
61 |
-+my @bisonCommand = ($bison, "--defines=$fileBase.h", "-p", $symbolsPrefix, $grammarFilePath, "-o", "$fileBase.cpp"); |
62 |
- push @bisonCommand, "--no-lines" if $^O eq "MSWin32"; # Work around bug in bison >= 3.0 on Windows where it puts backslashes into #line directives. |
63 |
- system(@bisonCommand) == 0 or die; |
64 |
-- |
65 |
--open HEADER, ">$fileBase.h" or die; |
66 |
--print HEADER << "EOF"; |
67 |
--#ifndef CSSGRAMMAR_H |
68 |
--#define CSSGRAMMAR_H |
69 |
--EOF |
70 |
-- |
71 |
--open HPP, "<$fileBase.cpp.h" or open HPP, "<$fileBase.hpp" or die; |
72 |
--while (<HPP>) { |
73 |
-- print HEADER; |
74 |
--} |
75 |
--close HPP; |
76 |
-- |
77 |
--print HEADER "#endif\n"; |
78 |
--close HEADER; |
79 |
-- |
80 |
--unlink("$fileBase.cpp.h"); |
81 |
--unlink("$fileBase.hpp"); |
82 |
-- |
83 |
|
84 |
diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-glib-2.68.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-glib-2.68.patch |
85 |
deleted file mode 100644 |
86 |
index f377a311362..00000000000 |
87 |
--- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-glib-2.68.patch |
88 |
+++ /dev/null |
89 |
@@ -1,28 +0,0 @@ |
90 |
-https://github.com/qtwebkit/qtwebkit/pull/1058 |
91 |
- |
92 |
-From 5b698ba3faffd4e198a45be9fe74f53307395e4b Mon Sep 17 00:00:00 2001 |
93 |
-From: Fabian Vogt <fvogt@××××.de> |
94 |
-Date: Wed, 7 Apr 2021 13:38:09 +0200 |
95 |
-Subject: [PATCH] Remove invalid g_object declarations to fix build with glib |
96 |
- >= 2.68 |
97 |
- |
98 |
-g_object_ref_sink is defined as a macro meanwhile and so the build fails. |
99 |
-Just remove the declarations, glib.h is included anyway. |
100 |
---- |
101 |
- Source/WTF/wtf/glib/GRefPtr.h | 3 --- |
102 |
- 1 file changed, 3 deletions(-) |
103 |
- |
104 |
-diff --git a/Source/WTF/wtf/glib/GRefPtr.h b/Source/WTF/wtf/glib/GRefPtr.h |
105 |
-index 06133d82cb35..d9a1d2f145f5 100644 |
106 |
---- a/Source/WTF/wtf/glib/GRefPtr.h |
107 |
-+++ b/Source/WTF/wtf/glib/GRefPtr.h |
108 |
-@@ -29,9 +29,6 @@ |
109 |
- #include <algorithm> |
110 |
- #include <glib.h> |
111 |
- |
112 |
--extern "C" void g_object_unref(gpointer); |
113 |
--extern "C" gpointer g_object_ref_sink(gpointer); |
114 |
-- |
115 |
- namespace WTF { |
116 |
- |
117 |
- enum GRefPtrAdoptType { GRefPtrAdopt }; |
118 |
|
119 |
diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-icu-68.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-icu-68.patch |
120 |
deleted file mode 100644 |
121 |
index 7de72ea61af..00000000000 |
122 |
--- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-icu-68.patch |
123 |
+++ /dev/null |
124 |
@@ -1,120 +0,0 @@ |
125 |
---- a/Source/WebCore/platform/text/icu/UTextProvider.h |
126 |
-+++ b/Source/WebCore/platform/text/icu/UTextProvider.h |
127 |
-@@ -80,12 +80,12 @@ |
128 |
- // Ensure chunk offset is well formed if computed offset exceeds int32_t range. |
129 |
- ASSERT(offset < std::numeric_limits<int32_t>::max()); |
130 |
- text->chunkOffset = offset < std::numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0; |
131 |
-- isAccessible = TRUE; |
132 |
-+ isAccessible = true; |
133 |
- return true; |
134 |
- } |
135 |
- if (nativeIndex >= nativeLength && text->chunkNativeLimit == nativeLength) { |
136 |
- text->chunkOffset = text->chunkLength; |
137 |
-- isAccessible = FALSE; |
138 |
-+ isAccessible = false; |
139 |
- return true; |
140 |
- } |
141 |
- } else { |
142 |
-@@ -94,12 +94,12 @@ |
143 |
- // Ensure chunk offset is well formed if computed offset exceeds int32_t range. |
144 |
- ASSERT(offset < std::numeric_limits<int32_t>::max()); |
145 |
- text->chunkOffset = offset < std::numeric_limits<int32_t>::max() ? static_cast<int32_t>(offset) : 0; |
146 |
-- isAccessible = TRUE; |
147 |
-+ isAccessible = true; |
148 |
- return true; |
149 |
- } |
150 |
- if (nativeIndex <= 0 && !text->chunkNativeStart) { |
151 |
- text->chunkOffset = 0; |
152 |
-- isAccessible = FALSE; |
153 |
-+ isAccessible = false; |
154 |
- return true; |
155 |
- } |
156 |
- } |
157 |
---- a/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp |
158 |
-+++ b/Source/WebCore/platform/text/icu/UTextProviderLatin1.cpp |
159 |
-@@ -100,23 +100,23 @@ |
160 |
- if (index < uText->chunkNativeLimit && index >= uText->chunkNativeStart) { |
161 |
- // Already inside the buffer. Set the new offset. |
162 |
- uText->chunkOffset = static_cast<int32_t>(index - uText->chunkNativeStart); |
163 |
-- return TRUE; |
164 |
-+ return true; |
165 |
- } |
166 |
- if (index >= length && uText->chunkNativeLimit == length) { |
167 |
- // Off the end of the buffer, but we can't get it. |
168 |
- uText->chunkOffset = static_cast<int32_t>(index - uText->chunkNativeStart); |
169 |
-- return FALSE; |
170 |
-+ return false; |
171 |
- } |
172 |
- } else { |
173 |
- if (index <= uText->chunkNativeLimit && index > uText->chunkNativeStart) { |
174 |
- // Already inside the buffer. Set the new offset. |
175 |
- uText->chunkOffset = static_cast<int32_t>(index - uText->chunkNativeStart); |
176 |
-- return TRUE; |
177 |
-+ return true; |
178 |
- } |
179 |
- if (!index && !uText->chunkNativeStart) { |
180 |
- // Already at the beginning; can't go any farther. |
181 |
- uText->chunkOffset = 0; |
182 |
-- return FALSE; |
183 |
-+ return false; |
184 |
- } |
185 |
- } |
186 |
- |
187 |
-@@ -144,7 +144,7 @@ |
188 |
- |
189 |
- uText->nativeIndexingLimit = uText->chunkLength; |
190 |
- |
191 |
-- return TRUE; |
192 |
-+ return true; |
193 |
- } |
194 |
- |
195 |
- static int32_t uTextLatin1Extract(UText* uText, int64_t start, int64_t limit, UChar* dest, int32_t destCapacity, UErrorCode* status) |
196 |
-@@ -336,7 +336,7 @@ |
197 |
- static UBool uTextLatin1ContextAwareAccess(UText* text, int64_t nativeIndex, UBool forward) |
198 |
- { |
199 |
- if (!text->context) |
200 |
-- return FALSE; |
201 |
-+ return false; |
202 |
- int64_t nativeLength = uTextLatin1ContextAwareNativeLength(text); |
203 |
- UBool isAccessible; |
204 |
- if (uTextAccessInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) |
205 |
-@@ -356,7 +356,7 @@ |
206 |
- ASSERT(newContext == UTextProviderContext::PriorContext); |
207 |
- textLatin1ContextAwareSwitchToPriorContext(text, nativeIndex, nativeLength, forward); |
208 |
- } |
209 |
-- return TRUE; |
210 |
-+ return true; |
211 |
- } |
212 |
- |
213 |
- static int32_t uTextLatin1ContextAwareExtract(UText*, int64_t, int64_t, UChar*, int32_t, UErrorCode* errorCode) |
214 |
---- a/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp |
215 |
-+++ b/Source/WebCore/platform/text/icu/UTextProviderUTF16.cpp |
216 |
-@@ -125,7 +125,7 @@ |
217 |
- static UBool uTextUTF16ContextAwareAccess(UText* text, int64_t nativeIndex, UBool forward) |
218 |
- { |
219 |
- if (!text->context) |
220 |
-- return FALSE; |
221 |
-+ return false; |
222 |
- int64_t nativeLength = uTextUTF16ContextAwareNativeLength(text); |
223 |
- UBool isAccessible; |
224 |
- if (uTextAccessInChunkOrOutOfRange(text, nativeIndex, nativeLength, forward, isAccessible)) |
225 |
-@@ -145,7 +145,7 @@ |
226 |
- ASSERT(newContext == UTextProviderContext::PriorContext); |
227 |
- textUTF16ContextAwareSwitchToPriorContext(text, nativeIndex, nativeLength, forward); |
228 |
- } |
229 |
-- return TRUE; |
230 |
-+ return true; |
231 |
- } |
232 |
- |
233 |
- static int32_t uTextUTF16ContextAwareExtract(UText*, int64_t, int64_t, UChar*, int32_t, UErrorCode* errorCode) |
234 |
---- a/Source/WebCore/platform/text/TextCodecICU.cpp |
235 |
-+++ b/Source/WebCore/platform/text/TextCodecICU.cpp |
236 |
-@@ -308,7 +308,7 @@ |
237 |
- m_converterICU = ucnv_open(m_canonicalConverterName, &err); |
238 |
- ASSERT(U_SUCCESS(err)); |
239 |
- if (m_converterICU) |
240 |
-- ucnv_setFallback(m_converterICU, TRUE); |
241 |
-+ ucnv_setFallback(m_converterICU, true); |
242 |
- } |
243 |
- |
244 |
- int TextCodecICU::decodeToBuffer(UChar* target, UChar* targetLimit, const char*& source, const char* sourceLimit, int32_t* offsets, bool flush, UErrorCode& err) |
245 |
|
246 |
diff --git a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-python-3.9.patch b/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-python-3.9.patch |
247 |
deleted file mode 100644 |
248 |
index a3b677b779b..00000000000 |
249 |
--- a/dev-qt/qtwebkit/files/qtwebkit-5.212.0_pre20200309-python-3.9.patch |
250 |
+++ /dev/null |
251 |
@@ -1,27 +0,0 @@ |
252 |
-From 78360c01c796b6260bf828bc9c8a0ef73c5132fd Mon Sep 17 00:00:00 2001 |
253 |
-From: Konstantin Tokarev <annulen@××××××.ru> |
254 |
-Date: Wed, 3 Jun 2020 15:01:42 +0300 |
255 |
-Subject: [PATCH] Fix compilation with Python 3.9: avoid passing encoding to |
256 |
- json.load() |
257 |
- |
258 |
-In Python 2.7 UTF-8 is assumed by default, while in Python 3 this argument |
259 |
-is not supported. |
260 |
- |
261 |
-Change-Id: Ic459d60a6b20bc1838d8771bc36ac41614fe61a9 |
262 |
---- |
263 |
- Source/JavaScriptCore/generate-bytecode-files | 2 +- |
264 |
- 1 file changed, 1 insertion(+), 1 deletion(-) |
265 |
- |
266 |
-diff --git a/Source/JavaScriptCore/generate-bytecode-files b/Source/JavaScriptCore/generate-bytecode-files |
267 |
-index c5dab429c7b0..af3431275ecf 100644 |
268 |
---- a/Source/JavaScriptCore/generate-bytecode-files |
269 |
-+++ b/Source/JavaScriptCore/generate-bytecode-files |
270 |
-@@ -163,7 +163,7 @@ if __name__ == "__main__": |
271 |
- initBytecodesFile = openOrExit(initASMFileName, "w") |
272 |
- |
273 |
- try: |
274 |
-- bytecodeSections = json.load(bytecodeFile, encoding = "utf-8") |
275 |
-+ bytecodeSections = json.load(bytecodeFile) |
276 |
- except: |
277 |
- print("Unexpected error parsing {0}: {1}".format(bytecodeJSONFile, sys.exc_info())) |
278 |
- |
279 |
|
280 |
diff --git a/dev-qt/qtwebkit/metadata.xml b/dev-qt/qtwebkit/metadata.xml |
281 |
deleted file mode 100644 |
282 |
index 8cf2db1a611..00000000000 |
283 |
--- a/dev-qt/qtwebkit/metadata.xml |
284 |
+++ /dev/null |
285 |
@@ -1,26 +0,0 @@ |
286 |
-<?xml version="1.0" encoding="UTF-8"?> |
287 |
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> |
288 |
-<pkgmetadata> |
289 |
- <maintainer type="project"> |
290 |
- <email>qt@g.o</email> |
291 |
- <name>Gentoo Qt Project</name> |
292 |
- </maintainer> |
293 |
- <use> |
294 |
- <flag name="geolocation">Enable physical position determination via <pkg>dev-qt/qtpositioning</pkg></flag> |
295 |
- <flag name="gstreamer">Enable HTML5 audio/video support via <pkg>media-libs/gstreamer</pkg> using SLOT 1.0</flag> |
296 |
- <flag name="hyphen">Enable hyphenation support via <pkg>dev-libs/hyphen</pkg></flag> |
297 |
- <flag name="multimedia">Enable HTML5 audio/video support via <pkg>dev-qt/qtmultimedia</pkg></flag> |
298 |
- <flag name="orientation">Enable device orientation detection via <pkg>dev-qt/qtsensors</pkg></flag> |
299 |
- <flag name="printsupport">Enable printing via <pkg>dev-qt/qtprintsupport</pkg></flag> |
300 |
- <flag name="qml">Build QML/QtQuick bindings</flag> |
301 |
- </use> |
302 |
- <upstream> |
303 |
- <bugs-to>https://bugreports.qt.io/</bugs-to> |
304 |
- <doc>https://doc.qt.io/</doc> |
305 |
- </upstream> |
306 |
- <slots> |
307 |
- <subslots> |
308 |
- Must only be used by packages that are known to use private parts of the Qt API. |
309 |
- </subslots> |
310 |
- </slots> |
311 |
-</pkgmetadata> |
312 |
|
313 |
diff --git a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20200309-r1.ebuild b/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20200309-r1.ebuild |
314 |
deleted file mode 100644 |
315 |
index f2e91b79caf..00000000000 |
316 |
--- a/dev-qt/qtwebkit/qtwebkit-5.212.0_pre20200309-r1.ebuild |
317 |
+++ /dev/null |
318 |
@@ -1,153 +0,0 @@ |
319 |
-# Copyright 1999-2021 Gentoo Authors |
320 |
-# Distributed under the terms of the GNU General Public License v2 |
321 |
- |
322 |
-EAPI=7 |
323 |
- |
324 |
-if [[ ${PV} = *9999 ]]; then |
325 |
- EGIT_BRANCH="qtwebkit-5.212" |
326 |
- EGIT_REPO_URI="https://github.com/qtwebkit/qtwebkit.git" |
327 |
- inherit git-r3 |
328 |
-else |
329 |
- MY_P="${PN}-${PV/_pre20200309/-alpha4}" # present as upgrade over previous snapshot |
330 |
- SRC_URI="https://github.com/annulen/webkit/releases/download/${MY_P}/${MY_P}.tar.xz" |
331 |
- KEYWORDS="amd64 arm arm64 ppc64 x86" |
332 |
- S="${WORKDIR}/${MY_P}" |
333 |
-fi |
334 |
-PYTHON_COMPAT=( python3_{7,8,9} ) |
335 |
-USE_RUBY="ruby25 ruby26 ruby27" |
336 |
-inherit check-reqs cmake flag-o-matic python-any-r1 qmake-utils ruby-single toolchain-funcs |
337 |
- |
338 |
-DESCRIPTION="WebKit rendering library for the Qt5 framework (deprecated)" |
339 |
-HOMEPAGE="https://www.qt.io/" |
340 |
- |
341 |
-LICENSE="BSD LGPL-2+" |
342 |
-SLOT="5/5.212" |
343 |
-IUSE="geolocation gles2-only +gstreamer +hyphen +jit multimedia nsplugin opengl orientation +printsupport qml webp X" |
344 |
- |
345 |
-REQUIRED_USE=" |
346 |
- nsplugin? ( X ) |
347 |
- qml? ( opengl ) |
348 |
- ?? ( gstreamer multimedia ) |
349 |
-" |
350 |
- |
351 |
-# Dependencies found at Source/cmake/OptionsQt.cmake |
352 |
-QT_MIN_VER="5.12.3:5" |
353 |
-BDEPEND=" |
354 |
- ${PYTHON_DEPS} |
355 |
- ${RUBY_DEPS} |
356 |
- dev-lang/perl |
357 |
- dev-util/gperf |
358 |
- >=sys-devel/bison-2.4.3 |
359 |
- sys-devel/flex |
360 |
- virtual/pkgconfig |
361 |
-" |
362 |
-DEPEND=" |
363 |
- dev-db/sqlite:3 |
364 |
- dev-libs/icu:= |
365 |
- dev-libs/libxml2 |
366 |
- dev-libs/libxslt |
367 |
- >=dev-qt/qtcore-${QT_MIN_VER} |
368 |
- >=dev-qt/qtgui-${QT_MIN_VER} |
369 |
- >=dev-qt/qtnetwork-${QT_MIN_VER} |
370 |
- >=dev-qt/qtwidgets-${QT_MIN_VER}= |
371 |
- media-libs/libpng:0= |
372 |
- media-libs/woff2 |
373 |
- virtual/jpeg:0 |
374 |
- geolocation? ( >=dev-qt/qtpositioning-${QT_MIN_VER} ) |
375 |
- gstreamer? ( |
376 |
- dev-libs/glib:2 |
377 |
- media-libs/gstreamer:1.0 |
378 |
- media-libs/gst-plugins-bad:1.0 |
379 |
- media-libs/gst-plugins-base:1.0 |
380 |
- ) |
381 |
- hyphen? ( dev-libs/hyphen ) |
382 |
- multimedia? ( >=dev-qt/qtmultimedia-${QT_MIN_VER}[widgets] ) |
383 |
- opengl? ( |
384 |
- >=dev-qt/qtgui-${QT_MIN_VER}[gles2-only=] |
385 |
- >=dev-qt/qtopengl-${QT_MIN_VER}[gles2-only=] |
386 |
- ) |
387 |
- orientation? ( >=dev-qt/qtsensors-${QT_MIN_VER} ) |
388 |
- printsupport? ( >=dev-qt/qtprintsupport-${QT_MIN_VER} ) |
389 |
- qml? ( |
390 |
- >=dev-qt/qtdeclarative-${QT_MIN_VER} |
391 |
- >=dev-qt/qtwebchannel-${QT_MIN_VER}[qml] |
392 |
- ) |
393 |
- webp? ( media-libs/libwebp:= ) |
394 |
- X? ( |
395 |
- x11-libs/libX11 |
396 |
- x11-libs/libXcomposite |
397 |
- x11-libs/libXrender |
398 |
- ) |
399 |
-" |
400 |
-RDEPEND="${DEPEND}" |
401 |
- |
402 |
-CHECKREQS_DISK_BUILD="16G" # bug 417307 |
403 |
- |
404 |
-PATCHES=( |
405 |
- "${FILESDIR}/${P}-bison-3.7.patch" # bug 736499 |
406 |
- "${FILESDIR}/${P}-icu-68.patch" # bug 753260 |
407 |
- "${FILESDIR}/${P}-python-3.9.patch" # bug 766303 |
408 |
- "${FILESDIR}/${P}-glib-2.68.patch" # bug 777759 |
409 |
-) |
410 |
- |
411 |
-_check_reqs() { |
412 |
- if [[ ${MERGE_TYPE} != binary ]] && is-flagq "-g*" && ! is-flagq "-g*0"; then |
413 |
- einfo "Checking for sufficient disk space to build ${PN} with debugging flags" |
414 |
- check-reqs_$1 |
415 |
- fi |
416 |
-} |
417 |
- |
418 |
-pkg_pretend() { |
419 |
- _check_reqs pkg_pretend |
420 |
-} |
421 |
- |
422 |
-pkg_setup() { |
423 |
- _check_reqs pkg_setup |
424 |
- python-any-r1_pkg_setup |
425 |
-} |
426 |
- |
427 |
-src_configure() { |
428 |
- # Respect CC, otherwise fails on prefix, bug #395875 |
429 |
- tc-export CC |
430 |
- |
431 |
- # Multiple rendering bugs on youtube, github, etc without this, bug #547224 |
432 |
- append-flags $(test-flags -fno-strict-aliasing) |
433 |
- |
434 |
- local mycmakeargs=( |
435 |
- -DPORT=Qt |
436 |
- -DENABLE_API_TESTS=OFF |
437 |
- -DENABLE_TOOLS=OFF |
438 |
- -DENABLE_GEOLOCATION=$(usex geolocation) |
439 |
- -DUSE_GSTREAMER=$(usex gstreamer) |
440 |
- -DUSE_LIBHYPHEN=$(usex hyphen) |
441 |
- -DENABLE_JIT=$(usex jit) |
442 |
- -DUSE_QT_MULTIMEDIA=$(usex multimedia) |
443 |
- -DENABLE_NETSCAPE_PLUGIN_API=$(usex nsplugin) |
444 |
- -DENABLE_OPENGL=$(usex opengl) |
445 |
- -DENABLE_PRINT_SUPPORT=$(usex printsupport) |
446 |
- -DENABLE_DEVICE_ORIENTATION=$(usex orientation) |
447 |
- -DENABLE_WEBKIT2=$(usex qml) |
448 |
- $(cmake_use_find_package webp WebP) |
449 |
- -DENABLE_X11_TARGET=$(usex X) |
450 |
- ) |
451 |
- |
452 |
- if has_version "virtual/rubygems[ruby_targets_ruby27]"; then |
453 |
- mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby27) ) |
454 |
- elif has_version "virtual/rubygems[ruby_targets_ruby26]"; then |
455 |
- mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby26) ) |
456 |
- else |
457 |
- mycmakeargs+=( -DRUBY_EXECUTABLE=$(type -P ruby25) ) |
458 |
- fi |
459 |
- |
460 |
- cmake_src_configure |
461 |
-} |
462 |
- |
463 |
-src_install() { |
464 |
- cmake_src_install |
465 |
- |
466 |
- # bug 572056 |
467 |
- if [[ ! -f ${ED}$(qt5_get_libdir)/libQt5WebKit.so ]]; then |
468 |
- eerror "${CATEGORY}/${PF} could not build due to a broken ruby environment." |
469 |
- die 'Check "eselect ruby" and ensure you have a working ruby in your $PATH' |
470 |
- fi |
471 |
-} |
472 |
|
473 |
diff --git a/profiles/package.mask b/profiles/package.mask |
474 |
index c189dc7bbc5..89d8fb35718 100644 |
475 |
--- a/profiles/package.mask |
476 |
+++ b/profiles/package.mask |
477 |
@@ -334,12 +334,6 @@ games-puzzle/gnudoku |
478 |
# Preparing for final 5.0.0 release |
479 |
>=app-text/tesseract-5.0.0_beta |
480 |
|
481 |
-# Andreas Sturmlechner <asturm@g.o> (2021-08-02) |
482 |
-# No commits to upstream repository for >9 months, latest available tarball |
483 |
-# still "alpha" with warning about known unpatched vulnerabilities. Bug #684580 |
484 |
-# Removal on 2021-10-04. |
485 |
-dev-qt/qtwebkit:5 |
486 |
- |
487 |
# Joonas Niilola <juippis@g.o> (2021-07-29) |
488 |
# Upstream provided migration instructions from 2. -> 3. update, |
489 |
# breaks if not all at least many revdeps. #805011 for tracker bug. |