From 6ae1b9500acfeff7f7c31b5f769e4a633899182d Mon Sep 17 00:00:00 2001 From: Tom spot Callaway Date: Thu, 18 Mar 2021 14:51:37 -0400 Subject: [PATCH] update to 89.0.4389.90, disable auto-download of widevine binary only blob --- chromium-89.0.4389.82-widevine-no-download.patch | 14 ++++++++++++++ chromium.spec | 13 ++++++++++--- sources | 2 +- 3 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 chromium-89.0.4389.82-widevine-no-download.patch diff --git a/chromium-89.0.4389.82-widevine-no-download.patch b/chromium-89.0.4389.82-widevine-no-download.patch new file mode 100644 index 0000000..388efa4 --- /dev/null +++ b/chromium-89.0.4389.82-widevine-no-download.patch @@ -0,0 +1,14 @@ +diff -up chromium-89.0.4389.82/chrome/browser/component_updater/registration.cc.widevine-no-download chromium-89.0.4389.82/chrome/browser/component_updater/registration.cc +--- chromium-89.0.4389.82/chrome/browser/component_updater/registration.cc.widevine-no-download 2021-03-18 14:10:27.606759188 -0400 ++++ chromium-89.0.4389.82/chrome/browser/component_updater/registration.cc 2021-03-18 14:10:41.792833905 -0400 +@@ -96,10 +96,6 @@ void RegisterComponentsForUpdate(bool is + // TODO(crbug.com/1069814): Remove after 2021-10-01. + CleanUpPepperFlashComponent(); + +-#if BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) +- RegisterWidevineCdmComponent(cus); +-#endif // BUILDFLAG(ENABLE_WIDEVINE_CDM_COMPONENT) +- + #if BUILDFLAG(ENABLE_NACL) && !defined(OS_ANDROID) + #if BUILDFLAG(IS_CHROMEOS_ASH) + // PNaCl on Chrome OS is on rootfs and there is no need to download it. But diff --git a/chromium.spec b/chromium.spec index fee8bf7..59b86df 100644 --- a/chromium.spec +++ b/chromium.spec @@ -215,8 +215,8 @@ Name: chromium%{chromium_channel}%{nsuffix} %else Name: chromium%{chromium_channel} %endif -Version: %{majorversion}.0.4389.82 -Release: 2%{?dist} +Version: %{majorversion}.0.4389.90 +Release: 1%{?dist} %if %{?freeworld} %if %{?shared} # chromium-libs-media-freeworld @@ -226,7 +226,7 @@ Summary: Chromium media libraries built with all possible codecs Summary: A WebKit (Blink) powered web browser built with all possible codecs %endif %else -Summary: A WebKit (Blink) powered web browser +Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use %endif Url: http://www.chromium.org/Home 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) @@ -304,6 +304,8 @@ Patch77: chromium-88.0.4324.182-gcc-fix-swiftshader-libEGL-visibility.patch # Include support for futex_time64 (64bit time on 32bit platforms) # https://chromium.googlesource.com/chromium/src/+/955a586c63c4f99fb734e44221db63f5b2ca25a9%5E%21/#F0 Patch78: chromium-89.0.4389.82-support-futex_time64.patch +# Do not download proprietary widevine module in the background (thanks Debian) +Patch79: chromium-89.0.4389.82-widevine-no-download.patch # Use lstdc++ on EPEL7 only @@ -928,6 +930,7 @@ udev. %endif %patch77 -p1 -b .gcc-swiftshader-visibility %patch78 -p1 -b .futex-time64 +%patch79 -p1 -b .widevine-no-download # Fedora branded user agent %if 0%{?fedora} @@ -1965,6 +1968,10 @@ getent group chrome-remote-desktop >/dev/null || groupadd -r chrome-remote-deskt %changelog +* Thu Mar 18 2021 Tom Callaway - 89.0.4389.90-1 +- update to 89.0.4389.90 +- disable auto-download of widevine binary only blob + * Mon Mar 15 2021 Tom Callaway - 89.0.4389.82-2 - add support for futex_time64 diff --git a/sources b/sources index 268e9e6..6fd2a24 100644 --- a/sources +++ b/sources @@ -20,4 +20,4 @@ SHA512 (xcb-proto-1.14.tar.xz) = de66d568163b6da2be9d6c59984f3afa3acd119a7813786 SHA512 (depot_tools.git-master.tar.gz) = dc323888812b66cc92c53a24a8a58ccf9e2961be67aa21852bd091b8b49569071f06ae9104cb58950e6253ac3a29f0db0663e9f35ef2b1ea28696efb38b42708 SHA512 (NotoSansSymbols2-Regular.ttf) = 2644b42c3fdccfe12395f9b61553aced169a0f1dc09f5a0fd7898e9d0a372ee4422b6b1cdab3c86ecc91db437e9ae8a951e64e85edc3ac9e9fca428852dbb2ad SHA512 (NotoSansTibetan-Regular.ttf) = fb5a48fcaea80eebe7d692f6fcf00d59d47658a358d0ec8e046fc559873f88bd595b2da474d2826abd9e9305f3741c69058d867b1e6048f37fe7d71b5d3af36a -SHA512 (chromium-89.0.4389.82-clean.tar.xz) = fd30622b6b289e87834ef33c75229d71b8e559f0edeee057d7d5c846f6ffea9b0b8064d6094fab1701165de6d2afe22c11d5b2e5a17a07f0ee1d8fc5a75bc80a +SHA512 (chromium-89.0.4389.90-clean.tar.xz) = b7b65d932c078a0fcb4befd49ab49714b2a0fa64764be2782f878bc2ef8214f312e98e1b1f853c577d18d511ef34d8e4d8760c6e85d38efffd67a3cb4cae6005