Browse Source

upgpkg: ungoogled-chromium 91.0.4472.101-1

upstream release
jk 4 years ago
parent
commit
4e5bc82a42

+ 7 - 10
.SRCINFO

@@ -1,6 +1,6 @@
 pkgbase = ungoogled-chromium
 pkgbase = ungoogled-chromium
 	pkgdesc = A lightweight approach to removing Google web service dependency
 	pkgdesc = A lightweight approach to removing Google web service dependency
-	pkgver = 91.0.4472.77
+	pkgver = 91.0.4472.101
 	pkgrel = 1
 	pkgrel = 1
 	url = https://github.com/Eloston/ungoogled-chromium
 	url = https://github.com/Eloston/ungoogled-chromium
 	arch = x86_64
 	arch = x86_64
@@ -52,32 +52,29 @@ pkgbase = ungoogled-chromium
 	optdepends = kwallet: support for storing passwords in KWallet on Plasma
 	optdepends = kwallet: support for storing passwords in KWallet on Plasma
 	provides = chromium
 	provides = chromium
 	conflicts = chromium
 	conflicts = chromium
-	source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-91.0.4472.77.tar.xz
+	source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-91.0.4472.101.tar.xz
 	source = https://github.com/foutrelis/chromium-launcher/archive/v7/chromium-launcher-7.tar.gz
 	source = https://github.com/foutrelis/chromium-launcher/archive/v7/chromium-launcher-7.tar.gz
 	source = https://github.com/stha09/chromium-patches/releases/download/chromium-91-patchset-5/chromium-91-patchset-5.tar.xz
 	source = https://github.com/stha09/chromium-patches/releases/download/chromium-91-patchset-5/chromium-91-patchset-5.tar.xz
 	source = fix-crash-in-ThemeService.patch
 	source = fix-crash-in-ThemeService.patch
 	source = unbundle-use-char16_t-as-UCHAR_TYPE.patch
 	source = unbundle-use-char16_t-as-UCHAR_TYPE.patch
-	source = add-clang-nomerge-attribute-to-CheckError.patch
+	source = extend-enable-accelerated-video-decode-flag.patch
 	source = sql-make-VirtualCursor-standard-layout-type.patch
 	source = sql-make-VirtualCursor-standard-layout-type.patch
 	source = chromium-glibc-2.33.patch
 	source = chromium-glibc-2.33.patch
-	source = unexpire-accelerated-video-decode-flag.patch
 	source = use-oauth2-client-switches-as-default.patch
 	source = use-oauth2-client-switches-as-default.patch
-	source = ungoogled-chromium-91.0.4472.77-1.tar.gz::https://github.com/Eloston/ungoogled-chromium/archive/91.0.4472.77-1.tar.gz
+	source = ungoogled-chromium-91.0.4472.101-1.tar.gz::https://github.com/Eloston/ungoogled-chromium/archive/91.0.4472.101-1.tar.gz
 	source = chromium-drirc-disable-10bpc-color-configs.conf
 	source = chromium-drirc-disable-10bpc-color-configs.conf
 	source = wayland-egl.patch
 	source = wayland-egl.patch
-	sha256sums = 45d5a43ef798d20313c78fa8a075be0c22055e39c8481eb53eabda81df901b31
+	sha256sums = 78146192aaae7771d9130c2828e1081d940da32af3aadcb73578521683307eb4
 	sha256sums = 86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f
 	sha256sums = 86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f
 	sha256sums = 171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a
 	sha256sums = 171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a
 	sha256sums = 3cfe46e181cb9d337c454b5b5adbf5297052f29cd617cdee4380eeb1943825d8
 	sha256sums = 3cfe46e181cb9d337c454b5b5adbf5297052f29cd617cdee4380eeb1943825d8
 	sha256sums = 59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d
 	sha256sums = 59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d
-	sha256sums = 50133dd196d288ad538bb536aa51dccd6cb4aacfd9a60160f77e8fb16034b460
+	sha256sums = 66db9132d6f5e06aa26e5de0924f814224a76a9bdf4b61afce161fb1d7643b22
 	sha256sums = dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150
 	sha256sums = dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150
 	sha256sums = 2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b
 	sha256sums = 2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b
-	sha256sums = 82a85105fc33b92a84dabb7ed6725ccbb56f1075c11f9f3f43bb8ff724f88847
 	sha256sums = e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711
 	sha256sums = e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711
-	sha256sums = f93021dab9fd8496beb57a3defc90233258e7128c3141a1a9d9a0c45f29967e1
+	sha256sums = 3826409802280c7a565db1c532d6467976f3b3ec59b9259f432615b67dc046ad
 	sha256sums = babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb
 	sha256sums = babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb
 	sha256sums = 34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574
 	sha256sums = 34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574
 
 
 pkgname = ungoogled-chromium
 pkgname = ungoogled-chromium
-

+ 6 - 14
PKGBUILD

@@ -9,7 +9,7 @@
 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
 # Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
 
 
 pkgname=ungoogled-chromium
 pkgname=ungoogled-chromium
