Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/chromium/, www-client/chromium/files/
Date: Sat, 17 Apr 2021 12:38:29
Message-Id: 1618663080.c82202486e56dbe7be55fa708154fa1df71fb97b.sultan@gentoo
1 commit: c82202486e56dbe7be55fa708154fa1df71fb97b
2 Author: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 17 12:36:05 2021 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 17 12:38:00 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8220248
7
8 www-client/chromium: dev channel bump to 91.0.4472.10
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
12
13 www-client/chromium/Manifest | 4 +--
14 ....4469.4.ebuild => chromium-91.0.4472.10.ebuild} | 18 +++++------
15 .../files/chromium-91-ThemeService-crash.patch | 36 ++++++++++++++++++++++
16 .../chromium/files/chromium-91-system-icu.patch | 29 +++++++++++++++++
17 4 files changed, 74 insertions(+), 13 deletions(-)
18
19 diff --git a/www-client/chromium/Manifest b/www-client/chromium/Manifest
20 index 3af48dd8294..f9bb0669943 100644
21 --- a/www-client/chromium/Manifest
22 +++ b/www-client/chromium/Manifest
23 @@ -3,6 +3,6 @@ DIST chromium-89.0.4389.114.tar.xz 890898912 BLAKE2B b9590f83eb54fc1b524a7893f8c
24 DIST chromium-89.0.4389.128.tar.xz 890850492 BLAKE2B 24a6437024994c5fbefc059b966e1bd6dd3d11ad827ba2dc0e010e5503a7a93579d0cb23acc0c00f687c7f21372bb04eae875e555abb933a4a9afe813b8b727c SHA512 37f694dea7a1f398082c5c0f02579c9e2c855a424cf4e09ebc94cac9313836e604dcc52bd1fbc105ac3d5e54bb056da3e62daec1e3bbd11c00f466125ef4bdc1
25 DIST chromium-90-patchset-7.tar.xz 3892 BLAKE2B 3ba169baaaf74b548749be3f845f505256cc9573f798e10929b5d1f0f534d739e657e3fa134c78ec3f7987a3b89adfc4bee0d1a6585ad8fe4bdc3ffd1181042c SHA512 5e1aa834ee5668ee40fc3af5cda7325da710dd1a0dea7ce535e89e36fd7d321db63d520a9b6ce6372ed941473dff18d1276316567af810c18e1478a04d3f23f8
26 DIST chromium-90.0.4430.72.tar.xz 917364932 BLAKE2B 12813a6cd32c5ff2532d4d97d99e955d4ec7868c702e437039fd7daa806b8f9d77b96a2dc713438efcb5c1b14069ca3489b666e2c33daa3b0ac701c3038662b5 SHA512 b07943ac1535cce0d02046b6e79eb01809bfae95ad6eea3bc7d209ff41d54278ca6575462ea372f3014b434e4f1dc8e529aa752a77ec519659abd089e21506e3
27 -DIST chromium-91-patchset-4.tar.xz 3188 BLAKE2B 34d64f4124cb5c020d7d20c883c3409f710b96d5412f8881936e86d78ed034c1d70bd16f9324c5af21f735c3c5f98b4b4cd28cbd7f86f9513df2a5f1ff404772 SHA512 79c1640a7248d628c31fdbf3df296aa888e80f3c90cc6a74be56ac1389d9748b7cce88641e626cd4a5ae298e82fb325a8604fda68378706f0f26a2570e8983a2
28 -DIST chromium-91.0.4469.4.tar.xz 949712784 BLAKE2B 99453196fb9f2336afffb03affcf7441a1ee5f8c9ce50c76888783b8520f2490299e5fc3448c7f61c270c175e48e55a1f947f8cfdf0053a02513676d9ed8daeb SHA512 413452da449198713e6d10f05b937f95a6c0ffb11b2408dc9ced1048af6f7a406af07f8112fe39f73482723802ff25e51ce0085c598d03dba207a5658385871d
29 +DIST chromium-91-patchset-5.tar.xz 3648 BLAKE2B 6c8636f63dc857886d09c8ed69b4c61adc627d2280decdf03b548be8ff2cb522ef0def7a240d1c3c9ee71920304a43af571e2146e2828b89c3b6f87373b8c4a1 SHA512 1554feec958291ad3140e2685683befe4b6e0b0ab6a8694c0e02d5b4bf4b7fcad410f17e72099653456fd95ed24a732dd28f2dcfaf146eb3bf68052e2342a481
30 +DIST chromium-91.0.4472.10.tar.xz 949094512 BLAKE2B 902f09e8f3f45598343524ab6dd6f91267c387d882c83c085fa8021c6db65c9093ac6aa9ad73ce64386a1642d3dbe9aa55cc024cdbcdad14032c89141426c962 SHA512 03cb2671941d3a1d38a424336b7e72ca28db249acc6df4d72d53cf59698cca140e935fa0c1dc07bf1f48e9a240690f7e10e57cff09ce5b86225bc229a27b80fa
31 DIST setuptools-44.1.0.zip 858569 BLAKE2B f59f154e121502a731e51294ccd293d60ffccadacf51e23b53bf7ceba38858948b86783238061136c827ac3373ea7ea8e6253d4bb53f3f1dd69284568ec65a68 SHA512 4dfb0f42d334b835758e865a26ecd1e725711fa2b9c38ddc273b8b3849fba04527bc97436d11ba1e98f1a42922aa0f0b9032e32998273c705fac6e10735eacbf
32
33 diff --git a/www-client/chromium/chromium-91.0.4469.4.ebuild b/www-client/chromium/chromium-91.0.4472.10.ebuild
34 similarity index 98%
35 rename from www-client/chromium/chromium-91.0.4469.4.ebuild
36 rename to www-client/chromium/chromium-91.0.4472.10.ebuild
37 index e9fb9b7d3ab..a4a4720d578 100644
38 --- a/www-client/chromium/chromium-91.0.4469.4.ebuild
39 +++ b/www-client/chromium/chromium-91.0.4472.10.ebuild
40 @@ -2,7 +2,7 @@
41 # Distributed under the terms of the GNU General Public License v2
42
43 EAPI=7
44 -PYTHON_COMPAT=( python3_8 )
45 +PYTHON_COMPAT=( python2_7 )
46 PYTHON_REQ_USE="xml"
47
48 CHROMIUM_LANGS="am ar bg bn ca cs da de el en-GB es es-419 et fa fi fil fr gu he
49 @@ -13,7 +13,7 @@ inherit check-reqs chromium-2 desktop flag-o-matic multilib ninja-utils pax-util
50
51 DESCRIPTION="Open-source version of Google Chrome web browser"
52 HOMEPAGE="https://chromium.org/"
53 -PATCHSET="4"
54 +PATCHSET="5"
55 PATCHSET_NAME="chromium-$(ver_cut 1)-patchset-${PATCHSET}"
56 SRC_URI="https://commondatastorage.googleapis.com/chromium-browser-official/${P}.tar.xz
57 https://files.pythonhosted.org/packages/ed/7b/bbf89ca71e722b7f9464ebffe4b5ee20a9e5c9a555a56e2d3914bb9119a6/setuptools-44.1.0.zip
58 @@ -40,8 +40,8 @@ COMMON_X_DEPEND="
59 x11-libs/libXrandr:=
60 x11-libs/libXrender:=
61 x11-libs/libXtst:=
62 - x11-libs/libXScrnSaver:=
63 x11-libs/libxcb:=
64 + x11-libs/libxshmfence:=
65 vaapi? ( >=x11-libs/libva-2.7:=[X,drm] )
66 "
67
68 @@ -109,7 +109,6 @@ BDEPEND="
69 >=app-arch/gzip-1.7
70 app-arch/unzip
71 dev-lang/perl
72 - dev-lang/python:2.7[xml]
73 >=dev-util/gn-0.1807
74 dev-vcs/git
75 >=dev-util/gperf-3.0.3
76 @@ -229,6 +228,8 @@ src_prepare() {
77 local PATCHES=(
78 "${WORKDIR}/patches"
79 "${FILESDIR}/chromium-89-EnumTable-crash.patch"
80 + "${FILESDIR}/chromium-91-ThemeService-crash.patch"
81 + "${FILESDIR}/chromium-91-system-icu.patch"
82 "${FILESDIR}/chromium-shim_headers.patch"
83 )
84
85 @@ -237,12 +238,6 @@ src_prepare() {
86 mkdir -p third_party/node/linux/node-linux-x64/bin || die
87 ln -s "${EPREFIX}"/usr/bin/node third_party/node/linux/node-linux-x64/bin/node || die
88
89 - # adjust python interpreter versions
90 - sed -i -e "s|\(^script_executable = \).*|\1\"${EPYTHON}\"|g" .gn || die
91 - sed -i -e "s|python2|python2\.7|g" buildtools/linux64/clang-format || die
92 - sed -i -e "s|python|python2\.7|g" \
93 - third_party/dom_distiller_js/protoc_plugins/json_values_converter.py || die
94 -
95 local keeplibs=(
96 base/third_party/cityhash
97 base/third_party/double_conversion
98 @@ -330,6 +325,7 @@ src_prepare() {
99 third_party/flatbuffers
100 third_party/freetype
101 third_party/fusejs
102 + third_party/highway
103 third_party/libgifcodec
104 third_party/liburlpattern
105 third_party/libzip
106 @@ -356,6 +352,7 @@ src_prepare() {
107 third_party/libavif
108 third_party/libgav1
109 third_party/libjingle
110 + third_party/libjxl
111 third_party/libphonenumber
112 third_party/libsecret
113 third_party/libsrtp
114 @@ -413,7 +410,6 @@ src_prepare() {
115 third_party/qcms
116 third_party/rnnoise
117 third_party/s2cellid
118 - third_party/schema_org
119 third_party/securemessage
120 third_party/shell-encryption
121 third_party/simplejson
122
123 diff --git a/www-client/chromium/files/chromium-91-ThemeService-crash.patch b/www-client/chromium/files/chromium-91-ThemeService-crash.patch
124 new file mode 100644
125 index 00000000000..455aef33e78
126 --- /dev/null
127 +++ b/www-client/chromium/files/chromium-91-ThemeService-crash.patch
128 @@ -0,0 +1,36 @@
129 +From 265192616d494ed586df9123ceb63389a7c48916 Mon Sep 17 00:00:00 2001
130 +From: Stephan Hartmann <stha09@××××××××××.com>
131 +Date: Tue, 13 Apr 2021 06:20:25 +0000
132 +Subject: [PATCH] fix crash in theme_service
133 +
134 +---
135 + chrome/browser/themes/theme_service.h | 6 ++++--
136 + 1 file changed, 4 insertions(+), 2 deletions(-)
137 +
138 +diff --git a/chrome/browser/themes/theme_service.h b/chrome/browser/themes/theme_service.h
139 +index 592d40a..337dfac 100644
140 +--- a/chrome/browser/themes/theme_service.h
141 ++++ b/chrome/browser/themes/theme_service.h
142 +@@ -299,6 +299,10 @@ class ThemeService : public KeyedService,
143 + // The number of infobars currently displayed.
144 + int number_of_reinstallers_ = 0;
145 +
146 ++ // Declared before |theme_syncable_service_|, because ThemeSyncableService
147 ++ // removes itself from the |observers_| list on destruction.
148 ++ base::ObserverList<ThemeServiceObserver> observers_;
149 ++
150 + std::unique_ptr<ThemeSyncableService> theme_syncable_service_;
151 +
152 + #if BUILDFLAG(ENABLE_EXTENSIONS)
153 +@@ -320,8 +324,6 @@ class ThemeService : public KeyedService,
154 + ScopedObserver<ui::NativeTheme, ui::NativeThemeObserver>
155 + native_theme_observer_{this};
156 +
157 +- base::ObserverList<ThemeServiceObserver> observers_;
158 +-
159 + base::WeakPtrFactory<ThemeService> weak_ptr_factory_{this};
160 +
161 + DISALLOW_COPY_AND_ASSIGN(ThemeService);
162 +--
163 +2.26.3
164 +
165
166 diff --git a/www-client/chromium/files/chromium-91-system-icu.patch b/www-client/chromium/files/chromium-91-system-icu.patch
167 new file mode 100644
168 index 00000000000..797ee33b374
169 --- /dev/null
170 +++ b/www-client/chromium/files/chromium-91-system-icu.patch
171 @@ -0,0 +1,29 @@
172 +From a0ddb153bdaf0ef83c8bfec744fedb97bf4ccfd0 Mon Sep 17 00:00:00 2001
173 +From: Stephan Hartmann <stha09@××××××××××.com>
174 +Date: Fri, 16 Apr 2021 14:09:29 +0000
175 +Subject: [PATCH] [unbundle] Use char16_t as UCHAR_TYPE
176 +
177 +Overriding UCHAR_TYPE was dropped with:
178 +https://chromium-review.googlesource.com/c/chromium/deps/icu/+/2732628
179 +---
180 + build/linux/unbundle/icu.gn | 19 +++++++------------
181 + 1 file changed, 7 insertions(+), 12 deletions(-)
182 +
183 +diff --git a/build/linux/unbundle/icu.gn b/build/linux/unbundle/icu.gn
184 +index 0f52fc1..33a0121 100644
185 +--- a/build/linux/unbundle/icu.gn
186 ++++ b/build/linux/unbundle/icu.gn
187 +@@ -16,7 +16,6 @@ config("icu_config") {
188 + defines = [
189 + "USING_SYSTEM_ICU=1",
190 + "ICU_UTIL_DATA_IMPL=ICU_UTIL_DATA_STATIC",
191 +- "UCHAR_TYPE=uint16_t",
192 +
193 + # U_EXPORT (defined in unicode/platform.h) is used to set public visibility
194 + # on classes through the U_COMMON_API and U_I18N_API macros (among others).
195 + ]
196 + }
197 +
198 +--
199 +2.26.3
200 +