Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1
@ 2020-05-12 12:17 rmccask
  2020-05-12 21:15 ` [PR PATCH] [Updated] " rmccask
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: rmccask @ 2020-05-12 12:17 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 347 bytes --]

There is a new pull request by rmccask against master on the void-packages repository

https://github.com/rmccask/void-packages qt5-webkit-5.212.0
https://github.com/void-linux/void-packages/pull/21878

qt5-webkit: new snapshot; fix for upcoming icu-67.1


A patch file from https://github.com/void-linux/void-packages/pull/21878.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webkit-5.212.0-21878.patch --]
[-- Type: text/x-diff, Size: 3948 bytes --]

From a16f618a0c649fb64006e3db938edd7f1006ffe2 Mon Sep 17 00:00:00 2001
From: Randy McCaskill <randy@mccaskill.us>
Date: Tue, 12 May 2020 08:13:21 -0400
Subject: [PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1

---
 srcpkgs/qt5-webkit/patches/armv6l-asm.patch | 23 ------------
 srcpkgs/qt5-webkit/patches/icu.patch        | 40 +++++++++++++++++++++
 srcpkgs/qt5-webkit/template                 |  4 +--
 3 files changed, 42 insertions(+), 25 deletions(-)
 delete mode 100644 srcpkgs/qt5-webkit/patches/armv6l-asm.patch
 create mode 100644 srcpkgs/qt5-webkit/patches/icu.patch

diff --git a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch b/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
deleted file mode 100644
index 284929f035d..00000000000
--- a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix code emitted for armv6l to not use movw/movt but ldr.
-See https://bugs.webkit.org/show_bug.cgi?id=131612
-and https://bugs.webkit.org/show_bug.cgi?id=141288
-
---- Source/JavaScriptCore/offlineasm/arm.rb	2015-07-22 14:37:57.000000000 +0200
-+++ Source/JavaScriptCore/offlineasm/arm.rb	2015-08-08 00:31:21.011824644 +0200
-@@ -473,8 +473,16 @@
-                 $asm.puts "mov #{armFlippedOperands(operands)}"
-             end
-         when "mvlbl"
-+            if isARMv7 or isARMv7Traditional
-                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
-                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
-+            else
-+                $mvlbl_counter ||= 0
-+                $mvlbl_counter += 1
-+                const_label = "_mvlbl_const_label#{$mvlbl_counter}"
-+                $asm.puts ".equ #{const_label}, (#{operands[0].value})"
-+                $asm.puts "ldr  #{operands[1].armOperand}, =#{const_label}"
-+            end
-         when "nop"
-             $asm.puts "nop"
-         when "bieq", "bpeq", "bbeq"
diff --git a/srcpkgs/qt5-webkit/patches/icu.patch b/srcpkgs/qt5-webkit/patches/icu.patch
new file mode 100644
index 00000000000..1fc3b256101
--- /dev/null
+++ b/srcpkgs/qt5-webkit/patches/icu.patch
@@ -0,0 +1,40 @@
+From 9b60e834454dc93f46f05b1cfdc0aad0c6b7de97 Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Fri, 4 Oct 2019 22:17:11 +0200
+Subject: [PATCH] Add missing semicolons to fix build with icu 65.1
+
+---
+ Source/WebCore/dom/Document.cpp |  6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git Source/WebCore/dom/Document.cpp Source/WebCore/dom/Document.cpp
+index 0fd0fa090bf..01f76850f3d 100644
+--- Source/WebCore/dom/Document.cpp
++++ Source/WebCore/dom/Document.cpp
+@@ -4954,12 +4954,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length)
+     unsigned i = 0;
+ 
+     UChar32 c;
+-    U16_NEXT(characters, i, length, c)
++    U16_NEXT(characters, i, length, c);
+     if (!isValidNameStart(c))
+         return false;
+ 
+     while (i < length) {
+-        U16_NEXT(characters, i, length, c)
++        U16_NEXT(characters, i, length, c);
+         if (!isValidNamePart(c))
+             return false;
+     }
+@@ -5019,7 +5019,7 @@ ExceptionOr<std::pair<AtomString, AtomString>> Document::parseQualifiedName(cons
+ 
+     for (unsigned i = 0; i < length; ) {
+         UChar32 c;
+-        U16_NEXT(qualifiedName, i, length, c)
++        U16_NEXT(qualifiedName, i, length, c);
+         if (c == ':') {
+             if (sawColon)
+                 return Exception { InvalidCharacterError };
+-- 
+2.23.0
+
diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template
index 4a4d0282dad..e86fbb8e483 100644
--- a/srcpkgs/qt5-webkit/template
+++ b/srcpkgs/qt5-webkit/template
@@ -1,8 +1,8 @@
 # Template file for 'qt5-webkit'
 pkgname=qt5-webkit
 version=5.212.0
-revision=7
-_snap=1565895469
+revision=8
+_snap=1586819898
 _v=${version%.*}
 wrksrc="qtwebkit-everywhere-src-${_v}"
 build_style=cmake

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] qt5-webkit: new snapshot; fix for upcoming icu-67.1
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
@ 2020-05-12 21:15 ` rmccask
  2020-05-13  3:35 ` rmccask
                   ` (6 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rmccask @ 2020-05-12 21:15 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

There is an updated pull request by rmccask against master on the void-packages repository

https://github.com/rmccask/void-packages qt5-webkit-5.212.0
https://github.com/void-linux/void-packages/pull/21878

qt5-webkit: new snapshot; fix for upcoming icu-67.1


A patch file from https://github.com/void-linux/void-packages/pull/21878.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webkit-5.212.0-21878.patch --]
[-- Type: text/x-diff, Size: 14824 bytes --]

From 3548b2522c8c0e83cbf56843058c87dd5b734c19 Mon Sep 17 00:00:00 2001
From: Randy McCaskill <randy@mccaskill.us>
Date: Tue, 12 May 2020 08:13:21 -0400
Subject: [PATCH] qt5-webkit: new snapshot

---
 srcpkgs/qt5-webkit/patches/armv6l-asm.patch   | 23 -----
 srcpkgs/qt5-webkit/patches/mips-isa-32.patch  | 14 ---
 .../qt5-webkit/patches/musl-mcontext.patch    | 65 -------------
 srcpkgs/qt5-webkit/patches/musl-ppc.patch     | 14 ---
 srcpkgs/qt5-webkit/patches/ppc-llint.patch    | 32 -------
 .../qt5-webkit/patches/qt-musl-execinfo.patch | 13 ---
 srcpkgs/qt5-webkit/patches/qt5.14.patch       | 93 -------------------
 srcpkgs/qt5-webkit/patches/qt5.14.patch.args  |  1 -
 srcpkgs/qt5-webkit/template                   | 10 +-
 srcpkgs/qt5-webkit/update                     |  2 +-
 10 files changed, 6 insertions(+), 261 deletions(-)
 delete mode 100644 srcpkgs/qt5-webkit/patches/armv6l-asm.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/mips-isa-32.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/musl-mcontext.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/musl-ppc.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/ppc-llint.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt-musl-execinfo.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch.args

diff --git a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch b/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
deleted file mode 100644
index 284929f035d..00000000000
--- a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix code emitted for armv6l to not use movw/movt but ldr.
-See https://bugs.webkit.org/show_bug.cgi?id=131612
-and https://bugs.webkit.org/show_bug.cgi?id=141288
-
---- Source/JavaScriptCore/offlineasm/arm.rb	2015-07-22 14:37:57.000000000 +0200
-+++ Source/JavaScriptCore/offlineasm/arm.rb	2015-08-08 00:31:21.011824644 +0200
-@@ -473,8 +473,16 @@
-                 $asm.puts "mov #{armFlippedOperands(operands)}"
-             end
-         when "mvlbl"
-+            if isARMv7 or isARMv7Traditional
-                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
-                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
-+            else
-+                $mvlbl_counter ||= 0
-+                $mvlbl_counter += 1
-+                const_label = "_mvlbl_const_label#{$mvlbl_counter}"
-+                $asm.puts ".equ #{const_label}, (#{operands[0].value})"
-+                $asm.puts "ldr  #{operands[1].armOperand}, =#{const_label}"
-+            end
-         when "nop"
-             $asm.puts "nop"
-         when "bieq", "bpeq", "bbeq"
diff --git a/srcpkgs/qt5-webkit/patches/mips-isa-32.patch b/srcpkgs/qt5-webkit/patches/mips-isa-32.patch
deleted file mode 100644
index cfa3b72296c..00000000000
--- a/srcpkgs/qt5-webkit/patches/mips-isa-32.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h	2019-08-15 20:56:14.000000000 +0200
-+++ Source/JavaScriptCore/assembler/MacroAssemblerMIPS.h	2020-03-04 10:43:29.468482593 +0100
-@@ -315,11 +315,7 @@
- 
-     void countLeadingZeros32(RegisterID src, RegisterID dest)
-     {
--#if WTF_MIPS_ISA_AT_LEAST(32)
-         m_assembler.clz(dest, src);
--#else
--        static_assert(false, "CLZ opcode is not available for this ISA");
--#endif
-     }
- 
-     void lshift32(RegisterID shiftAmount, RegisterID dest)
diff --git a/srcpkgs/qt5-webkit/patches/musl-mcontext.patch b/srcpkgs/qt5-webkit/patches/musl-mcontext.patch
deleted file mode 100644
index c15587f1991..00000000000
--- a/srcpkgs/qt5-webkit/patches/musl-mcontext.patch
+++ /dev/null
@@ -1,65 +0,0 @@
---- Source/JavaScriptCore/heap/MachineStackMarker.cppg	2019-01-12 19:48:12.801137040 +0100
-+++ Source/JavaScriptCore/heap/MachineStackMarker.cpp	2019-01-12 20:09:03.662201571 +0100
-@@ -681,7 +681,19 @@
- #endif
- 
- #else
--#error Need a way to get the frame pointer for another thread on this platform
-+
-+// The following sequence depends on musl libc's sys/ucontext.h.
-+#if CPU(X86)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_EBP]);
-+#elif CPU(X86_64)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_RBP]);
-+#elif CPU(ARM)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.arm_fp);
-+#elif CPU(ARM64)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.regs[29]);
-+#elif CPU(MIPS)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[30]);
-+#endif
- #endif
- }
- 
-@@ -761,7 +773,19 @@
- #endif
- 
- #else
--#error Need a way to get the instruction pointer for another thread on this platform
-+
-+// The following sequence depends on musl libc's sys/ucontext.h.
-+#if CPU(X86)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_EIP]);
-+#elif CPU(X86_64)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_RIP]);
-+#elif CPU(ARM)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.arm_pc);
-+#elif CPU(ARM64)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.pc);
-+#elif CPU(MIPS)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.pc);
-+#endif
- #endif
- }
- void* MachineThreads::Thread::Registers::llintPC() const
-@@ -850,7 +874,19 @@
- #endif
- 
- #else
--#error Need a way to get the LLIntPC for another thread on this platform
-+
-+// The following sequence depends on musl libc's sys/ucontext.h.
-+#if CPU(X86)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_ESI]);
-+#elif CPU(X86_64)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[REG_R8]);
-+#elif CPU(ARM)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.arm_r8);
-+#elif CPU(ARM64)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.regs[4]);
-+#elif CPU(MIPS)
-+    return reinterpret_cast<void*>((uintptr_t) regs.machineContext.gregs[12]);
-+#endif
- #endif
- }
- #endif // ENABLE(SAMPLING_PROFILER)
diff --git a/srcpkgs/qt5-webkit/patches/musl-ppc.patch b/srcpkgs/qt5-webkit/patches/musl-ppc.patch
deleted file mode 100644
index 21d3017397e..00000000000
--- a/srcpkgs/qt5-webkit/patches/musl-ppc.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- Source/JavaScriptCore/heap/MachineStackMarker.cpp
-+++ Source/JavaScriptCore/heap/MachineStackMarker.cpp
-@@ -87,7 +87,11 @@ static void pthreadSignalHandlerSuspendResume(int, siginfo_t*, void* ucontext)
- 
-     ucontext_t* userContext = static_cast<ucontext_t*>(ucontext);
- #if CPU(PPC)
-+# if defined(__GLIBC__)
-     thread->suspendedMachineContext = *userContext->uc_mcontext.uc_regs;
-+# else
-+    thread->suspendedMachineContext = *userContext->uc_regs;
-+# endif
- #else
-     thread->suspendedMachineContext = userContext->uc_mcontext;
- #endif
diff --git a/srcpkgs/qt5-webkit/patches/ppc-llint.patch b/srcpkgs/qt5-webkit/patches/ppc-llint.patch
deleted file mode 100644
index 2fc5a46e523..00000000000
--- a/srcpkgs/qt5-webkit/patches/ppc-llint.patch
+++ /dev/null
@@ -1,32 +0,0 @@
-This fixes JavaScriptCore on big endian systems (mainly ppc).
-
-Without the patch, attempting to run any JS results in
-a crash as the generated code was endian specific.
-
---- Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
-+++ Source/JavaScriptCore/llint/LowLevelInterpreter32_64.asm
-@@ -1500,13 +1500,13 @@ _llint_op_put_by_id:
-     loadp StructureChain::m_vector[t3], t3
-     assert(macro (ok) btpnz t3, ok end)
- 
--    loadp Structure::m_prototype[t2], t2
-+    loadp Structure::m_prototype + PayloadOffset[t2], t2
-     btpz t2, .opPutByIdTransitionChainDone
- .opPutByIdTransitionChainLoop:
-     loadp [t3], t1
-     bpneq t1, JSCell::m_structureID[t2], .opPutByIdSlow
-     addp 4, t3
--    loadp Structure::m_prototype[t1], t2
-+    loadp Structure::m_prototype + PayloadOffset[t1], t2
-     btpnz t2, .opPutByIdTransitionChainLoop
- 
- .opPutByIdTransitionChainDone:
-@@ -1984,7 +1984,7 @@ _llint_throw_from_slow_path_trampoline:
-     # When throwing from the interpreter (i.e. throwing from LLIntSlowPaths), so
-     # the throw target is not necessarily interpreted code, we come to here.
-     # This essentially emulates the JIT's throwing protocol.
--    loadp Callee[cfr], t1
-+    loadp Callee + PayloadOffset[cfr], t1
-     andp MarkedBlockMask, t1
-     loadp MarkedBlock::m_weakSet + WeakSet::m_vm[t1], t1
-     copyCalleeSavesToVMCalleeSavesBuffer(t1, t2)
diff --git a/srcpkgs/qt5-webkit/patches/qt-musl-execinfo.patch b/srcpkgs/qt5-webkit/patches/qt-musl-execinfo.patch
deleted file mode 100644
index d3adbba9c32..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt-musl-execinfo.patch
+++ /dev/null
@@ -1,13 +0,0 @@
---- Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp	2018-01-20 16:53:35.000000000 +0100
-+++ Source/JavaScriptCore/inspector/JSGlobalObjectInspectorController.cpp	2019-01-12 18:56:04.698975664 +0100
-@@ -51,8 +51,10 @@
- #include <cxxabi.h>
- #if OS(DARWIN) || (OS(LINUX) && !PLATFORM(GTK))
- #include <dlfcn.h>
-+#if defined(__GLIBC__)
- #include <execinfo.h>
- #endif
-+#endif
- 
- #if ENABLE(REMOTE_INSPECTOR)
- #include "JSGlobalObjectDebuggable.h"
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch b/srcpkgs/qt5-webkit/patches/qt5.14.patch
deleted file mode 100644
index 799d53f1f55..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From c344187a099f8fd749dc84ffcc125c0925103819 Mon Sep 17 00:00:00 2001
-From: Konstantin Tokarev <annulen@yandex.ru>
-Date: Tue, 10 Sep 2019 03:51:42 +0300
-Subject: Fix compilation of HTTP2 settings with Qt >= 5.14
-
-Public API QHttp2Configuration was added, so we use it now instead of
-ugly hack required for previous versions. Workaround for QTBUG-77308 is
-no loger needed in 5.14, so we only enable server push.
-
-Change-Id: I3e6817d8fa274c3a849f09b23ca58f93318be6c4
----
- .../network/qt/QNetworkReplyHandler.cpp       |  6 +++---
- .../platform/network/qt/ResourceRequestQt.cpp | 20 ++++++++++++++++++-
- 2 files changed, 22 insertions(+), 4 deletions(-)
-
-diff --git a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-index 0da45fbc79a5..7924595582ac 100644
---- a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-+++ b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-@@ -41,7 +41,7 @@
- 
- #include <QCoreApplication>
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- #include <private/http2protocol_p.h>
- #include <cstdlib>
-@@ -62,7 +62,7 @@ ProtocolParameters::ProtocolParameters()
- 
- QT_END_NAMESPACE
- 
--#endif // USE(HTTP2)
-+#endif // USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- static const int gMaxRedirections = 10;
- 
-@@ -797,7 +797,7 @@ QNetworkReply* QNetworkReplyHandler::sendNetworkRequest(QNetworkAccessManager* m
-     if (!manager)
-         return 0;
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
-     static const bool alpnIsSupported = ResourceRequest::alpnIsSupported();
-     if (alpnIsSupported && !manager->property(Http2::http2ParametersPropertyName).isValid()) {
-         Http2::ProtocolParameters params;
-diff --git a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-index 2cf2e7750dde..310738449b75 100644
---- a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-+++ b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-@@ -29,7 +29,10 @@
- 
- #if USE(HTTP2)
- #include <QSslSocket>
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+#include <QHttp2Configuration>
- #endif
-+#endif // USE(HTTP2)
- 
- namespace WebCore {
- 
-@@ -65,6 +68,16 @@ bool ResourceRequest::alpnIsSupported()
-     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
-         QSslSocket::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL"));
- }
-+
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+static QHttp2Configuration createHttp2Configuration()
-+{
-+    QHttp2Configuration params;
-+    params.setServerPushEnabled(true);
-+    return params;
-+}
-+#endif
-+
- #endif
- 
- QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) const
-@@ -76,8 +89,13 @@ QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) co
- 
- #if USE(HTTP2)
-     static const bool NegotiateHttp2ForHttps = alpnIsSupported();
--    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps)
-+    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps) {
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+        static const auto params = createHttp2Configuration();
-+        request.setHttp2Configuration(params);
-+#endif
-         request.setAttribute(QNetworkRequest::HTTP2AllowedAttribute, true);
-+    }
- #endif // USE(HTTP2)
- 
-     const HTTPHeaderMap &headers = httpHeaderFields();
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args b/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
deleted file mode 100644
index 2eba1cb3c5c..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
+++ /dev/null
@@ -1 +0,0 @@
--Np1
diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template
index 4a4d0282dad..882fc76c69b 100644
--- a/srcpkgs/qt5-webkit/template
+++ b/srcpkgs/qt5-webkit/template
@@ -1,10 +1,10 @@
 # Template file for 'qt5-webkit'
 pkgname=qt5-webkit
 version=5.212.0
