commit 6594851c537afb2e28c5fc5ef4f56be96fc4fe90
Author: qvint <dotqvint(a)gmail.com>
Date: Fri Jun 5 06:55:41 2020 +0300
Update to 83.0.4103.97
chromium-71.0.3578.98-py2-bootstrap.patch | 4 +-
chromium-81-gcc-10.patch | 86 -------------------------------
chromium-81-gcc-r742632.patch | 27 ----------
chromium-81-gcc-r742834.patch | 35 -------------
chromium-81-gcc-r743910.patch | 62 ----------------------
chromium-81-vaapi-r737459.patch | 52 -------------------
chromium-81-vaapi-r738595.patch | 31 -----------
chromium-82-gcc-noexcept.patch | 31 +++++++++++
chromium-82-gcc-template.patch | 48 +++++++++++++++++
chromium-83-gcc-10-r31184.patch | 35 +++++++++++++
chromium-83-gcc-10-r766427.patch | 27 ++++++++++
chromium-83-gcc-10.patch | 20 +++++++
chromium-83-gcc-include.patch | 22 ++++++++
chromium-83-gcc-iterator.patch | 36 +++++++++++++
chromium-83-gcc-r756880.patch | 69 +++++++++++++++++++++++++
chromium-83-gcc-r760272.patch | 27 ++++++++++
chromium-83-gcc-r760588.patch | 58 +++++++++++++++++++++
chromium-83-gcc-r762806.patch | 43 ++++++++++++++++
chromium-enable-vaapi.patch | 12 ++---
chromium-fix-vaapi-on-intel.patch | 8 +--
chromium-freeworld.spec | 30 ++++++++---
sources | 2 +-
22 files changed, 452 insertions(+), 313 deletions(-)
---
diff --git a/chromium-71.0.3578.98-py2-bootstrap.patch
b/chromium-71.0.3578.98-py2-bootstrap.patch
index 5c5f0b2..c303f8b 100644
--- a/chromium-71.0.3578.98-py2-bootstrap.patch
+++ b/chromium-71.0.3578.98-py2-bootstrap.patch
@@ -1,6 +1,6 @@
--- a/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py
+++ b/third_party/catapult/common/py_vulcanize/py_vulcanize/generate.py
-@@ -74,7 +74,7 @@ def _MinifyJS(input_js):
+@@ -83,7 +83,7 @@ def _MinifyJS(input_js):
with tempfile.NamedTemporaryFile() as _:
args = [
@@ -9,7 +9,7 @@
rjsmin_path
]
p = subprocess.Popen(args,
-@@ -194,7 +194,7 @@ def _MinifyCSS(css_text):
+@@ -203,7 +203,7 @@ def _MinifyCSS(css_text):
os.path.join(py_vulcanize_path, 'third_party', 'rcssmin',
'rcssmin.py'))
with tempfile.NamedTemporaryFile() as _:
diff --git a/chromium-82-gcc-noexcept.patch b/chromium-82-gcc-noexcept.patch
new file mode 100644
index 0000000..5617e0a
--- /dev/null
+++ b/chromium-82-gcc-noexcept.patch
@@ -0,0 +1,31 @@
+--- a/third_party/blink/public/platform/cross_variant_mojo_util.h
++++ b/third_party/blink/public/platform/cross_variant_mojo_util.h
+@@ -124,7 +124,7 @@ class CrossVariantMojoAssociatedReceiver
+ ~CrossVariantMojoAssociatedReceiver() = default;
+
+ CrossVariantMojoAssociatedReceiver(
+- CrossVariantMojoAssociatedReceiver&&) noexcept = default;
++ CrossVariantMojoAssociatedReceiver&&) = default;
+ CrossVariantMojoAssociatedReceiver& operator=(
+ CrossVariantMojoAssociatedReceiver&&) noexcept = default;
+
+@@ -155,7 +155,7 @@ class CrossVariantMojoAssociatedRemote {
+ ~CrossVariantMojoAssociatedRemote() = default;
+
+ CrossVariantMojoAssociatedRemote(
+- CrossVariantMojoAssociatedRemote&&) noexcept = default;
++ CrossVariantMojoAssociatedRemote&&) = default;
+ CrossVariantMojoAssociatedRemote& operator=(
+ CrossVariantMojoAssociatedRemote&&) noexcept = default;
+
+--- a/ui/color/color_set.cc
++++ b/ui/color/color_set.cc
+@@ -11,7 +11,7 @@ ColorSet::ColorSet(ColorSetId id, ColorM
+
+ ColorSet::ColorSet(ColorSet&&) noexcept = default;
+
+-ColorSet& ColorSet::operator=(ColorSet&&) noexcept = default;
++ColorSet& ColorSet::operator=(ColorSet&&) = default;
+
+ ColorSet::~ColorSet() = default;
+
diff --git a/chromium-82-gcc-template.patch b/chromium-82-gcc-template.patch
new file mode 100644
index 0000000..b50b4eb
--- /dev/null
+++ b/chromium-82-gcc-template.patch
@@ -0,0 +1,48 @@
+--- a/content/public/browser/web_ui.h
++++ b/content/public/browser/web_ui.h
+@@ -138,22 +138,6 @@ class CONTENT_EXPORT WebUI {
+ template <typename T>
+ static T GetValue(const base::Value& value);
+
+- template <>
+- inline bool GetValue<bool>(const base::Value& value) {
+- return value.GetBool();
+- }
+-
+- template <>
+- inline int GetValue<int>(const base::Value& value) {
+- return value.GetInt();
+- }
+-
+- template <>
+- inline const std::string& GetValue<const std::string&>(
+- const base::Value& value) {
+- return value.GetString();
+- }
+-
+ template <typename Is, typename... Args>
+ struct Call;
+
+@@ -169,6 +153,22 @@ class CONTENT_EXPORT WebUI {
+ };
+ };
+
++template <>
++inline bool WebUI::GetValue<bool>(const base::Value& value) {
++ return value.GetBool();
++}
++
++template <>
++inline int WebUI::GetValue<int>(const base::Value& value) {
++ return value.GetInt();
++}
++
++template <>
++inline const std::string& WebUI::GetValue<const std::string&>(
++ const base::Value& value) {
++ return value.GetString();
++}
++
+ } // namespace content
+
+ #endif // CONTENT_PUBLIC_BROWSER_WEB_UI_H_
diff --git a/chromium-83-gcc-10-r31184.patch b/chromium-83-gcc-10-r31184.patch
new file mode 100644
index 0000000..962513d
--- /dev/null
+++ b/chromium-83-gcc-10-r31184.patch
@@ -0,0 +1,35 @@
+From 03fade52dae736275c4f4e7fe1cbd6fe82d7aa4c Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09(a)googlemail.com>
+Date: Sat, 02 May 2020 12:17:05 +0000
+Subject: [PATCH] IWYU: uint32_t is defined in cstdint
+
+This is required for gcc-10.
+
+Bug: None
+Change-Id: I0d04f720d09b42e1d54e058b897ddc047ef64bf6
+Reviewed-on:
https://webrtc-review.googlesource.com/c/src/+/174204
+Reviewed-by: Magnus Flodman <mflodman(a)webrtc.org>
+Commit-Queue: Mirko Bonadei <mbonadei(a)webrtc.org>
+Cr-Commit-Position: refs/heads/master@{#31184}
+---
+
+--- a/third_party/webrtc/AUTHORS
++++ b/third_party/webrtc/AUTHORS
+@@ -89,6 +89,7 @@ Ramprakash Jelari <ennajelari(a)gmail.com>
+ CZ Theng <cz.theng(a)gmail.com>
+ Miguel Paris <mparisdiaz(a)gmail.com>
+ Raman Budny <budnyjj(a)gmail.com>
++Stephan Hartmann <stha09(a)googlemail.com>
+
+ &yet LLC <*(a)andyet.com>
+ Agora IO <*(a)agora.io>
+--- a/third_party/webrtc/call/rtx_receive_stream.h
++++ b/third_party/webrtc/call/rtx_receive_stream.h
+@@ -11,6 +11,7 @@
+ #ifndef CALL_RTX_RECEIVE_STREAM_H_
+ #define CALL_RTX_RECEIVE_STREAM_H_
+
++#include <cstdint>
+ #include <map>
+
+ #include "call/rtp_packet_sink_interface.h"
diff --git a/chromium-83-gcc-10-r766427.patch b/chromium-83-gcc-10-r766427.patch
new file mode 100644
index 0000000..5004cbc
--- /dev/null
+++ b/chromium-83-gcc-10-r766427.patch
@@ -0,0 +1,27 @@
+From 6d42d6eacce85aab3a964aa25b90778bb938acd6 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09(a)googlemail.com>
+Date: Thu, 7 May 2020 16:08:25 +0000
+Subject: [PATCH] IWYU: uint32_t is defined in cstdint
+
+This is required for gcc-10.
+
+Change-Id: I6659a14f885011941887702171f6e49b8740f049
+Reviewed-on:
https://chromium-review.googlesource.com/c/chromium/src/+/2174486
+Reviewed-by: Michael Spang <spang(a)chromium.org>
+Commit-Queue: Robert Kroeger <rjkroege(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#766427}
+---
+ ui/gfx/linux/drm_util_linux.h | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/ui/gfx/linux/drm_util_linux.h
++++ b/ui/gfx/linux/drm_util_linux.h
+@@ -5,6 +5,8 @@
+ #ifndef UI_GFX_LINUX_DRM_UTIL_LINUX_H_
+ #define UI_GFX_LINUX_DRM_UTIL_LINUX_H_
+
++#include <cstdint>
++
+ #include "ui/gfx/buffer_types.h"
+
+ namespace ui {
diff --git a/chromium-83-gcc-10.patch b/chromium-83-gcc-10.patch
new file mode 100644
index 0000000..3ac8bef
--- /dev/null
+++ b/chromium-83-gcc-10.patch
@@ -0,0 +1,20 @@
+--- a/chrome/browser/search/background/ntp_backgrounds.h
++++ b/chrome/browser/search/background/ntp_backgrounds.h
+@@ -6,6 +6,7 @@
+ #define CHROME_BROWSER_SEARCH_BACKGROUND_NTP_BACKGROUNDS_H_
+
+ #include <array>
++#include <cstddef>
+
+ class GURL;
+
+--- a/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
++++ b/third_party/webrtc/modules/audio_processing/aec3/clockdrift_detector.h
+@@ -12,6 +12,7 @@
+ #define MODULES_AUDIO_PROCESSING_AEC3_CLOCKDRIFT_DETECTOR_H_
+
+ #include <array>
++#include <cstddef>
+
+ namespace webrtc {
+
diff --git a/chromium-83-gcc-include.patch b/chromium-83-gcc-include.patch
new file mode 100644
index 0000000..ecf5e5e
--- /dev/null
+++ b/chromium-83-gcc-include.patch
@@ -0,0 +1,22 @@
+---
a/chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.cc
++++
b/chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.cc
+@@ -2,6 +2,8 @@
+ // Use of this source code is governed by a BSD-style license that can be
+ // found in the LICENSE file.
+
++#include <limits>
++
+ #include
"chrome/browser/performance_manager/graph/policies/background_tab_loading_policy_helpers.h"
+ #include "base/logging.h"
+
+--- a/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h
++++ b/third_party/blink/renderer/core/html/trust_token_attribute_parsing.h
+@@ -5,6 +5,8 @@
+ #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRUST_TOKEN_ATTRIBUTE_PARSING_H_
+ #define THIRD_PARTY_BLINK_RENDERER_CORE_HTML_TRUST_TOKEN_ATTRIBUTE_PARSING_H_
+
++#include <memory>
++
+ #include "base/optional.h"
+ #include "services/network/public/mojom/trust_tokens.mojom-blink-forward.h"
+ #include "third_party/blink/renderer/core/core_export.h"
diff --git a/chromium-83-gcc-iterator.patch b/chromium-83-gcc-iterator.patch
new file mode 100644
index 0000000..fa929d9
--- /dev/null
+++ b/chromium-83-gcc-iterator.patch
@@ -0,0 +1,36 @@
+From 4abcf0a76a7cb5c343be7d17c60cb908f3673c3d Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09(a)googlemail.com>
+Date: Thu, 9 Apr 2020 17:03:38 +0000
+Subject: [PATCH] libstdc++: replace std::any_of in blink::SerializedScriptValue
+
+Use of std::any_of requires STL compliant iterator. However,
+HashTableIterator does not define iterator_tag and therefore
+is no STL iterator.
+---
+ .../core/v8/serialization/serialized_script_value.h | 13 +++++++++----
+ 1 file changed, 9 insertions(+), 4 deletions(-)
+
+---
a/third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h
++++
b/third_party/blink/renderer/bindings/core/v8/serialization/serialized_script_value.h
+@@ -268,12 +268,17 @@ class CORE_EXPORT SerializedScriptValue
+ MessagePortChannelArray& GetStreamChannels() { return stream_channels_; }
+
+ bool IsLockedToAgentCluster() const {
++ auto AnyOfIsLockedToAgentCluster = [&]() {
++ for (auto entry = attachments_.begin();
++ entry != attachments_.end(); ++entry) {
++ if (entry->value->IsLockedToAgentCluster())
++ return true;
++ }
++ return false;
++ };
+ return !wasm_modules_.IsEmpty() ||
+ !shared_array_buffers_contents_.IsEmpty() ||
+- std::any_of(attachments_.begin(), attachments_.end(),
+- [](const auto& entry) {
+- return entry.value->IsLockedToAgentCluster();
+- });
++ AnyOfIsLockedToAgentCluster();
+ }
+
+ // Returns true after serializing script values that remote origins cannot
diff --git a/chromium-83-gcc-r756880.patch b/chromium-83-gcc-r756880.patch
new file mode 100644
index 0000000..69f8fb1
--- /dev/null
+++ b/chromium-83-gcc-r756880.patch
@@ -0,0 +1,69 @@
+From 8d115ddda495d0d2e1e1447392db6e9e6a8a1b32 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09(a)googlemail.com>
+Date: Tue, 7 Apr 2020 00:23:57 +0000
+Subject: [PATCH] GCC: fix template specialization in WTF::VectorMover
+
+GCC complains that explicit specialization in non-namespace scope
+is happening for MoveOverlappingImpl. However, secialization is
+not really necessary here with templates and can be moved
+into MoveOverlappingImpl method without changing generated code.
+
+Bug: 819294
+Change-Id: I90b893b9701748302f7b900fbcc2c341685fe0d3
+Reviewed-on:
https://chromium-review.googlesource.com/c/chromium/src/+/2126290
+Reviewed-by: Kent Tamura <tkent(a)chromium.org>
+Commit-Queue: Kent Tamura <tkent(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#756880}
+---
+ .../blink/renderer/platform/wtf/vector.h | 39 ++++++++-----------
+ 1 file changed, 16 insertions(+), 23 deletions(-)
+
+--- a/third_party/blink/renderer/platform/wtf/vector.h
++++ b/third_party/blink/renderer/platform/wtf/vector.h
+@@ -205,30 +205,23 @@ struct VectorMover<true, T, Allocator> {
+ }
+ }
+
+- template <bool = Allocator::kIsGarbageCollected>
+- static void MoveOverlappingImpl(const T* src, const T* src_end, T* dst);
+- template <>
+- static void MoveOverlappingImpl<false>(const T* src,
+- const T* src_end,
+- T* dst) {
+- memmove(dst, src,
+- reinterpret_cast<const char*>(src_end) -
+- reinterpret_cast<const char*>(src));
+- }
+- template <>
+- static void MoveOverlappingImpl<true>(const T* src,
+- const T* src_end,
+- T* dst) {
+- if (src == dst)
+- return;
+- if (dst < src) {
+- for (; src < src_end; ++src, ++dst)
+- AtomicWriteMemcpy<sizeof(T)>(dst, src);
++ static void MoveOverlappingImpl(const T* src, const T* src_end, T* dst) {
++ if (Allocator::kIsGarbageCollected) {
++ if (src == dst)
++ return;
++ if (dst < src) {
++ for (; src < src_end; ++src, ++dst)
++ AtomicWriteMemcpy<sizeof(T)>(dst, src);
++ } else {
++ --src_end;
++ T* dst_end = dst + (src_end - src);
++ for (; src_end >= src; --src_end, --dst_end)
++ AtomicWriteMemcpy<sizeof(T)>(dst_end, src_end);
++ }
+ } else {
+- --src_end;
+- T* dst_end = dst + (src_end - src);
+- for (; src_end >= src; --src_end, --dst_end)
+- AtomicWriteMemcpy<sizeof(T)>(dst_end, src_end);
++ memmove(dst, src,
++ reinterpret_cast<const char*>(src_end) -
++ reinterpret_cast<const char*>(src));
+ }
+ }
+
diff --git a/chromium-83-gcc-r760272.patch b/chromium-83-gcc-r760272.patch
new file mode 100644
index 0000000..7c201f8
--- /dev/null
+++ b/chromium-83-gcc-r760272.patch
@@ -0,0 +1,27 @@
+From 2b9d6daa0ab5ce45ec5555466d5a5a583a020ea8 Mon Sep 17 00:00:00 2001
+From: Daniel Playfair Cal <daniel.playfair.cal(a)gmail.com>
+Date: Sat, 18 Apr 2020 00:27:38 +0000
+Subject: [PATCH] Add missing algorithm header in crx_install_error.cc
+
+This is needed for the use of std::find.
+
+Change-Id: I2dc43b3887c467986c5346be5a9e27a987e1e5b3
+Reviewed-on:
https://chromium-review.googlesource.com/c/chromium/src/+/2152333
+Reviewed-by: Ken Rockot <rockot(a)google.com>
+Commit-Queue: Ken Rockot <rockot(a)google.com>
+Cr-Commit-Position: refs/heads/master@{#760272}
+---
+ extensions/browser/install/crx_install_error.cc | 2 ++
+ 1 file changed, 2 insertions(+)
+
+--- a/extensions/browser/install/crx_install_error.cc
++++ b/extensions/browser/install/crx_install_error.cc
+@@ -4,6 +4,8 @@
+
+ #include "extensions/browser/install/crx_install_error.h"
+
++#include <algorithm>
++
+ #include "base/logging.h"
+ #include "extensions/browser/install/sandboxed_unpacker_failure_reason.h"
+
diff --git a/chromium-83-gcc-r760588.patch b/chromium-83-gcc-r760588.patch
new file mode 100644
index 0000000..ff6d78a
--- /dev/null
+++ b/chromium-83-gcc-r760588.patch
@@ -0,0 +1,58 @@
+From aeef68888d4c00b69facead2b934095a8cd17329 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09(a)googlemail.com>
+Date: Mon, 20 Apr 2020 18:21:43 +0000
+Subject: [PATCH] libstdc++: fix incomplete-type in AXTree for
+ NodeSetSizePosInSetInfo
+
+has only forward declaration of NodeSetSizePosInSetInfo. Therefore,
+move declaration from ax_tree.cc.
+
+std: :unordered_map<T, U> requires U to be fully declared. ax_tree.h
+Bug: 957519
+Change-Id: Ic1f4bf3ebfea229ece84251e46d4461b31873868
+Reviewed-on:
https://chromium-review.googlesource.com/c/chromium/src/+/2132403
+Reviewed-by: David Tseng <dtseng(a)chromium.org>
+Commit-Queue: David Tseng <dtseng(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#760588}
+---
+ ui/accessibility/ax_tree.cc | 10 ++--------
+ ui/accessibility/ax_tree.h | 9 ++++++++-
+ 2 files changed, 10 insertions(+), 9 deletions(-)
+
+--- a/ui/accessibility/ax_tree.cc
++++ b/ui/accessibility/ax_tree.cc
+@@ -567,14 +567,8 @@ struct AXTreeUpdateState {
+ const AXTree& tree;
+ };
+
+-struct AXTree::NodeSetSizePosInSetInfo {
+- NodeSetSizePosInSetInfo() = default;
+- ~NodeSetSizePosInSetInfo() = default;
+-
+- int32_t pos_in_set = 0;
+- int32_t set_size = 0;
+- base::Optional<int> lowest_hierarchical_level;
+-};
++AXTree::NodeSetSizePosInSetInfo::NodeSetSizePosInSetInfo() = default;
++AXTree::NodeSetSizePosInSetInfo::~NodeSetSizePosInSetInfo() = default;
+
+ struct AXTree::OrderedSetContent {
+ explicit OrderedSetContent(const AXNode* ordered_set = nullptr)
+--- a/ui/accessibility/ax_tree.h
++++ b/ui/accessibility/ax_tree.h
+@@ -328,7 +328,14 @@ class AX_EXPORT AXTree : public AXNode::
+ bool enable_extra_mac_nodes_ = false;
+
+ // Contains pos_in_set and set_size data for an AXNode.
+- struct NodeSetSizePosInSetInfo;
++ struct NodeSetSizePosInSetInfo {
++ NodeSetSizePosInSetInfo();
++ ~NodeSetSizePosInSetInfo();
++
++ int32_t pos_in_set = 0;
++ int32_t set_size = 0;
++ base::Optional<int> lowest_hierarchical_level;
++ };
+
+ // Represents the content of an ordered set which includes the ordered set
+ // items and the ordered set container if it exists.
diff --git a/chromium-83-gcc-r762806.patch b/chromium-83-gcc-r762806.patch
new file mode 100644
index 0000000..ff20cfe
--- /dev/null
+++ b/chromium-83-gcc-r762806.patch
@@ -0,0 +1,43 @@
+From 4af12b86673edcf82989a87a11496543a9478fb5 Mon Sep 17 00:00:00 2001
+From: Stephan Hartmann <stha09(a)googlemail.com>
+Date: Mon, 27 Apr 2020 12:05:48 +0000
+Subject: [PATCH] libstdc++: make NGPhysicalContainerFragment::ConstIterator
+ usable with std::all_of
+
+Use of std::all_of requires STL compliant iterator. However,
+NGPhysicalContainerFragment::ConstIterator does not define
+iterator_tag and therefore is no STL iterator. To make it
+compliant derive NGPhysicalContainerFragment::ConstIterator from
+std::iterator.
+
+Bug: 957519
+Change-Id: Id042f987ca093ece6cd1cd10f601eb1909700d08
+Reviewed-on:
https://chromium-review.googlesource.com/c/chromium/src/+/2153148
+Reviewed-by: Aleks Totic <atotic(a)chromium.org>
+Commit-Queue: Morten Stenshorne <mstensho(a)chromium.org>
+Cr-Commit-Position: refs/heads/master@{#762806}
+---
+ .../renderer/core/layout/ng/ng_physical_container_fragment.h | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+--- a/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.h
++++ b/third_party/blink/renderer/core/layout/ng/ng_physical_container_fragment.h
+@@ -5,6 +5,8 @@
+ #ifndef THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_NG_NG_PHYSICAL_CONTAINER_FRAGMENT_H_
+ #define THIRD_PARTY_BLINK_RENDERER_CORE_LAYOUT_NG_NG_PHYSICAL_CONTAINER_FRAGMENT_H_
+
++#include <iterator>
++
+ #include "base/containers/span.h"
+ #include "third_party/blink/renderer/core/core_export.h"
+ #include "third_party/blink/renderer/core/layout/geometry/physical_rect.h"
+@@ -31,7 +33,8 @@ class CORE_EXPORT NGPhysicalContainerFra
+ PostLayoutChildLinkList(wtf_size_t count, const NGLink* buffer)
+ : count_(count), buffer_(buffer) {}
+
+- class ConstIterator {
++ class ConstIterator
++ : public std::iterator<std::input_iterator_tag, NGLink> {
+ STACK_ALLOCATED();
+
+ public:
diff --git a/chromium-enable-vaapi.patch b/chromium-enable-vaapi.patch
index 403c00f..ece03af 100644
--- a/chromium-enable-vaapi.patch
+++ b/chromium-enable-vaapi.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Enable VAAPI on Linux
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
-@@ -1923,7 +1923,7 @@ const FeatureEntry kFeatureEntries[] = {
+@@ -2153,7 +2153,7 @@ const FeatureEntry kFeatureEntries[] = {
"disable-accelerated-video-decode",
flag_descriptions::kAcceleratedVideoDecodeName,
flag_descriptions::kAcceleratedVideoDecodeDescription,
@@ -14,9 +14,9 @@ Subject: [PATCH] Enable VAAPI on Linux
SINGLE_DISABLE_VALUE_TYPE(switches::kDisableAcceleratedVideoDecode),
},
{
-@@ -2355,12 +2355,12 @@ const FeatureEntry kFeatureEntries[] = {
- FEATURE_VALUE_TYPE(service_manager::features::kXRSandbox)},
- #endif // !defined(OS_ANDROID)
+@@ -2585,12 +2585,12 @@ const FeatureEntry kFeatureEntries[] = {
+ flag_descriptions::kWebXrForceRuntimeDescription, kOsDesktop,
+ MULTI_VALUE_TYPE(kWebXrForceRuntimeChoices)},
#endif // ENABLE_VR
-#if defined(OS_CHROMEOS)
+#if defined(OS_CHROMEOS) || defined(OS_LINUX)
@@ -32,7 +32,7 @@ Subject: [PATCH] Enable VAAPI on Linux
FEATURE_VALUE_TYPE(features::kSystemKeyboardLock)},
--- a/chrome/browser/flag_descriptions.cc
+++ b/chrome/browser/flag_descriptions.cc
-@@ -3004,16 +3004,19 @@ const char kMetalDescription[] =
+@@ -2980,16 +2980,19 @@ const char kMetalDescription[] =
#endif
@@ -57,7 +57,7 @@ Subject: [PATCH] Enable VAAPI on Linux
"Use the aggregated ML model to rank the suggested apps.";
--- a/chrome/browser/flag_descriptions.h
+++ b/chrome/browser/flag_descriptions.h
-@@ -1733,13 +1733,19 @@ extern const char kMetalDescription[];
+@@ -1711,13 +1711,19 @@ extern const char kMetalDescription[];
#endif // defined(OS_MACOSX)
diff --git a/chromium-fix-vaapi-on-intel.patch b/chromium-fix-vaapi-on-intel.patch
index a5b494b..73281f4 100644
--- a/chromium-fix-vaapi-on-intel.patch
+++ b/chromium-fix-vaapi-on-intel.patch
@@ -5,7 +5,7 @@ Subject: [PATCH] Move offending function to chromeos only
--- a/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
+++ b/media/gpu/vaapi/vaapi_video_decode_accelerator.cc
-@@ -64,6 +64,7 @@ void ReportToUMA(VAVDADecoderFailure fai
+@@ -66,6 +66,7 @@ void ReportToUMA(VAVDADecoderFailure fai
VAVDA_DECODER_FAILURES_MAX + 1);
}
@@ -13,7 +13,7 @@ Subject: [PATCH] Move offending function to chromeos only
// Returns true if the CPU is an Intel Gemini Lake or later (including Kaby
// Lake) Cpu platform id's are referenced from the following file in kernel
// source arch/x86/include/asm/intel-family.h
-@@ -76,6 +77,7 @@ bool IsGeminiLakeOrLater() {
+@@ -78,6 +79,7 @@ bool IsGeminiLakeOrLater() {
cpuid.model() >= kGeminiLakeModelId;
return is_geminilake_or_later;
}
@@ -21,7 +21,7 @@ Subject: [PATCH] Move offending function to chromeos only
} // namespace
-@@ -1171,6 +1173,8 @@ VaapiVideoDecodeAccelerator::DecideBuffe
+@@ -1155,6 +1157,8 @@ VaapiVideoDecodeAccelerator::DecideBuffe
if (output_mode_ == VideoDecodeAccelerator::Config::OutputMode::IMPORT)
return BufferAllocationMode::kNormal;
@@ -30,7 +30,7 @@ Subject: [PATCH] Move offending function to chromeos only
// On Gemini Lake, Kaby Lake and later we can pass to libva the client's
// PictureBuffers to decode onto, which skips the use of the Vpp unit and its
// associated format reconciliation copy, avoiding all internal buffer
-@@ -1187,6 +1191,7 @@ VaapiVideoDecodeAccelerator::DecideBuffe
+@@ -1171,6 +1175,7 @@ VaapiVideoDecodeAccelerator::DecideBuffe
num_extra_pics_ = 3;
return BufferAllocationMode::kNone;
}
diff --git a/chromium-freeworld.spec b/chromium-freeworld.spec
index 078c2fe..514cfdb 100644
--- a/chromium-freeworld.spec
+++ b/chromium-freeworld.spec
@@ -69,7 +69,7 @@
%global ozone 0
##############################Package Definitions######################################
Name: chromium-freeworld
-Version: 81.0.4044.138
+Version: 83.0.4103.97
Release: 1%{?dist}
Summary: Chromium web browser built with all freeworld codecs and VA-API support
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)
@@ -154,6 +154,7 @@ Buildrequires: python2-six
BuildRequires: python2-ply
%endif
%endif
+BuildRequires: python2-setuptools
%if %{with system_re2}
BuildRequires: re2-devel
%endif
@@ -210,15 +211,22 @@ Recommends: libva-utils
ExclusiveArch: x86_64
# Google patches (short-term fixes and backports):
-Patch150: chromium-81-vaapi-r737459.patch
-Patch151: chromium-81-vaapi-r738595.patch
-Patch152: chromium-81-gcc-r742632.patch
-Patch153: chromium-81-gcc-r742834.patch
-Patch154: chromium-81-gcc-r743910.patch
+Patch150: chromium-83-gcc-r756880.patch
+Patch151: chromium-83-gcc-r760272.patch
+Patch152: chromium-83-gcc-r760588.patch
+Patch153: chromium-83-gcc-r762806.patch
+%if 0%{?fedora} >= 32
+Patch154: chromium-83-gcc-10-r31184.patch
+Patch155: chromium-83-gcc-10-r766427.patch
+%endif
# Gentoo patches (short-term fixes):
+Patch250: chromium-83-gcc-include.patch
+Patch251: chromium-83-gcc-iterator.patch
+Patch252: chromium-82-gcc-template.patch
+Patch253: chromium-82-gcc-noexcept.patch
%if 0%{?fedora} >= 32
-Patch250: chromium-81-gcc-10.patch
+Patch254: chromium-83-gcc-10.patch
%endif
# Fedora patches:
@@ -320,6 +328,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
third_party/devscripts \
third_party/devtools-frontend \
third_party/devtools-frontend/src/front_end/third_party/fabricjs \
+ third_party/devtools-frontend/src/front_end/third_party/lighthouse \
third_party/devtools-frontend/src/front_end/third_party/wasmparser \
third_party/devtools-frontend/src/third_party \
third_party/dom_distiller_js \
@@ -336,6 +345,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
%if !%{with system_harfbuzz}
third_party/harfbuzz-ng \
%endif
+ third_party/harfbuzz-ng/utils \
third_party/hunspell \
third_party/iccjpeg \
%if !%{with system_libicu}
@@ -371,6 +381,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
third_party/libyuv \
third_party/lss \
third_party/lzma_sdk \
+ third_party/mako \
%if 0%{?bundlepylibs}
third_party/markupsafe \
%endif
@@ -417,6 +428,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
%endif
third_party/rnnoise \
third_party/s2cellid \
+ third_party/schema_org \
third_party/skia \
third_party/skia/include/third_party/skcms \
third_party/skia/include/third_party/vulkan \
@@ -428,6 +440,7 @@ find -depth -type f -writable -name "*.py" -exec sed -iE
'1s=^#! */usr/bin/\(pyt
third_party/SPIRV-Tools \
third_party/sqlite \
third_party/swiftshader \
+ third_party/swiftshader/third_party/astc-encoder \
third_party/swiftshader/third_party/llvm-7.0 \
third_party/swiftshader/third_party/llvm-subzero \
third_party/swiftshader/third_party/marl \
@@ -734,6 +747,9 @@ appstream-util validate-relax --nonet
"%{buildroot}%{_metainfodir}/%{name}.appda
%{chromiumdir}/swiftshader/libGLESv2.so
#########################################changelogs#################################################
%changelog
+* Fri Jun 05 2020 qvint <dotqvint(a)gmail.com> - 83.0.4103.97-1
+- Update to 83.0.4103.97
+
* Wed May 06 2020 qvint <dotqvint(a)gmail.com> - 81.0.4044.138-1
- Update to 81.0.4044.138
- Fix touchpad scrolling under XWayland (rfbz#5621)
diff --git a/sources b/sources
index dad27c2..d064e1f 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (chromium-81.0.4044.138.tar.xz) =
9f686b27b2f8ea5c15f50b0ddcd24745aec41e28af8c38618e18771401bd5cfb26939b9ac49973ea804cda458a939c1a6ad59cb24fb1937b7687c3d908183437
+SHA512 (chromium-83.0.4103.97.tar.xz) =
5b7d7ab2f4e3d7ee965be4bba2d7ee1f3ce7f062920547639fd8d695eb8ef4a94153a99ecd10fb13b46fbcdec59ed3792231fec9c0773a457a60a551ebbe53c9