From 63db952b256256a9d3a307b212fe722e0ce6ea2a Mon Sep 17 00:00:00 2001 From: Ting-Wei Lan Date: Wed, 10 Mar 2021 00:18:58 +0800 Subject: chromium: Chromium 88.0.4324.182 -> 89.0.4389.72 --- chromium/chromium/chromium-ffmpeg-clean.sh | 2 +- chromium/chromium/chromium-gcc10-r831923.patch | 46 -------------------- chromium/chromium/chromium-gcc10-r838269.patch | 35 ---------------- chromium/chromium/chromium-gcc10-r847754.patch | 46 ++++++++++++++++++++ chromium/chromium/chromium-gcc10-r852287.patch | 30 +++++++++++++ chromium/chromium/chromium-openscreen-stdint.patch | 25 ----------- chromium/chromium/chromium-quiche-dcheck.patch | 29 +++++++++++++ chromium/chromium/chromium-quiche-gcc9.patch | 38 ----------------- chromium/chromium/chromium-quiche-private.patch | 26 ++++++++++++ chromium/chromium/chromium-skia-CropRect.patch | 38 +++++++++++++++++ chromium/chromium/chromium-ui-memory-vector.patch | 27 ------------ chromium/chromium/chromium-webrtc-cstring.patch | 11 ----- chromium/chromium/chromium.spec | 49 ++++++++++------------ 13 files changed, 191 insertions(+), 211 deletions(-) delete mode 100644 chromium/chromium/chromium-gcc10-r831923.patch delete mode 100644 chromium/chromium/chromium-gcc10-r838269.patch create mode 100644 chromium/chromium/chromium-gcc10-r847754.patch create mode 100644 chromium/chromium/chromium-gcc10-r852287.patch delete mode 100644 chromium/chromium/chromium-openscreen-stdint.patch create mode 100644 chromium/chromium/chromium-quiche-dcheck.patch delete mode 100644 chromium/chromium/chromium-quiche-gcc9.patch create mode 100644 chromium/chromium/chromium-quiche-private.patch create mode 100644 chromium/chromium/chromium-skia-CropRect.patch delete mode 100644 chromium/chromium/chromium-ui-memory-vector.patch delete mode 100644 chromium/chromium/chromium-webrtc-cstring.patch diff --git a/chromium/chromium/chromium-ffmpeg-clean.sh b/chromium/chromium/chromium-ffmpeg-clean.sh index 107cbf8..86f0b44 100755 --- a/chromium/chromium/chromium-ffmpeg-clean.sh +++ b/chromium/chromium/chromium-ffmpeg-clean.sh @@ -121,7 +121,7 @@ header_files=" libavcodec/x86/inline_asm.h \ libavcodec/mpeg12vlc.h \ libavcodec/mpegaudio.h \ libavcodec/mpegaudiodecheader.h \ - libavcodec/mpegaudiodectab.h \ + libavcodec/mpegaudiodec_common_tablegen.h \ libavcodec/mpegaudiodsp.h \ libavcodec/mpegaudio_tablegen.h \ libavcodec/mpegpicture.h \ diff --git a/chromium/chromium/chromium-gcc10-r831923.patch b/chromium/chromium/chromium-gcc10-r831923.patch deleted file mode 100644 index 7f9a2c4..0000000 --- a/chromium/chromium/chromium-gcc10-r831923.patch +++ /dev/null @@ -1,46 +0,0 @@ -From d8f178c11d9008e528b1891371984e3ad209c776 Mon Sep 17 00:00:00 2001 -From: Jose Dapena Paz -Date: Mon, 30 Nov 2020 18:54:07 +0000 -Subject: [PATCH] GCC: move attribute to the start of function definition in - VAAPI wrapper. -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -Fix compilation error: -../../base/compiler_specific.h:97:28: error: attributes are not allowed on a function-definition - 97 | #define WARN_UNUSED_RESULT __attribute__((warn_unused_result)) - | ^~~~~~~~~~~~~ -../../media/gpu/vaapi/vaapi_wrapper.h:322:36: note: in expansion of macro ‘WARN_UNUSED_RESULT’ - 322 | const T* data) WARN_UNUSED_RESULT { - | ^~~~~~~~~~~~~~~~~~ - -Bug: 819294 -Change-Id: I24e2e10a96182f8705fed96164550357acdb55a4 -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2534931 -Commit-Queue: Miguel Casas -Reviewed-by: Hirokazu Honda -Reviewed-by: Miguel Casas -Cr-Commit-Position: refs/heads/master@{#831923} ---- - media/gpu/vaapi/vaapi_wrapper.h | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/media/gpu/vaapi/vaapi_wrapper.h b/media/gpu/vaapi/vaapi_wrapper.h -index 01ec58214f86..e2c95f1e2a6b 100644 ---- a/media/gpu/vaapi/vaapi_wrapper.h -+++ b/media/gpu/vaapi/vaapi_wrapper.h -@@ -345,8 +345,8 @@ class MEDIA_GPU_EXPORT VaapiWrapper - // Convenient templatized version of SubmitBuffer() where |size| is deduced to - // be the size of the type of |*data|. - template -- bool SubmitBuffer(VABufferType va_buffer_type, -- const T* data) WARN_UNUSED_RESULT { -+ bool WARN_UNUSED_RESULT SubmitBuffer(VABufferType va_buffer_type, -+ const T* data) { - return SubmitBuffer(va_buffer_type, sizeof(T), data); - } - // Batch-version of SubmitBuffer(), where the lock for accessing libva is --- -2.29.2 - diff --git a/chromium/chromium/chromium-gcc10-r838269.patch b/chromium/chromium/chromium-gcc10-r838269.patch deleted file mode 100644 index 4f2a387..0000000 --- a/chromium/chromium/chromium-gcc10-r838269.patch +++ /dev/null @@ -1,35 +0,0 @@ -From 09304ba4c3167b9977b412f8a3fc2e99c67fabd2 Mon Sep 17 00:00:00 2001 -From: Hans-Filip Elo -Date: Thu, 17 Dec 2020 22:34:21 +0000 -Subject: [PATCH] Build fix for libstdc++ - -When building against libstdc++, the macro DCHECK_NE does not seem to -handle implicit conversion between std::unique_ptr and nullptr. This -patch fixes one such build error in compositor_frame_reporter.cc. - -Bug: 957519 -Change-Id: If1801dba777a90089a4c0585cec7e62de8006fff -Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2595279 -Reviewed-by: danakj -Commit-Queue: Hans-Filip Elo -Cr-Commit-Position: refs/heads/master@{#838269} ---- - cc/metrics/compositor_frame_reporter.cc | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/cc/metrics/compositor_frame_reporter.cc b/cc/metrics/compositor_frame_reporter.cc -index 9392f0a44336..bab060123064 100644 ---- a/cc/metrics/compositor_frame_reporter.cc -+++ b/cc/metrics/compositor_frame_reporter.cc -@@ -767,7 +767,7 @@ void CompositorFrameReporter::ReportCompositorLatencyHistogram( - - void CompositorFrameReporter::ReportEventLatencyHistograms() const { - for (const auto& event_metrics : events_metrics_) { -- DCHECK_NE(event_metrics, nullptr); -+ DCHECK(event_metrics); - const std::string histogram_base_name = - GetEventLatencyHistogramBaseName(*event_metrics); - const int event_type_index = static_cast(event_metrics->type()); --- -2.29.2 - diff --git a/chromium/chromium/chromium-gcc10-r847754.patch b/chromium/chromium/chromium-gcc10-r847754.patch new file mode 100644 index 0000000..52c7ddf --- /dev/null +++ b/chromium/chromium/chromium-gcc10-r847754.patch @@ -0,0 +1,46 @@ +From b5b80df7dafba8cafa4c6c0ba2153dfda467dfc9 Mon Sep 17 00:00:00 2001 +From: Stephan Hartmann +Date: Wed, 27 Jan 2021 20:31:51 +0000 +Subject: [PATCH] add dependency on opus in webcodecs + +webcodecs uses opus, but dependency is missing. With unbundled +opus library build fails, because include path is incomplete. + +Bug: 1169758 +Change-Id: I01369364327461196a81002479636cf45017669a +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2644623 +Reviewed-by: Dale Curtis +Commit-Queue: Dale Curtis +Cr-Commit-Position: refs/heads/master@{#847754} +--- + third_party/blink/renderer/modules/webcodecs/BUILD.gn | 1 + + third_party/blink/renderer/modules/webcodecs/DEPS | 1 + + 2 files changed, 2 insertions(+) + +diff --git a/third_party/blink/renderer/modules/webcodecs/BUILD.gn b/third_party/blink/renderer/modules/webcodecs/BUILD.gn +index fdf4ca0fafc7..01a7bf809ffc 100644 +--- a/third_party/blink/renderer/modules/webcodecs/BUILD.gn ++++ b/third_party/blink/renderer/modules/webcodecs/BUILD.gn +@@ -65,6 +65,7 @@ blink_modules_sources("webcodecs") { + "//media/mojo/clients", + "//media/mojo/mojom", + "//third_party/libyuv:libyuv", ++ "//third_party/opus", + ] + if (media_use_openh264) { + deps += [ "//third_party/openh264:encoder" ] +diff --git a/third_party/blink/renderer/modules/webcodecs/DEPS b/third_party/blink/renderer/modules/webcodecs/DEPS +index b8dd596da8ca..ea1919d12205 100644 +--- a/third_party/blink/renderer/modules/webcodecs/DEPS ++++ b/third_party/blink/renderer/modules/webcodecs/DEPS +@@ -19,6 +19,7 @@ include_rules = [ + + "+third_party/libyuv", + "+third_party/openh264", ++ "+third_party/opus", + + "+ui/gfx/color_space.h", + "+ui/gfx/geometry/rect.h", +-- +2.29.2 + diff --git a/chromium/chromium/chromium-gcc10-r852287.patch b/chromium/chromium/chromium-gcc10-r852287.patch new file mode 100644 index 0000000..9f5faa0 --- /dev/null +++ b/chromium/chromium/chromium-gcc10-r852287.patch @@ -0,0 +1,30 @@ +From c06ddc4935bf1394812c011ce5d93898ccc8a53a Mon Sep 17 00:00:00 2001 +From: Stephan Hartmann +Date: Tue, 9 Feb 2021 19:22:57 +0000 +Subject: [PATCH] IWYU: add ctime for std::time + +Bug: None +Change-Id: I8bdae43209984242b9f5e538d74ece4409b65e3c +Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2679610 +Reviewed-by: Katie Dektar +Commit-Queue: Katie Dektar +Cr-Commit-Position: refs/heads/master@{#852287} +--- + ui/accessibility/ax_tree_serializer.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/ui/accessibility/ax_tree_serializer.h b/ui/accessibility/ax_tree_serializer.h +index ddbbdcdc25c5..1790e3b79196 100644 +--- a/ui/accessibility/ax_tree_serializer.h ++++ b/ui/accessibility/ax_tree_serializer.h +@@ -8,6 +8,7 @@ + #include + #include + ++#include + #include + #include + #include +-- +2.29.2 + diff --git a/chromium/chromium/chromium-openscreen-stdint.patch b/chromium/chromium/chromium-openscreen-stdint.patch deleted file mode 100644 index 42545a8..0000000 --- a/chromium/chromium/chromium-openscreen-stdint.patch +++ /dev/null @@ -1,25 +0,0 @@ -From 0c0af4cabb7490db473cd2c28f069956974a4d98 Mon Sep 17 00:00:00 2001 -From: Stephan Hartmann -Date: Fri, 2 Oct 2020 12:11:58 +0000 -Subject: [PATCH] IWYU: uint8_t is defined in stdint.h - ---- - third_party/openscreen/src/util/crypto/random_bytes.h | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/third_party/openscreen/src/util/crypto/random_bytes.h b/third_party/openscreen/src/util/crypto/random_bytes.h -index 3cb2fa8..025b52c 100644 ---- a/third_party/openscreen/src/util/crypto/random_bytes.h -+++ b/third_party/openscreen/src/util/crypto/random_bytes.h -@@ -7,6 +7,8 @@ - - #include - -+#include -+ - namespace openscreen { - - std::array GenerateRandomBytes16(); --- -2.26.2 - diff --git a/chromium/chromium/chromium-quiche-dcheck.patch b/chromium/chromium/chromium-quiche-dcheck.patch new file mode 100644 index 0000000..7969a7f --- /dev/null +++ b/chromium/chromium/chromium-quiche-dcheck.patch @@ -0,0 +1,29 @@ +From 7cd4eab0bfca6192f14d6143410e1ae774eb1c29 Mon Sep 17 00:00:00 2001 +From: Stephan Hartmann +Date: Thu, 31 Dec 2020 11:57:22 +0000 +Subject: [PATCH] GCC: do not pass unique_ptr to DCHECK_NE, but the actual + pointer + +DCHECK_NE comparison requires CheckOpValueStr to be defined for the +type, or providing an output stream operator. A unique_ptr does not +provide any. USE DCHECK instead. +--- + net/third_party/quiche/src/quic/core/quic_path_validator.cc | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/net/third_party/quiche/src/quic/core/quic_path_validator.cc b/net/third_party/quiche/src/quic/core/quic_path_validator.cc +index 0722216..fb2aeaf 100644 +--- a/net/third_party/quiche/src/quic/core/quic_path_validator.cc ++++ b/net/third_party/quiche/src/quic/core/quic_path_validator.cc +@@ -68,7 +68,7 @@ void QuicPathValidator::OnPathResponse(const QuicPathFrameBuffer& probing_data, + void QuicPathValidator::StartPathValidation( + std::unique_ptr context, + std::unique_ptr result_delegate) { +- DCHECK_NE(nullptr, context); ++ DCHECK(context); + QUIC_DLOG(INFO) << "Start validating path " << *context + << " via writer: " << context->WriterToUse(); + if (path_context_ != nullptr) { +-- +2.26.2 + diff --git a/chromium/chromium/chromium-quiche-gcc9.patch b/chromium/chromium/chromium-quiche-gcc9.patch deleted file mode 100644 index 8104665..0000000 --- a/chromium/chromium/chromium-quiche-gcc9.patch +++ /dev/null @@ -1,38 +0,0 @@ -From 00f47df999c9b19e80fdc01db0ae9ca1b6a12b3a Mon Sep 17 00:00:00 2001 -From: vasilvv -Date: Wed, 3 Apr 2019 13:58:53 -0700 -Subject: [PATCH] GCC: do not delete move constructor of QuicStreamSendBuffer -MIME-Version: 1.0 -Content-Type: text/plain; charset=UTF-8 -Content-Transfer-Encoding: 8bit - -QuicStreamSendBuffer constructor is implicitely required in the -initialization of the vector of substreams in QuicCryptoStream. -Though clang apparently ignores that, GCC fails to build. - -BUG=chromium:819294 - -Originally submitted by José Dapena Paz at https://quiche-review.googlesource.com/c/quiche/+/2420 - -PiperOrigin-RevId: 241800134 -Change-Id: I4e3c97d6e5895d85340e8c1b740e6196d9104066 ---- - quic/core/quic_stream_send_buffer.h | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/quic/core/quic_stream_send_buffer.h b/quic/core/quic_stream_send_buffer.h -index e34514b..74e9d0d 100644 ---- a/net/third_party/quiche/src/quic/core/quic_stream_send_buffer.h -+++ b/net/third_party/quiche/src/quic/core/quic_stream_send_buffer.h -@@ -62,7 +62,7 @@ class QUIC_EXPORT_PRIVATE QuicStreamSendBuffer { - public: - explicit QuicStreamSendBuffer(QuicBufferAllocator* allocator); - QuicStreamSendBuffer(const QuicStreamSendBuffer& other) = delete; -- QuicStreamSendBuffer(QuicStreamSendBuffer&& other) = delete; -+ QuicStreamSendBuffer(QuicStreamSendBuffer&& other) = default; - ~QuicStreamSendBuffer(); - - // Save |data_length| of data starts at |iov_offset| in |iov| to send buffer. --- -2.24.1 - diff --git a/chromium/chromium/chromium-quiche-private.patch b/chromium/chromium/chromium-quiche-private.patch new file mode 100644 index 0000000..5872c37 --- /dev/null +++ b/chromium/chromium/chromium-quiche-private.patch @@ -0,0 +1,26 @@ +From 1ee06c3678a85d158eb82d4af438d1e43a4c814e Mon Sep 17 00:00:00 2001 +From: Stephan Hartmann +Date: Sun, 6 Dec 2020 16:14:17 +0000 +Subject: [PATCH] GCC: change make_visitor visibility to public + +GCC complains that make_visitor is used in private context from +inner Iterator class. +--- + net/third_party/quiche/src/quic/core/quic_interval_set.h | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/net/third_party/quiche/src/quic/core/quic_interval_set.h b/net/third_party/quiche/src/quic/core/quic_interval_set.h +index af64e29..7ee8978 100644 +--- a/net/third_party/quiche/src/quic/core/quic_interval_set.h ++++ b/net/third_party/quiche/src/quic/core/quic_interval_set.h +@@ -1874,7 +1874,6 @@ class QUIC_NO_EXPORT QuicIntervalSet { + return absl::visit([&](auto& s) { return s.Contains(min, max); }, qiset_); + } + +- private: + template + struct overloader : A, B, C { + overloader(A a, B b, C c) : A(a), B(b), C(c) {} +-- +2.26.2 + diff --git a/chromium/chromium/chromium-skia-CropRect.patch b/chromium/chromium/chromium-skia-CropRect.patch new file mode 100644 index 0000000..c79577d --- /dev/null +++ b/chromium/chromium/chromium-skia-CropRect.patch @@ -0,0 +1,38 @@ +diff --git a/third_party/skia/include/effects/SkImageFilters.h b/third_party/skia/include/effects/SkImageFilters.h +index 04cce0a..d06b007 100644 +--- a/third_party/skia/include/effects/SkImageFilters.h ++++ b/third_party/skia/include/effects/SkImageFilters.h +@@ -23,6 +23,9 @@ class SkColorFilter; + class SkPaint; + class SkRegion; + ++constexpr SkRect kNoCropRect = {SK_ScalarNegativeInfinity, SK_ScalarNegativeInfinity, ++ SK_ScalarInfinity, SK_ScalarInfinity}; ++ + // A set of factory functions providing useful SkImageFilter effects. For image filters that take an + // input filter, providing nullptr means it will automatically use the dynamic source image. This + // source depends on how the filter is applied, but is either the contents of a saved layer when +@@ -33,8 +36,6 @@ public: + // to those types as a crop rect for the image filter factories. It's not intended to be used + // directly. + struct CropRect { +- static constexpr SkRect kNoCropRect = {SK_ScalarNegativeInfinity, SK_ScalarNegativeInfinity, +- SK_ScalarInfinity, SK_ScalarInfinity}; + CropRect() : fCropRect(kNoCropRect) {} + // Intentionally not explicit so callers don't have to use this type but can use SkIRect or + // SkRect as desired. +diff --git a/third_party/skia/src/effects/imagefilters/SkImageFilters.cpp b/third_party/skia/src/effects/imagefilters/SkImageFilters.cpp +index 5290b00..fb97fc1 100644 +--- a/third_party/skia/src/effects/imagefilters/SkImageFilters.cpp ++++ b/third_party/skia/src/effects/imagefilters/SkImageFilters.cpp +@@ -47,10 +47,6 @@ static SkImageFilter::CropRect to_legacy_crop_rect(const SkImageFilters::CropRec + : SkImageFilter::CropRect(SkRect::MakeEmpty(), 0x0); + } + +-// Allow kNoCropRect to be referenced (for certain builds, e.g. macOS libFuzzer chromium target, +-// see crbug.com/1139725) +-constexpr SkRect SkImageFilters::CropRect::kNoCropRect; +- + void SkImageFilters::RegisterFlattenables() { + SkAlphaThresholdFilter::RegisterFlattenables(); + SkArithmeticImageFilter::RegisterFlattenables(); diff --git a/chromium/chromium/chromium-ui-memory-vector.patch b/chromium/chromium/chromium-ui-memory-vector.patch deleted file mode 100644 index 0d7b0df..0000000 --- a/chromium/chromium/chromium-ui-memory-vector.patch +++ /dev/null @@ -1,27 +0,0 @@ -From 6e402d97c2dec5726f37e95f97b7f7e12b1d3b1d Mon Sep 17 00:00:00 2001 -From: Jose Dapena Paz -Date: Wed, 11 Nov 2020 11:02:13 +0100 -Subject: [PATCH] IWYU: include headers for std::vector and std::unique_ptr in AXTreeFormatter - -Fix these build errors with libstdc++: -../../ui/accessibility/platform/inspect/tree_formatter.h:35:12: error: ‘std::vector’ has not been declared -../../ui/accessibility/platform/inspect/tree_formatter.h:61:16: error: ‘unique_ptr’ in namespace ‘std’ does not name a template type - -Bug: 957519 -Change-Id: I402ac0644255b3cd4932ff2fe72d999b125a7895 ---- - -diff --git a/ui/accessibility/platform/inspect/tree_formatter.h b/ui/accessibility/platform/inspect/tree_formatter.h -index 4a70a4d..bb23768 100644 ---- a/ui/accessibility/platform/inspect/tree_formatter.h -+++ b/ui/accessibility/platform/inspect/tree_formatter.h -@@ -5,6 +5,9 @@ - #ifndef UI_ACCESSIBILITY_PLATFORM_INSPECT_TREE_FORMATTER_H_ - #define UI_ACCESSIBILITY_PLATFORM_INSPECT_TREE_FORMATTER_H_ - -+#include -+#include -+ - #include "ui/accessibility/platform/inspect/inspect.h" - - #include "ui/gfx/native_widget_types.h" diff --git a/chromium/chromium/chromium-webrtc-cstring.patch b/chromium/chromium/chromium-webrtc-cstring.patch deleted file mode 100644 index ce8b70b..0000000 --- a/chromium/chromium/chromium-webrtc-cstring.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -up chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc.cstringfix chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc ---- chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc.cstringfix 2019-03-13 13:04:25.290842447 -0400 -+++ chromium-73.0.3683.75/third_party/webrtc/modules/desktop_capture/linux/base_capturer_pipewire.cc 2019-03-13 13:05:13.234897441 -0400 -@@ -18,6 +18,7 @@ - #include - #include - -+#include - #include - #include - diff --git a/chromium/chromium/chromium.spec b/chromium/chromium/chromium.spec index dcd700a..0512882 100644 --- a/chromium/chromium/chromium.spec +++ b/chromium/chromium/chromium.spec @@ -51,7 +51,7 @@ %bcond_with fedora_compilation_flags Name: chromium -Version: 88.0.4324.182 +Version: 89.0.4389.72 Release: 100%{?dist} Summary: A WebKit (Blink) powered web browser @@ -102,20 +102,18 @@ Patch2: chromium-gn-no-static-libstdc++.patch # https://src.fedoraproject.org/rpms/chromium/c/cb0be2c990fc724e Patch20: chromium-python2.patch -# Pull patches from Fedora -# https://src.fedoraproject.org/rpms/chromium/c/9071ee2d2f996b84 -Patch30: chromium-webrtc-cstring.patch - # Pull patches from stha09 -# https://github.com/stha09/chromium-patches/commit/23bfdb7b34fb19bf -# https://github.com/stha09/chromium-patches/commit/3495379e353f96ef -Patch40: chromium-openscreen-stdint.patch -Patch41: chromium-ui-memory-vector.patch +# https://github.com/stha09/chromium-patches/commit/105a1c550dad457f +# https://github.com/stha09/chromium-patches/commit/78bc1113b1c27b72 +# https://github.com/stha09/chromium-patches/commit/a8800500faaddf82 +# https://github.com/stha09/chromium-patches/commit/34989060a7ff4b1e +Patch30: chromium-quiche-dcheck.patch +Patch31: chromium-quiche-private.patch +Patch32: chromium-skia-CropRect.patch # Pull upstream patches -Patch50: chromium-quiche-gcc9.patch -Patch51: chromium-gcc10-r831923.patch -Patch52: chromium-gcc10-r838269.patch +Patch40: chromium-gcc10-r847754.patch +Patch41: chromium-gcc10-r852287.patch # I don't have time to test whether it work on other architectures ExclusiveArch: x86_64 @@ -137,7 +135,7 @@ BuildRequires: minizip-devel BuildRequires: mesa-libGL-devel, mesa-libEGL-devel, mesa-libgbm-devel BuildRequires: pkgconfig(gtk+-2.0), pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(libffi), pkgconfig(nss), pkgconfig(libexif) -BuildRequires: pkgconfig(xtst), pkgconfig(xscrnsaver) +BuildRequires: pkgconfig(xtst), pkgconfig(xscrnsaver), pkgconfig(xshmfence) BuildRequires: pkgconfig(dbus-1), pkgconfig(libudev) BuildRequires: pkgconfig(libva), pkgconfig(gnome-keyring-1) BuildRequires: python2-setuptools @@ -183,7 +181,7 @@ BuildRequires: zlib-devel BuildRequires: pciutils-devel BuildRequires: speech-dispatcher-devel BuildRequires: pulseaudio-libs-devel -BuildRequires: pkgconfig(libpipewire-0.2) +BuildRequires: pkgconfig(libpipewire-0.3) # install desktop files BuildRequires: desktop-file-utils # install AppData files @@ -248,7 +246,6 @@ find -type f -exec \ net/third_party/quic \ net/third_party/uri_template \ third_party/abseil-cpp \ - third_party/adobe \ third_party/angle \ third_party/angle/src/common/third_party/base \ third_party/angle/src/common/third_party/smhasher \ @@ -257,13 +254,6 @@ find -type f -exec \ third_party/angle/src/third_party/libXNVCtrl \ third_party/angle/src/third_party/trace_event \ third_party/angle/src/third_party/volk \ - third_party/angle/third_party/glslang \ - third_party/angle/third_party/spirv-headers \ - third_party/angle/third_party/spirv-tools \ - third_party/angle/third_party/vulkan-headers \ - third_party/angle/third_party/vulkan-loader \ - 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 \ @@ -324,7 +314,7 @@ find -type f -exec \ third_party/freetype \ third_party/fusejs \ third_party/libgifcodec \ - third_party/glslang \ + third_party/liburlpattern \ third_party/google_input_tools \ third_party/google_input_tools/third_party/closure_library \ third_party/google_input_tools/third_party/closure_library/third_party/closure \ @@ -355,6 +345,7 @@ find -type f -exec \ third_party/libsrtp \ third_party/libsync \ third_party/libudev \ + third_party/libva_protected_content \ %if !%{with system_libvpx} third_party/libvpx \ third_party/libvpx/source/libvpx/third_party/x86inc \ @@ -375,6 +366,7 @@ find -type f -exec \ third_party/mako \ third_party/mesa \ third_party/metrics_proto \ + third_party/minigbm \ third_party/modp_b64 \ third_party/nasm \ third_party/nearby \ @@ -398,6 +390,7 @@ find -type f -exec \ third_party/pdfium/third_party/libtiff \ third_party/pdfium/third_party/skia_shared \ third_party/perfetto \ + third_party/perfetto/protos/third_party/chromium \ third_party/pffft \ %if !%{with system_ply} third_party/ply \ @@ -416,7 +409,6 @@ find -type f -exec \ third_party/s2cellid \ third_party/schema_org \ third_party/securemessage \ - third_party/shaka-player \ third_party/shell-encryption \ third_party/simplejson \ third_party/skia \ @@ -426,9 +418,6 @@ find -type f -exec \ third_party/skia/third_party/vulkan \ third_party/smhasher \ third_party/speech-dispatcher \ - third_party/spirv-cross/spirv-cross \ - third_party/spirv-headers \ - third_party/SPIRV-Tools \ third_party/sqlite \ third_party/swiftshader \ third_party/swiftshader/third_party/astc-encoder \ @@ -561,6 +550,7 @@ gn_args=( ozone_platform_x11=true rtc_use_pipewire=true rtc_link_pipewire=true + 'rtc_pipewire_version="0.3"' enable_hangout_services_extension=false enable_nacl=false fatal_linker_warnings=false @@ -702,7 +692,6 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %{chromiumdir}/libGLESv2.so %{chromiumdir}/libVkICD_mock_icd.so %{chromiumdir}/libvk_swiftshader.so -%{chromiumdir}/libvulkan.so %{chromiumdir}/v8_context_snapshot.bin %{chromiumdir}/vk_swiftshader_icd.json %{chromiumdir}/*.pak @@ -718,6 +707,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || : %changelog +* Tue Mar 09 2021 - Ting-Wei Lan - 89.0.4389.72-100 +- Update to 89.0.4389.72 +- Switch to PipeWire 0.3 + * Thu Feb 18 2021 - Ting-Wei Lan - 88.0.4324.182-100 - Update to 88.0.4324.182 -- cgit v1.2.3