-pkgver=91.0.4472.77
+pkgver=91.0.4472.101
 pkgrel=1
 pkgrel=1
 _launcher_ver=7
 _launcher_ver=7
 _gcc_patchset=5
 _gcc_patchset=5
@@ -38,27 +38,25 @@ source=(https://commondatastorage.googleapis.com/chromium-browser-official/chrom
         https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
         https://github.com/stha09/chromium-patches/releases/download/chromium-${pkgver%%.*}-patchset-$_gcc_patchset/chromium-${pkgver%%.*}-patchset-$_gcc_patchset.tar.xz
         fix-crash-in-ThemeService.patch
         fix-crash-in-ThemeService.patch
         unbundle-use-char16_t-as-UCHAR_TYPE.patch
         unbundle-use-char16_t-as-UCHAR_TYPE.patch
-        add-clang-nomerge-attribute-to-CheckError.patch
+        extend-enable-accelerated-video-decode-flag.patch
         sql-make-VirtualCursor-standard-layout-type.patch
         sql-make-VirtualCursor-standard-layout-type.patch
         chromium-glibc-2.33.patch
         chromium-glibc-2.33.patch
-        unexpire-accelerated-video-decode-flag.patch
         use-oauth2-client-switches-as-default.patch)
         use-oauth2-client-switches-as-default.patch)