-revision=7
-_snap=1565895469
+revision=8
+_snap=1586819898
 _v=${version%.*}
-wrksrc="qtwebkit-everywhere-src-${_v}"
+wrksrc="qtwebkit-opensource-src-${_v}"
 build_style=cmake
 # some nasty stuff to prevent cmake from inducing buggy -O3 and default -g
 configure_args="-DPORT=Qt -DUSE_LD_GOLD=OFF
@@ -23,8 +23,8 @@ short_desc="Cross-platform application and UI framework (Qt5) - WebKit2 componen
 maintainer="q66 <daniel@octaforge.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.qt.io/"
-distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-everywhere-src-${_v}.tar.xz"
-checksum=607f0a13e05bbf831d86904d12ae464e7d46a15f0ceed2465487b53512948824
+distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz"
+checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17
 
 CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
 CXXFLAGS="-fpermissive -Wno-class-memaccess"
diff --git a/srcpkgs/qt5-webkit/update b/srcpkgs/qt5-webkit/update
index f9f046d29f3..0d74c2cff12 100644
--- a/srcpkgs/qt5-webkit/update
+++ b/srcpkgs/qt5-webkit/update
@@ -1 +1 @@
-pkgname=qtwebkit-everywhere-src
+pkgname=qtwebkit-opensource-src

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] qt5-webkit: new snapshot; fix for upcoming icu-67.1
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
  2020-05-12 21:15 ` [PR PATCH] [Updated] " rmccask
@ 2020-05-13  3:35 ` rmccask
  2020-05-13  3:38 ` rmccask
                   ` (5 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rmccask @ 2020-05-13  3:35 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

There is an updated pull request by rmccask against master on the void-packages repository

https://github.com/rmccask/void-packages qt5-webkit-5.212.0
https://github.com/void-linux/void-packages/pull/21878

qt5-webkit: new snapshot; fix for upcoming icu-67.1


A patch file from https://github.com/void-linux/void-packages/pull/21878.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webkit-5.212.0-21878.patch --]
[-- Type: text/x-diff, Size: 9351 bytes --]

From 58cb314b0816a8b67decdca6a85ecb12d6271db4 Mon Sep 17 00:00:00 2001
From: Randy McCaskill <randy@mccaskill.us>
Date: Tue, 12 May 2020 08:13:21 -0400
Subject: [PATCH] qt5-webkit: new snapshot; fix for icu 67.1

---
 srcpkgs/qt5-webkit/patches/armv6l-asm.patch  | 23 -----
 srcpkgs/qt5-webkit/patches/icu.patch         | 40 +++++++++
 srcpkgs/qt5-webkit/patches/qt5.14.patch      | 93 --------------------
 srcpkgs/qt5-webkit/patches/qt5.14.patch.args |  1 -
 srcpkgs/qt5-webkit/template                  | 10 +--
 srcpkgs/qt5-webkit/update                    |  2 +-
 6 files changed, 46 insertions(+), 123 deletions(-)
 delete mode 100644 srcpkgs/qt5-webkit/patches/armv6l-asm.patch
 create mode 100644 srcpkgs/qt5-webkit/patches/icu.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch.args

diff --git a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch b/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
deleted file mode 100644
index 284929f035d..00000000000
--- a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix code emitted for armv6l to not use movw/movt but ldr.
-See https://bugs.webkit.org/show_bug.cgi?id=131612
-and https://bugs.webkit.org/show_bug.cgi?id=141288
-
---- Source/JavaScriptCore/offlineasm/arm.rb	2015-07-22 14:37:57.000000000 +0200
-+++ Source/JavaScriptCore/offlineasm/arm.rb	2015-08-08 00:31:21.011824644 +0200
-@@ -473,8 +473,16 @@
-                 $asm.puts "mov #{armFlippedOperands(operands)}"
-             end
-         when "mvlbl"
-+            if isARMv7 or isARMv7Traditional
-                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
-                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
-+            else
-+                $mvlbl_counter ||= 0
-+                $mvlbl_counter += 1
-+                const_label = "_mvlbl_const_label#{$mvlbl_counter}"
-+                $asm.puts ".equ #{const_label}, (#{operands[0].value})"
-+                $asm.puts "ldr  #{operands[1].armOperand}, =#{const_label}"
-+            end
-         when "nop"
-             $asm.puts "nop"
-         when "bieq", "bpeq", "bbeq"
diff --git a/srcpkgs/qt5-webkit/patches/icu.patch b/srcpkgs/qt5-webkit/patches/icu.patch
new file mode 100644
index 00000000000..1fc3b256101
--- /dev/null
+++ b/srcpkgs/qt5-webkit/patches/icu.patch
@@ -0,0 +1,40 @@
+From 9b60e834454dc93f46f05b1cfdc0aad0c6b7de97 Mon Sep 17 00:00:00 2001
+From: Heiko Becker <heirecka@exherbo.org>
+Date: Fri, 4 Oct 2019 22:17:11 +0200
+Subject: [PATCH] Add missing semicolons to fix build with icu 65.1
+
+---
+ Source/WebCore/dom/Document.cpp |  6 +++---
+ 1 files changed, 3 insertions(+), 3 deletions(-)
+
+diff --git Source/WebCore/dom/Document.cpp Source/WebCore/dom/Document.cpp
+index 0fd0fa090bf..01f76850f3d 100644
+--- Source/WebCore/dom/Document.cpp
++++ Source/WebCore/dom/Document.cpp
+@@ -4954,12 +4954,12 @@ static bool isValidNameNonASCII(const UChar* characters, unsigned length)
+     unsigned i = 0;
+ 
+     UChar32 c;
+-    U16_NEXT(characters, i, length, c)
++    U16_NEXT(characters, i, length, c);
+     if (!isValidNameStart(c))
+         return false;
+ 
+     while (i < length) {
+-        U16_NEXT(characters, i, length, c)
++        U16_NEXT(characters, i, length, c);
+         if (!isValidNamePart(c))
+             return false;
+     }
+@@ -5019,7 +5019,7 @@ ExceptionOr<std::pair<AtomString, AtomString>> Document::parseQualifiedName(cons
+ 
+     for (unsigned i = 0; i < length; ) {
+         UChar32 c;
+-        U16_NEXT(qualifiedName, i, length, c)
++        U16_NEXT(qualifiedName, i, length, c);
+         if (c == ':') {
+             if (sawColon)
+                 return Exception { InvalidCharacterError };
+-- 
+2.23.0
+
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch b/srcpkgs/qt5-webkit/patches/qt5.14.patch
deleted file mode 100644
index 799d53f1f55..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From c344187a099f8fd749dc84ffcc125c0925103819 Mon Sep 17 00:00:00 2001
-From: Konstantin Tokarev <annulen@yandex.ru>
-Date: Tue, 10 Sep 2019 03:51:42 +0300
-Subject: Fix compilation of HTTP2 settings with Qt >= 5.14
-
-Public API QHttp2Configuration was added, so we use it now instead of
-ugly hack required for previous versions. Workaround for QTBUG-77308 is
-no loger needed in 5.14, so we only enable server push.
-
-Change-Id: I3e6817d8fa274c3a849f09b23ca58f93318be6c4
----
- .../network/qt/QNetworkReplyHandler.cpp       |  6 +++---
- .../platform/network/qt/ResourceRequestQt.cpp | 20 ++++++++++++++++++-
- 2 files changed, 22 insertions(+), 4 deletions(-)
-
-diff --git a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-index 0da45fbc79a5..7924595582ac 100644
---- a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-+++ b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-@@ -41,7 +41,7 @@
- 
- #include <QCoreApplication>
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- #include <private/http2protocol_p.h>
- #include <cstdlib>
-@@ -62,7 +62,7 @@ ProtocolParameters::ProtocolParameters()
- 
- QT_END_NAMESPACE
- 
--#endif // USE(HTTP2)
-+#endif // USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- static const int gMaxRedirections = 10;
- 
-@@ -797,7 +797,7 @@ QNetworkReply* QNetworkReplyHandler::sendNetworkRequest(QNetworkAccessManager* m
-     if (!manager)
-         return 0;
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
-     static const bool alpnIsSupported = ResourceRequest::alpnIsSupported();
-     if (alpnIsSupported && !manager->property(Http2::http2ParametersPropertyName).isValid()) {
-         Http2::ProtocolParameters params;
-diff --git a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-index 2cf2e7750dde..310738449b75 100644
---- a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-+++ b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-@@ -29,7 +29,10 @@
- 
- #if USE(HTTP2)
- #include <QSslSocket>
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+#include <QHttp2Configuration>
- #endif
-+#endif // USE(HTTP2)
- 
- namespace WebCore {
- 
-@@ -65,6 +68,16 @@ bool ResourceRequest::alpnIsSupported()
-     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
-         QSslSocket::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL"));
- }
-+
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+static QHttp2Configuration createHttp2Configuration()
-+{
-+    QHttp2Configuration params;
-+    params.setServerPushEnabled(true);
-+    return params;
-+}
-+#endif
-+
- #endif
- 
- QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) const
-@@ -76,8 +89,13 @@ QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) co
- 
- #if USE(HTTP2)
-     static const bool NegotiateHttp2ForHttps = alpnIsSupported();
--    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps)
-+    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps) {
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+        static const auto params = createHttp2Configuration();
-+        request.setHttp2Configuration(params);
-+#endif
-         request.setAttribute(QNetworkRequest::HTTP2AllowedAttribute, true);
-+    }
- #endif // USE(HTTP2)
- 
-     const HTTPHeaderMap &headers = httpHeaderFields();
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args b/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
deleted file mode 100644
index 2eba1cb3c5c..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
+++ /dev/null
@@ -1 +0,0 @@
--Np1
diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template
index 4a4d0282dad..882fc76c69b 100644
--- a/srcpkgs/qt5-webkit/template
+++ b/srcpkgs/qt5-webkit/template
@@ -1,10 +1,10 @@
 # Template file for 'qt5-webkit'
 pkgname=qt5-webkit
 version=5.212.0
-revision=7
-_snap=1565895469
+revision=8
+_snap=1586819898
 _v=${version%.*}
-wrksrc="qtwebkit-everywhere-src-${_v}"
+wrksrc="qtwebkit-opensource-src-${_v}"
 build_style=cmake
 # some nasty stuff to prevent cmake from inducing buggy -O3 and default -g
 configure_args="-DPORT=Qt -DUSE_LD_GOLD=OFF
@@ -23,8 +23,8 @@ short_desc="Cross-platform application and UI framework (Qt5) - WebKit2 componen
 maintainer="q66 <daniel@octaforge.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.qt.io/"
-distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-everywhere-src-${_v}.tar.xz"
-checksum=607f0a13e05bbf831d86904d12ae464e7d46a15f0ceed2465487b53512948824
+distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz"
+checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17
 
 CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
 CXXFLAGS="-fpermissive -Wno-class-memaccess"
diff --git a/srcpkgs/qt5-webkit/update b/srcpkgs/qt5-webkit/update
index f9f046d29f3..0d74c2cff12 100644
--- a/srcpkgs/qt5-webkit/update
+++ b/srcpkgs/qt5-webkit/update
@@ -1 +1 @@
-pkgname=qtwebkit-everywhere-src
+pkgname=qtwebkit-opensource-src

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] qt5-webkit: new snapshot; fix for upcoming icu-67.1
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
  2020-05-12 21:15 ` [PR PATCH] [Updated] " rmccask
  2020-05-13  3:35 ` rmccask
@ 2020-05-13  3:38 ` rmccask
  2020-05-13 21:06 ` [PR PATCH] [Updated] qt5-webkit: new snapshot rmccask
                   ` (4 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rmccask @ 2020-05-13  3:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 352 bytes --]

There is an updated pull request by rmccask against master on the void-packages repository

https://github.com/rmccask/void-packages qt5-webkit-5.212.0
https://github.com/void-linux/void-packages/pull/21878

qt5-webkit: new snapshot; fix for upcoming icu-67.1


A patch file from https://github.com/void-linux/void-packages/pull/21878.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webkit-5.212.0-21878.patch --]
[-- Type: text/x-diff, Size: 7612 bytes --]

From 4da20c2ec80c454749ab9f8dde26ab553e027229 Mon Sep 17 00:00:00 2001
From: Randy McCaskill <randy@mccaskill.us>
Date: Tue, 12 May 2020 08:13:21 -0400
Subject: [PATCH] qt5-webkit: new snapshot

---
 srcpkgs/qt5-webkit/patches/armv6l-asm.patch  | 23 -----
 srcpkgs/qt5-webkit/patches/qt5.14.patch      | 93 --------------------
 srcpkgs/qt5-webkit/patches/qt5.14.patch.args |  1 -
 srcpkgs/qt5-webkit/template                  | 10 +--
 srcpkgs/qt5-webkit/update                    |  2 +-
 5 files changed, 6 insertions(+), 123 deletions(-)
 delete mode 100644 srcpkgs/qt5-webkit/patches/armv6l-asm.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch.args

diff --git a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch b/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
deleted file mode 100644
index 284929f035d..00000000000
--- a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix code emitted for armv6l to not use movw/movt but ldr.
-See https://bugs.webkit.org/show_bug.cgi?id=131612
-and https://bugs.webkit.org/show_bug.cgi?id=141288
-
---- Source/JavaScriptCore/offlineasm/arm.rb	2015-07-22 14:37:57.000000000 +0200
-+++ Source/JavaScriptCore/offlineasm/arm.rb	2015-08-08 00:31:21.011824644 +0200
-@@ -473,8 +473,16 @@
-                 $asm.puts "mov #{armFlippedOperands(operands)}"
-             end
-         when "mvlbl"
-+            if isARMv7 or isARMv7Traditional
-                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
-                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
-+            else
-+                $mvlbl_counter ||= 0
-+                $mvlbl_counter += 1
-+                const_label = "_mvlbl_const_label#{$mvlbl_counter}"
-+                $asm.puts ".equ #{const_label}, (#{operands[0].value})"
-+                $asm.puts "ldr  #{operands[1].armOperand}, =#{const_label}"
-+            end
-         when "nop"
-             $asm.puts "nop"
-         when "bieq", "bpeq", "bbeq"
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch b/srcpkgs/qt5-webkit/patches/qt5.14.patch
deleted file mode 100644
index 799d53f1f55..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From c344187a099f8fd749dc84ffcc125c0925103819 Mon Sep 17 00:00:00 2001
-From: Konstantin Tokarev <annulen@yandex.ru>
-Date: Tue, 10 Sep 2019 03:51:42 +0300
-Subject: Fix compilation of HTTP2 settings with Qt >= 5.14
-
-Public API QHttp2Configuration was added, so we use it now instead of
-ugly hack required for previous versions. Workaround for QTBUG-77308 is
-no loger needed in 5.14, so we only enable server push.
-
-Change-Id: I3e6817d8fa274c3a849f09b23ca58f93318be6c4
----
- .../network/qt/QNetworkReplyHandler.cpp       |  6 +++---
- .../platform/network/qt/ResourceRequestQt.cpp | 20 ++++++++++++++++++-
- 2 files changed, 22 insertions(+), 4 deletions(-)
-
-diff --git a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-index 0da45fbc79a5..7924595582ac 100644
---- a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-+++ b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-@@ -41,7 +41,7 @@
- 
- #include <QCoreApplication>
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- #include <private/http2protocol_p.h>
- #include <cstdlib>
-@@ -62,7 +62,7 @@ ProtocolParameters::ProtocolParameters()
- 
- QT_END_NAMESPACE
- 
--#endif // USE(HTTP2)
-+#endif // USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- static const int gMaxRedirections = 10;
- 
-@@ -797,7 +797,7 @@ QNetworkReply* QNetworkReplyHandler::sendNetworkRequest(QNetworkAccessManager* m
-     if (!manager)
-         return 0;
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
-     static const bool alpnIsSupported = ResourceRequest::alpnIsSupported();
-     if (alpnIsSupported && !manager->property(Http2::http2ParametersPropertyName).isValid()) {
-         Http2::ProtocolParameters params;
-diff --git a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-index 2cf2e7750dde..310738449b75 100644
---- a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-+++ b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-@@ -29,7 +29,10 @@
- 
- #if USE(HTTP2)
- #include <QSslSocket>
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+#include <QHttp2Configuration>
- #endif
-+#endif // USE(HTTP2)
- 
- namespace WebCore {
- 
-@@ -65,6 +68,16 @@ bool ResourceRequest::alpnIsSupported()
-     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
-         QSslSocket::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL"));
- }
-+
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+static QHttp2Configuration createHttp2Configuration()
-+{
-+    QHttp2Configuration params;
-+    params.setServerPushEnabled(true);
-+    return params;
-+}
-+#endif
-+
- #endif
- 
- QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) const
-@@ -76,8 +89,13 @@ QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) co
- 
- #if USE(HTTP2)
-     static const bool NegotiateHttp2ForHttps = alpnIsSupported();
--    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps)
-+    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps) {
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+        static const auto params = createHttp2Configuration();
-+        request.setHttp2Configuration(params);
-+#endif
-         request.setAttribute(QNetworkRequest::HTTP2AllowedAttribute, true);
-+    }
- #endif // USE(HTTP2)
- 
-     const HTTPHeaderMap &headers = httpHeaderFields();
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args b/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
deleted file mode 100644
index 2eba1cb3c5c..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
+++ /dev/null
@@ -1 +0,0 @@
--Np1
diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template
index 4a4d0282dad..882fc76c69b 100644
--- a/srcpkgs/qt5-webkit/template
+++ b/srcpkgs/qt5-webkit/template
@@ -1,10 +1,10 @@
 # Template file for 'qt5-webkit'
 pkgname=qt5-webkit
 version=5.212.0
-revision=7
-_snap=1565895469
+revision=8
+_snap=1586819898
 _v=${version%.*}
-wrksrc="qtwebkit-everywhere-src-${_v}"
+wrksrc="qtwebkit-opensource-src-${_v}"
 build_style=cmake
 # some nasty stuff to prevent cmake from inducing buggy -O3 and default -g
 configure_args="-DPORT=Qt -DUSE_LD_GOLD=OFF
@@ -23,8 +23,8 @@ short_desc="Cross-platform application and UI framework (Qt5) - WebKit2 componen
 maintainer="q66 <daniel@octaforge.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.qt.io/"
-distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-everywhere-src-${_v}.tar.xz"
-checksum=607f0a13e05bbf831d86904d12ae464e7d46a15f0ceed2465487b53512948824
+distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz"
+checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17
 
 CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
 CXXFLAGS="-fpermissive -Wno-class-memaccess"
diff --git a/srcpkgs/qt5-webkit/update b/srcpkgs/qt5-webkit/update
index f9f046d29f3..0d74c2cff12 100644
--- a/srcpkgs/qt5-webkit/update
+++ b/srcpkgs/qt5-webkit/update
@@ -1 +1 @@
-pkgname=qtwebkit-everywhere-src
+pkgname=qtwebkit-opensource-src

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] qt5-webkit: new snapshot
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
                   ` (2 preceding siblings ...)
  2020-05-13  3:38 ` rmccask
@ 2020-05-13 21:06 ` rmccask
  2020-05-13 22:21 ` rmccask
                   ` (3 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rmccask @ 2020-05-13 21:06 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

There is an updated pull request by rmccask against master on the void-packages repository

https://github.com/rmccask/void-packages qt5-webkit-5.212.0
https://github.com/void-linux/void-packages/pull/21878

qt5-webkit: new snapshot


A patch file from https://github.com/void-linux/void-packages/pull/21878.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webkit-5.212.0-21878.patch --]
[-- Type: text/x-diff, Size: 10702 bytes --]

From 000a92b5316d929aa18aaf352230ce6ae99f571b Mon Sep 17 00:00:00 2001
From: Randy McCaskill <randy@mccaskill.us>
Date: Tue, 12 May 2020 08:13:21 -0400
Subject: [PATCH] qt5-webkit: new snapshot; ARMv6 patch

---
 srcpkgs/qt5-webkit/patches/armv6.patch       | 72 +++++++++++++++
 srcpkgs/qt5-webkit/patches/armv6l-asm.patch  | 23 -----
 srcpkgs/qt5-webkit/patches/qt5.14.patch      | 93 --------------------
 srcpkgs/qt5-webkit/patches/qt5.14.patch.args |  1 -
 srcpkgs/qt5-webkit/template                  | 10 +--
 srcpkgs/qt5-webkit/update                    |  2 +-
 6 files changed, 78 insertions(+), 123 deletions(-)
 create mode 100644 srcpkgs/qt5-webkit/patches/armv6.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/armv6l-asm.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch.args

diff --git a/srcpkgs/qt5-webkit/patches/armv6.patch b/srcpkgs/qt5-webkit/patches/armv6.patch
new file mode 100644
index 00000000000..e60ac2a1c9a
--- /dev/null
+++ b/srcpkgs/qt5-webkit/patches/armv6.patch
@@ -0,0 +1,72 @@
+From 7cc86ebe881f36bfef18d8eeee666d2a55eae892 Mon Sep 17 00:00:00 2001
+From: Guilherme Iscaro <iscaro@profusion.mobi>
+Date: Fri, 31 Mar 2017 10:31:49 -0300
+Subject: [PATCH] Fix build on ARMv6.
+
+The ARMv6 and older architures does not support the movw and movl
+instructions, thus causing a build break.
+This patch fix the problem by creating a new offlineasm instruction,
+which will use the ldr instruction to load a immediate into a register.
+
+https://bugs.webkit.org/show_bug.cgi?id=141288
+
+Reviewed by NOBODY (OOPS!).
+
+* llint/LowLevelInterpreter.asm:
+* offlineasm/arm.rb:
+* offlineasm/instructions.rb:
+---
+ Source/JavaScriptCore/llint/LowLevelInterpreter.asm | 8 +++++++-
+ Source/JavaScriptCore/offlineasm/arm.rb             | 2 ++
+ Source/JavaScriptCore/offlineasm/instructions.rb    | 3 ++-
+ 3 files changed, 11 insertions(+), 2 deletions(-)
+
+diff --git Source/JavaScriptCore/llint/LowLevelInterpreter.asm Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+index ab3c0c8e771..6c32eef8852 100644
+--- Source/JavaScriptCore/llint/LowLevelInterpreter.asm
++++ Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+@@ -1167,7 +1167,13 @@ macro setEntryAddress(index, label)
+         move index, t4
+         storep t1, [a0, t4, 8]
+     elsif ARM or ARMv7 or ARMv7_TRADITIONAL
+-        mvlbl (label - _relativePCBase), t4
++        if ARM
++           ldrlbl t4, label
++           ldrlbl t3, _relativePCBase
++           subp t4, t3, t4
++        else
++           mvlbl (label - _relativePCBase), t4
++        end
+         addp t4, t1, t4
+         move index, t3
+         storep t4, [a0, t3, 4]
+diff --git Source/JavaScriptCore/offlineasm/arm.rb Source/JavaScriptCore/offlineasm/arm.rb
+index c8064a59196..a9c40c8995c 100644
+--- Source/JavaScriptCore/offlineasm/arm.rb
++++ Source/JavaScriptCore/offlineasm/arm.rb
+@@ -504,6 +504,8 @@ class Instruction
+         when "mvlbl"
+                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
+                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
++        when "ldrlbl"
++            $asm.puts "ldr #{operands[0].armOperand}, =#{operands[1].value}"
+         when "nop"
+             $asm.puts "nop"
+         when "bieq", "bpeq", "bbeq"
+diff --git Source/JavaScriptCore/offlineasm/instructions.rb Source/JavaScriptCore/offlineasm/instructions.rb
+index bbfce7193b3..8cc1cb961ce 100644
+--- Source/JavaScriptCore/offlineasm/instructions.rb
++++ Source/JavaScriptCore/offlineasm/instructions.rb
+@@ -261,7 +261,8 @@ X86_INSTRUCTIONS =
+ ARM_INSTRUCTIONS =
+     [
+      "clrbp",
+-     "mvlbl"
++     "mvlbl",
++     "ldrlbl"
+     ]
+ 
+ ARM64_INSTRUCTIONS =
+-- 
+2.12.1
+
diff --git a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch b/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
deleted file mode 100644
index 284929f035d..00000000000
--- a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix code emitted for armv6l to not use movw/movt but ldr.
-See https://bugs.webkit.org/show_bug.cgi?id=131612
-and https://bugs.webkit.org/show_bug.cgi?id=141288
-
---- Source/JavaScriptCore/offlineasm/arm.rb	2015-07-22 14:37:57.000000000 +0200
-+++ Source/JavaScriptCore/offlineasm/arm.rb	2015-08-08 00:31:21.011824644 +0200
-@@ -473,8 +473,16 @@
-                 $asm.puts "mov #{armFlippedOperands(operands)}"
-             end
-         when "mvlbl"
-+            if isARMv7 or isARMv7Traditional
-                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
-                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
-+            else
-+                $mvlbl_counter ||= 0
-+                $mvlbl_counter += 1
-+                const_label = "_mvlbl_const_label#{$mvlbl_counter}"
-+                $asm.puts ".equ #{const_label}, (#{operands[0].value})"
-+                $asm.puts "ldr  #{operands[1].armOperand}, =#{const_label}"
-+            end
-         when "nop"
-             $asm.puts "nop"
-         when "bieq", "bpeq", "bbeq"
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch b/srcpkgs/qt5-webkit/patches/qt5.14.patch
deleted file mode 100644
index 799d53f1f55..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From c344187a099f8fd749dc84ffcc125c0925103819 Mon Sep 17 00:00:00 2001
-From: Konstantin Tokarev <annulen@yandex.ru>
-Date: Tue, 10 Sep 2019 03:51:42 +0300
-Subject: Fix compilation of HTTP2 settings with Qt >= 5.14
-
-Public API QHttp2Configuration was added, so we use it now instead of
-ugly hack required for previous versions. Workaround for QTBUG-77308 is
-no loger needed in 5.14, so we only enable server push.
-
-Change-Id: I3e6817d8fa274c3a849f09b23ca58f93318be6c4
----
- .../network/qt/QNetworkReplyHandler.cpp       |  6 +++---
- .../platform/network/qt/ResourceRequestQt.cpp | 20 ++++++++++++++++++-
- 2 files changed, 22 insertions(+), 4 deletions(-)
-
-diff --git a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-index 0da45fbc79a5..7924595582ac 100644
---- a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-+++ b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-@@ -41,7 +41,7 @@
- 
- #include <QCoreApplication>
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- #include <private/http2protocol_p.h>
- #include <cstdlib>
-@@ -62,7 +62,7 @@ ProtocolParameters::ProtocolParameters()
- 
- QT_END_NAMESPACE
- 
--#endif // USE(HTTP2)
-+#endif // USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- static const int gMaxRedirections = 10;
- 
-@@ -797,7 +797,7 @@ QNetworkReply* QNetworkReplyHandler::sendNetworkRequest(QNetworkAccessManager* m
-     if (!manager)
-         return 0;
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
-     static const bool alpnIsSupported = ResourceRequest::alpnIsSupported();
-     if (alpnIsSupported && !manager->property(Http2::http2ParametersPropertyName).isValid()) {
-         Http2::ProtocolParameters params;
-diff --git a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-index 2cf2e7750dde..310738449b75 100644
---- a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-+++ b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-@@ -29,7 +29,10 @@
- 
- #if USE(HTTP2)
- #include <QSslSocket>
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+#include <QHttp2Configuration>
- #endif
-+#endif // USE(HTTP2)
- 
- namespace WebCore {
- 
-@@ -65,6 +68,16 @@ bool ResourceRequest::alpnIsSupported()
-     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
-         QSslSocket::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL"));
- }
-+
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+static QHttp2Configuration createHttp2Configuration()
-+{
-+    QHttp2Configuration params;
-+    params.setServerPushEnabled(true);
-+    return params;
-+}
-+#endif
-+
- #endif
- 
- QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) const
-@@ -76,8 +89,13 @@ QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) co
- 
- #if USE(HTTP2)
-     static const bool NegotiateHttp2ForHttps = alpnIsSupported();
--    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps)
-+    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps) {
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+        static const auto params = createHttp2Configuration();
-+        request.setHttp2Configuration(params);
-+#endif
-         request.setAttribute(QNetworkRequest::HTTP2AllowedAttribute, true);
-+    }
- #endif // USE(HTTP2)
- 
-     const HTTPHeaderMap &headers = httpHeaderFields();
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args b/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
deleted file mode 100644
index 2eba1cb3c5c..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
+++ /dev/null
@@ -1 +0,0 @@
--Np1
diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template
index 4a4d0282dad..882fc76c69b 100644
--- a/srcpkgs/qt5-webkit/template
+++ b/srcpkgs/qt5-webkit/template
@@ -1,10 +1,10 @@
 # Template file for 'qt5-webkit'
 pkgname=qt5-webkit
 version=5.212.0
