summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjk <jk@vin.ovh>2021-06-21 14:33:24 -0500
committerjk <jk@vin.ovh>2021-06-21 14:33:24 -0500
commite33c3c9ffb07a77aa9004d6d8b1228fe1b2344a1 (patch)
tree40f6217a5ad5df37788069baa796f0b63201102b
parent4e5bc82a42277ef918ce4986a544eb54cc9dcf10 (diff)
downloadungoogled-chromium-e33c3c9ffb07a77aa9004d6d8b1228fe1b2344a1.tar.gz
ungoogled-chromium-e33c3c9ffb07a77aa9004d6d8b1228fe1b2344a1.tar.bz2
ungoogled-chromium-e33c3c9ffb07a77aa9004d6d8b1228fe1b2344a1.zip
upgpkg: ungoogled-chromium 91.0.4472.114-1
upstream release
-rw-r--r--.SRCINFO13
-rw-r--r--PKGBUILD14
-rw-r--r--make-dom-distiller-protoc-plugin-call-py2.7.patch37
3 files changed, 51 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8db080f..2101d18 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ungoogled-chromium
pkgdesc = A lightweight approach to removing Google web service dependency
- pkgver = 91.0.4472.101
+ pkgver = 91.0.4472.114
pkgrel = 1
url = https://github.com/Eloston/ungoogled-chromium
arch = x86_64
@@ -15,7 +15,6 @@ pkgbase = ungoogled-chromium
makedepends = pipewire
makedepends = java-runtime-headless
makedepends = python2
- makedepends = python2-setuptools
depends = gtk3
depends = nss
depends = alsa-lib
@@ -52,28 +51,30 @@ pkgbase = ungoogled-chromium
optdepends = kwallet: support for storing passwords in KWallet on Plasma
provides = chromium
conflicts = chromium
- source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-91.0.4472.101.tar.xz
+ source = https://commondatastorage.googleapis.com/chromium-browser-official/chromium-91.0.4472.114.tar.xz
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 = fix-crash-in-ThemeService.patch
source = unbundle-use-char16_t-as-UCHAR_TYPE.patch
+ source = make-dom-distiller-protoc-plugin-call-py2.7.patch
source = extend-enable-accelerated-video-decode-flag.patch
source = sql-make-VirtualCursor-standard-layout-type.patch
source = chromium-glibc-2.33.patch
source = use-oauth2-client-switches-as-default.patch
- 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 = ungoogled-chromium-91.0.4472.114-1.tar.gz::https://github.com/Eloston/ungoogled-chromium/archive/91.0.4472.114-1.tar.gz
source = chromium-drirc-disable-10bpc-color-configs.conf
source = wayland-egl.patch
- sha256sums = 78146192aaae7771d9130c2828e1081d940da32af3aadcb73578521683307eb4
+ sha256sums = c1c7fe783f3250978503d4bd53144039bd818de8a6e89de493f27dd5168f7e71
sha256sums = 86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f
sha256sums = 171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a
sha256sums = 3cfe46e181cb9d337c454b5b5adbf5297052f29cd617cdee4380eeb1943825d8
sha256sums = 59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d
+ sha256sums = 76ceebd14c9a6f1ea6a05b1613e64d1e2aca595e0f0b3e9497e3eeee33ed756c
sha256sums = 66db9132d6f5e06aa26e5de0924f814224a76a9bdf4b61afce161fb1d7643b22
sha256sums = dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150
sha256sums = 2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b
sha256sums = e393174d7695d0bafed69e868c5fbfecf07aa6969f3b64596d0bae8b067e1711
- sha256sums = 3826409802280c7a565db1c532d6467976f3b3ec59b9259f432615b67dc046ad
+ sha256sums = 318b890f0d422c573f285a33b6f74ce8446c7aa16677a2236250827defca66e5
sha256sums = babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb
sha256sums = 34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574
diff --git a/PKGBUILD b/PKGBUILD
index c5e615a..c01be10 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=ungoogled-chromium
-pkgver=91.0.4472.101
+pkgver=91.0.4472.114
pkgrel=1
_launcher_ver=7
_gcc_patchset=5
@@ -26,7 +26,7 @@ depends=('gtk3' 'nss' 'alsa-lib' 'xdg-utils' 'libxss' 'libcups' 'libgcrypt'
'ttf-liberation' 'systemd' 'dbus' 'libpulse' 'pciutils' 'libva'
'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('python' 'gn' 'ninja' 'clang' 'lld' 'gperf' 'nodejs' 'pipewire'
- 'java-runtime-headless' 'python2' 'python2-setuptools')
+ 'java-runtime-headless' 'python2')
optdepends=('pipewire: WebRTC desktop sharing under Wayland'
'kdialog: support for native dialogs in Plasma'
'org.freedesktop.secrets: password storage backend on GNOME / Xfce'
@@ -38,15 +38,17 @@ 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
fix-crash-in-ThemeService.patch
unbundle-use-char16_t-as-UCHAR_TYPE.patch
+ make-dom-distiller-protoc-plugin-call-py2.7.patch
extend-enable-accelerated-video-decode-flag.patch
sql-make-VirtualCursor-standard-layout-type.patch
chromium-glibc-2.33.patch
use-oauth2-client-switches-as-default.patch)
-sha256sums=('78146192aaae7771d9130c2828e1081d940da32af3aadcb73578521683307eb4'
+sha256sums=('c1c7fe783f3250978503d4bd53144039bd818de8a6e89de493f27dd5168f7e71'
'86859c11cfc8ba106a3826479c0bc759324a62150b271dd35d1a0f96e890f52f'
'171525009003a9ed1182cfcb6f407d7169d9a731a474304e263029376719f55a'
'3cfe46e181cb9d337c454b5b5adbf5297052f29cd617cdee4380eeb1943825d8'
'59a59a60a08b335fe8647fdf0f9d2288d236ebf2cc9626396d0c4d032fd2b25d'
+ '76ceebd14c9a6f1ea6a05b1613e64d1e2aca595e0f0b3e9497e3eeee33ed756c'
'66db9132d6f5e06aa26e5de0924f814224a76a9bdf4b61afce161fb1d7643b22'
'dd317f85e5abfdcfc89c6f23f4c8edbcdebdd5e083dcec770e5da49ee647d150'
'2fccecdcd4509d4c36af873988ca9dbcba7fdb95122894a9fdf502c33a1d7a4b'
@@ -56,7 +58,7 @@ source=(${source[@]}
chromium-drirc-disable-10bpc-color-configs.conf
wayland-egl.patch)
sha256sums=(${sha256sums[@]}
- '3826409802280c7a565db1c532d6467976f3b3ec59b9259f432615b67dc046ad'
+ '318b890f0d422c573f285a33b6f74ce8446c7aa16677a2236250827defca66e5'
'babda4f5c1179825797496898d77334ac067149cac03d797ab27ac69671a7feb'
'34d08ea93cb4762cb33c7cffe931358008af32265fc720f2762f0179c3973574')
@@ -110,6 +112,7 @@ prepare() {
# Upstream fixes
#patch -Np1 -i ../fix-crash-in-ThemeService.patch
patch -Np1 -i ../unbundle-use-char16_t-as-UCHAR_TYPE.patch
+ patch -Np1 -i ../make-dom-distiller-protoc-plugin-call-py2.7.patch
patch -Np1 -i ../extend-enable-accelerated-video-decode-flag.patch
# https://chromium-review.googlesource.com/c/chromium/src/+/2862724
@@ -132,9 +135,6 @@ prepare() {
python "$_utils/domain_substitution.py" apply -r "$_ungoogled_repo/domain_regex.list" \
-f "$_ungoogled_repo/domain_substitution.list" -c domainsubcache.tar.gz ./
- # Force script incompatible with Python 3 to use /usr/bin/python2
- sed -i '1s|python$|&2|' third_party/dom_distiller_js/protoc_plugins/*.py
-
# Link to system tools required by the build
mkdir -p third_party/node/linux/node-linux-x64/bin
ln -s /usr/bin/node third_party/node/linux/node-linux-x64/bin/
diff --git a/make-dom-distiller-protoc-plugin-call-py2.7.patch b/make-dom-distiller-protoc-plugin-call-py2.7.patch
new file mode 100644
index 0000000..2a6100f
--- /dev/null
+++ b/make-dom-distiller-protoc-plugin-call-py2.7.patch
@@ -0,0 +1,37 @@
+From 359b22d3f775afa33cca9e4f8fb57eadd0ec4118 Mon Sep 17 00:00:00 2001
+From: Nico Weber <thakis@chromium.org>
+Date: Fri, 23 Apr 2021 16:22:19 +0000
+Subject: [PATCH] Make dom distiller protoc plugin explicitly call py2.7
+
+With this, chrome builds with when `/usr/bin/env python` is py3.
+
+Bug: 1202134
+Change-Id: Ibbd97a1311ccb34d46f266912c871fd0522f9535
+Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2848445
+Commit-Queue: Nico Weber <thakis@chromium.org>
+Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
+Commit-Queue: Dirk Pranke <dpranke@google.com>
+Auto-Submit: Nico Weber <thakis@chromium.org>
+Reviewed-by: Yaron Friedman <yfriedman@chromium.org>
+Reviewed-by: Dirk Pranke <dpranke@google.com>
+Cr-Commit-Position: refs/heads/master@{#875702}
+---
+ .../dom_distiller_js/protoc_plugins/json_values_converter.py | 5 ++++-
+ 1 file changed, 4 insertions(+), 1 deletion(-)
+
+diff --git a/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py b/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py
+index e86a88c759fcb..cae1a998c4650 100755
+--- a/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py
++++ b/third_party/dom_distiller_js/protoc_plugins/json_values_converter.py
+@@ -1,7 +1,10 @@
+-#!/usr/bin/env python
++#!/usr/bin/env python2.7
+ # Copyright 2016 The Chromium Authors. All rights reserved.
+ # Use of this source code is governed by a BSD-style license that can be
+ # found in the LICENSE file.
++#
++# TODO(crbug.com/1202134): Switch run line back to just "python"
++# once things are py3-compatible.
+
+ """protoc plugin to create C++ reader/writer for JSON-encoded protobufs
+