Hello community,
here is the log from the commit of package libqt5-qtwebengine for
openSUSE:Factory checked in at 2018-06-08 23:09:09
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libqt5-qtwebengine (Old)
and /work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "libqt5-qtwebengine"
Fri Jun 8 23:09:09 2018 rev:36 rq:614857 version:5.11.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/libqt5-qtwebengine/libqt5-qtwebengine.changes
2018-06-02 11:53:25.217200819 +0200
+++
/work/SRC/openSUSE:Factory/.libqt5-qtwebengine.new/libqt5-qtwebengine.changes
2018-06-08 23:09:14.941532541 +0200
@@ -1,0 +2,17 @@
+Thu Jun 7 07:18:15 UTC 2018 - [email protected]
+
+- Add yet another upstream chromium patch to fix build with GCC 8.1:
+ * fix-build-with-gcc-8-for-real.patch
+
+-------------------------------------------------------------------
+Tue Jun 5 12:02:59 UTC 2018 - [email protected]
+
+- Add upstream Chromium patch to fix build with GCC 8.1:
+ * fix-build-with-gcc-8.patch
+- Add upstream Chromium patch to fix build with ffmpeg 4:
+ * fix-build-with-ffmpeg4.patch
+- Refresh patches:
+ * disable-gpu-when-using-nouveau-boo-1005323.diff
+ * harmony-fix.diff
+
+-------------------------------------------------------------------
New:
----
fix-build-with-ffmpeg4.patch
fix-build-with-gcc-8-for-real.patch
fix-build-with-gcc-8.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ libqt5-qtwebengine.spec ++++++
--- /var/tmp/diff_new_pack.NW5Wmw/_old 2018-06-08 23:09:20.005349722 +0200
+++ /var/tmp/diff_new_pack.NW5Wmw/_new 2018-06-08 23:09:20.009349578 +0200
@@ -72,6 +72,10 @@
# PATCH-FIX-UPSTREAM harmony-fix.diff -- Show the patent-free LCD rendering.
Without this patch, only grayscale rendering is used. (for freetype-2.8.1)
boo#1061344
Patch5: harmony-fix.diff
Patch6: no-return-in-nonvoid-function.diff
+# PATCH-FIX-UPSTREAM
+Patch7: fix-build-with-ffmpeg4.patch
+Patch8: fix-build-with-gcc-8.patch
+Patch9: fix-build-with-gcc-8-for-real.patch
# http://www.chromium.org/blink not ported to PowerPC
ExcludeArch: ppc ppc64 ppc64le s390 s390x
# Try to fix i586 MemoryErrors with rpmlint
++++++ disable-gpu-when-using-nouveau-boo-1005323.diff ++++++
--- /var/tmp/diff_new_pack.NW5Wmw/_old 2018-06-08 23:09:20.097346401 +0200
+++ /var/tmp/diff_new_pack.NW5Wmw/_new 2018-06-08 23:09:20.097346401 +0200
@@ -7,11 +7,11 @@
Work around these issues by not doing GPU-accelerated rendering in such
cases.
-Index: qtwebengine-everywhere-src-5.10.0/src/core/web_engine_context.cpp
+Index: qtwebengine-everywhere-src-5.11.0/src/core/web_engine_context.cpp
===================================================================
---- qtwebengine-everywhere-src-5.10.0.orig/src/core/web_engine_context.cpp
-+++ qtwebengine-everywhere-src-5.10.0/src/core/web_engine_context.cpp
-@@ -93,6 +93,7 @@
+--- qtwebengine-everywhere-src-5.11.0.orig/src/core/web_engine_context.cpp
++++ qtwebengine-everywhere-src-5.11.0/src/core/web_engine_context.cpp
+@@ -100,6 +100,7 @@
#include <QOffscreenSurface>
#ifndef QT_NO_OPENGL
# include <QOpenGLContext>
@@ -19,7 +19,7 @@
#endif
#include <QQuickWindow>
#include <QStringList>
-@@ -167,6 +168,39 @@ void dummyGetPluginCallback(const std::v
+@@ -178,6 +179,39 @@ void dummyGetPluginCallback(const std::v
}
#endif
@@ -59,7 +59,7 @@
} // namespace
namespace QtWebEngineCore {
-@@ -379,6 +413,27 @@ WebEngineContext::WebEngineContext()
+@@ -414,6 +448,27 @@ WebEngineContext::WebEngineContext()
const char *glType = 0;
#ifndef QT_NO_OPENGL
@@ -87,7 +87,7 @@
bool tryGL =
!usingANGLE()
&& (!usingSoftwareDynamicGL()
-@@ -389,7 +444,7 @@ WebEngineContext::WebEngineContext()
+@@ -424,7 +479,7 @@ WebEngineContext::WebEngineContext()
|| enableWebGLSoftwareRendering
#endif
)
++++++ fix-build-with-ffmpeg4.patch ++++++
>From a568ded46a678eac8139cb06595819c5ae874177 Mon Sep 17 00:00:00 2001
From: Xiaohan Wang <[email protected]>
Date: Mon, 29 Jan 2018 21:28:28 +0000
Subject: [PATCH] media: Increase DecoderBuffer::kPaddingSize to 64
AV_INPUT_BUFFER_PADDING_SIZE has been increased to 64 in FFmpeg:
https://github.com/FFmpeg/FFmpeg/commit/6e80079a2840ee407c5d126030eb1066bcbfdfc5
BUG=777484
Change-Id: I1bd68d1c1b0c3131f28d6e07e1444b89800c09db
Reviewed-on: https://chromium-review.googlesource.com/889686
Reviewed-by: Dale Curtis <[email protected]>
Commit-Queue: Xiaohan Wang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#532593}
---
src/3rdparty/chromium/media/base/decoder_buffer.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/3rdparty/chromium/media/base/decoder_buffer.h
b/src/3rdparty/chromium/media/base/decoder_buffer.h
index 0341e5784f725..60ffba708b0e5 100644
--- a/src/3rdparty/chromium/media/base/decoder_buffer.h
+++ b/src/3rdparty/chromium/media/base/decoder_buffer.h
@@ -37,7 +37,7 @@ class MEDIA_EXPORT DecoderBuffer
: public base::RefCountedThreadSafe<DecoderBuffer> {
public:
enum {
- kPaddingSize = 32,
+ kPaddingSize = 64,
#if defined(ARCH_CPU_ARM_FAMILY)
kAlignmentSize = 16
#else
++++++ fix-build-with-gcc-8-for-real.patch ++++++
>From b8eb1cbe818f3cf1e6518dadb21cb54b84d890b9 Mon Sep 17 00:00:00 2001
From: Scott Violet <[email protected]>
Date: Fri, 2 Mar 2018 00:39:29 +0000
Subject: [PATCH] Fixes operator bool in InterfaceRequest
BUG=none
TEST=none
Change-Id: Iaa66929033aeea93fcbb31c2793f0251b3b7db8b
Reviewed-on: https://chromium-review.googlesource.com/944253
Reviewed-by: Ken Rockot <[email protected]>
Commit-Queue: Scott Violet <[email protected]>
Cr-Commit-Position: refs/heads/master@{#540376}
---
src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h
b/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h
index 1007cb0b8c80f..ccfdb3716e5d9 100644
--- a/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h
+++ b/src/3rdparty/chromium/mojo/public/cpp/bindings/interface_request.h
@@ -54,7 +54,7 @@ class InterfaceRequest {
// Indicates whether the request currently contains a valid message pipe.
bool is_pending() const { return handle_.is_valid(); }
- explicit operator bool() const { return handle_; }
+ explicit operator bool() const { return handle_.is_valid(); }
// Removes the message pipe from the request and returns it.
ScopedMessagePipeHandle PassMessagePipe() { return std::move(handle_); }
++++++ fix-build-with-gcc-8.patch ++++++
>From b65488bce5e804e97acb64ccb696195699a26b8a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=BCri=20Valdmann?= <[email protected]>
Date: Wed, 16 May 2018 02:27:40 +0000
Subject: [PATCH] Fix operator bool in AssociatedInterfacePtrInfo and
AssociatedInterfaceRequest
Current version does not compile with GCC 8.1 and for good reason: there's no
operator bool defined in ScopedInterfaceEndpointHandle.
Bug: 795173, 819294
Change-Id: Ia0677af3160fb24c376c66863956ee6d171d7caf
Reviewed-on: https://chromium-review.googlesource.com/1059153
Commit-Queue: Raphael Kubo da Costa <[email protected]>
Reviewed-by: Ken Rockot <[email protected]>
Cr-Commit-Position: refs/heads/master@{#558931}
---
src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_ptr_info.h
| 2 +-
src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_request.h
| 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git
a/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_ptr_info.h
b/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_ptr_info.h
index 1f79662bd7945..cc3f627167956 100644
---
a/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_ptr_info.h
+++
b/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_ptr_info.h
@@ -45,7 +45,7 @@ class AssociatedInterfacePtrInfo {
bool is_valid() const { return handle_.is_valid(); }
- explicit operator bool() const { return handle_; }
+ explicit operator bool() const { return handle_.is_valid(); }
ScopedInterfaceEndpointHandle PassHandle() {
return std::move(handle_);
diff --git
a/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_request.h
b/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_request.h
index 12d2f3ce1df1a..0926f3df92f85 100644
---
a/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_request.h
+++
b/src/3rdparty/chromium/mojo/public/cpp/bindings/associated_interface_request.h
@@ -50,7 +50,7 @@ class AssociatedInterfaceRequest {
// handle.
bool is_pending() const { return handle_.is_valid(); }
- explicit operator bool() const { return handle_; }
+ explicit operator bool() const { return handle_.is_valid(); }
ScopedInterfaceEndpointHandle PassHandle() { return std::move(handle_); }
++++++ harmony-fix.diff ++++++
--- /var/tmp/diff_new_pack.NW5Wmw/_old 2018-06-08 23:09:20.141344812 +0200
+++ /var/tmp/diff_new_pack.NW5Wmw/_new 2018-06-08 23:09:20.141344812 +0200
@@ -3,10 +3,10 @@
Subject: This is required for QtWebEngine to show the patent-free LCD
rendering. Without this patch, only grayscale rendering is used.
References: boo#1061344
Upstream: submitted
-Index:
qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp
+Index:
qtwebengine-everywhere-src-5.11.0/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp
===================================================================
----
qtwebengine-everywhere-src-5.10.0.orig/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp
-+++
qtwebengine-everywhere-src-5.10.0/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp
+---
qtwebengine-everywhere-src-5.11.0.orig/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp
++++
qtwebengine-everywhere-src-5.11.0/src/3rdparty/chromium/third_party/skia/src/ports/SkFontHost_FreeType.cpp
@@ -99,8 +99,6 @@ public:
FreeTypeLibrary()
: fGetVarDesignCoordinates(nullptr)
@@ -43,7 +43,7 @@
// FT_Library_SetLcdFilterWeights was introduced in FreeType 2.4.0.
// The following platforms provide FreeType of at least 2.4.0.
-@@ -661,17 +653,6 @@ void SkTypeface_FreeType::onFilterRec(Sk
+@@ -659,17 +651,6 @@ void SkTypeface_FreeType::onFilterRec(Sk
rec->fTextSize = SkIntToScalar(1 << 14);
}
@@ -61,7 +61,7 @@
SkPaint::Hinting h = rec->getHinting();
if (SkPaint::kFull_Hinting == h && !isLCD(*rec)) {
// collapse full->normal hinting if we're not doing LCD
-@@ -1072,11 +1053,11 @@ bool SkScalerContext_FreeType::getCBoxFo
+@@ -1062,11 +1043,11 @@ bool SkScalerContext_FreeType::getCBoxFo
void SkScalerContext_FreeType::updateGlyphIfLCD(SkGlyph* glyph) {
if (isLCD(fRec)) {
if (fLCDIsVert) {