-revision=7
-_snap=1565895469
+revision=8
+_snap=1586819898
 _v=${version%.*}
-wrksrc="qtwebkit-everywhere-src-${_v}"
+wrksrc="qtwebkit-opensource-src-${_v}"
 build_style=cmake
 # some nasty stuff to prevent cmake from inducing buggy -O3 and default -g
 configure_args="-DPORT=Qt -DUSE_LD_GOLD=OFF
@@ -23,8 +23,8 @@ short_desc="Cross-platform application and UI framework (Qt5) - WebKit2 componen
 maintainer="q66 <daniel@octaforge.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.qt.io/"
-distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-everywhere-src-${_v}.tar.xz"
-checksum=607f0a13e05bbf831d86904d12ae464e7d46a15f0ceed2465487b53512948824
+distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz"
+checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17
 
 CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
 CXXFLAGS="-fpermissive -Wno-class-memaccess"
diff --git a/srcpkgs/qt5-webkit/update b/srcpkgs/qt5-webkit/update
index f9f046d29f3..0d74c2cff12 100644
--- a/srcpkgs/qt5-webkit/update
+++ b/srcpkgs/qt5-webkit/update
@@ -1 +1 @@
-pkgname=qtwebkit-everywhere-src
+pkgname=qtwebkit-opensource-src

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Updated] qt5-webkit: new snapshot
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
                   ` (3 preceding siblings ...)
  2020-05-13 21:06 ` [PR PATCH] [Updated] qt5-webkit: new snapshot rmccask
