Skip to content

Commit

Permalink
www-client/ungoogled-chromium: other fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
PF4Public committed Nov 23, 2024
1 parent 1a0a7fa commit 3381bfd
Show file tree
Hide file tree
Showing 4 changed files with 73 additions and 0 deletions.
5 changes: 5 additions & 0 deletions www-client/ungoogled-chromium/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,10 @@ DIST chromium-129.0.6668.89.tar.xz 6673929928 BLAKE2B eea776a58c8fa4a9cd43f308e7
DIST chromium-130.0.6723.116.tar.xz 6627714496 BLAKE2B 0a188e0b597098b25559b5af8f12d867c88c094e3dcecddcda89bcb30efd7a3f4f31aa2b6842f394b56a506e0e3dbc0b17a3b5d4a71d751e81ab9d0a19f20e1f SHA512 59d80a401a1b1ddd36f9715472297117d4467a08536e11727c6796dfd8bea5491f019c34f33cd41d6b2172b2e27bed86f5414c3d9cb3cfac14e036d66c2f366a
DIST chromium-130.0.6723.58.tar.xz 6613711856 BLAKE2B 80ceb5418517aa19e8b0d1b0429aa0ac118e8e88a33e5385c5a2fcd7eb1119ef46e95cf2d1baa235ab023c222e92ae33c14825ec76988ecfab66d7663fe59790 SHA512 f9b609250bcf8e419dc34aafac942c447f22e264ee72d2f0970b2f08d5b9fa03c4ca362c9cfa0d7d277abdda2f0aeadeffcd250c92b7588cf48fc5ec1d26680b
DIST chromium-131.0.6778.85.tar.xz 7138205800 BLAKE2B ce0ff4f0fe1af8e887269a49aac4f5017a9902e338dc522701fd63edf9ab7840ae4f1c8cfae92f3ac52d4bc89133d9cce386c8c6071c3ea15dd8001e427304d3 SHA512 a48001916cc06c751eaef50e4de9f01afa6445f0f4216e7462ba2aaccb31709a03878a76c20e0f5c85f96cf24088361258cb4ed31be777ee88a62af23b7e85ce
DIST chromium-1f9a4db9f8f0d8b1561a6e264d2d88f064f19fbc.patch 1329 BLAKE2B 1a46b49046fb8dce10ac149c11208a8bc0172cc2b6337875a6e9ef453ea7b87be740dd0a832cb747944b33249d203ba9f9a3bdca309bd2392403e259010bf9b9 SHA512 082912878d0faa54959fd51a805e459d7b773d7f5239f20c50a48a68076dac57a946d4d7e257547bd524e9d3a2112ec363e538aa47967a718583b7ccd37c1574
DIST chromium-2d529e8960f7b46957445333ca25e6a53ca3141c.patch 1288 BLAKE2B 2ce0040ff59061d6176214bbba7dc921ba7786a1ecd044cab781476cb206310ce5f19ee00a637f062ab752ab34c6fe08fd24961c2ecef9bb111f4b66978e213e SHA512 928d9e647321647155986cd6b5bf55f2776d4a6325ec3715cf3168a3b0d4ec6a0d059169b41a2107481770fbd1f7c0f2e0e0ff62bdb8c8cd54c14528bf4ea6b2
DIST chromium-32e65e4c14034d82fd856b38f37e9389ed500495.patch 1195 BLAKE2B 60cfc65a99aad6aec0b11f78c55d846dda99933e6fd0aa3233db9e215cc95b3b8810ed29b3cedb762c0951258dba261afd00d539948805b32dd1c866126bf2d1 SHA512 c483883132452c90acd2f7a44ac5f7df6839ebea970bbd015d0cb89186cbfe48b58bd5c7d84a2f333eef81e6cc27dd9586737ab0d3965ea9b71a909141bae886
DIST chromium-33af9dc7d2801995990d1bb36ef1d98e3f80ca18.patch 1381 BLAKE2B a8a8721d2caf4de06e83d6f248ad6d0e49ff1bb24f2a4d44a20bbd6bac9249a1bdea87619a6746452cfcd91cc1e514faf31e09eb57c1bb005177e1e23bc0d183 SHA512 99d679fd09c2da4db47f50c81bb7d97571bd7c56304c585e8b51d1ed8fd77cf50cd05e27ecd96d1e4841056d799cedc73e338b99cc9922ad51b238669ec000d7
DIST chromium-39583ff118920284de516d262979960e7159bcfc.patch 1391 BLAKE2B 28815a2a49a78791c74462442863e26c10fbe770e883d82a36b8793f2900c4feea0053f116d9029bfb66b53f2df133fbe8f92635dcd460e3405d34dc9afb5329 SHA512 0ade99c4c8c4acff35502b195b0c46b944f31f2e2c5beb0e9f63a345cceebb1c4dd21e9e3410484f40d75e3ebae170536f651edcaa0b5c8d50edb7272b62a492
DIST chromium-40c273b2c0f5f26e16e67428ceaafd8b339bb61f.patch 1745 BLAKE2B 8df526e88bd22bc27a00ad5fafabcda20865c5fa2bd0ac91523c3b22709a725c010e4290bbb400c3f96f4bce61ca4b13f472fc27e2da34a7a2afa57e912a3f75 SHA512 4debcfe22af457bc3606bb7e394abaf3efd8f6e544f86da4bd3e0e0be81a7201ff038253e8d54fea5765cd1cfb52950e21f98685cf79c5c1a22f8e448b9e894c
DIST chromium-47fb59539e5744467eb6f7aae52f5a169910d56c.patch 1405 BLAKE2B e72e76133ef9e75eee65d5e7e840337912f93148ab6bc04d12d64c6d4b58c80fd4f3dfd9f033649948357e3956c6dac04561f9198d5bf443f03438a1dc72bc2e SHA512 714feb8e53b7510072407ac5c0d9026e978805d65a754d62dd53605f2d7dcdb8c5da1634c4a84614872c10f31d6ee2a5c15bb4d621a426ea939b38e42d5e39b8
Expand All @@ -21,6 +23,7 @@ DIST chromium-5c1e85eb085658187f4475ff5e56962473b6f10a.patch 1011 BLAKE2B 9e53d7
DIST chromium-7e28832cd3320d2b603e6ef9468581e1c65c14f1.patch 1339 BLAKE2B 8b8c9daa68f981b70627a07d9f7638c33158802d3ece8e7ab4e25734332944407810e8a2aa4f701d8153ccdd72138525598e23660feeb4b8a8e69893cc523d8d SHA512 10298ad3a257488add2e942e5522ac43e7979162acaf037122e437fe0a9734893e9bc03bd6a528d3052bb3ae2efe94fe61fb1fa051307db544e507d17603e4c3
DIST chromium-84fcdd0620a72aa73ea521c682fb246067f2c14d.patch 3730 BLAKE2B 62ac6bd2fbd9ac480b818d5766e466c59789783f038a6c1aee83861e9ebcfd257dea0e9888fa8fceff81923d72042d928593e13fd7685d8b24199dcacfe013c4 SHA512 fc2136d507de85432d8f8173536aae46b6efe98ce3471b4fcdbfc61a14e15b7c06aa8612a7cdedbc53ab95e7d6c703e449b0f34a7c6f85ba4a18bf05753a6b84
DIST chromium-8739a5b33176e82e06a746163c0c76de4908ced9.patch 1635 BLAKE2B 3c8a62403bf90e3e35f237f0774196b8a15669717a4ece79f5d8306fd2bdfe01f7c1f1715609578185c236a12d5cf9c4b4438a6400fc16e4a89e6f7f681c8820 SHA512 0323edb3fb4f34e50035588423af412c16d95ea06fdbc6ff82758b4e640cad803d40989195a2c9782b87759374e42f3d38110ff929224f8e3dce3dfef9a7fae1
DIST chromium-8fa8d8f68f5bf71e70038994276e0225f006eb73.patch 1098 BLAKE2B 2fe1f1b70c18d80e2baedf26ea42e6907f64cab641ccebb2728e34fb6d7260dadafd7d5caf6f2a24bf5388d216b9c5a8308b689aa4cbc2edbf23d25cb69120de SHA512 16cfc6d27e8cc35c605d9d5aecab0587c88de20db66bd0988617693d97eb34eb529a135db7058ffc96f27c598dad28ebd03e74ddeb48bd8866cd639cb269ee85
DIST chromium-9cf5bed15b577aade699d1704bc2967f5bf6963e.patch 1659 BLAKE2B 15376b33acf970950e663786db6c300eb81c92b86e54bcea0347c1d1339be9fdf20ba60c10d2a7090648d8a1f3b6b0569de4d934f592b24f72a9af534734211e SHA512 c9e8dc5a14ca3d818eea83cba5883cba72873edea578dc70d8013f90a05a595444994f351d359e6dbb5044869b8ea9696385963b8a9116b08435aaaa41115e68
DIST chromium-b51da416e04ecc9edafff531f9678c6404e654b7.patch 1346 BLAKE2B f1215a48fcaf36b70b4cc1430f78d43e84d51089cc4cdfa8508e37574e0aa198bfd99ef99a627ca4b98e79547549a2844dac5debc7b8c026964db15bdaf849aa SHA512 7d1f79184e69d927e025371d3c50a997fe82ce9a328af7be4f7e459a92bb74b5cdc545c7d65974242ae084835cd59f3e1ce7924252cf79e5e698940052bd11d5
DIST chromium-c502d310d8cb91f1c1098a7287e75114023e57f0.patch 1391 BLAKE2B 4d7dbe9c2173d01756f99208804bafa2732d8992c9a9132905964a600103e8b8018aa188a2dfe96e0cf688686b585fffe05930cb3af734c26c648ccb9ad211df SHA512 0c3f681d8cf971511cc325db17bb36e81589c12404e70858a6f41dc3b41d1b0eb4ac8ccb02904218739625275683cd5fd94b7426c57e3d43ae8753303ef1d6aa
Expand All @@ -39,6 +42,7 @@ DIST cromite-c609027f1a1a0961bb668668edd866e741579109.tar.gz 35875956 BLAKE2B 9a
DIST cromite-d4e0398fed306a35df814f6217fe53099032af50.tar.gz 35889112 BLAKE2B 0aabe997c1d7248f6c503b740a333e96e7511d95154706df3c4e3de59342082346e9c9dcf836002d3c2646c0150832651c07b07fad8f214400c8e6bc7d76891b SHA512 ba3d7d7233ba592373690d9a5d88ecc64c7f28e366b9e4455eceb1536842a6f35335e9b659dd42a318ff5443704fc07c2d5a77e183944fca3efd446ad6e29c86
DIST cromite-eae1e049fa1afb405bd1debdebdbbd407af6d2ac.tar.gz 35908070 BLAKE2B c7e67bfba68e42092b51366ddb9a958fa9f40e6a32d9b43bd938a4fe8e55ef2411f95d3beceb5980c870df037b9264909454dd5474fdde0b0d71da7f81fbde24 SHA512 9e2d39aacfa293977d7d4febe0ac8edaae72ed466090f5e438de5ba69fbc52d3537de7a21ac73b72f64ba138f65d552957fbc024c66f7716fa66de0dc28e4c68
DIST dawn-3ff08caa35db539fcc3dded353ec03c9f6a6efe7.patch 995 BLAKE2B 6b24659c4f9109aa6730e2722883876904e3a947e2718af907641c22c375ae5a0b038e52891f3cedf270192c4f8cc38b041aa161c754993bf7c66ff85394bf94 SHA512 889db2a08b7052e682deb6fdf1772fdaf98dadc1cbe16a2196533d83c1a6162178947fa42630d5f6b1582ad72a17dbd7b4a2b4fd2263a32c9c46be76aa7b0ff1
DIST ink-047055e64ec01205365d0b1357bc2b00c547eb93.patch 2348 BLAKE2B 82578bb5a4ea22e4da0ea4974d3c1f71815c49a46aebed91c39c7edd0f18dd0b230321fcdd5191063aa6291f337a4e2afc870ab53edf3da65c66514f387bb549 SHA512 24d842913f7c935200dcad6212b2ec8609d8df5c866c1f83da0ba67f86858ae2ae1bdb3d20429276145e39b00da5700ede4474278f736b98d940dc11f680745d
DIST ruy-587c2cf8b11d3c32fa26887063eda3171a3d353e.patch 684 BLAKE2B d00895efda90c4254ceb875e52d2959cb0d4c95cfc98775a02a6430f60f038c7da701316de40888e5f63ad907f087bff105d79ee9c9bd386bae5053de9517a64 SHA512 93c78353c0f3d50d4ebfcbf34b0b5d2c2bc3e1a38bc0e545d2e547010f540dbe2e0e284362810a554f58e300d3c770d35ec49ff87e565dc4b66537ac515109a5
DIST ungoogled-chromium-128.0.6613.113-1.tar.gz 1239105 BLAKE2B eb453516013b584e568919e21c5e113b1ca7314588e17138992b8c3db89c5343a782778132db2e11cfd96848778c0992e25bdfe1bd8a3fe8b28bd9c0218676de SHA512 da51962b53c2d257f8af37505073cc7b3bfcd4d99d44298345bd158256a82642cab4dbc29dde76eaaea094c3da186bf326d81a46713778be74d6865461417de4
DIST ungoogled-chromium-128.0.6613.119-1.tar.gz 1239747 BLAKE2B 8b6a9db5d0a2b1ae0226df2121580d89930f03bd93e9896ef10a940a4a14c278c4305dc2987fa97c0eac9a9a9dfccbb4c1603c0346716a6f45a5560d3c2bf76a SHA512 dafcb6713773db26e82ccd5b4ec68be759795647547f573d3e496509c94a3963ce0470888f0fa3016bad5a88f0b223be27ca19b3dad9e09cb787232a68818015
Expand All @@ -51,3 +55,4 @@ DIST ungoogled-chromium-130.0.6723.116-1.tar.gz 1247229 BLAKE2B eaf49861d5a58854
DIST ungoogled-chromium-130.0.6723.58-1.tar.gz 1246248 BLAKE2B 709009804e57ba4b9e297f56e227bdf5e8c7c16a198a371ccf47a1e74952b59bea4969a39d7379923815891a862a63dda860984c0b93fe00cab964c678016573 SHA512 933e2e96e7164c841f0ded1acabbb97d66ba14d55bde2b608b8402ed4fd169aadb678ce807c1ce28a07d55fd27c152455d9e1b252fedd29d956f50dc9b83e09f
DIST ungoogled-chromium-3a44f4d87c58e2e1ee53e5ad3a7fdf1f057c2d86.tar.gz 1243070 BLAKE2B de3bf9c940eaa6db81aeb2c02c1008669609a6045f49784f1c4016c3012c4463bb53c81f5bbd802925380b16a7c4c95573dc5916e65bfe0c3861e6e9ce348f40 SHA512 afa6a74b792fb98ada3332e695f47684ce3f75a36b0207ce8d508fd9fcad04e4f0f9a0abd967965126330bcec1d0226d65a748b72394d464a3c6adfdc15323c0
DIST ungoogled-chromium-fa1a8c4816e3c633e4068877b847cc0780400eaa.tar.gz 1252151 BLAKE2B 6530f52c6368ba4e687f937053b427a46ad41f52b9f0ef59e35ea000cab5a8c8e4356d5ed12ee904313ae0b76f6d6f9c8aff9aa0da70adbb65c64aa4b7ad9d59 SHA512 3ba045be19532022f3079a3c35654f9dc5112fb90e20dd1dd9457e116585993bbf0fbab3a548f726424291aebd9340c051439eaca6f830a7bfd1cc0fe3d7dda2
DIST webrtc-36e597995147c021798182a5ebe1681f11f730fd.patch 1559 BLAKE2B 7639fab0eb2d7ccd81f5c93cb5f06489238c006e306e7fd6efabbd618c57006235447157e4e145a466ae7c5d2a01c63e930568c5f7cbdeb9b86b81b16b1ecbff SHA512 4926e2811e22e8a8ca61efb928b9d22e932d57b86db3940b3fa1406b550d8d0c942073e230e5f078d5f817639672eadb2d051ee63a7329aa3cdb890880deed5c
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
From 403ee5b14df12c8ee3b3583177bbd30d930e9aaf Mon Sep 17 00:00:00 2001
From: Matt Jolly <[email protected]>
Date: Sat, 12 Oct 2024 13:45:37 +1000
Subject: [PATCH] Convert 'Const AtomicString' to 'const char *'.

