commit d8f20b8272c30fa6883c608dd2bd813aa04ef23b
Author: Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
Date: Mon Jun 10 23:10:32 2019 +0530
Update to 75.0.3770.80
chromium-glibc-2.29.patch | 98 -----
chromium-vaapi.spec | 19 +-
enable-vaapi.patch | 33 +-
fix-gn-74.patch | 917 ----------------------------------------------
fixwindowflashm74.patch | 15 +-
libstdc.patch | 36 ++
6 files changed, 73 insertions(+), 1045 deletions(-)
---
diff --git a/chromium-vaapi.spec b/chromium-vaapi.spec
index fba38bd..891bf24 100644
--- a/chromium-vaapi.spec
+++ b/chromium-vaapi.spec
@@ -63,7 +63,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-vaapi
-Version: 74.0.3729.169
+Version: 75.0.3770.80
Release: 1%{?dist}
Summary: A Chromium web browser with video decoding acceleration
License: BSD and LGPLv2+ and ASL 2.0 and IJG and MIT and GPLv2+ and ISC and OpenSSL
and (MPLv1.1 or GPLv2 or LGPLv2)
@@ -191,7 +191,7 @@ ExclusiveArch: x86_64
# Enable video acceleration on chromium for Linux
Patch1: enable-vaapi.patch
# Enable support for widevine
-Patch2: widevine.patch
+Patch2: widevine.patch
Patch50: nounrar.patch
# Bootstrap still uses python command
Patch51: py2-bootstrap.patch
@@ -202,12 +202,10 @@ Patch54: brand.patch
#Stolen from Fedora to fix building with pipewire
#
https://src.fedoraproject.org/rpms/chromium/blob/master/f/chromium-73.0.3...
Patch65: chromium-73.0.3683.75-pipewire-cstring-fix.patch
-# Update Linux Seccomp syscall restrictions to EPERM posix_spawn/vfork
-Patch66: chromium-glibc-2.29.patch
# Fix some chromium regressions against certain type of window compositors
# Patch status: backported from
https://chromium-review.googlesource.com/c/chromium/src/+/1597388
Patch67: fixwindowflashm74.patch
-Patch68: fix-gn-74.patch
+Patch68: libstdc.patch
%description
chromium-vaapi is an open-source web browser, powered by WebKit (Blink)
@@ -228,9 +226,8 @@ chromium-vaapi is an open-source web browser, powered by WebKit
(Blink)
%if 0%{?fedora} >= 29
%patch65 -p1 -b .pipewire
%endif
-%patch66 -p1 -b .glibc
%patch67 -p1 -b .fwfm74
-%patch68 -p1 -b .fixgn74
+%patch68 -p1 -b .libstdc
%if 0%{?fedora} >= 30
# Add a workaround for a race condition in clang-llvm8+ compiler
@@ -277,6 +274,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
third_party/angle/third_party/vulkan-tools \
third_party/angle/third_party/vulkan-validation-layers \
third_party/apple_apsl \
+ third_party/axe-core \
third_party/boringssl \
third_party/boringssl/src/third_party/fiat \
third_party/blink \
@@ -299,9 +297,11 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
third_party/cld_3 \
third_party/closure_compiler \
third_party/crashpad \
+ third_party/crashpad/crashpad/third_party/lss \
third_party/crashpad/crashpad/third_party/zlib \
third_party/crc32c \
third_party/cros_system_api \
+ third_party/dawn \
third_party/dav1d \
third_party/devscripts \
third_party/dom_distiller_js \
@@ -309,7 +309,6 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
%if !%{with system_ffmpeg}
third_party/ffmpeg \
%endif
- third_party/fips181 \
third_party/flatbuffers \
third_party/flot \
third_party/freetype \
@@ -381,6 +380,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
third_party/pdfium/third_party/libtiff \
third_party/pdfium/third_party/skia_shared \
third_party/perfetto \
+ third_party/pffft \
%if !%{with system_ply}
third_party/ply \
%endif
@@ -671,6 +671,9 @@ appstream-util validate-relax --nonet
"%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/locales/*.pak
#########################################changelogs#################################################
%changelog
+* Sat Jun 08 2019 Akarshan Biswas <akarshanbiswas(a)fedoraproject.org>
75.0.3770.80-1
+- Update to 75.0.3770.80
+
* Fri May 24 2019 Vasiliy N. Glazov <vascom2(a)gmail.com> - 74.0.3729.169-1
- Update to 74.0.3729.169
diff --git a/enable-vaapi.patch b/enable-vaapi.patch
index 32405d7..87e804a 100644
--- a/enable-vaapi.patch
+++ b/enable-vaapi.patch
@@ -1,20 +1,20 @@
-From 0e8ef1f42723287fce155d356b43522a192f2874 Mon Sep 17 00:00:00 2001
+From a70dbb7c6380e90eee255c124ebdc92242ea3db5 Mon Sep 17 00:00:00 2001
From: Akarshan Biswas <akarshan.biswas(a)gmail.com>
Date: Thu, 24 Jan 2019 12:45:29 +0530
Subject: [PATCH] Enable mojo with VDA2 on Linux
---
chrome/browser/about_flags.cc | 8 ++++----
- chrome/browser/flag_descriptions.cc | 9 +++++++--
+ chrome/browser/flag_descriptions.cc | 10 ++++++++--
chrome/browser/flag_descriptions.h | 10 ++++++++--
gpu/config/software_rendering_list.json | 3 ++-
- 4 files changed, 21 insertions(+), 9 deletions(-)
+ 4 files changed, 22 insertions(+), 9 deletions(-)
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
-index 7074857d8..9127fa643 100644
+index 1f0fc06e1..c47080f2c 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
-@@ -1606,7 +1606,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1390,7 +1390,7 @@ const FeatureEntry kFeatureEntries[] = {
"disable-accelerated-video-decode",
flag_descriptions::kAcceleratedVideoDecodeName,
flag_descriptions::kAcceleratedVideoDecodeDescription,
@@ -23,7 +23,7 @@ index 7074857d8..9127fa643 100644
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
},
#if defined(OS_WIN)
-@@ -2216,12 +2216,12 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -1882,12 +1882,12 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)},
#endif // ENABLE_ISOLATED_XR_SERVICE
#endif // ENABLE_VR
@@ -40,10 +40,10 @@ index 7074857d8..9127fa643 100644
flag_descriptions::kV8CacheOptionsDescription, kOsAll,
MULTI_VALUE_TYPE(kV8CacheOptionsChoices)},
diff --git a/chrome/browser/flag_descriptions.cc b/chrome/browser/flag_descriptions.cc
-index fe98e80e1..48fd3159a 100644
+index 91e5c085a..d810d3054 100644
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
-@@ -3096,15 +3096,20 @@ const char kTextSuggestionsTouchBarDescription[] =
+@@ -2941,15 +2941,21 @@ const char kMacSystemMediaPermissionsInfoUiDescription[] =
#endif
@@ -58,19 +58,20 @@ index fe98e80e1..48fd3159a 100644
const char kAcceleratedMjpegDecodeDescription[] =
"Enable hardware-accelerated mjpeg decode for captured frame where "
"available.";
++
+#endif
+
+// Chrome OS --------------------------------------------------
+
+#if defined(OS_CHROMEOS)
- const char kAllowTouchpadThreeFingerClickName[] = "Touchpad
three-finger-click";
- const char kAllowTouchpadThreeFingerClickDescription[] =
+ const char kAppServiceAshName[] = "App Service Ash";
+ const char kAppServiceAshDescription[] =
diff --git a/chrome/browser/flag_descriptions.h b/chrome/browser/flag_descriptions.h
-index 244d0cc07..a8aca4b32 100644
+index c8e596e47..f91cc2388 100644
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
-@@ -1842,13 +1842,19 @@ extern const char
kPermissionPromptPersistenceToggleDescription[];
+@@ -1765,13 +1765,19 @@ extern const char
kPermissionPromptPersistenceToggleDescription[];
#endif // defined(OS_MACOSX)
@@ -89,11 +90,11 @@ index 244d0cc07..a8aca4b32 100644
+
+#if defined(OS_CHROMEOS)
+
- extern const char kAllowTouchpadThreeFingerClickName[];
- extern const char kAllowTouchpadThreeFingerClickDescription[];
+ extern const char kAppServiceAshName[];
+ extern const char kAppServiceAshDescription[];
diff --git a/gpu/config/software_rendering_list.json
b/gpu/config/software_rendering_list.json
-index abb9a898f..c462d1eaf 100644
+index d4c3b4364..e4e935767 100644
--- a/gpu/config/software_rendering_list.json
+++ b/gpu/config/software_rendering_list.json
@@ -371,11 +371,12 @@
@@ -111,5 +112,5 @@ index abb9a898f..c462d1eaf 100644
"accelerated_video_decode"
]
--
-2.20.1
+2.21.0
diff --git a/fixwindowflashm74.patch b/fixwindowflashm74.patch
index 42076de..f977cbf 100644
--- a/fixwindowflashm74.patch
+++ b/fixwindowflashm74.patch
@@ -1,6 +1,6 @@
From 90e226ba50c98b5e60f74f9dce998b17117f9051 Mon Sep 17 00:00:00 2001
From: Peng Huang <penghuang(a)chromium.org>
-Date: Tue, 07 May 2019 13:16:21 +0000
+Date: Tue, 7 May 2019 13:16:21 +0000
Subject: [PATCH] Fix window flash for some WMs
Bug: 956061
@@ -10,12 +10,15 @@ Commit-Queue: Peng Huang <penghuang(a)chromium.org>
Reviewed-by: Antoine Labour <piman(a)chromium.org>
Cr-Commit-Position: refs/heads/master@{#657215}
---
+ ui/gl/BUILD.gn | 5 ++++-
+ ui/gl/gl_surface_glx.cc | 41 ++++++++++++++++++++++++++++-------------
+ 2 files changed, 32 insertions(+), 14 deletions(-)
diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
-index 50df0e4..1753dd48 100644
+index 50df0e4085..1753dd480b 100644
--- a/ui/gl/BUILD.gn
+++ b/ui/gl/BUILD.gn
-@@ -274,7 +274,10 @@
+@@ -274,7 +274,10 @@ jumbo_component("gl") {
"//build/config/linux:xext",
]
@@ -28,7 +31,7 @@ index 50df0e4..1753dd48 100644
if (is_win) {
sources += [
diff --git a/ui/gl/gl_surface_glx.cc b/ui/gl/gl_surface_glx.cc
-index f4c13be..777bf76 100644
+index f4c13bed18..777bf767cb 100644
--- a/ui/gl/gl_surface_glx.cc
+++ b/ui/gl/gl_surface_glx.cc
@@ -21,6 +21,7 @@
@@ -39,7 +42,7 @@ index f4c13be..777bf76 100644
#include "ui/events/platform/platform_event_source.h"
#include "ui/gfx/x/x11.h"
#include "ui/gfx/x/x11_connection.h"
-@@ -431,7 +432,9 @@
+@@ -431,7 +432,9 @@ bool GLSurfaceGLX::InitializeOneOff() {
}
const XVisualInfo& visual_info =
@@ -50,7 +53,7 @@ index f4c13be..777bf76 100644
g_visual = visual_info.visual;
g_depth = visual_info.depth;
g_colormap =
-@@ -581,18 +584,30 @@
+@@ -581,18 +584,30 @@ bool NativeViewGLSurfaceGLX::Initialize(GLSurfaceFormat format) {
}
size_ = gfx::Size(attributes.width, attributes.height);
diff --git a/libstdc.patch b/libstdc.patch
new file mode 100644
index 0000000..2a2cad0
--- /dev/null
+++ b/libstdc.patch
@@ -0,0 +1,36 @@
+From aeed4d1f15ce84a17ea0bc219e258dc4982b2368 Mon Sep 17 00:00:00 2001
+From: Jose Dapena Paz <jose.dapena(a)lge.com>
+Date: Fri, 26 Apr 2019 20:07:05 +0000
+Subject: [PATCH] libstdc++: do not assume unique_ptr has ostream operator
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+CompositorFrameReportingController is using DCHECK_NE to compare
+several unique_ptr. This is valid in libc++, but on libstdc++ unique_ptr
+does not have an ostream operator.
+
+Change-Id: I9f23ef17f02b9e107694ba493f6f8f3caf5cac4d
+Reviewed-on:
https://chromium-review.googlesource.com/c/chromium/src/+/1584292
+Reviewed-by: Sunny Sachanandani <sunnyps(a)chromium.org>
+Commit-Queue: José Dapena Paz <jose.dapena(a)lge.com>
+Cr-Commit-Position: refs/heads/master@{#654570}
+---
+ cc/scheduler/compositor_frame_reporting_controller.cc | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/cc/scheduler/compositor_frame_reporting_controller.cc
b/cc/scheduler/compositor_frame_reporting_controller.cc
+index f1587ed158..1b17021fd2 100644
+--- a/cc/scheduler/compositor_frame_reporting_controller.cc
++++ b/cc/scheduler/compositor_frame_reporting_controller.cc
+@@ -31,8 +31,8 @@ void CompositorFrameReportingController::WillBeginImplFrame() {
+
+ void CompositorFrameReportingController::WillBeginMainFrame() {
+ DCHECK(reporters_[PipelineStage::kBeginImplFrame]);
+- DCHECK_NE(reporters_[PipelineStage::kBeginMainFrame],
+- reporters_[PipelineStage::kBeginImplFrame]);
++ DCHECK(reporters_[PipelineStage::kBeginMainFrame] !=
++ reporters_[PipelineStage::kBeginImplFrame]);
+ reporters_[PipelineStage::kBeginImplFrame]->StartStage(
+ "SendBeginMainFrameToCommit");
+ AdvanceReporterStage(PipelineStage::kBeginImplFrame,