@ 2020-05-13 22:21 ` rmccask
  2020-05-26 20:23 ` qt5-webkit: new snapshot; ARMv6 patch q66
                   ` (2 subsequent siblings)
  7 siblings, 0 replies; 9+ messages in thread
From: rmccask @ 2020-05-13 22:21 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 325 bytes --]

There is an updated pull request by rmccask against master on the void-packages repository

https://github.com/rmccask/void-packages qt5-webkit-5.212.0
https://github.com/void-linux/void-packages/pull/21878

qt5-webkit: new snapshot


A patch file from https://github.com/void-linux/void-packages/pull/21878.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-qt5-webkit-5.212.0-21878.patch --]
[-- Type: text/x-diff, Size: 10712 bytes --]

From 43316ea6fe97757e36494439a7df8833ccc8366e Mon Sep 17 00:00:00 2001
From: Randy McCaskill <randy@mccaskill.us>
Date: Tue, 12 May 2020 08:13:21 -0400
Subject: [PATCH] qt5-webkit: new snapshot; ARMv6 patch

[ci skip]
---
 srcpkgs/qt5-webkit/patches/armv6.patch       | 72 +++++++++++++++
 srcpkgs/qt5-webkit/patches/armv6l-asm.patch  | 23 -----
 srcpkgs/qt5-webkit/patches/qt5.14.patch      | 93 --------------------
 srcpkgs/qt5-webkit/patches/qt5.14.patch.args |  1 -
 srcpkgs/qt5-webkit/template                  | 10 +--
 srcpkgs/qt5-webkit/update                    |  2 +-
 6 files changed, 78 insertions(+), 123 deletions(-)
 create mode 100644 srcpkgs/qt5-webkit/patches/armv6.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/armv6l-asm.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch
 delete mode 100644 srcpkgs/qt5-webkit/patches/qt5.14.patch.args

diff --git a/srcpkgs/qt5-webkit/patches/armv6.patch b/srcpkgs/qt5-webkit/patches/armv6.patch
new file mode 100644
index 00000000000..e60ac2a1c9a
--- /dev/null
+++ b/srcpkgs/qt5-webkit/patches/armv6.patch
@@ -0,0 +1,72 @@
+From 7cc86ebe881f36bfef18d8eeee666d2a55eae892 Mon Sep 17 00:00:00 2001
+From: Guilherme Iscaro <iscaro@profusion.mobi>
+Date: Fri, 31 Mar 2017 10:31:49 -0300
+Subject: [PATCH] Fix build on ARMv6.
+
+The ARMv6 and older architures does not support the movw and movl
+instructions, thus causing a build break.
+This patch fix the problem by creating a new offlineasm instruction,
+which will use the ldr instruction to load a immediate into a register.
+
+https://bugs.webkit.org/show_bug.cgi?id=141288
+
+Reviewed by NOBODY (OOPS!).
+
+* llint/LowLevelInterpreter.asm:
+* offlineasm/arm.rb:
+* offlineasm/instructions.rb:
+---
+ Source/JavaScriptCore/llint/LowLevelInterpreter.asm | 8 +++++++-
+ Source/JavaScriptCore/offlineasm/arm.rb             | 2 ++
+ Source/JavaScriptCore/offlineasm/instructions.rb    | 3 ++-
+ 3 files changed, 11 insertions(+), 2 deletions(-)
+
+diff --git Source/JavaScriptCore/llint/LowLevelInterpreter.asm Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+index ab3c0c8e771..6c32eef8852 100644
+--- Source/JavaScriptCore/llint/LowLevelInterpreter.asm
++++ Source/JavaScriptCore/llint/LowLevelInterpreter.asm
+@@ -1167,7 +1167,13 @@ macro setEntryAddress(index, label)
+         move index, t4
+         storep t1, [a0, t4, 8]
+     elsif ARM or ARMv7 or ARMv7_TRADITIONAL
+-        mvlbl (label - _relativePCBase), t4
++        if ARM
++           ldrlbl t4, label
++           ldrlbl t3, _relativePCBase
++           subp t4, t3, t4
++        else
++           mvlbl (label - _relativePCBase), t4
++        end
+         addp t4, t1, t4
+         move index, t3
+         storep t4, [a0, t3, 4]
+diff --git Source/JavaScriptCore/offlineasm/arm.rb Source/JavaScriptCore/offlineasm/arm.rb
+index c8064a59196..a9c40c8995c 100644
+--- Source/JavaScriptCore/offlineasm/arm.rb
++++ Source/JavaScriptCore/offlineasm/arm.rb
+@@ -504,6 +504,8 @@ class Instruction
+         when "mvlbl"
+                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
+                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
++        when "ldrlbl"
++            $asm.puts "ldr #{operands[0].armOperand}, =#{operands[1].value}"
+         when "nop"
+             $asm.puts "nop"
+         when "bieq", "bpeq", "bbeq"
+diff --git Source/JavaScriptCore/offlineasm/instructions.rb Source/JavaScriptCore/offlineasm/instructions.rb
+index bbfce7193b3..8cc1cb961ce 100644
+--- Source/JavaScriptCore/offlineasm/instructions.rb
++++ Source/JavaScriptCore/offlineasm/instructions.rb
+@@ -261,7 +261,8 @@ X86_INSTRUCTIONS =
+ ARM_INSTRUCTIONS =
+     [
+      "clrbp",
+-     "mvlbl"
++     "mvlbl",
++     "ldrlbl"
+     ]
+ 
+ ARM64_INSTRUCTIONS =
+-- 
+2.12.1
+
diff --git a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch b/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
deleted file mode 100644
index 284929f035d..00000000000
--- a/srcpkgs/qt5-webkit/patches/armv6l-asm.patch
+++ /dev/null
@@ -1,23 +0,0 @@
-Fix code emitted for armv6l to not use movw/movt but ldr.
-See https://bugs.webkit.org/show_bug.cgi?id=131612
-and https://bugs.webkit.org/show_bug.cgi?id=141288
-
---- Source/JavaScriptCore/offlineasm/arm.rb	2015-07-22 14:37:57.000000000 +0200
-+++ Source/JavaScriptCore/offlineasm/arm.rb	2015-08-08 00:31:21.011824644 +0200
-@@ -473,8 +473,16 @@
-                 $asm.puts "mov #{armFlippedOperands(operands)}"
-             end
-         when "mvlbl"
-+            if isARMv7 or isARMv7Traditional
-                 $asm.puts "movw #{operands[1].armOperand}, \#:lower16:#{operands[0].value}"
-                 $asm.puts "movt #{operands[1].armOperand}, \#:upper16:#{operands[0].value}"
-+            else
-+                $mvlbl_counter ||= 0
-+                $mvlbl_counter += 1
-+                const_label = "_mvlbl_const_label#{$mvlbl_counter}"
-+                $asm.puts ".equ #{const_label}, (#{operands[0].value})"
-+                $asm.puts "ldr  #{operands[1].armOperand}, =#{const_label}"
-+            end
-         when "nop"
-             $asm.puts "nop"
-         when "bieq", "bpeq", "bbeq"
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch b/srcpkgs/qt5-webkit/patches/qt5.14.patch
deleted file mode 100644
index 799d53f1f55..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch
+++ /dev/null
@@ -1,93 +0,0 @@
-From c344187a099f8fd749dc84ffcc125c0925103819 Mon Sep 17 00:00:00 2001
-From: Konstantin Tokarev <annulen@yandex.ru>
-Date: Tue, 10 Sep 2019 03:51:42 +0300
-Subject: Fix compilation of HTTP2 settings with Qt >= 5.14
-
-Public API QHttp2Configuration was added, so we use it now instead of
-ugly hack required for previous versions. Workaround for QTBUG-77308 is
-no loger needed in 5.14, so we only enable server push.
-
-Change-Id: I3e6817d8fa274c3a849f09b23ca58f93318be6c4
----
- .../network/qt/QNetworkReplyHandler.cpp       |  6 +++---
- .../platform/network/qt/ResourceRequestQt.cpp | 20 ++++++++++++++++++-
- 2 files changed, 22 insertions(+), 4 deletions(-)
-
-diff --git a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-index 0da45fbc79a5..7924595582ac 100644
---- a/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-+++ b/Source/WebCore/platform/network/qt/QNetworkReplyHandler.cpp
-@@ -41,7 +41,7 @@
- 
- #include <QCoreApplication>
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- #include <private/http2protocol_p.h>
- #include <cstdlib>
-@@ -62,7 +62,7 @@ ProtocolParameters::ProtocolParameters()
- 
- QT_END_NAMESPACE
- 
--#endif // USE(HTTP2)
-+#endif // USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
- 
- static const int gMaxRedirections = 10;
- 
-@@ -797,7 +797,7 @@ QNetworkReply* QNetworkReplyHandler::sendNetworkRequest(QNetworkAccessManager* m
-     if (!manager)
-         return 0;
- 
--#if USE(HTTP2)
-+#if USE(HTTP2) && QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
-     static const bool alpnIsSupported = ResourceRequest::alpnIsSupported();
-     if (alpnIsSupported && !manager->property(Http2::http2ParametersPropertyName).isValid()) {
-         Http2::ProtocolParameters params;
-diff --git a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-index 2cf2e7750dde..310738449b75 100644
---- a/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-+++ b/Source/WebCore/platform/network/qt/ResourceRequestQt.cpp
-@@ -29,7 +29,10 @@
- 
- #if USE(HTTP2)
- #include <QSslSocket>
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+#include <QHttp2Configuration>
- #endif
-+#endif // USE(HTTP2)
- 
- namespace WebCore {
- 
-@@ -65,6 +68,16 @@ bool ResourceRequest::alpnIsSupported()
-     return QSslSocket::sslLibraryVersionNumber() > 0x10002000L &&
-         QSslSocket::sslLibraryVersionString().startsWith(QLatin1String("OpenSSL"));
- }
-+
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+static QHttp2Configuration createHttp2Configuration()
-+{
-+    QHttp2Configuration params;
-+    params.setServerPushEnabled(true);
-+    return params;
-+}
-+#endif
-+
- #endif
- 
- QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) const
-@@ -76,8 +89,13 @@ QNetworkRequest ResourceRequest::toNetworkRequest(NetworkingContext *context) co
- 
- #if USE(HTTP2)
-     static const bool NegotiateHttp2ForHttps = alpnIsSupported();
--    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps)
-+    if (originalUrl.protocolIs("https") && NegotiateHttp2ForHttps) {
-+#if QT_VERSION >= QT_VERSION_CHECK(5, 14, 0)
-+        static const auto params = createHttp2Configuration();
-+        request.setHttp2Configuration(params);
-+#endif
-         request.setAttribute(QNetworkRequest::HTTP2AllowedAttribute, true);
-+    }
- #endif // USE(HTTP2)
- 
-     const HTTPHeaderMap &headers = httpHeaderFields();
diff --git a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args b/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
deleted file mode 100644
index 2eba1cb3c5c..00000000000
--- a/srcpkgs/qt5-webkit/patches/qt5.14.patch.args
+++ /dev/null
@@ -1 +0,0 @@
--Np1
diff --git a/srcpkgs/qt5-webkit/template b/srcpkgs/qt5-webkit/template
index 4a4d0282dad..882fc76c69b 100644
--- a/srcpkgs/qt5-webkit/template
+++ b/srcpkgs/qt5-webkit/template
@@ -1,10 +1,10 @@
 # Template file for 'qt5-webkit'
 pkgname=qt5-webkit
 version=5.212.0
-revision=7
-_snap=1565895469
+revision=8
+_snap=1586819898
 _v=${version%.*}
-wrksrc="qtwebkit-everywhere-src-${_v}"
+wrksrc="qtwebkit-opensource-src-${_v}"
 build_style=cmake
 # some nasty stuff to prevent cmake from inducing buggy -O3 and default -g
 configure_args="-DPORT=Qt -DUSE_LD_GOLD=OFF
@@ -23,8 +23,8 @@ short_desc="Cross-platform application and UI framework (Qt5) - WebKit2 componen
 maintainer="q66 <daniel@octaforge.org>"
 license="LGPL-2.1-or-later"
 homepage="https://www.qt.io/"
-distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-everywhere-src-${_v}.tar.xz"
-checksum=607f0a13e05bbf831d86904d12ae464e7d46a15f0ceed2465487b53512948824
+distfiles="https://download.qt.io/snapshots/ci/qtwebkit/${_v}/${_snap}/src/submodules/qtwebkit-opensource-src-${_v}.tar.xz"
+checksum=9a6ed083154c7ec850081102b299afa928ca7e48bbdf2b5f3ae152425e46eb17
 
 CPPFLAGS="-I${XBPS_CROSS_BASE}/usr/include"
 CXXFLAGS="-fpermissive -Wno-class-memaccess"
diff --git a/srcpkgs/qt5-webkit/update b/srcpkgs/qt5-webkit/update
index f9f046d29f3..0d74c2cff12 100644
--- a/srcpkgs/qt5-webkit/update
+++ b/srcpkgs/qt5-webkit/update
@@ -1 +1 @@
-pkgname=qtwebkit-everywhere-src
+pkgname=qtwebkit-opensource-src

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: qt5-webkit: new snapshot; ARMv6 patch
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
                   ` (4 preceding siblings ...)
  2020-05-13 22:21 ` rmccask
@ 2020-05-26 20:23 ` q66
  2020-05-26 20:28 ` q66
  2020-05-26 20:28 ` [PR PATCH] [Closed]: " q66
  7 siblings, 0 replies; 9+ messages in thread