I don't know why this is suddenly required?
--- a/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc
+++ b/third_party/blink/renderer/platform/wtf/text/text_codec_icu.cc
@@ -323,7 +323,10 @@ void TextCodecICU::CreateICUConverter() const {
DCHECK(!converter_icu_);

#if defined(USING_SYSTEM_ICU)
- const char* name = encoding_.GetName();
+ //convert to WTF::String to use existing `const char *` dependent functions
+ WTF::String nameString = encoding_.GetName();
+ std::string nameUtf8 = nameString.Utf8();
+ const char* name = nameUtf8.c_str();
needs_gbk_fallbacks_ =
name[0] == 'G' && name[1] == 'B' && name[2] == 'K' && !name[3];
#endif
@@ -448,7 +451,10 @@ String TextCodecICU::Decode(base::span<const uint8_t> data,
// <http://bugs.webkit.org/show_bug.cgi?id=17014>
// Simplified Chinese pages use the code A3A0 to mean "full-width space", but
// ICU decodes it as U+E5E5.
- if (!strcmp(encoding_.GetName(), "GBK")) {
+ // Convert AtomicString to String
+ WTF::String nameString = encoding_.GetName();
+ std::string nameUtf8 = nameString.Utf8();
+ if (!strcmp(nameUtf8.c_str(), "GBK")) {
if (EqualIgnoringASCIICase(encoding_.GetName(), "gb18030"))
resultString.Replace(0xE5E5, kIdeographicSpaceCharacter);
// Make GBK compliant to the encoding spec and align with GB18030
--
2.46.2

Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
--- a/third_party/webrtc/rtc_base/ssl_stream_adapter.h
+++ b/third_party/webrtc/rtc_base/ssl_stream_adapter.h
@@ -15,6 +15,7 @@
#include <stdint.h>

#include <memory>
+#include <optional>
#include <string>
#include <vector>

--- a/third_party/webrtc/rtc_base/openssl_stream_adapter.h
+++ b/third_party/webrtc/rtc_base/openssl_stream_adapter.h
@@ -102,7 +102,7 @@
void Close() override;
StreamState GetState() const override;

- std::optional<absl::string_view> GetTlsCipherSuiteName() const override;
+ std::optional<absl::string_view> GetTlsCipherSuiteName() const;

bool GetSslCipherSuite(int* cipher) const override;
[[deprecated("Use GetSslVersionBytes")]] SSLProtocolVersion GetSslVersion()
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,12 @@ CROMITE_COMMIT_ID="5ae31e6b965f3f62c1ad886b5c843921baeedaea"
declare -A CHROMIUM_COMMITS=(
["587c2cf8b11d3c32fa26887063eda3171a3d353e"]="third_party/ruy/src"
["3ff08caa35db539fcc3dded353ec03c9f6a6efe7"]="third_party/dawn"
["36e597995147c021798182a5ebe1681f11f730fd"]="third_party/webrtc"
["047055e64ec01205365d0b1357bc2b00c547eb93"]="third_party/ink/src"
["-84fcdd0620a72aa73ea521c682fb246067f2c14d"]="."
["33af9dc7d2801995990d1bb36ef1d98e3f80ca18"]="." #132+
["8fa8d8f68f5bf71e70038994276e0225f006eb73"]="." #132+
["1f9a4db9f8f0d8b1561a6e264d2d88f064f19fbc"]="." #132+
)

UGC_PV="${PV/_p/-}"
Expand Down Expand Up @@ -107,6 +112,9 @@ if [ ! -z "${CHROMIUM_COMMITS[*]}" ]; then
elif [[ ${CHROMIUM_COMMITS[$i]} =~ dawn ]]; then
SRC_URI+="https://github.com/google/dawn/commit/${i/-}.patch?full_index=true -> dawn-${i/-}.patch
"
elif [[ ${CHROMIUM_COMMITS[$i]} =~ ink ]]; then
SRC_URI+="https://github.com/google/ink/commit/${i/-}.patch?full_index=true -> ink-${i/-}.patch
"
elif [[ ${CHROMIUM_COMMITS[$i]} =~ vulkan-utility-libraries ]]; then
SRC_URI+="https://github.com/KhronosGroup/Vulkan-Utility-Libraries/commit/${i/-}.patch?full_index=true -> vulkan-utility-libraries-${i/-}.patch
"
Expand Down Expand Up @@ -464,6 +472,7 @@ src_prepare() {
"${FILESDIR}/chromium-111-InkDropHost-crash.patch"
"${FILESDIR}/chromium-131-unbundle-icu-target.patch"
"${FILESDIR}/chromium-131-oauth2-client-switches.patch"
"${FILESDIR}/chromium-131-const-atomicstring-conversion.patch"
"${FILESDIR}/chromium-125-cloud_authenticator.patch"
"${FILESDIR}/chromium-123-qrcode.patch"
"${FILESDIR}/perfetto-system-zlib.patch"
Expand All @@ -475,6 +484,7 @@ src_prepare() {
"${FILESDIR}/chromium-129-no-link-builtins.patch"
"${FILESDIR}/restore-x86-r2.patch"
"${FILESDIR}/chromium-127-separate-qt56.patch"
"${FILESDIR}/chromium-131-webrtc-fixes.patch"
)

shopt -s globstar nullglob
Expand Down Expand Up @@ -536,6 +546,8 @@ src_prepare() {
patch_prefix="quiche"
elif [[ ${CHROMIUM_COMMITS[$i]} =~ dawn ]]; then
patch_prefix="dawn"
elif [[ ${CHROMIUM_COMMITS[$i]} =~ ink ]]; then
patch_prefix="ink"
elif [[ ${CHROMIUM_COMMITS[$i]} =~ vulkan-utility-libraries ]]; then
patch_prefix="vulkan-utility-libraries"
elif [[ ${CHROMIUM_COMMITS[$i]} =~ ruy ]]; then
Expand Down

0 comments on commit 3381bfd

Please sign in to comment.