-sha256sums=('45d5a43ef798d20313c78fa8a075be0c22055e39c8481eb53eabda81df901b31'
+sha256sums=('78146192aaae7771d9130c2828e1081d940da32af3aadcb73578521683307eb4'
             '86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f'
             '86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f'
             '171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a'
             '171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a'
             '3cfe46e181cb9d337c454b5b5adbf5297052f29cd617cdee4380eeb1943825d8'
             '3cfe46e181cb9d337c454b5b5adbf5297052f29cd617cdee4380eeb1943825d8'
             '59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d'
             '59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d'
-            '50133dd196d288ad538bb536aa51dccd6cb4aacfd9a60160f77e8fb16034b460'
+            '66db9132d6f5e06aa26e5de0924f814224a76a9bdf4b61afce161fb1d7643b22'
             'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
             'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
             '2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
             '2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
-            '82a85105fc33b92a84dabb7ed6725ccbb56f1075c11f9f3f43bb8ff724f88847'
             'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
             'e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711')
 source=(${source[@]}
 source=(${source[@]}
         $_pkgname-$_uc_ver.tar.gz::https://github.com/$_uc_usr/ungoogled-chromium/archive/$_uc_ver.tar.gz
         $_pkgname-$_uc_ver.tar.gz::https://github.com/$_uc_usr/ungoogled-chromium/archive/$_uc_ver.tar.gz
         chromium-drirc-disable-10bpc-color-configs.conf
         chromium-drirc-disable-10bpc-color-configs.conf
         wayland-egl.patch)
         wayland-egl.patch)
 sha256sums=(${sha256sums[@]}
 sha256sums=(${sha256sums[@]}
-            'f93021dab9fd8496beb57a3defc90233258e7128c3141a1a9d9a0c45f29967e1'
+            '3826409802280c7a565db1c532d6467976f3b3ec59b9259f432615b67dc046ad'
             'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
             'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
             '34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574')
             '34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574')
 
 
@@ -106,18 +104,13 @@ prepare() {
   # runtime -- this allows signing into Chromium without baked-in values
   # runtime -- this allows signing into Chromium without baked-in values
   patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
   patch -Np1 -i ../use-oauth2-client-switches-as-default.patch
 
 
-  # https://crbug.com/1207478
-  patch -Np0 -i ../unexpire-accelerated-video-decode-flag.patch
-
   # https://crbug.com/1164975
   # https://crbug.com/1164975
   patch -Np1 -i ../chromium-glibc-2.33.patch
   patch -Np1 -i ../chromium-glibc-2.33.patch
 
 
   # Upstream fixes
   # Upstream fixes
   #patch -Np1 -i ../fix-crash-in-ThemeService.patch
   #patch -Np1 -i ../fix-crash-in-ThemeService.patch
   patch -Np1 -i ../unbundle-use-char16_t-as-UCHAR_TYPE.patch
   patch -Np1 -i ../unbundle-use-char16_t-as-UCHAR_TYPE.patch
-
-  # Revert addition of [[clang::nomerge]] attribute; not supported by clang 11
-  patch -Rp1 -i ../add-clang-nomerge-attribute-to-CheckError.patch
+  patch -Np1 -i ../extend-enable-accelerated-video-decode-flag.patch
 
 
   # https://chromium-review.googlesource.com/c/chromium/src/+/2862724
   # https://chromium-review.googlesource.com/c/chromium/src/+/2862724
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch
   patch -Np1 -i ../sql-make-VirtualCursor-standard-layout-type.patch
@@ -178,7 +171,6 @@ build() {
     'custom_toolchain="//build/toolchain/linux/unbundle:default"'
     'custom_toolchain="//build/toolchain/linux/unbundle:default"'
     'host_toolchain="//build/toolchain/linux/unbundle:default"'
     'host_toolchain="//build/toolchain/linux/unbundle:default"'
     'is_official_build=true' # implies is_cfi=true on x86_64
     'is_official_build=true' # implies is_cfi=true on x86_64
-    'chrome_pgo_phase=0' # needs newer clang to read the bundled PGO profile
     'ffmpeg_branding="Chrome"'
     'ffmpeg_branding="Chrome"'
     'proprietary_codecs=true'
     'proprietary_codecs=true'
     'rtc_use_pipewire=true'
     'rtc_use_pipewire=true'

+ 0 - 44
add-clang-nomerge-attribute-to-CheckError.patch

@@ -1,44 +0,0 @@
-From 9909f146b28d56c9c0411329a056ed959b33f76a Mon Sep 17 00:00:00 2001
-From: Zequan Wu <zequanwu@google.com>
-Date: Wed, 10 Feb 2021 03:26:00 +0000
-Subject: [PATCH] Reland "Add [[clang::nomerge]] attribute to ~CheckError()."
-
-This is a reland of 8860253376c38c090d585bda4b20b801e3aa3ce3
-
-Original change's description:
-> Add [[clang::nomerge]] attribute to ~CheckError().
->
-> To disable merging multiple ~CheckError() destructor for accurate crash logs.
->
-> Bug: 1153188
-> Change-Id: If6d153661667a63f13b645f6d284eb3d5ea3a300
-> Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2611331
-> Commit-Queue: Nico Weber <thakis@chromium.org>
-> Auto-Submit: Zequan Wu <zequanwu@google.com>
-> Reviewed-by: Nico Weber <thakis@chromium.org>
-> Cr-Commit-Position: refs/heads/master@{#844989}
-
-Bug: 1153188
-Change-Id: I303c5ff9fb88f7a30663400622b327a910d0b108
-Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2686331
-Reviewed-by: Nico Weber <thakis@chromium.org>
-Commit-Queue: Nico Weber <thakis@chromium.org>
-Commit-Queue: Zequan Wu <zequanwu@google.com>
-Cr-Commit-Position: refs/heads/master@{#852453}
----
- base/check.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/base/check.h b/base/check.h
-index c94ab68db90..17048e45539 100644
---- a/base/check.h
-+++ b/base/check.h
-@@ -85,7 +85,7 @@ class BASE_EXPORT CheckError {
-   // Stream for adding optional details to the error message.
-   std::ostream& stream();
- 
--  ~CheckError();
-+  NOMERGE ~CheckError();
- 
-   CheckError(const CheckError& other) = delete;
-   CheckError& operator=(const CheckError& other) = delete;

+ 35 - 0
extend-enable-accelerated-video-decode-flag.patch

@@ -0,0 +1,35 @@
+From e48f18eba0eae199ba7bc8a6a09ebf39799447c1 Mon Sep 17 00:00:00 2001
+From: Ted Meyer <tmathmeyer@chromium.org>
+Date: Wed, 2 Jun 2021 05:35:22 +0000
+Subject: [PATCH] Extend enable-accelerated-video-decode flag for linux to m93
+
+It appears that there is insistence that the flag be totally removed or
+have its end-milestone increased, I can't just let it wait until the
+feature is working again and then re-enable it. So i've moved it to 93.
+
+R=dalecurtis
+
+Fixed: 1207478
+Change-Id: I26a5e790cd390825516b4a4b6af88e89b2d4f4eb
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2918478
+Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
+Reviewed-by: Ted Meyer <tmathmeyer@chromium.org>
+Commit-Queue: Ted Meyer <tmathmeyer@chromium.org>
+Cr-Commit-Position: refs/heads/master@{#888312}
+---
+ chrome/browser/flag-metadata.json | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/chrome/browser/flag-metadata.json b/chrome/browser/flag-metadata.json
+index 67e0330436..34542671f2 100644
+--- a/chrome/browser/flag-metadata.json
++++ b/chrome/browser/flag-metadata.json
+@@ -1193,7 +1193,7 @@
+   {
+     "name": "enable-accelerated-video-decode",
+     "owners": [ "media-dev@chromium.org" ],
+-    "expiry_milestone": 90
++    "expiry_milestone": 93
+   },
+   {
+     "name": "enable-accessibility-live-caption",

+ 0 - 11
unexpire-accelerated-video-decode-flag.patch

@@ -1,11 +0,0 @@
---- chrome/browser/flag-metadata.json.orig	2021-05-20 15:34:12.194906381 +0000
-+++ chrome/browser/flag-metadata.json	2021-05-20 15:17:31.632112834 +0000
-@@ -1253,7 +1253,7 @@
-   {
-     "name": "enable-accelerated-video-decode",
-     "owners": [ "media-dev@chromium.org" ],
--    "expiry_milestone": 90
-+    "expiry_milestone": 91
-   },
-   {
-     "name": "enable-accessibility-live-caption",