From: q66 @ 2020-05-26 20:23 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 178 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/21878#issuecomment-634258766

Comment:
this should be folded into the ICU update

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: qt5-webkit: new snapshot; ARMv6 patch
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
                   ` (5 preceding siblings ...)
  2020-05-26 20:23 ` qt5-webkit: new snapshot; ARMv6 patch q66
@ 2020-05-26 20:28 ` q66
  2020-05-26 20:28 ` [PR PATCH] [Closed]: " q66
  7 siblings, 0 replies; 9+ messages in thread
From: q66 @ 2020-05-26 20:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 191 bytes --]

New comment by q66 on void-packages repository

https://github.com/void-linux/void-packages/pull/21878#issuecomment-634261321

Comment:
https://github.com/void-linux/void-packages/pull/22334

^ permalink raw reply	[flat|nested] 9+ messages in thread

* Re: [PR PATCH] [Closed]: qt5-webkit: new snapshot; ARMv6 patch
  2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
                   ` (6 preceding siblings ...)
  2020-05-26 20:28 ` q66
@ 2020-05-26 20:28 ` q66
  7 siblings, 0 replies; 9+ messages in thread
From: q66 @ 2020-05-26 20:28 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 171 bytes --]

There's a closed pull request on the void-packages repository

qt5-webkit: new snapshot; ARMv6 patch
https://github.com/void-linux/void-packages/pull/21878

Description:


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2020-05-26 20:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-12 12:17 [PR PATCH] qt5-webkit: new snapshot; fix for upcoming icu-67.1 rmccask
2020-05-12 21:15 ` [PR PATCH] [Updated] " rmccask
2020-05-13  3:35 ` rmccask
2020-05-13  3:38 ` rmccask
2020-05-13 21:06 ` [PR PATCH] [Updated] qt5-webkit: new snapshot rmccask
2020-05-13 22:21 ` rmccask
2020-05-26 20:23 ` qt5-webkit: new snapshot; ARMv6 patch q66
2020-05-26 20:28 ` q66
2020-05-26 20:28 ` [PR PATCH] [Closed]: " q66

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).