public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Than Ngo <than@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/chromium] f45: Merge branch 'rawhide' into f45
Date: Sun, 22 Nov 2026 22:08:23 GMT [thread overview]
Message-ID: <179538530326.1.4475652155692975565.rpms-chromium-6f958d5fdd56@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/chromium
Branch : f45
Commit : 6f958d5fdd5663aa9447af603c0cb0933c5da5a1
Author : Than Ngo <than@redhat.com>
Date : 2026-11-22T23:08:03+01:00
Stats : +626/-1817 in 20 file(s)
URL : https://src.fedoraproject.org/rpms/chromium/c/6f958d5fdd5663aa9447af603c0cb0933c5da5a1?branch=f45
Log:
Merge branch 'rawhide' into f45
---
diff --git a/.gitignore b/.gitignore
index 576186e..6ea3f44 100644
--- a/.gitignore
+++ b/.gitignore
@@ -52,3 +52,8 @@
/linux-x64-0.28.2.tgz
/TypeScript-7.0.2.tar.gz
/TypeScript-7.0.2-vendor-archive.tar.gz
+/ninja-1.13.2.tar.gz
+/rustc-1.100.0-src.tar.xz
+/rustc-1.98.0-src.tar.xz
+/rustc-1.99.1-src.tar.xz
+/crubit.tar.xz
diff --git a/0001-Implement-support-for-PPC64-on-Linux.patch b/0001-Implement-support-for-PPC64-on-Linux.patch
index 4862a0f..ecc0dab 100644
--- a/0001-Implement-support-for-PPC64-on-Linux.patch
+++ b/0001-Implement-support-for-PPC64-on-Linux.patch
@@ -39,21 +39,22 @@ This patch implements support for the PPC64 architecture on Linux hosts.
util/misc/capture_context_test.cc | 3 +-
util/misc/capture_context_test_util_linux.cc | 6 +
36 files changed, 932 insertions(+), 12 deletions(-)
+--
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/CONTRIBUTORS
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/CONTRIBUTORS
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/CONTRIBUTORS
+refresh the patch for chromium 158
+
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/CONTRIBUTORS 2026-11-20 14:23:23.205989409 +0100
@@ -13,3 +13,5 @@ Mark Mentovai <mark@chromium.org>
Robert Sesek <rsesek@chromium.org>
Scott Graham <scottmg@chromium.org>
Joshua Peraza <jperaza@chromium.org>
+Shawn Anastasio <sanastasio@raptorengineering.com>
+Timothy Pearson <tpearson@raptorengineering.com>
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context.h 2026-11-20 14:23:23.206315195 +0100
@@ -686,6 +686,70 @@ struct MinidumpContextRISCV64 {
uint32_t fcsr;
};
@@ -125,10 +126,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_H_
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.cc 2026-11-20 14:23:23.206628912 +0100
@@ -110,6 +110,13 @@ MinidumpContextWriter::CreateFromSnapsho
break;
}
@@ -192,10 +192,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
+}
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer.h 2026-11-20 14:23:23.206878844 +0100
@@ -413,6 +413,49 @@ class MinidumpContextRISCV64Writer final
MinidumpContextRISCV64 context_;
};
@@ -246,10 +245,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace crashpad
#endif // CRASHPAD_MINIDUMP_MINIDUMP_CONTEXT_WRITER_H_
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_context_writer_test.cc 2026-11-20 14:23:23.207100420 +0100
@@ -322,6 +322,21 @@ TYPED_TEST(MinidumpContextWriter, RISCV6
TypeParam>(context, ExpectMinidumpContextRISCV64, kSeed);
}
@@ -272,10 +270,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_co
} // namespace
} // namespace test
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/minidump_misc_info_writer.cc 2026-11-20 14:23:23.207367746 +0100
@@ -177,6 +177,8 @@ std::string MinidumpMiscInfoDebugBuildSt
static constexpr char kCPU[] = "mips64";
#elif defined(ARCH_CPU_RISCV64)
@@ -285,10 +282,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/minidump_mi
#else
#error define kCPU for this CPU
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.cc 2026-11-20 14:23:23.207629241 +0100
@@ -297,6 +297,40 @@ void InitializeMinidumpContextRISCV64(Mi
context->fcsr = value++;
}
@@ -369,10 +365,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidu
+
} // namespace test
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/minidump/test/minidump_context_test_util.h 2026-11-20 14:23:23.207900933 +0100
@@ -90,6 +90,9 @@ void ExpectMinidumpContextMIPS64(uint32_
void ExpectMinidumpContextRISCV64(uint32_t expect_seed,
const MinidumpContextRISCV64* observed,
@@ -383,10 +378,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/minidump/test/minidu
//! \}
} // namespace test
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_memory.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/capture_memory.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/capture_memory.cc 2026-11-20 14:23:23.208127783 +0100
@@ -123,6 +123,11 @@ void CaptureMemory::PointedToByContext(c
for (size_t i = 0; i < std::size(context.riscv64->regs); ++i) {
MaybeCaptureMemoryAround(delegate, context.riscv64->regs[i]);
@@ -399,10 +393,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/capture_mem
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_architecture.h 2026-11-20 14:23:23.208226500 +0100
@@ -47,6 +47,9 @@ enum CPUArchitecture {
//! \brief 64-bit RISC-V.
@@ -413,10 +406,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_archite
};
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_context.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.cc 2026-11-20 14:23:23.208435588 +0100
@@ -173,6 +173,8 @@ uint64_t CPUContext::InstructionPointer(
return arm64->pc;
case kCPUArchitectureRISCV64:
@@ -443,10 +435,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context
case kCPUArchitectureRISCV64:
return true;
case kCPUArchitectureX86:
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/cpu_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/cpu_context.h 2026-11-20 14:23:23.208693121 +0100
@@ -371,6 +371,24 @@ struct CPUContextRISCV64 {
uint32_t fcsr;
};
@@ -480,10 +471,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/cpu_context
};
};
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/cpu_context_linux.h 2026-11-20 14:23:23.208993710 +0100
@@ -15,6 +15,7 @@
#ifndef CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
#define CRASHPAD_SNAPSHOT_LINUX_CPU_CONTEXT_LINUX_H_
@@ -571,10 +561,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/cpu_c
} // namespace internal
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/debug_rendezvous_test.cc 2026-11-20 14:23:23.209311812 +0100
@@ -194,12 +194,15 @@ void TestAgainstTarget(PtraceConnection*
device == 0 && inode == 0 && mapping_name == "[vdso]";
#if defined(ARCH_CPU_X86)
@@ -592,10 +581,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/debug
},
module_mapping->name,
module_mapping->device,
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.cc 2026-11-20 14:23:23.209611977 +0100
@@ -367,6 +367,69 @@ bool ExceptionSnapshotLinux::ReadContext
return internal::ReadContext(reader, context_address, context_.riscv64);
}
@@ -666,10 +654,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/excep
#endif // ARCH_CPU_X86_FAMILY
bool ExceptionSnapshotLinux::Initialize(
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux.h 2026-11-20 14:23:23.209731264 +0100
@@ -94,6 +94,8 @@ class ExceptionSnapshotLinux final : pub
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
@@ -679,10 +666,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/excep
#endif
} context_union_;
CPUContext context_;
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/exception_snapshot_linux_test.cc 2026-11-20 14:23:23.210007349 +0100
@@ -326,7 +326,28 @@ void ExpectContext(const CPUContext& act
sizeof(actual.riscv64->fpregs)),
0);
@@ -712,10 +698,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/excep
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/process_reader_linux.cc 2026-11-20 14:23:23.210291306 +0100
@@ -129,6 +129,8 @@ void ProcessReaderLinux::Thread::Initial
: thread_info.thread_context.t32.regs[29];
#elif defined(ARCH_CPU_RISCV64)
@@ -725,10 +710,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/proce
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/signal_context.h 2026-11-20 14:23:23.210567279 +0100
@@ -456,6 +456,89 @@ static_assert(offsetof(UContext<ContextT
offsetof(ucontext_t, uc_mcontext.__fpregs),
"context offset mismatch");
@@ -819,10 +803,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/signa
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/system_snapshot_linux.cc 2026-11-20 14:23:23.210867333 +0100
@@ -229,6 +229,8 @@ CPUArchitecture SystemSnapshotLinux::Get
: kCPUArchitectureMIPSEL;
#elif defined(ARCH_CPU_RISCV64)
@@ -862,10 +845,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/syste
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.cc 2026-11-20 14:23:23.211361012 +0100
@@ -196,6 +196,14 @@ bool ThreadSnapshotLinux::Initialize(
InitializeCPUContextRISCV64(thread.thread_info.thread_context.t64,
thread.thread_info.float_context.f64,
@@ -881,10 +863,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/threa
#else
#error Port.
#endif
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/linux/thread_snapshot_linux.h 2026-11-20 14:23:23.211589032 +0100
@@ -79,6 +79,8 @@ class ThreadSnapshotLinux final : public
CPUContextMIPS64 mips64;
#elif defined(ARCH_CPU_RISCV64)
@@ -894,10 +875,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/linux/threa
#else
#error Port.
#endif // ARCH_CPU_X86_FAMILY
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.cc 2026-11-20 14:23:23.211939112 +0100
@@ -317,5 +317,38 @@ void InitializeCPUContextRISCV64(CPUCont
riscv64->fcsr = value++;
}
@@ -937,10 +917,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_c
+
} // namespace test
} // namespace crashpad
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/snapshot/test/test_cpu_context.h 2026-11-20 14:23:23.212140933 +0100
@@ -64,6 +64,7 @@ void InitializeCPUContextARM64(CPUContex
void InitializeCPUContextMIPS(CPUContext* context, uint32_t seed);
void InitializeCPUContextMIPS64(CPUContext* context, uint32_t seed);
@@ -949,10 +928,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/snapshot/test/test_c
//! \}
} // namespace test
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/test/linux/get_tls.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/test/linux/get_tls.cc 2026-11-20 14:23:23.212317941 +0100
@@ -51,6 +51,8 @@ LinuxVMAddress GetTLS() {
: "$3");
#elif defined(ARCH_CPU_RISCV64)
@@ -962,10 +940,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/linux/get_tls.c
#else
#error Port.
#endif // ARCH_CPU_ARMEL
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_posix.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/test/multiprocess_posix.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/test/multiprocess_posix.cc 2026-11-20 14:23:23.212666643 +0100
@@ -162,7 +162,8 @@ void Multiprocess::SetExpectedChildTermi
}
@@ -976,10 +953,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/test/multiprocess_po
SetExpectedChildTermination(kTerminationSignal, SIGTRAP);
#else
SetExpectedChildTermination(kTerminationSignal, SIGILL);
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/auxiliary_vector.cc 2026-11-20 14:23:23.212958140 +0100
@@ -56,6 +56,11 @@ bool AuxiliaryVector::Read(PtraceConnect
if (type == AT_IGNORE) {
continue;
@@ -992,10 +968,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/auxiliary
if (!MapInsertOrReplace(&values_, type, value, nullptr)) {
LOG(ERROR) << "duplicate auxv entry";
return false;
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/ptracer.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/ptracer.cc 2026-11-20 14:23:23.213366093 +0100
@@ -432,6 +432,64 @@ bool GetThreadArea64(pid_t tid,
return true;
}
@@ -1071,10 +1046,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/ptracer.c
GetThreadArea64(tid,
info->thread_context,
&info->thread_specific_data_address,
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_info.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/linux/thread_info.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_info.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/linux/thread_info.h 2026-11-20 14:23:23.213758281 +0100
@@ -34,6 +34,10 @@
#include <asm/ptrace.h>
#endif
@@ -1193,10 +1167,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/linux/thread_in
//! \brief The thread-local storage address for the thread.
LinuxVMAddress thread_specific_data_address;
};
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context.h
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context.h
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context.h
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context.h 2026-11-20 14:23:23.214009118 +0100
@@ -70,6 +70,7 @@ using NativeCPUContext = ucontext_t;
//! Linux | ARM/ARM64 | `r0`/`x0`
//! Linux | MIPS/MIPS64 | `$a0`
@@ -1205,10 +1178,9 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_co
//!
//! Additionally, the value `LR` on ARM/ARM64 will be the return address of
//! this function.
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_linux.S 2026-11-20 14:23:23.214441498 +0100
@@ -30,7 +30,7 @@
.globl CAPTURECONTEXT_SYMBOL2
#if defined(__i386__) || defined(__x86_64__)
@@ -1435,23 +1407,21 @@ Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_co
#elif defined(__riscv)
#define MCONTEXT_GREGS_OFFSET 176
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
-@@ -48,7 +48,7 @@ void TestCaptureContext() {
- uintptr_t pc = ProgramCounterFromContext(context_1);
-
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test.cc 2026-11-20 14:28:12.422187566 +0100
+@@ -53,7 +53,7 @@ void TestCaptureContext() {
+ // in the entry block and the first `CaptureContext()` call lands more than 128
+ // bytes into `TestCaptureContext()`.
#if !defined(ADDRESS_SANITIZER) && !defined(ARCH_CPU_MIPS_FAMILY) && \
-- !defined(MEMORY_SANITIZER)
-+ !defined(MEMORY_SANITIZER) && !defined(ARCH_CPU_PPC64_FAMILY)
+- !defined(MEMORY_SANITIZER) && \
++ !defined(MEMORY_SANITIZER) && !defined(ARCH_CPU_PPC64_FAMILY) \
+ !(defined(ARCH_CPU_ARM64) && !defined(NDEBUG))
// Sanitizers can cause enough code bloat that the “nearby” check would
// likely fail.
- const uintptr_t kReferencePC =
-Index: chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
-===================================================================
---- chromium-156.0.8078.35.orig/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
-+++ chromium-156.0.8078.35/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+diff -up chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc.0001-Implement-support-for-PPC64-on-Linux chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc
+--- chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc.0001-Implement-support-for-PPC64-on-Linux 2026-11-11 22:01:38.000000000 +0100
++++ chromium-158.0.8127.36/third_party/crashpad/crashpad/util/misc/capture_context_test_util_linux.cc 2026-11-20 14:23:23.215084547 +0100
@@ -39,6 +39,8 @@ void SanityCheckContext(const NativeCPUC
#elif defined(ARCH_CPU_RISCV64)
EXPECT_EQ(context.uc_mcontext.__gregs[10],
diff --git a/0002-Add-pregenerated-config-for-libaom-on-ppc64.patch b/0002-Add-pregenerated-config-for-libaom-on-ppc64.patch
new file mode 100644
index 0000000..e1072ba
--- /dev/null
+++ b/0002-Add-pregenerated-config-for-libaom-on-ppc64.patch
@@ -0,0 +1,18 @@
+diff -up chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h.me chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h
+--- chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h.me 2026-11-22 04:28:51.790140956 -0500
++++ chromium-158.0.8127.36/third_party/libaom/source/config/linux/ppc64/config/av1_rtcd.h 2026-11-22 04:29:47.348194521 -0500
+@@ -69,6 +69,14 @@ typedef struct CNN_MULTI_OUT CNN_MULTI_O
+ typedef void (*cfl_subsample_lbd_fn)(const uint8_t *input, int input_stride,
+ uint16_t *output_q3);
+
++void av1_calc_centroids_dim1_c(const int16_t *data, int16_t *centroids,
++ const uint8_t *indices, int n, int k);
++#define av1_calc_centroids_dim1 av1_calc_centroids_dim1_c
++
++void av1_calc_centroids_dim2_c(const int16_t *data, int16_t *centroids,
++ const uint8_t *indices, int n, int k);
++#define av1_calc_centroids_dim2 av1_calc_centroids_dim2_c
++
+ #if CONFIG_AV1_HIGHBITDEPTH
+ typedef void (*cfl_subsample_hbd_fn)(const uint16_t *input, int input_stride,
+ uint16_t *output_q3);
diff --git a/chromium-124-el8-arm64-memory_tagging.patch b/chromium-124-el8-arm64-memory_tagging.patch
deleted file mode 100644
index 3a3766a..0000000
--- a/chromium-124-el8-arm64-memory_tagging.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff -up chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni.me chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni
---- chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni.me 2024-04-18 15:12:34.007397489 +0200
-+++ chromium-124.0.6367.60/base/allocator/partition_allocator/partition_alloc.gni 2024-04-18 15:13:06.166051954 +0200
-@@ -32,8 +32,7 @@ if (is_nacl) {
- # Increases the size of the empty slot span ring.
- use_large_empty_slot_span_ring = is_mac
-
--has_memory_tagging =
-- current_cpu == "arm64" && is_clang && !is_asan && (is_linux || is_android)
-+has_memory_tagging = false
-
- declare_args() {
- # Causes all the allocations to be routed via allocator_shim.cc. Usually,
diff --git a/chromium-127-el8-ifunc-header.patch b/chromium-127-el8-ifunc-header.patch
deleted file mode 100644
index 985b118..0000000
--- a/chromium-127-el8-ifunc-header.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff -up chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h
---- chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h.me 2024-07-25 23:58:19.751616508 +0200
-+++ chromium-127.0.6533.72/base/allocator/partition_allocator/src/partition_alloc/aarch64_support.h 2024-07-26 00:01:46.391800969 +0200
-@@ -10,9 +10,11 @@
- #include "partition_alloc/build_config.h"
- #include "partition_alloc/partition_alloc_buildflags.h"
-
-+#if 0
- #if PA_BUILDFLAG(IS_ANDROID) || PA_BUILDFLAG(IS_LINUX)
- #define HAS_HW_CAPS
- #endif
-+#endif
-
- #if PA_BUILDFLAG(PA_ARCH_CPU_ARM64) && defined(HAS_HW_CAPS)
- #include <asm/hwcap.h>
diff --git a/chromium-132-el8-unsupport-rustc-flags.patch b/chromium-132-el8-unsupport-rustc-flags.patch
deleted file mode 100644
index 57d325e..0000000
--- a/chromium-132-el8-unsupport-rustc-flags.patch
+++ /dev/null
@@ -1,11 +0,0 @@
-diff -up chromium-132.0.6834.57/build/config/gcc/BUILD.gn.me chromium-132.0.6834.57/build/config/gcc/BUILD.gn
---- chromium-132.0.6834.57/build/config/gcc/BUILD.gn.me 2025-01-01 18:59:29.670002052 +0100
-+++ chromium-132.0.6834.57/build/config/gcc/BUILD.gn 2025-01-01 20:51:11.798696436 +0100
-@@ -32,7 +32,6 @@ declare_args() {
- # See http://gcc.gnu.org/wiki/Visibility
- config("symbol_visibility_hidden") {
- cflags = [ "-fvisibility=hidden" ]
-- rustflags = [ "-Zdefault-visibility=hidden" ]
-
- # Visibility attribute is not supported on AIX.
- if (current_os != "aix") {
diff --git a/chromium-133-workaround-system-ffmpeg-whitelist.patch b/chromium-133-workaround-system-ffmpeg-whitelist.patch
deleted file mode 100644
index d0e56f4..0000000
--- a/chromium-133-workaround-system-ffmpeg-whitelist.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-diff -up chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc
---- chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc.than 2025-02-13 11:59:31.035724118 +0100
-+++ chromium-133.0.6943.98/media/ffmpeg/ffmpeg_common.cc 2025-02-14 10:39:07.825746076 +0100
-@@ -76,6 +76,8 @@ const char* GetAllowedVideoDecoders() {
- void ApplyCodecContextSecuritySettings(AVCodecContext* codec_context) {
- // Future versions of ffmpeg may copy the allow list from the format
- // context.
-+ // Workaround for codec whitelist with system ffmpeg
-+#if 0
- if (!codec_context->codec_whitelist) {
- // Note: FFmpeg will try to free this string, so we must duplicate it.
- codec_context->codec_whitelist =
-@@ -83,6 +85,7 @@ void ApplyCodecContextSecuritySettings(A
- ? GetAllowedAudioDecoders()
- : GetAllowedVideoDecoders());
- }
-+#endif
-
- // Note: This is security sensitive. FFmpeg may not always continue safely
- // in the presence of errors. See https://crbug.com/379418979
-diff -up chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc
---- chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc.than 2025-02-14 10:14:13.360398193 +0100
-+++ chromium-133.0.6943.98/media/filters/ffmpeg_glue.cc 2025-02-14 10:36:46.762332912 +0100
-@@ -131,8 +131,10 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol
- // memory usage.
- //
- // Note: FFmpeg will try to free these strings, so we must duplicate them.
-+#if 0
- format_context_->codec_whitelist = av_strdup(GetAllowedAudioDecoders());
- format_context_->format_whitelist = av_strdup(GetAllowedDemuxers());
-+#endif
- }
-
- bool FFmpegGlue::OpenContext(bool is_local_file) {
diff --git a/chromium-134-el8-atk-compiler-error.patch b/chromium-134-el8-atk-compiler-error.patch
deleted file mode 100644
index c44d174..0000000
--- a/chromium-134-el8-atk-compiler-error.patch
+++ /dev/null
@@ -1,1067 +0,0 @@
-diff -up chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc.than chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc
---- chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/content/browser/accessibility/accessibility_auralinux_browsertest.cc 2025-02-17 17:13:30.971343965 +0100
-@@ -3,6 +3,7 @@
- // found in the LICENSE file.
-
- #include <atk/atk.h>
-+#include <dlfcn.h>
-
- #include <string>
- #include <vector>
-@@ -550,6 +551,10 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- g_object_unref(div_element);
- }
-
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 30, 0)
-+#define ATK_230
-+#endif
-+
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- TestCharacterExtentsWithInvalidArguments) {
- AtkText* atk_text = SetUpSampleParagraph();
-@@ -572,12 +577,14 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-
-+#ifdef ATK_230
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_PARENT);
- EXPECT_EQ(expect, x);
- EXPECT_EQ(expect, y);
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-+#endif // ATK_230
-
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_WINDOW);
-@@ -596,12 +603,14 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-
-+#ifdef ATK_230
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_PARENT);
- EXPECT_EQ(expect, x);
- EXPECT_EQ(expect, y);
- EXPECT_EQ(expect, width);
- EXPECT_EQ(expect, height);
-+#endif // ATK_230
-
- atk_text_get_character_extents(atk_text, invalid_offset, &x, &y, &width,
- &height, ATK_XY_WINDOW);
-@@ -616,7 +625,9 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AtkCoordType kCoordinateTypes[] = {
- ATK_XY_SCREEN,
- ATK_XY_WINDOW,
-+#ifdef ATK_230
- ATK_XY_PARENT,
-+#endif // ATK_230
- };
-
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
-@@ -875,6 +886,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- TestCharacterExtentsInScrollableInput();
- }
-
-+#if defined(ATK_230)
- typedef bool (*ScrollToPointFunc)(AtkComponent* component,
- AtkCoordType coords,
- gint x,
-@@ -884,6 +896,18 @@ typedef bool (*ScrollToFunc)(AtkComponen
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollToPoint) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToPointFunc scroll_to_point = reinterpret_cast<ScrollToPointFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to_point"));
-+ if (!scroll_to_point) {
-+ LOG(WARNING)
-+ << "Skipping AccessibilityAuraLinuxBrowserTest::TestScrollToPoint"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- LoadSampleParagraphInScrollableDocument();
- AtkText* atk_text = GetSampleParagraph();
- ASSERT_TRUE(ATK_IS_COMPONENT(atk_text));
-@@ -896,7 +920,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter location_changed_waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kLocationChanged);
-- atk_component_scroll_to_point(atk_component, ATK_XY_PARENT, 0, 0);
-+ scroll_to_point(atk_component, ATK_XY_PARENT, 0, 0);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
-
- atk_component_get_extents(atk_component, &x, &y, nullptr, nullptr,
-@@ -905,20 +929,20 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_GT(prev_y, y);
-
- constexpr int kScrollToY = 0;
-- atk_component_scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY);
-+ scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_component_get_extents(atk_component, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY, y);
-
- constexpr int kScrollToY_2 = 243;
-- atk_component_scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY_2);
-+ scroll_to_point(atk_component, ATK_XY_SCREEN, 0, kScrollToY_2);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_component_get_extents(atk_component, nullptr, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY_2, y);
-
-- atk_component_scroll_to_point(atk_component, ATK_XY_SCREEN, 0, 129);
-+ scroll_to_point(atk_component, ATK_XY_SCREEN, 0, 129);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_component_get_extents(atk_component, nullptr, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -935,6 +959,17 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollTo) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToFunc scroll_to = reinterpret_cast<ScrollToFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to"));
-+ if (!scroll_to) {
-+ LOG(WARNING) << "Skipping AccessibilityAuraLinuxBrowserTest::TestScrollTo"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- LoadInitialAccessibilityTreeFromHtml(
- R"HTML(<!DOCTYPE html>
- <html>
-@@ -976,8 +1011,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kScrollPositionChanged);
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- int x, y;
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
-@@ -985,40 +1019,35 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_BOTTOM_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_BOTTOM_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target), ATK_SCROLL_RIGHT_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target), ATK_SCROLL_RIGHT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_LEFT_EDGE));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_LEFT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target2), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(
-- atk_component_scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(scroll_to(ATK_COMPONENT(target2), ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_component_get_extents(ATK_COMPONENT(target2), &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -1050,10 +1079,39 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- g_object_unref(target2);
- g_object_unref(target3);
- }
-+#endif // defined(ATK_230)
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 32, 0)
-+typedef gboolean (*ScrollSubstringToFunc)(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkScrollType type);
-+ScrollSubstringToFunc g_scroll_substring_to = nullptr;
-+
-+NO_SANITIZE("cfi-icall")
-+gboolean ScrollSubstringTo(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkScrollType type) {
-+ EXPECT_NE(g_scroll_substring_to, nullptr);
-+ return g_scroll_substring_to(text, start_offset, end_offset, type);
-+}
-
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollSubstringTo) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.32 instead of linking directly.
-+ g_scroll_substring_to = reinterpret_cast<ScrollSubstringToFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_text_scroll_substring_to"));
-+ if (!g_scroll_substring_to) {
-+ LOG(WARNING) << "Skipping "
-+ "AccessibilityAuraLinuxBrowserTest::TestSubstringScrollTo"
-+ " because ATK version < 2.32 detected.";
-+ return;
-+ }
-+
- LoadInitialAccessibilityTreeFromHtml(
- R"HTML(<!DOCTYPE html>
- <html>
-@@ -1087,8 +1145,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kScrollPositionChanged);
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_TOP_EDGE));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_TOP_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- int x, y;
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
-@@ -1096,40 +1153,37 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_EQ(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_BOTTOM_EDGE));
-+ ASSERT_TRUE(
-+ ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_BOTTOM_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_RIGHT_EDGE));
-+ ASSERT_TRUE(
-+ ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_RIGHT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_NE(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_LEFT_EDGE));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_LEFT_EDGE));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_NE(y, doc_y);
- EXPECT_EQ(x, doc_x);
-
-- ASSERT_TRUE(atk_text_scroll_substring_to(ATK_TEXT(target1), 1, 2,
-- ATK_SCROLL_TOP_LEFT));
-+ ASSERT_TRUE(ScrollSubstringTo(ATK_TEXT(target1), 1, 2, ATK_SCROLL_TOP_LEFT));
- ASSERT_TRUE(waiter.WaitForNotification());
- atk_text_get_character_extents(ATK_TEXT(target1), 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -1139,9 +1193,42 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- g_object_unref(target1);
- }
-
-+typedef gboolean (*ScrollSubstringToPointFunc)(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkCoordType coord_type,
-+ gint x,
-+ gint y);
-+ScrollSubstringToPointFunc g_scroll_substring_to_point = nullptr;
-+
-+NO_SANITIZE("cfi-icall")
-+gboolean ScrollSubstringToPoint(AtkText* text,
-+ gint start_offset,
-+ gint end_offset,
-+ AtkCoordType coord_type,
-+ gint x,
-+ gint y) {
-+ EXPECT_NE(g_scroll_substring_to_point, nullptr);
-+ return g_scroll_substring_to_point(text, start_offset, end_offset, coord_type,
-+ x, y);
-+}
-+
- // TODO(crbug.com/40866728): Enable this test.
- IN_PROC_BROWSER_TEST_F(AccessibilityAuraLinuxBrowserTest,
- DISABLED_TestScrollSubstringToPoint) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ g_scroll_substring_to_point = reinterpret_cast<ScrollSubstringToPointFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_text_scroll_substring_to_point"));
-+ if (!g_scroll_substring_to_point) {
-+ LOG(WARNING)
-+ << "Skipping "
-+ "AccessibilityAuraLinuxBrowserTest::TestScrollSubstringToPoint"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- LoadSampleParagraphInScrollableDocument();
- AtkText* atk_text = GetSampleParagraph();
- ASSERT_TRUE(ATK_IS_COMPONENT(atk_text));
-@@ -1154,7 +1241,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- AccessibilityNotificationWaiter location_changed_waiter(
- shell()->web_contents(), ui::kAXModeComplete,
- ax::mojom::Event::kLocationChanged);
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_PARENT, 0, 0);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_PARENT, 0, 0);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
-
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
-@@ -1163,22 +1250,20 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
- EXPECT_GT(prev_y, y);
-
- constexpr int kScrollToY = 0;
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_SCREEN, 0,
-- kScrollToY);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_SCREEN, 0, kScrollToY);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY, y);
-
- constexpr int kScrollToY_2 = 243;
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_SCREEN, 0,
-- kScrollToY_2);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_SCREEN, 0, kScrollToY_2);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
- EXPECT_EQ(kScrollToY_2, y);
-
-- atk_text_scroll_substring_to_point(atk_text, 1, 2, ATK_XY_SCREEN, 0, 129);
-+ ScrollSubstringToPoint(atk_text, 1, 2, ATK_XY_SCREEN, 0, 129);
- ASSERT_TRUE(location_changed_waiter.WaitForNotification());
- atk_text_get_character_extents(atk_text, 1, &x, &y, nullptr, nullptr,
- ATK_XY_SCREEN);
-@@ -1194,6 +1279,7 @@ IN_PROC_BROWSER_TEST_F(AccessibilityAura
-
- g_object_unref(atk_text);
- }
-+#endif // defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 32, 0)
-
- #if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
- // Flaky on crbug.com/1026149
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc.than chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc
---- chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.cc 2025-02-17 17:13:30.972343990 +0100
-@@ -48,14 +48,33 @@
- #include "ui/accessibility/platform/child_iterator.h"
- #include "ui/gfx/geometry/rect_conversions.h"
-
--// Function availability can be tested by checking whether its address is not
--// nullptr.
--#define WEAK_ATK_FN(x) extern "C" __attribute__((weak)) decltype(x) x
--
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
--WEAK_ATK_FN(atk_component_scroll_to_point);
--WEAK_ATK_FN(atk_text_scroll_substring_to_point);
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 10, 0)
-+#define ATK_210
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 12, 0)
-+#define ATK_212
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 16, 0)
-+#define ATK_216
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 26, 0)
-+#define ATK_226
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 30, 0)
-+#define ATK_230
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 32, 0)
-+#define ATK_232
-+#endif
-+
-+#if defined(ATK_CHECK_VERSION) && ATK_CHECK_VERSION(2, 34, 0)
-+#define ATK_234
-+#endif
-
- namespace ui {
-
-@@ -147,11 +166,29 @@ AtkObject* g_active_top_level_frame = nu
-
- AtkObject* g_active_views_dialog = nullptr;
-
-+#if defined(ATK_216)
- constexpr AtkRole kStaticRole = ATK_ROLE_STATIC;
- constexpr AtkRole kSubscriptRole = ATK_ROLE_SUBSCRIPT;
- constexpr AtkRole kSuperscriptRole = ATK_ROLE_SUPERSCRIPT;
-+#else
-+constexpr AtkRole kStaticRole = ATK_ROLE_TEXT;
-+constexpr AtkRole kSubscriptRole = ATK_ROLE_TEXT;
-+constexpr AtkRole kSuperscriptRole = ATK_ROLE_TEXT;
-+#endif
-
-+#if defined(ATK_226)
- constexpr AtkRole kAtkFootnoteRole = ATK_ROLE_FOOTNOTE;
-+#else
-+constexpr AtkRole kAtkFootnoteRole = ATK_ROLE_LIST_ITEM;
-+#endif
-+
-+#if defined(ATK_234)
-+constexpr AtkRole kAtkRoleContentDeletion = ATK_ROLE_CONTENT_DELETION;
-+constexpr AtkRole kAtkRoleContentInsertion = ATK_ROLE_CONTENT_INSERTION;
-+#else
-+constexpr AtkRole kAtkRoleContentDeletion = ATK_ROLE_SECTION;
-+constexpr AtkRole kAtkRoleContentInsertion = ATK_ROLE_SECTION;
-+#endif
-
- using GetTypeFunc = GType (*)();
- using GetColumnHeaderCellsFunc = GPtrArray* (*)(AtkTableCell* cell);
-@@ -162,6 +199,11 @@ using GetRowColumnSpanFunc = bool (*)(At
- gint* row_span,
- gint* col_span);
-
-+static GetTypeFunc g_atk_table_cell_get_type;
-+static GetColumnHeaderCellsFunc g_atk_table_cell_get_column_header_cells;
-+static GetRowHeaderCellsFunc g_atk_table_cell_get_row_header_cells;
-+static GetRowColumnSpanFunc g_atk_table_cell_get_row_column_span;
-+
- // The ATK API often requires pointers to be used as out arguments, while
- // allowing for those pointers to be null if the caller is not interested in
- // the value. This function is a simpler helper to avoid continually checking
-@@ -171,35 +213,17 @@ void SetIntPointerValueIfNotNull(int* po
- *pointer = value;
- }
-
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
-+#if defined(ATK_230)
- bool SupportsAtkComponentScrollingInterface() {
-- return atk_component_scroll_to_point;
-+ return dlsym(RTLD_DEFAULT, "atk_component_scroll_to_point");
- }
-+#endif
-
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
-+#if defined(ATK_232)
- bool SupportsAtkTextScrollingInterface() {
-- return atk_text_scroll_substring_to_point;
--}
--
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
--AtkRole GetAtkRoleContentDeletion() {
-- base::Version atk_version(atk_get_version());
-- return atk_version.CompareTo(base::Version("2.34.0")) >= 0
-- ? ATK_ROLE_CONTENT_DELETION
-- : ATK_ROLE_SECTION;
--}
--
--// TODO(https://crbug.com/40549424): This may be removed when support for
--// Ubuntu 18.04 is dropped.
--AtkRole GetAtkRoleContentInsertion() {
-- base::Version atk_version(atk_get_version());
-- return atk_version.CompareTo(base::Version("2.34.0")) >= 0
-- ? ATK_ROLE_CONTENT_INSERTION
-- : ATK_ROLE_SECTION;
-+ return dlsym(RTLD_DEFAULT, "atk_text_scroll_substring_to_point");
- }
-+#endif
-
- AtkObject* FindAtkObjectParentFrame(AtkObject* atk_object) {
- AXPlatformNodeAuraLinux* node =
-@@ -298,10 +322,12 @@ AXCoordinateSystem AtkCoordTypeToAXCoord
- return AXCoordinateSystem::kScreenDIPs;
- case ATK_XY_WINDOW:
- return AXCoordinateSystem::kRootFrame;
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- // AXCoordinateSystem does not support parent coordinates.
- NOTIMPLEMENTED();
- return AXCoordinateSystem::kFrame;
-+#endif
- default:
- return AXCoordinateSystem::kScreenDIPs;
- }
-@@ -514,6 +540,7 @@ gboolean GrabFocus(AtkComponent* atk_com
- return obj->GrabFocus();
- }
-
-+#if defined(ATK_230)
- gboolean ScrollTo(AtkComponent* atk_component, AtkScrollType scroll_type) {
- g_return_val_if_fail(ATK_IS_COMPONENT(atk_component), FALSE);
-
-@@ -540,6 +567,7 @@ gboolean ScrollToPoint(AtkComponent* atk
- obj->ScrollToPoint(atk_coord_type, x, y);
- return TRUE;
- }
-+#endif
-
- void Init(AtkComponentIface* iface) {
- iface->get_extents = GetExtents;
-@@ -547,10 +575,12 @@ void Init(AtkComponentIface* iface) {
- iface->get_size = GetSize;
- iface->ref_accessible_at_point = RefAccesibleAtPoint;
- iface->grab_focus = GrabFocus;
-+#if defined(ATK_230)
- if (SupportsAtkComponentScrollingInterface()) {
- iface->scroll_to = ScrollTo;
- iface->scroll_to_point = ScrollToPoint;
- }
-+#endif
- }
-
- const GInterfaceInfo Info = {reinterpret_cast<GInterfaceInitFunc>(Init),
-@@ -1311,6 +1341,7 @@ gboolean AddSelection(AtkText* atk_text,
- return SetSelection(atk_text, 0, start_offset, end_offset);
- }
-
-+#if defined(ATK_210)
- char* GetStringAtOffset(AtkText* atk_text,
- int offset,
- AtkTextGranularity atk_granularity,
-@@ -1325,7 +1356,9 @@ char* GetStringAtOffset(AtkText* atk_tex
- return GetTextWithBoundaryType(atk_text, offset, boundary, start_offset,
- end_offset);
- }
-+#endif
-
-+#if defined(ATK_230)
- gfx::Rect GetUnclippedParentHypertextRangeBoundsRect(
- AXPlatformNodeDelegate* ax_platform_node_delegate,
- const int start_offset,
-@@ -1349,6 +1382,7 @@ gfx::Rect GetUnclippedParentHypertextRan
- AXClippingBehavior::kClipped)
- .OffsetFromOrigin();
- }
-+#endif
-
- void GetCharacterExtents(AtkText* atk_text,
- int offset,
-@@ -1364,10 +1398,12 @@ void GetCharacterExtents(AtkText* atk_te
- AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(atk_text));
- if (obj) {
- switch (coordinate_type) {
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- rect = GetUnclippedParentHypertextRangeBoundsRect(obj->GetDelegate(),
- offset, offset + 1);
- break;
-+#endif
- default:
- rect = obj->GetDelegate()->GetHypertextRangeBoundsRect(
- obj->UnicodeToUTF16OffsetInText(offset),
-@@ -1403,10 +1439,12 @@ void GetRangeExtents(AtkText* atk_text,
- AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(atk_text));
- if (obj) {
- switch (coordinate_type) {
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- rect = GetUnclippedParentHypertextRangeBoundsRect(
- obj->GetDelegate(), start_offset, end_offset);
- break;
-+#endif
- default:
- rect = obj->GetDelegate()->GetHypertextRangeBoundsRect(
- obj->UnicodeToUTF16OffsetInText(start_offset),
-@@ -1456,6 +1494,7 @@ AtkAttributeSet* GetDefaultAttributes(At
- return ToAtkAttributeSet(obj->GetDefaultTextAttributes());
- }
-
-+#if defined(ATK_232)
- gboolean ScrollSubstringTo(AtkText* atk_text,
- gint start_offset,
- gint end_offset,
-@@ -1486,6 +1525,7 @@ gboolean ScrollSubstringToPoint(AtkText*
- return obj->ScrollSubstringToPoint(start_offset, end_offset, atk_coord_type,
- x, y);
- }
-+#endif // ATK_232
-
- void Init(AtkTextIface* iface) {
- iface->get_text = GetText;
-@@ -1508,12 +1548,16 @@ void Init(AtkTextIface* iface) {
- iface->get_run_attributes = GetRunAttributes;
- iface->get_default_attributes = GetDefaultAttributes;
-
-+#if defined(ATK_210)
- iface->get_string_at_offset = GetStringAtOffset;
-+#endif
-
-+#if defined(ATK_232)
- if (SupportsAtkTextScrollingInterface()) {
- iface->scroll_substring_to = ScrollSubstringTo;
- iface->scroll_substring_to_point = ScrollSubstringToPoint;
- }
-+#endif
- }
-
- const GInterfaceInfo Info = {reinterpret_cast<GInterfaceInitFunc>(Init),
-@@ -1916,11 +1960,15 @@ const GInterfaceInfo Info = {reinterpret
-
- } // namespace atk_table
-
-+// The ATK table cell interface was added in ATK 2.12.
-+#if defined(ATK_212)
-+
- namespace atk_table_cell {
-
- gint GetColumnSpan(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), 0);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()), 0);
-
- if (const AXPlatformNodeBase* obj =
- AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
-@@ -1932,8 +1980,10 @@ gint GetColumnSpan(AtkTableCell* cell) {
- }
-
- GPtrArray* GetColumnHeaderCells(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), nullptr);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ nullptr);
-
- GPtrArray* array = g_ptr_array_new_with_free_func(g_object_unref);
-
-@@ -1967,8 +2017,10 @@ GPtrArray* GetColumnHeaderCells(AtkTable
- }
-
- gboolean GetCellPosition(AtkTableCell* cell, gint* row, gint* column) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), FALSE);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ FALSE);
-
- if (auto* obj = AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
- std::optional<int> row_index = obj->GetTableRow();
-@@ -1985,8 +2037,9 @@ gboolean GetCellPosition(AtkTableCell* c
- }
-
- gint GetRowSpan(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), 0);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()), 0);
-
- if (auto* obj = AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
- // If the object is not a cell, we return 0.
-@@ -1997,8 +2050,10 @@ gint GetRowSpan(AtkTableCell* cell) {
- }
-
- GPtrArray* GetRowHeaderCells(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), nullptr);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ nullptr);
-
- GPtrArray* array = g_ptr_array_new_with_free_func(g_object_unref);
-
-@@ -2032,8 +2087,10 @@ GPtrArray* GetRowHeaderCells(AtkTableCel
- }
-
- AtkObject* GetTable(AtkTableCell* cell) {
-+ DCHECK(g_atk_table_cell_get_type);
- g_return_val_if_fail(
-- G_TYPE_CHECK_INSTANCE_TYPE((cell), atk_table_cell_get_type()), nullptr);
-+ G_TYPE_CHECK_INSTANCE_TYPE((cell), AtkTableCellInterface::GetType()),
-+ nullptr);
-
- if (auto* obj = AXPlatformNodeAuraLinux::FromAtkObject(ATK_OBJECT(cell))) {
- if (auto* table = obj->GetTable())
-@@ -2059,6 +2116,8 @@ const GInterfaceInfo Info = {reinterpret
-
- } // namespace atk_table_cell
-
-+#endif // ATK_212
-+
- namespace atk_object {
-
- gpointer kAXPlatformNodeAuraLinuxParentClass = nullptr;
-@@ -2325,6 +2384,50 @@ void Detach(AXPlatformNodeAuraLinuxObjec
-
- } // namespace
-
-+// static
-+NO_SANITIZE("cfi-icall")
-+GType AtkTableCellInterface::GetType() {
-+ return g_atk_table_cell_get_type();
-+}
-+
-+// static
-+NO_SANITIZE("cfi-icall")
-+GPtrArray* AtkTableCellInterface::GetColumnHeaderCells(AtkTableCell* cell) {
-+ return g_atk_table_cell_get_column_header_cells(cell);
-+}
-+
-+// static
-+NO_SANITIZE("cfi-icall")
-+GPtrArray* AtkTableCellInterface::GetRowHeaderCells(AtkTableCell* cell) {
-+ return g_atk_table_cell_get_row_header_cells(cell);
-+}
-+
-+// static
-+NO_SANITIZE("cfi-icall")
-+bool AtkTableCellInterface::GetRowColumnSpan(AtkTableCell* cell,
-+ gint* row,
-+ gint* column,
-+ gint* row_span,
-+ gint* col_span) {
-+ return g_atk_table_cell_get_row_column_span(cell, row, column, row_span,
-+ col_span);
-+}
-+
-+// static
-+bool AtkTableCellInterface::Exists() {
-+ g_atk_table_cell_get_type = reinterpret_cast<GetTypeFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_type"));
-+ g_atk_table_cell_get_column_header_cells =
-+ reinterpret_cast<GetColumnHeaderCellsFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_column_header_cells"));
-+ g_atk_table_cell_get_row_header_cells =
-+ reinterpret_cast<GetRowHeaderCellsFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_row_header_cells"));
-+ g_atk_table_cell_get_row_column_span = reinterpret_cast<GetRowColumnSpanFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_table_cell_get_row_column_span"));
-+ return *g_atk_table_cell_get_type;
-+}
-+
- void AXPlatformNodeAuraLinux::EnsureGTypeInit() {
- #if !GLIB_CHECK_VERSION(2, 36, 0)
- static bool first_time = true;
-@@ -2432,8 +2535,11 @@ GType AXPlatformNodeAuraLinux::GetAccess
- g_type_add_interface_static(type, ATK_TYPE_TABLE, &atk_table::Info);
-
- if (interface_mask_.Implements(ImplementedAtkInterfaces::Value::kTableCell)) {
-- g_type_add_interface_static(type, atk_table_cell_get_type(),
-- &atk_table_cell::Info);
-+ // Run-time check to ensure AtkTableCell is supported (requires ATK 2.12).
-+ if (AtkTableCellInterface::Exists()) {
-+ g_type_add_interface_static(type, AtkTableCellInterface::GetType(),
-+ &atk_table_cell::Info);
-+ }
- }
-
- return type;
-@@ -2668,9 +2774,9 @@ AtkRole AXPlatformNodeAuraLinux::GetAtkR
- case ax::mojom::Role::kComplementary:
- return ATK_ROLE_LANDMARK;
- case ax::mojom::Role::kContentDeletion:
-- return GetAtkRoleContentDeletion();
-+ return kAtkRoleContentDeletion;
- case ax::mojom::Role::kContentInsertion:
-- return GetAtkRoleContentInsertion();
-+ return kAtkRoleContentInsertion;
- case ax::mojom::Role::kContentInfo:
- case ax::mojom::Role::kFooter:
- return ATK_ROLE_LANDMARK;
-@@ -3106,12 +3212,14 @@ void AXPlatformNodeAuraLinux::GetAtkStat
- static_cast<int32_t>(ax::mojom::AriaCurrentState::kFalse)) {
- atk_state_set_add_state(atk_state_set, ATK_STATE_ACTIVE);
- }
-+#if defined(ATK_216)
- // Runtime checks in case we were compiled with a newer version of ATK.
- if (IsPlatformCheckable() && PlatformSupportsState(ATK_STATE_CHECKABLE))
- atk_state_set_add_state(atk_state_set, ATK_STATE_CHECKABLE);
- if (HasIntAttribute(ax::mojom::IntAttribute::kHasPopup) &&
- PlatformSupportsState(ATK_STATE_HAS_POPUP))
- atk_state_set_add_state(atk_state_set, ATK_STATE_HAS_POPUP);
-+#endif
- if (GetBoolAttribute(ax::mojom::BoolAttribute::kBusy))
- atk_state_set_add_state(atk_state_set, ATK_STATE_BUSY);
- if (GetBoolAttribute(ax::mojom::BoolAttribute::kModal))
-@@ -3150,9 +3258,11 @@ void AXPlatformNodeAuraLinux::GetAtkStat
- if (GetData().GetRestriction() != ax::mojom::Restriction::kDisabled) {
- if (GetDelegate()->IsReadOnlySupported() &&
- GetDelegate()->IsReadOnlyOrDisabled()) {
-+#if defined(ATK_216)
- // Runtime check in case we were compiled with a newer version of ATK.
- if (PlatformSupportsState(ATK_STATE_READ_ONLY))
- atk_state_set_add_state(atk_state_set, ATK_STATE_READ_ONLY);
-+#endif
- } else {
- atk_state_set_add_state(atk_state_set, ATK_STATE_ENABLED);
- atk_state_set_add_state(atk_state_set, ATK_STATE_SENSITIVE);
-@@ -3186,12 +3296,16 @@ struct AtkIntListRelation {
- static AtkIntListRelation kIntListRelations[] = {
- {ax::mojom::IntListAttribute::kControlsIds, ATK_RELATION_CONTROLLER_FOR,
- ATK_RELATION_CONTROLLED_BY},
-+#if defined(ATK_226)
- {ax::mojom::IntListAttribute::kDetailsIds, ATK_RELATION_DETAILS,
- ATK_RELATION_DETAILS_FOR},
-+#endif
- {ax::mojom::IntListAttribute::kDescribedbyIds, ATK_RELATION_DESCRIBED_BY,
- ATK_RELATION_DESCRIPTION_FOR},
-+#if defined(ATK_226)
- {ax::mojom::IntListAttribute::kErrormessageIds, ATK_RELATION_ERROR_MESSAGE,
- ATK_RELATION_ERROR_FOR},
-+#endif
- {ax::mojom::IntListAttribute::kFlowtoIds, ATK_RELATION_FLOWS_TO,
- ATK_RELATION_FLOWS_FROM},
- {ax::mojom::IntListAttribute::kLabelledbyIds, ATK_RELATION_LABELLED_BY,
-@@ -3982,6 +4096,7 @@ void AXPlatformNodeAuraLinux::OnReadonly
- if (!obj)
- return;
-
-+#if defined(ATK_216)
- // Runtime check in case we were compiled with a newer version of ATK.
- if (!PlatformSupportsState(ATK_STATE_READ_ONLY))
- return;
-@@ -3989,6 +4104,7 @@ void AXPlatformNodeAuraLinux::OnReadonly
- atk_object_notify_state_change(
- obj, ATK_STATE_READ_ONLY,
- GetData().GetRestriction() == ax::mojom::Restriction::kReadOnly);
-+#endif
- }
-
- void AXPlatformNodeAuraLinux::OnInvalidStatusChanged() {
-@@ -4315,11 +4431,13 @@ gfx::Rect AXPlatformNodeAuraLinux::GetEx
- extents.Offset(window_origin);
- break;
- }
-+#if defined(ATK_230)
- case ATK_XY_PARENT: {
- gfx::Vector2d parent_origin = -GetParentOriginInScreenCoordinates();
- extents.Offset(parent_origin);
- break;
- }
-+#endif
- }
-
- return extents;
-@@ -4761,6 +4879,7 @@ bool AXPlatformNodeAuraLinux::IsInLiveRe
- return HasStringAttribute(ax::mojom::StringAttribute::kContainerLiveStatus);
- }
-
-+#if defined(ATK_230)
- void AXPlatformNodeAuraLinux::ScrollToPoint(AtkCoordType atk_coord_type,
- int x,
- int y) {
-@@ -4833,7 +4952,9 @@ void AXPlatformNodeAuraLinux::ScrollNode
- rect -= rect.OffsetFromOrigin();
- ScrollNodeRectIntoView(rect, atk_scroll_type);
- }
-+#endif // defined(ATK_230)
-
-+#if defined(ATK_232)
- std::optional<gfx::Rect>
- AXPlatformNodeAuraLinux::GetUnclippedHypertextRangeBoundsRect(int start_offset,
- int end_offset) {
-@@ -4892,6 +5013,7 @@ bool AXPlatformNodeAuraLinux::ScrollSubs
-
- return true;
- }
-+#endif // defined(ATK_232)
-
- void AXPlatformNodeAuraLinux::ComputeStylesIfNeeded() {
- if (!offset_to_text_attributes_.empty())
-@@ -5074,8 +5196,10 @@ gfx::Point AXPlatformNodeAuraLinux::Conv
- switch (atk_coord_type) {
- case ATK_XY_WINDOW:
- return point + GetParentFrameOriginInScreenCoordinates();
-+#if defined(ATK_230)
- case ATK_XY_PARENT:
- return point + GetParentOriginInScreenCoordinates();
-+#endif
- case ATK_XY_SCREEN:
- default:
- return point;
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h.than chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h
---- chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux.h 2025-02-17 17:13:30.973344015 +0100
-@@ -52,6 +52,31 @@ struct FindInPageResultInfo {
- }
- };
-
-+// AtkTableCell was introduced in ATK 2.12. Ubuntu Trusty has ATK 2.10.
-+// Compile-time checks are in place for ATK versions that are older than 2.12.
-+// However, we also need runtime checks in case the version we are building
-+// against is newer than the runtime version. To prevent a runtime error, we
-+// check that we have a version of ATK that supports AtkTableCell. If we do,
-+// we dynamically load the symbol; if we don't, the interface is absent from
-+// the accessible object and its methods will not be exposed or callable.
-+// The definitions below ensure we have no missing symbols. Note that in
-+// environments where we have ATK > 2.12, the definitions of AtkTableCell and
-+// AtkTableCellIface below are overridden by the runtime version.
-+// TODO(accessibility) Remove AtkTableCellInterface when 2.12 is the minimum
-+// supported version.
-+struct COMPONENT_EXPORT(AX_PLATFORM) AtkTableCellInterface {
-+ typedef struct _AtkTableCell AtkTableCell;
-+ static GType GetType();
-+ static GPtrArray* GetColumnHeaderCells(AtkTableCell* cell);
-+ static GPtrArray* GetRowHeaderCells(AtkTableCell* cell);
-+ static bool GetRowColumnSpan(AtkTableCell* cell,
-+ gint* row,
-+ gint* column,
-+ gint* row_span,
-+ gint* col_span);
-+ static bool Exists();
-+};
-+
- // This class with an enum is used to generate a bitmask which tracks the ATK
- // interfaces that an AXPlatformNodeAuraLinux's ATKObject implements.
- class ImplementedAtkInterfaces {
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc.than chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc
---- chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/ax_platform_node_auralinux_unittest.cc 2025-02-17 17:13:30.973344015 +0100
-@@ -11,6 +11,7 @@
-
- #include <atk/atk.h>
-
-+#include <dlfcn.h>
- #include <array>
- #include <utility>
- #include <vector>
-@@ -887,6 +888,17 @@ typedef bool (*ScrollToPointFunc)(AtkCom
- typedef bool (*ScrollToFunc)(AtkComponent* component, AtkScrollType type);
-
- TEST_F(AXPlatformNodeAuraLinuxTest, AtkComponentScrollToPoint) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToPointFunc scroll_to_point = reinterpret_cast<ScrollToPointFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to_point"));
-+ if (!scroll_to_point) {
-+ LOG(WARNING) << "Skipping AtkComponentScrollToPoint"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- AXNodeData root;
- root.id = 1;
- root.role = ax::mojom::Role::kRootWebArea;
-@@ -914,8 +926,7 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- EXPECT_EQ(10, width);
- EXPECT_EQ(10, height);
-
-- atk_component_scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_SCREEN, 600,
-- 650);
-+ scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_SCREEN, 600, 650);
- atk_component_get_extents(ATK_COMPONENT(child_obj), &x_left, &y_top, &width,
- &height, ATK_XY_SCREEN);
- EXPECT_EQ(610, x_left);
-@@ -923,8 +934,7 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- EXPECT_EQ(10, width);
- EXPECT_EQ(10, height);
-
-- atk_component_scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_PARENT, 10,
-- 10);
-+ scroll_to_point(ATK_COMPONENT(child_obj), ATK_XY_PARENT, 10, 10);
- atk_component_get_extents(ATK_COMPONENT(child_obj), &x_left, &y_top, &width,
- &height, ATK_XY_SCREEN);
- // The test wrapper scrolls every element when scrolling, so this should be
-@@ -941,6 +951,17 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- }
-
- TEST_F(AXPlatformNodeAuraLinuxTest, AtkComponentScrollTo) {
-+ // There's a chance we may be compiled with a newer version of ATK and then
-+ // run with an older one, so we need to do a runtime check for this method
-+ // that is available in ATK 2.30 instead of linking directly.
-+ ScrollToFunc scroll_to = reinterpret_cast<ScrollToFunc>(
-+ dlsym(RTLD_DEFAULT, "atk_component_scroll_to"));
-+ if (!scroll_to) {
-+ LOG(WARNING) << "Skipping AtkComponentScrollTo"
-+ " because ATK version < 2.30 detected.";
-+ return;
-+ }
-+
- AXNodeData root;
- root.id = 1;
- root.role = ax::mojom::Role::kRootWebArea;
-@@ -968,7 +989,7 @@ TEST_F(AXPlatformNodeAuraLinuxTest, AtkC
- EXPECT_EQ(10, width);
- EXPECT_EQ(10, height);
-
-- atk_component_scroll_to(ATK_COMPONENT(child_obj), ATK_SCROLL_ANYWHERE);
-+ scroll_to(ATK_COMPONENT(child_obj), ATK_SCROLL_ANYWHERE);
- atk_component_get_extents(ATK_COMPONENT(child_obj), &x_left, &y_top, &width,
- &height, ATK_XY_SCREEN);
- EXPECT_EQ(0, x_left);
-diff -up chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc.than chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc
---- chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc.than 2025-02-12 02:31:02.000000000 +0100
-+++ chromium-134.0.6998.15/ui/accessibility/platform/inspect/ax_tree_formatter_auralinux.cc 2025-02-17 17:13:30.974344040 +0100
-@@ -474,18 +474,34 @@ void AXTreeFormatterAuraLinux::AddTableC
- int row = 0, col = 0, row_span = 0, col_span = 0;
- int n_row_headers = 0, n_column_headers = 0;
-
-- AtkTableCell* cell = G_TYPE_CHECK_INSTANCE_CAST(
-- (atk_object), atk_table_cell_get_type(), AtkTableCell);
-+ // Properties obtained via AtkTableCell, if possible. If we do not have at
-+ // least ATK 2.12, use the same logic in our AtkTableCell implementation so
-+ // that tests can still be run.
-+ if (AtkTableCellInterface::Exists()) {
-+ AtkTableCell* cell = G_TYPE_CHECK_INSTANCE_CAST(
-+ (atk_object), AtkTableCellInterface::GetType(), AtkTableCell);
-
-- atk_table_cell_get_row_column_span(cell, &row, &col, &row_span, &col_span);
-+ AtkTableCellInterface::GetRowColumnSpan(cell, &row, &col, &row_span,
-+ &col_span);
-
-- GPtrArray* column_headers = atk_table_cell_get_column_header_cells(cell);
-- n_column_headers = column_headers->len;
-- g_ptr_array_unref(column_headers);
-+ GPtrArray* column_headers =
-+ AtkTableCellInterface::GetColumnHeaderCells(cell);
-+ n_column_headers = column_headers->len;
-+ g_ptr_array_unref(column_headers);
-
-- GPtrArray* row_headers = atk_table_cell_get_row_header_cells(cell);
-- n_row_headers = row_headers->len;
-- g_ptr_array_unref(row_headers);
-+ GPtrArray* row_headers = AtkTableCellInterface::GetRowHeaderCells(cell);
-+ n_row_headers = row_headers->len;
-+ g_ptr_array_unref(row_headers);
-+ } else {
-+ row = node->GetTableRow().value_or(-1);
-+ col = node->GetTableColumn().value_or(-1);
-+ row_span = node->GetTableRowSpan().value_or(0);
-+ col_span = node->GetTableColumnSpan().value_or(0);
-+ if (role == ATK_ROLE_TABLE_CELL) {
-+ n_column_headers = node->GetDelegate()->GetColHeaderNodeIds(col).size();
-+ n_row_headers = node->GetDelegate()->GetRowHeaderNodeIds(row).size();
-+ }
-+ }
-
- std::vector<std::string> cell_info;
- cell_info.push_back(base::StringPrintf("row=%i", row));
diff --git a/chromium-136-rust-skrifa-build-error.patch b/chromium-136-rust-skrifa-build-error.patch
deleted file mode 100644
index 4170eec..0000000
--- a/chromium-136-rust-skrifa-build-error.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs.than chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs
---- chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs.than 2025-04-29 08:36:33.385071420 +0200
-+++ chromium-136.0.7103.48/third_party/rust/chromium_crates_io/vendor/skrifa-0.29.2/src/glyph_name.rs 2025-04-29 08:42:21.465525421 +0200
-@@ -94,7 +94,7 @@ impl<'a> GlyphNames<'a> {
- _ => None,
- };
- // If name is empty string, synthesize it
-- if name.as_ref().is_none_or(|s| s.is_empty()) {
-+ if name.is_none() || name.as_ref().map_or(false, |s| s.is_empty()) {
- return Some(GlyphName::synthesize(glyph_id));
- }
- Some(name.unwrap_or_else(|| GlyphName::synthesize(glyph_id)))
diff --git a/chromium-136-unsupport-clang-flags.patch b/chromium-136-unsupport-clang-flags.patch
deleted file mode 100644
index a004cb0..0000000
--- a/chromium-136-unsupport-clang-flags.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-diff -up chromium-136.0.7103.48/build/config/compiler/BUILD.gn.than chromium-136.0.7103.48/build/config/compiler/BUILD.gn
---- chromium-136.0.7103.48/build/config/compiler/BUILD.gn.than 2025-04-28 15:44:08.883499599 +0200
-+++ chromium-136.0.7103.48/build/config/compiler/BUILD.gn 2025-04-28 15:44:47.624639772 +0200
-@@ -622,12 +622,6 @@ config("compiler") {
- cflags += [ "-ffp-contract=off" ]
- }
-
-- # Enable ELF CREL (see crbug.com/357878242) for all platforms that use ELF
-- # (excluding toolchains that use an older version of LLVM).
-- if (is_linux && !llvm_android_mainline &&
-- default_toolchain != "//build/toolchain/cros:target") {
-- cflags += [ "-Wa,--crel,--allow-experimental-crel" ]
-- }
- }
-
- # C11/C++11 compiler flags setup.
-diff -up chromium-136.0.7103.48/tools/licenses/licenses.py.than chromium-136.0.7103.48/tools/licenses/licenses.py
diff --git a/chromium-138-el9-ffmpeg-deprecated-apis.patch b/chromium-138-el9-ffmpeg-deprecated-apis.patch
deleted file mode 100644
index dc230c0..0000000
--- a/chromium-138-el9-ffmpeg-deprecated-apis.patch
+++ /dev/null
@@ -1,158 +0,0 @@
-https://chromium-review.googlesource.com/c/chromium/src/+/6506529
-
-Revert CL rolls ffmpeg as it breaks the build due to old ffmpeg version on EL9
-
-diff -up chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc.me chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc
---- chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc.me 2025-06-23 23:34:26.000000000 +0200
-+++ chromium-138.0.7204.49/media/ffmpeg/ffmpeg_common.cc 2025-06-25 15:13:17.958054182 +0200
-@@ -263,22 +263,22 @@ AVCodecID VideoCodecToCodecID(VideoCodec
- static VideoCodecProfile ProfileIDToVideoCodecProfile(int profile) {
- // Clear out the CONSTRAINED & INTRA flags which are strict subsets of the
- // corresponding profiles with which they're used.
-- profile &= ~AV_PROFILE_H264_CONSTRAINED;
-- profile &= ~AV_PROFILE_H264_INTRA;
-+ profile &= ~FF_PROFILE_H264_CONSTRAINED;
-+ profile &= ~FF_PROFILE_H264_INTRA;
- switch (profile) {
-- case AV_PROFILE_H264_BASELINE:
-+ case FF_PROFILE_H264_BASELINE:
- return H264PROFILE_BASELINE;
-- case AV_PROFILE_H264_MAIN:
-+ case FF_PROFILE_H264_MAIN:
- return H264PROFILE_MAIN;
-- case AV_PROFILE_H264_EXTENDED:
-+ case FF_PROFILE_H264_EXTENDED:
- return H264PROFILE_EXTENDED;
-- case AV_PROFILE_H264_HIGH:
-+ case FF_PROFILE_H264_HIGH:
- return H264PROFILE_HIGH;
-- case AV_PROFILE_H264_HIGH_10:
-+ case FF_PROFILE_H264_HIGH_10:
- return H264PROFILE_HIGH10PROFILE;
-- case AV_PROFILE_H264_HIGH_422:
-+ case FF_PROFILE_H264_HIGH_422:
- return H264PROFILE_HIGH422PROFILE;
-- case AV_PROFILE_H264_HIGH_444_PREDICTIVE:
-+ case FF_PROFILE_H264_HIGH_444_PREDICTIVE:
- return H264PROFILE_HIGH444PREDICTIVEPROFILE;
- default:
- DVLOG(1) << "Unknown profile id: " << profile;
-@@ -289,23 +289,23 @@ static VideoCodecProfile ProfileIDToVide
- static int VideoCodecProfileToProfileID(VideoCodecProfile profile) {
- switch (profile) {
- case H264PROFILE_BASELINE:
-- return AV_PROFILE_H264_BASELINE;
-+ return FF_PROFILE_H264_BASELINE;
- case H264PROFILE_MAIN:
-- return AV_PROFILE_H264_MAIN;
-+ return FF_PROFILE_H264_MAIN;
- case H264PROFILE_EXTENDED:
-- return AV_PROFILE_H264_EXTENDED;
-+ return FF_PROFILE_H264_EXTENDED;
- case H264PROFILE_HIGH:
-- return AV_PROFILE_H264_HIGH;
-+ return FF_PROFILE_H264_HIGH;
- case H264PROFILE_HIGH10PROFILE:
-- return AV_PROFILE_H264_HIGH_10;
-+ return FF_PROFILE_H264_HIGH_10;
- case H264PROFILE_HIGH422PROFILE:
-- return AV_PROFILE_H264_HIGH_422;
-+ return FF_PROFILE_H264_HIGH_422;
- case H264PROFILE_HIGH444PREDICTIVEPROFILE:
-- return AV_PROFILE_H264_HIGH_444_PREDICTIVE;
-+ return FF_PROFILE_H264_HIGH_444_PREDICTIVE;
- default:
- DVLOG(1) << "Unknown VideoCodecProfile: " << profile;
- }
-- return AV_PROFILE_UNKNOWN;
-+ return FF_PROFILE_UNKNOWN;
- }
-
- SampleFormat AVSampleFormatToSampleFormat(AVSampleFormat sample_format,
-@@ -441,7 +441,7 @@ bool AVCodecContextToAudioDecoderConfig(
- // TODO(dalecurtis): Just use the profile from the codec context if ffmpeg
- // ever starts supporting xHE-AAC.
- // FFmpeg provides the (defined_profile - 1) for AVCodecContext::profile
-- if (codec_context->profile == AV_PROFILE_UNKNOWN ||
-+ if (codec_context->profile == FF_PROFILE_UNKNOWN ||
- codec_context->profile == mp4::AAC::kXHeAAcType - 1) {
- // Errors aren't fatal here, so just drop any MediaLog messages.
- NullMediaLog media_log;
-@@ -659,16 +659,16 @@ bool AVStreamToVideoDecoderConfig(const
- break;
- case VideoCodec::kVP9:
- switch (codec_context->profile) {
-- case AV_PROFILE_VP9_0:
-+ case FF_PROFILE_VP9_0:
- profile = VP9PROFILE_PROFILE0;
- break;
-- case AV_PROFILE_VP9_1:
-+ case FF_PROFILE_VP9_1:
- profile = VP9PROFILE_PROFILE1;
- break;
-- case AV_PROFILE_VP9_2:
-+ case FF_PROFILE_VP9_2:
- profile = VP9PROFILE_PROFILE2;
- break;
-- case AV_PROFILE_VP9_3:
-+ case FF_PROFILE_VP9_3:
- profile = VP9PROFILE_PROFILE3;
- break;
- default:
-diff -up chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc.me chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc
---- chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc.me 2026-05-05 15:25:38.693195463 +0200
-+++ chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter.cc 2026-05-05 15:26:52.282371003 +0200
-@@ -64,17 +64,17 @@ bool GenerateAdtsHeader(int codec,
- UNSAFE_TODO(hdr[1]) |= 1;
-
- switch (audio_profile) {
-- case AV_PROFILE_AAC_MAIN:
-+ case FF_PROFILE_AAC_MAIN:
- break;
-- case AV_PROFILE_AAC_HE:
-- case AV_PROFILE_AAC_HE_V2:
-- case AV_PROFILE_AAC_LOW:
-+ case FF_PROFILE_AAC_HE:
-+ case FF_PROFILE_AAC_HE_V2:
-+ case FF_PROFILE_AAC_LOW:
- UNSAFE_TODO(hdr[2]) |= (1 << 6);
- break;
-- case AV_PROFILE_AAC_SSR:
-+ case FF_PROFILE_AAC_SSR:
- UNSAFE_TODO(hdr[2]) |= (2 << 6);
- break;
-- case AV_PROFILE_AAC_LTP:
-+ case FF_PROFILE_AAC_LTP:
- UNSAFE_TODO(hdr[2]) |= (3 << 6);
- break;
- default:
-diff -up chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc.me chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc
---- chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc.me 2026-05-05 15:27:26.490652155 +0200
-+++ chromium-148.0.7778.96/media/filters/ffmpeg_aac_bitstream_converter_unittest.cc 2026-05-05 15:27:34.149195358 +0200
-@@ -40,7 +40,7 @@ class FFmpegAACBitstreamConverterTest :
- base::byte_span_from_ref(base::allow_nonunique_obj, test_parameters_),
- 0);
- test_parameters_.codec_id = AV_CODEC_ID_AAC;
-- test_parameters_.profile = AV_PROFILE_AAC_MAIN;
-+ test_parameters_.profile = FF_PROFILE_AAC_MAIN;
- test_parameters_.ch_layout.nb_channels = 2;
- test_parameters_.extradata = extradata_header_;
- test_parameters_.extradata_size = sizeof(extradata_header_);
-@@ -126,7 +126,7 @@ TEST_F(FFmpegAACBitstreamConverterTest,
-
- EXPECT_EQ(profile, kAacMainProfile);
-
-- test_parameters_.profile = AV_PROFILE_AAC_HE;
-+ test_parameters_.profile = FF_PROFILE_AAC_HE;
- FFmpegAACBitstreamConverter converter_he(&test_parameters_);
-
- test_packet = ScopedAVPacket::Allocate();
-@@ -139,7 +139,7 @@ TEST_F(FFmpegAACBitstreamConverterTest,
-
- EXPECT_EQ(profile, kAacLowComplexityProfile);
-
-- test_parameters_.profile = AV_PROFILE_AAC_ELD;
-+ test_parameters_.profile = FF_PROFILE_AAC_ELD;
- FFmpegAACBitstreamConverter converter_eld(&test_parameters_);
-
- test_packet = ScopedAVPacket::Allocate();
diff --git a/chromium-148-el9-ffmpeg-build-error.patch b/chromium-148-el9-ffmpeg-build-error.patch
deleted file mode 100644
index 9f25c5e..0000000
--- a/chromium-148-el9-ffmpeg-build-error.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-FIx build error with system ffmpeg-5.1.4 on el9:
-
-../../media/ffmpeg/ffmpeg_common.cc:1008:10: error: use of undeclared identifier 'AV_CH_LAYOUT_5POINT1POINT4_BACK'
- 1008 | case AV_CH_LAYOUT_5POINT1POINT4_BACK:
- | ^
-../../media/ffmpeg/ffmpeg_common.cc:1010:10: error: use of undeclared identifier 'AV_CH_LAYOUT_7POINT1POINT4_BACK'
- 1010 | case AV_CH_LAYOUT_7POINT1POINT4_BACK:
-
-diff -up chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc.me chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc
---- chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc.me 2026-05-08 09:06:12.206525759 +0200
-+++ chromium-148.0.7778.96/media/ffmpeg/ffmpeg_common.cc 2026-05-08 09:15:14.258873177 +0200
-@@ -1005,10 +1005,12 @@ ChannelLayout ChannelLayoutToChromeChann
- case AV_CH_FRONT_LEFT | AV_CH_FRONT_RIGHT | AV_CH_LOW_FREQUENCY |
- AV_CH_BACK_CENTER:
- return CHANNEL_LAYOUT_3_1_BACK;
-+#if LIBAVCODEC_VERSION_MAJOR < 59
- case AV_CH_LAYOUT_5POINT1POINT4_BACK:
- return CHANNEL_LAYOUT_5_1_4;
- case AV_CH_LAYOUT_7POINT1POINT4_BACK:
- return CHANNEL_LAYOUT_7_1_4;
-+#endif
- default:
- // FFmpeg channel_layout is 0 for .wav and .mp3. Attempt to guess layout
- // based on the channel count.
diff --git a/chromium-148-rust-1.95-bytemuck-ftbfs.patch b/chromium-148-rust-1.95-bytemuck-ftbfs.patch
deleted file mode 100644
index b911b71..0000000
--- a/chromium-148-rust-1.95-bytemuck-ftbfs.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-Fix build error with rustc 1.95
-
-error[E0425]: cannot find type `LaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs:234:15
- |
-234 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- | ^^^^^^^^^ not found in `core::simd`
-error[E0405]: cannot find trait `SupportedLaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs:234:41
- |
-234 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- | ^^^^^^^^^^^^^^^^^^ not found in `core::simd`
-error[E0425]: cannot find type `LaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs:155:15
- |
-155 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- | ^^^^^^^^^ not found in `core::simd`
-error[E0405]: cannot find trait `SupportedLaneCount` in module `core::simd`
- --> ../../third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs:155:41
- |
-155 | core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
-
-diff -up chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs.me chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs
---- chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs.me 2026-04-28 23:05:57.000000000 +0200
-+++ chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/pod.rs 2026-05-09 20:39:28.808258788 +0200
-@@ -152,7 +152,6 @@ impl_unsafe_marker_for_simd!(
- unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Pod,
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
-@@ -165,6 +164,7 @@ where
- unsafe impl<T, const N: usize> Pod for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Pod,
-+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
-diff -up chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs.me chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs
---- chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs.me 2026-04-28 23:05:57.000000000 +0200
-+++ chromium-148.0.7778.96/third_party/rust/chromium_crates_io/vendor/bytemuck-v1/src/zeroable.rs 2026-05-09 20:39:28.808258788 +0200
-@@ -231,7 +231,6 @@ impl_unsafe_marker_for_simd!(
- unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Zeroable,
-- core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
-@@ -244,6 +243,7 @@ where
- unsafe impl<T, const N: usize> Zeroable for core::simd::Simd<T, N>
- where
- T: core::simd::SimdElement + Zeroable,
-+ core::simd::LaneCount<N>: core::simd::SupportedLaneCount,
- {
- }
-
diff --git a/chromium-151-el9-build-error-system-ffmpeg5.patch b/chromium-151-el9-build-error-system-ffmpeg5.patch
deleted file mode 100644
index 4d07064..0000000
--- a/chromium-151-el9-build-error-system-ffmpeg5.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-Fix FTBFS with ffmpeg-5.x
-../../media/ffmpeg/ffmpeg_common.cc:911:16: error: use of undeclared identifier 'AV_SPHERICAL_HALF_EQUIRECTANGULAR'; did you mean 'AV_SPHERICAL_EQUIRECTANGULAR'?
- 911 | case AV_SPHERICAL_HALF_EQUIRECTANGULAR:
- | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- | AV_SPHERICAL_EQUIRECTANGULAR
-/usr/include/ffmpeg/libavutil/spherical.h:56:5: note: 'AV_SPHERICAL_EQUIRECTANGULAR' declared here
- 56 | AV_SPHERICAL_EQUIRECTANGULAR,
- | ^
-../../media/ffmpeg/ffmpeg_common.cc:911:16: error: duplicate case value 'AV_SPHERICAL_EQUIRECTANGULAR'
- 911 | case AV_SPHERICAL_HALF_EQUIRECTANGULAR:
- | ^
-../../media/ffmpeg/ffmpeg_common.cc:908:16: note: previous case defined here
- 908 | case AV_SPHERICAL_EQUIRECTANGULAR:
-
-diff -up chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc.me chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc
---- chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc.me 2026-08-01 07:16:39.987060192 -0400
-+++ chromium-151.0.7922.71/media/ffmpeg/ffmpeg_common.cc 2026-08-01 07:25:18.201727436 -0400
-@@ -908,9 +908,11 @@ bool AVStreamToVideoDecoderConfig(const
- case AV_SPHERICAL_EQUIRECTANGULAR:
- spatial_format.projection_type = VideoProjectionType::kEquirect360;
- break;
-+ #ifdef AV_SPHERICAL_HALF_EQUIRECTANGULAR
- case AV_SPHERICAL_HALF_EQUIRECTANGULAR:
- spatial_format.projection_type = VideoProjectionType::kEquirect180;
- break;
-+ #endif
- case AV_SPHERICAL_EQUIRECTANGULAR_TILE: {
- const uint32_t kEquirect180Threshold = 0x30000000;
- if (spherical->bound_left >= kEquirect180Threshold &&
diff --git a/chromium-151-el9-ffmpeg-5.1.x.patch b/chromium-151-el9-ffmpeg-5.1.x.patch
deleted file mode 100644
index 3f99cae..0000000
--- a/chromium-151-el9-ffmpeg-5.1.x.patch
+++ /dev/null
@@ -1,136 +0,0 @@
-diff -up chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc
---- chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc.el9-ffmpeg-5.1.x 2026-07-28 09:45:19.770842992 +0200
-+++ chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.cc 2026-07-28 10:23:29.074215304 +0200
-@@ -770,8 +770,13 @@ bool AVStreamToVideoDecoderConfig(const
-
- VideoTransformation video_transformation = VideoTransformation();
- VideoSpatialFormat spatial_format;
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (int i = 0; i < stream->nb_side_data; i++) {
-+ const auto& side_data = stream->side_data[i];
-+#else
- for (const auto& side_data :
- AVCodecParametersCodedSideToSpan(stream->codecpar)) {
-+#endif
- switch (side_data.type) {
- case AV_PKT_DATA_DISPLAYMATRIX: {
- constexpr size_t kNumElements = 3 * 3;
-diff -up chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h
---- chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h.el9-ffmpeg-5.1.x 2026-07-22 01:20:22.000000000 +0200
-+++ chromium-151.0.7922.47/media/ffmpeg/ffmpeg_common.h 2026-07-28 09:45:19.771816742 +0200
-@@ -119,9 +119,13 @@ inline base::span<AVPacketSideData> AVCo
- // https://ffmpeg.org/doxygen/trunk/structAVCodecParameters.html#a29643cfd94231e2d148a5d17b08d115b
- // ffmpeg documentation: `nb_coded_side_data` is the amount of entries in
- // `coded_side_data`.
-+#if LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(60, 31, 102)
- return UNSAFE_BUFFERS(
- base::span(codecpar->coded_side_data,
- base::checked_cast<size_t>(codecpar->nb_coded_side_data)));
-+#else
-+ return base::span<AVPacketSideData>();
-+#endif
- }
-
- inline base::span<uint8_t> AVCodecParametersExtraDataToSpan(
-diff -up chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc
---- chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc.el9-ffmpeg-5.1.x 2026-07-22 01:20:22.000000000 +0200
-+++ chromium-151.0.7922.47/media/filters/audio_video_metadata_extractor.cc 2026-07-28 09:45:19.771952981 +0200
-@@ -109,17 +109,33 @@ bool AudioVideoMetadataExtractor::Extrac
- container_info.type = format_context->iformat->name;
- ExtractDictionary(format_context->metadata, &container_info.tags);
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (unsigned int i = 0; i < format_context->nb_streams; ++i) {
-+ stream_infos_.push_back(StreamInfo());
-+#else
- base::span<AVStream*> format_context_span =
- AVFormatContextToSpan(format_context);
- std::ranges::for_each(format_context_span, [&](AVStream* stream) {
- stream_infos_.emplace_back();
-+#endif
- StreamInfo& info = stream_infos_.back();
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ AVStream* stream = format_context->streams[i];
-+ if (!stream)
-+ continue;
-+#else
- if (!stream) {
- return;
- }
-+#endif
-
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (int j = 0; j < stream->nb_side_data; j++) {
-+ const AVPacketSideData& sd = stream->side_data[j];
-+#else
- for (const auto& sd : AVCodecParametersCodedSideToSpan(stream->codecpar)) {
-+#endif
- if (sd.type == AV_PKT_DATA_DISPLAYMATRIX) {
- constexpr size_t kNumElements = 3 * 3;
- CHECK_EQ(sd.size, sizeof(int32_t) * kNumElements);
-@@ -143,7 +159,11 @@ bool AudioVideoMetadataExtractor::Extrac
- ExtractDictionary(stream->metadata, &info.tags);
-
- if (!stream->codecpar) {
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ continue;
-+#else
- return;
-+#endif
- }
-
- info.type = avcodec_get_name(stream->codecpar->codec_id);
-@@ -166,7 +186,11 @@ bool AudioVideoMetadataExtractor::Extrac
- reinterpret_cast<const char*>(stream->attached_pic.data),
- stream->attached_pic.size);
- }
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ }
-+#else
- });
-+#endif
-
- extracted_ = true;
- return true;
-diff -up chromium-151.0.7922.47/media/filters/media_file_checker.cc.el9-ffmpeg-5.1.x chromium-151.0.7922.47/media/filters/media_file_checker.cc
---- chromium-151.0.7922.47/media/filters/media_file_checker.cc.el9-ffmpeg-5.1.x 2026-07-22 01:20:22.000000000 +0200
-+++ chromium-151.0.7922.47/media/filters/media_file_checker.cc 2026-07-28 09:45:19.772063149 +0200
-@@ -64,6 +64,10 @@ bool MediaFileChecker::Start(base::TimeD
- // Remember the codec context for any decodable audio or video streams.
- bool found_streams = false;
- std::vector<Decoder> stream_contexts(format_context->nb_streams);
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ for (size_t i = 0; i < format_context->nb_streams; ++i) {
-+ AVCodecParameters* cp = format_context->streams[i]->codecpar;
-+#else
- base::span<AVStream*> format_context_span =
- AVFormatContextToSpan(format_context);
- std::ranges::transform(
-@@ -85,9 +89,26 @@ bool MediaFileChecker::Start(base::TimeD
- }
- }
-
-+#endif
-+#if LIBAVCODEC_VERSION_INT < AV_VERSION_INT(60, 31, 102)
-+ if (cp->codec_type == AVMEDIA_TYPE_AUDIO ||
-+ cp->codec_type == AVMEDIA_TYPE_VIDEO) {
-+ auto context = AVStreamToAVCodecContext(format_context->streams[i]);
-+ if (!context)
-+ continue;
-+ const AVCodec* codec = avcodec_find_decoder(cp->codec_id);
-+ if (codec && avcodec_open2(context.get(), codec, nullptr) >= 0) {
-+ auto loop = std::make_unique<FFmpegDecodingLoop>(context.get());
-+ stream_contexts[i] = {std::move(context), std::move(loop)};
-+ found_streams = true;
-+ }
-+ }
-+ }
-+#else
- return Decoder{};
- });
-
-+#endif
- if (!found_streams)
- return false;
-
diff --git a/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch b/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
deleted file mode 100644
index 95b51c3..0000000
--- a/chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -up chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc
---- chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc.me 2025-09-05 02:43:56.666833745 +0200
-+++ chromium-140.0.7339.80/media/filters/ffmpeg_video_decoder.cc 2025-09-05 03:09:01.121397898 +0200
-@@ -486,7 +486,7 @@ bool FFmpegVideoDecoder::ConfigureDecode
-
- codec_context_->opaque = this;
- codec_context_->get_buffer2 = GetVideoBufferImpl;
-- codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
-+ //codec_context_->flags |= AV_CODEC_FLAG_COPY_OPAQUE;
-
- if (decode_nalus_) {
- codec_context_->flags2 |= AV_CODEC_FLAG2_CHUNKS;
diff --git a/chromium-workaround-system-ffmpeg-whitelist.patch b/chromium-workaround-system-ffmpeg-whitelist.patch
new file mode 100644
index 0000000..1b3960f
--- /dev/null
+++ b/chromium-workaround-system-ffmpeg-whitelist.patch
@@ -0,0 +1,35 @@
+diff -up chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc.workaround-system-ffmpeg-whitelist chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc
+--- chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc.workaround-system-ffmpeg-whitelist 2026-11-17 10:57:05.948768429 +0100
++++ chromium-158.0.8127.36/media/ffmpeg/ffmpeg_common.cc 2026-11-17 10:57:05.959467493 +0100
+@@ -74,6 +74,8 @@ const char* GetAllowedVideoDecoders() {
+ void ApplyCodecContextSecuritySettings(AVCodecContext* codec_context) {
+ // Future versions of ffmpeg may copy the allow list from the format
+ // context.
++ // Workaround for codec whitelist with system ffmpeg
++#if 0
+ if (!codec_context->codec_whitelist) {
+ // Note: FFmpeg will try to free this string, so we must duplicate it.
+ codec_context->codec_whitelist =
+@@ -81,6 +83,7 @@ void ApplyCodecContextSecuritySettings(A
+ ? GetAllowedAudioDecoders()
+ : GetAllowedVideoDecoders());
+ }
++#endif
+
+ // Note: This is security sensitive. FFmpeg may not always continue safely
+ // in the presence of errors. See https://crbug.com/379418979
+diff -up chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc.workaround-system-ffmpeg-whitelist chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc
+--- chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc.workaround-system-ffmpeg-whitelist 2026-11-17 10:57:05.956575598 +0100
++++ chromium-158.0.8127.36/media/filters/ffmpeg_glue.cc 2026-11-17 11:49:15.506720138 +0100
+@@ -137,8 +137,11 @@ FFmpegGlue::FFmpegGlue(FFmpegURLProtocol
+ // memory usage.
+ //
+ // Note: FFmpeg will try to free these strings, so we must duplicate them.
++ // Workaround for codec whitelist with system ffmpeg
++#if 0
+ format_context_->codec_whitelist = av_strdup(GetAllowedAudioDecoders());
+ format_context_->format_whitelist = av_strdup(kAllowedDemuxers);
++#endif
+ }
+
+ bool FFmpegGlue::OpenContext(bool is_local_file) {
diff --git a/chromium.spec b/chromium.spec
index cfab270..69c751e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -9,6 +9,13 @@
%define _lto_cflags %{nil}
%global _default_patch_fuzz 2
+# define rust_target
+%ifarch ppc64le
+%global rust_target powerpc64le-unknown-linux-gnu
+%else
+%global rust_target %{_arch}-unknown-linux-gnu
+%endif
+
# enable|disable system build flags
%global system_build_flags 0
@@ -52,6 +59,11 @@
# enable|disable system esbuild
%global system_esbuild 1
+%global system_ninja 1
+%global ninja_version 1.13.2
+
+%global typescript_version 7.0.2
+
# set nodejs_version
%global nodejs_version v22.22.0
@@ -201,7 +213,7 @@
%global bundledoubleconversion 0
%global bundlelibXNVCtrl 0
%global bundlelibusbx 0
-%global bundlelibsecret 0
+%global bundlelibsecret 1
%global bundleopus 0
%global bundlelcms2 0
%global bundlesimdutf 1
@@ -268,7 +280,7 @@
%endif
Name: chromium
-Version: 157.0.8103.78
+Version: 158.0.8127.36
Release: 1%{?dist}
Summary: A WebKit (Blink) powered web browser that Google doesn't want you to use
Url: http://www.chromium.org/Home
@@ -337,21 +349,14 @@ Patch94: chromium-148-v8-sanitize-build-error.patch
Patch96: chromium-142-crabbyavif-ftbfs-old-rust.patch
# system ffmpeg
-# need for old ffmpeg 5.x on epel9
-Patch128: chromium-138-el9-ffmpeg-deprecated-apis.patch
-Patch129: chromium-el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE.patch
-Patch130: chromium-148-el9-ffmpeg-build-error.patch
# disable the check
Patch131: chromium-107-proprietary-codecs.patch
# fix tab crash with SIGTRAP error when using system ffmpeg
Patch132: chromium-118-sigtrap_system_ffmpeg.patch
-# need for old ffmpeg 6.0/5.x on epel9 and fedora < 40
-Patch133: chromium-151-el9-ffmpeg-5.1.x.patch
-Patch134: chromium-151-el9-build-error-system-ffmpeg5.patch
# revert, it causes build error: use of undeclared identifier 'AVFMT_FLAG_NOH264PARSE'
Patch135: chromium-133-disable-H.264-video-parser-during-demuxing.patch
# Workaround for youtube stop working
-Patch136: chromium-133-workaround-system-ffmpeg-whitelist.patch
+Patch136: chromium-workaround-system-ffmpeg-whitelist.patch
# fatal error: 'third_party/ffmpeg/libavutil/rational.h' file not found
Patch137: chromium-147-system-ffmpeg.patch
# Workaround for missing AVDynamicHDRSmpte2094App5 in system ffmpeg
@@ -385,39 +390,12 @@ Patch303: chromium-146-ftfs-llvm-octal-notation.patch
# Workaround for clang++ crash with llvm-20 on el9/el10.1/f42, clang++: error: clang frontend command failed with exit code 139
Patch304: chromium-146-llvm-crash.patch
-# disable memory tagging (epel8 on aarch64) due to new feature IFUNC-Resolver
-# it is not supported in old glibc < 2.30, error: fatal error: 'sys/ifunc.h' file not found
-Patch305: chromium-124-el8-arm64-memory_tagging.patch
-Patch306: chromium-127-el8-ifunc-header.patch
-
-# workaround for build error due to old atk version on el8
-Patch307: chromium-134-el8-atk-compiler-error.patch
-# Fix build errors due to old clang18 in el8
-Patch308: chromium-136-unsupport-clang-flags.patch
-Patch309: chromium-132-el8-unsupport-rustc-flags.patch
-
# Fix rhbz#2387446, FTBFS with rust-1.89.0
Patch310: chromium-139-rust-FTBFS-suppress-warnings.patch
# enable fstack-protector-strong
Patch311: chromium-123-fstack-protector-strong.patch
-# Fix FTBFS:
-# ERROR at //build/rust/crubit/BUILD.gn:12:5:
-# Unable to load third_party/rust-toolchain/lib/third_party/crubit/support/rs_std/BUILD.gn
-# "$crubit_src_dir/support/rs_std:rs_std_cpp",
-# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
-Patch312: chromium-ftbfs-crubit.patch
-
-# Fix FTBFS:
-# ERROR Unresolved dependencies
-# Patch from https://github.com/ungoogled-software/ungoogled-chromium/pull/4003
-Patch313: chromium-ftbfs-private-verification-tokens.patch
-
-# old rust version causes build error on el8:
-# error[E0599]: no method named `is_none_or` found for enum `Option` in the current scope
-Patch314: chromium-136-rust-skrifa-build-error.patch
-
# error with old rustc
Patch315: chromium-145-rustc-ftbfs.patch
@@ -464,9 +442,6 @@ Patch357: chromium-134-type-mismatch-error.patch
# set clang_lib path
Patch358: chromium-rust-clanglib.patch
-# fix FTBFS with rustc 1.95
-Patch359: chromium-148-rust-1.95-bytemuck-ftbfs.patch
-
# PowerPC64 LE support
# Timothy Pearson's patchset
# https://gitlab.raptorengineering.com/raptor-engineering-public/chromium/openpower-patches
@@ -505,6 +480,7 @@ Patch396: skia-vsx-instructions.patch
Patch397: 0001-Implement-support-for-ppc64-on-Linux.patch
Patch398: 0001-Implement-support-for-PPC64-on-Linux.patch
Patch399: 0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-.patch
+Patch400: 0002-Add-pregenerated-config-for-libaom-on-ppc64.patch
Patch401: fix-rustc.patch
Patch402: fix-rust-linking.patch
Patch403: fix-breakpad-compile.patch
@@ -578,11 +554,23 @@ BuildRequires: openssl-devel
# License - Apache-2.0, https://github.com/microsoft/TypeScript?tab=Apache-2.0-1-ov-file
# curl -fL https://github.com/microsoft/TypeScript/archive/refs/tags/v7.0.2.tar.gz -o TypeScript-7.0.2.tar.gz
-Source14: TypeScript-7.0.2.tar.gz
+Source14: TypeScript-%{typescript_version}.tar.gz
# vendor archive created by create-typesctipt-archive.sh
-Source15: TypeScript-7.0.2-vendor-archive.tar.gz
+Source15: TypeScript-%{typescript_version}-vendor-archive.tar.gz
+
+Source20: rustc-1.100.0-src.tar.xz
+# crubut license - Apache-2.0
+# https://github.com/google/crubit
+Source22: crubit.tar.xz
+# Additional official Rust release source tarballs for EPEL 9 (1.97 -> 1.98 -> 1.99)
+Source24: https://static.rust-lang.org/dist/rustc-1.98.0-src.tar.xz
+Source25: https://static.rust-lang.org/dist/rustc-1.99.1-src.tar.xz
+# ninja License - Apache-2.0
+# https://github.com/ninja-build/ninja/archive/v1.13.2/ninja-1.13.2.tar.gz
+Source26: ninja-%{ninja_version}.tar.gz
BuildRequires: golang
+BuildRequires: llvm-devel
BuildRequires: clang
BuildRequires: clang-tools-extra
BuildRequires: llvm
@@ -1126,13 +1114,6 @@ Qt6 UI for chromium.
%patch -P96 -p1 -b .crabbyavif-ftbfs-old-rust
%if ! %{bundleffmpegfree}
-%if 0%{?rhel} == 9
-%patch -P128 -p1 -b .el9-ffmpeg-deprecated-apis
-%patch -P129 -p1 -b .el9-ffmpeg-AV_CODEC_FLAG_COPY_OPAQUE
-%patch -P130 -p1 -b .el9-ffmpeg-build-error
-%patch -P133 -p1 -b .el9-ffmpeg-5.1.x
-%endif
-%patch -P134 -p1 -b .el9-ffmpeg-5.1.x
%patch -P131 -p1 -b .prop-codecs
%patch -P132 -p1 -b .sigtrap_system_ffmpeg
%patch -P135 -p1 -b .disable-H.264-video-parser-during-demuxing
@@ -1147,12 +1128,6 @@ Qt6 UI for chromium.
%patch -P141 -p1 -b .dma_buf_export_sync_file-conflict
%endif
-%if (0%{?rhel} && 0%{?rhel} < 10) || (0%{?rhel} == 10 && 0%{?rhel_minor_version} < 2)
-%patch -P142 -p1 -b .rust-1.88-build-error
-%patch -P143 -p1 -b .rust-1.88-enable-unstable_features
-%patch -P144 -p1 -b .rust-1.88-undefined-symbol
-%endif
-
%patch -P150 -p1 -b .qt6
%patch -P300 -p1 -b .swiftshader-missing-include
@@ -1164,21 +1139,9 @@ Qt6 UI for chromium.
%patch -P304 -p1 -b .llvm-crash
%endif
-%if 0%{?rhel} == 8
-%ifarch aarch64
-%patch -P305 -p1 -b .el8-memory_tagging
-%patch -P306 -p1 -b .el8-ifunc-header
-%endif
-%patch -P307 -p1 -b .el8-atk-compiler-error
-%patch -P308 -p1 -b .unsupport-clang-flags
-%patch -P309 -p1 -b .el8-unsupport-rustc-flags
-%patch -P314 -p1 -b .rust-skrifa-build-error
-%endif
%patch -P315 -p1 -b .rustc-ftbfs
%patch -P310 -p1 -b .rust-FTBFS-suppress-warnings
%patch -P311 -p1 -b .fstack-protector-strong
-%patch -P312 -p1 -b .ftbfs-crubit
-%patch -P313 -p1 -b .ftbfs-private-verification-tokens
%if 0%{?rhel} && 0%{?rhel} < 10
%patch -P354 -p1 -b .split-threshold-for-reg-with-hint
@@ -1212,8 +1175,6 @@ Qt6 UI for chromium.
%patch -P358 -p1 -b .rust-clang_lib
-%patch -P359 -p1 -b .ftbfs-with-rustc-1.95
-
%ifarch ppc64le
%patch -P360 -p1 -b .add-ppc64-architecture-string
%patch -P361 -p1 -b .0001-sandbox-Enable-seccomp_bpf-for-ppc64
@@ -1239,6 +1200,7 @@ Qt6 UI for chromium.
%patch -P397 -p1 -b .0001-Implement-support-for-ppc64-on-Linux
%patch -P398 -p1 -b .0001-Implement-support-for-PPC64-on-Linux
%patch -P399 -p1 -b .0001-Force-baseline-POWER8-AltiVec-VSX-CPU-features-when-
+%patch -P400 -p1 -b .0002-Add-pregenerated-config-for-libaom-on-ppc64
%patch -P401 -p1 -b .fix-rustc
%patch -P402 -p1 -b .fix-rust-linking
%patch -P403 -p1 -b .fix-breakpad-compile
@@ -1263,8 +1225,6 @@ Qt6 UI for chromium.
%patch -P502 -p1 -b .flatpak-widevine
%endif
-%patch -P521 -p1 -b .disable-ai
-
# Upstream patches
# Change shebang in all relevant files in this directory and all subdirectories
@@ -1280,6 +1240,9 @@ sed -i 's|/opt/google/chrome-remote-desktop|%{crd_path}|g' remoting/host/setup/d
# bz#2265957, add correct platform
sed -i "s/Linux x86_64/Linux %{_arch}/" components/embedder_support/user_agent_utils.cc
+# Allow build with system libraries
+sed -i 's/OFFICIAL_BUILD/GOOGLE_CHROME_BUILD/' tools/generate_shim_headers/generate_shim_headers.py
+
# Add correct path for nodejs binary
mkdir -p third_party/node/linux/node-linux-x64/bin
%if %{system_nodejs}
@@ -1305,15 +1268,16 @@ ln -sf ../../%{chromebuilddir}/gn buildtools/linux64/gn
mkdir -p third_party/gperf/cipd/bin
ln -fs $(which gperf) third_party/gperf/cipd/bin/gperf
-# Remove bundle rustc and replace it with system rustc
-mkdir -p third_party/rust-toolchain/bin/
-ln -fs $(which rustc) third_party/rust-toolchain/bin/rustc
-
-# remove bundle python3 and replace it with system one
-# fix FTBFS on aarch64, ppc64le
# ERROR at //build/toolchain/concurrent_links.gni:156:19: Script returned non-zero exit code.
-%ifnarch x86_64
+mkdir -p third_party/cpython3/host/bin
cp $(which python3) third_party/cpython3/host/bin/python3
+
+# Fix FTBFS due to old python3 (version 3.9.25) on epel9
+# /mojo/public/tools/bindings/generators/mojom_rust_generator.py", line 196, in <module>
+# ) -> str | None:
+# TypeError: unsupported operand type(s) for |: 'type' and 'NoneType'
+%if 0%{?rhel} == 9
+sed -i '1i from __future__ import annotations' mojo/public/tools/bindings/generators/mojom_rust_generator.py
%endif
%if %{bundlelibusbx}
@@ -1329,10 +1293,30 @@ cp -a $(pkg-config --variable=includedir libusb-1.0)/libusb-1.0/libusb.h third_p
ln -sf %{_includedir}/simdutf.h third_party/simdutf/simdutf.h
%endif
+# Unpack official Rust 1.100.0 source (pre-vendored with .cargo/config.toml included)
+tar xf %{SOURCE20} -C %{_builddir}
+
+# Unpack Crubit and its vendored crates into third_party/rust-toolchain/crubit/lib/third_party/crubit
+mkdir -p third_party/rust-toolchain/crubit/lib/third_party
+tar xf %{SOURCE22} -C third_party/rust-toolchain/crubit/lib/third_party
+
+# On EPEL 9, unpack the 1.98.0 and 1.99.0 source tarballs
+%if 0%{?rhel} == 9
+tar xf %{SOURCE24} -C %{_builddir}
+tar xf %{SOURCE25} -C %{_builddir}
+%endif
+
%build
+# Bootstrap and replace old ninja on EL9
+%if 0%{?rhel} == 9
+tar xf %{SOURCE26} -C %{_builddir}
+pushd %{_builddir}/ninja-%{ninja_version}
+%set_build_flags
+%python3 configure.py --bootstrap --verbose
+popd
+export PATH="%{_builddir}/ninja-%{ninja_version}:$PATH"
-%if ! %{system_nodejs}
-# Build nodejs and Replace bundle binary
+# Boostrap and Replace old nodejs om EL9
export CXX=c++
tar xf %{SOURCE12}
pushd node-%{nodejs_version}
@@ -1345,15 +1329,184 @@ popd
%endif
# Build tsgo and replace bundle binary
-ver=7.0.2
-tar xf %{SOURCE14} && tar xf %{SOURCE15} -C TypeScript-$ver/tsc
-pushd TypeScript-$ver/tsc/internal/bundled/libs
+tar xf %{SOURCE14} && tar xf %{SOURCE15} -C TypeScript-%{typescript_version}/tsc
+pushd TypeScript-%{typescript_version}/tsc/internal/bundled/libs
patch -p2 < ../../../../../third_party/typescript/linux-amd64/3pp/patches/typescript_native_preview.patch
popd
-pushd TypeScript-$ver/tsc
+pushd TypeScript-%{typescript_version}/tsc
go build -o tsgo ./cmd/tsgo
popd
-cp -a TypeScript-$ver/tsc/tsgo third_party/typescript/linux-amd64/src/lib/tsc
+cp -a TypeScript-%{typescript_version}/tsc/tsgo third_party/typescript/linux-amd64/src/lib/tsc
+
+# ==============================================================================
+# 0. Select or Bootstrap Stage 0 Rust & Cargo Toolcahin
+# ==============================================================================
+%if 0%{?rhel}
+# Hop 1: System rustc (1.97) -> Stage 1 rustc + std/proc_macro (1.98.0)
+cat > %{_builddir}/bootstrap-1.98.toml << EOF
+change-id = 999999
+
+[llvm]
+download-ci-llvm = false
+link-shared = true
+
+[build]
+rustc = "/usr/bin/rustc"
+cargo = "/usr/bin/cargo"
+submodules = false
+locked-deps = true
+vendor = true
+extended = false
+tools = []
+docs = false
+compiler-docs = false
+optimized-compiler-builtins = false
+
+[rust]
+channel = "stable"
+debuginfo-level = 0
+deny-warnings = false
+
+[target.%{rust_target}]
+llvm-config = "/usr/bin/llvm-config"
+EOF
+
+pushd %{_builddir}/rustc-1.98.0-src
+python3 x.py build --stage 1 --config %{_builddir}/bootstrap-1.98.toml \
+ compiler/rustc library
+popd
+
+# Hop 2: Stage 1 rustc (1.98.0) -> Stage 1 rustc + library + cargo (1.99.1)
+cat > %{_builddir}/bootstrap-1.99.toml << EOF
+change-id = 999999
+
+[llvm]
+download-ci-llvm = false
+link-shared = true
+
+[build]
+rustc = "%{_builddir}/rustc-1.98.0-src/build/%{rust_target}/stage1/bin/rustc"
+cargo = "/usr/bin/cargo"
+submodules = false
+locked-deps = true
+vendor = true
+extended = false
+tools = []
+docs = false
+compiler-docs = false
+optimized-compiler-builtins = false
+
+[rust]
+channel = "stable"
+debuginfo-level = 0
+deny-warnings = false
+
+[target.%{rust_target}]
+llvm-config = "/usr/bin/llvm-config"
+EOF
+
+pushd %{_builddir}/rustc-1.99.1-src
+python3 x.py build --stage 1 --skip-stage0-validation --config %{_builddir}/bootstrap-1.99.toml \
+ compiler/rustc library cargo
+
+cp -f build/%{rust_target}/stage1-tools-bin/cargo build/%{rust_target}/stage1/bin/cargo
+popd
+
+STAGE0_RUSTC="%{_builddir}/rustc-1.99.1-src/build/%{rust_target}/stage1/bin/rustc"
+STAGE0_CARGO="%{_builddir}/rustc-1.99.1-src/build/%{rust_target}/stage1/bin/cargo"
+%else
+# Fedora already provides Rust & Cargo 1.100+
+STAGE0_RUSTC="/usr/bin/rustc"
+STAGE0_CARGO="/usr/bin/cargo"
+%endif
+
+# ==============================================================================
+# 1. Configure rustc-1.100.0-src as a Nightly-Enabled Stage 2 Toolchain
+# ==============================================================================
+pushd %{_builddir}/rustc-1.100.0-src
+
+cat > %{_builddir}/bootstrap-final.toml << EOF
+change-id = 999999
+
+[llvm]
+download-ci-llvm = false
+link-shared = true
+
+[build]
+rustc = "${STAGE0_RUSTC}"
+cargo = "${STAGE0_CARGO}"
+submodules = false
+locked-deps = true
+vendor = true
+build-stage = 2
+docs = false
+compiler-docs = false
+extended = false
+tools = []
+optimized-compiler-builtins = false
+
+[rust]
+channel = "nightly"
+debuginfo-level = 0
+dist-src = false
+deny-warnings = false
+
+[target.%{rust_target}]
+llvm-config = "/usr/bin/llvm-config"
+EOF
+
+# ==============================================================================
+# 2. Build and Install the Pristine Stage 2 Sysroot via Official Tarballs
+# ==============================================================================
+python3 x.py dist --stage 2 --skip-stage0-validation \
+ --config %{_builddir}/bootstrap-final.toml \
+ rust-std rustc rustc-dev
+
+mkdir -p %{_builddir}/rust-sysroot
+for tarball in build/dist/*.tar.xz; do
+ tar xf "$tarball" -C build/dist/
+done
+
+for installer in build/dist/*/install.sh; do
+ bash "$installer" --prefix=%{_builddir}/rust-sysroot --disable-ldconfig
+done
+popd
+
+# ==============================================================================
+# 3. Patch & Compile Crubit (cc_bindings_from_rs)
+# ==============================================================================
+CHROMIUM_ROOT="$(pwd)"
+pushd third_party/rust-toolchain/crubit/lib/third_party/crubit
+export RUSTC="%{_builddir}/rust-sysroot/bin/rustc"
+RUSTC_BOOTSTRAP=1 \
+RUSTFLAGS="-Clink-args=-Wl,-z,origin -Clink-args=-Wl,-rpath,\$ORIGIN/../lib" \
+${STAGE0_CARGO} build --offline --locked --release -p cc_bindings_from_rs --bin cc_bindings_from_rs
+
+mkdir -p "${CHROMIUM_ROOT}/third_party/rust-toolchain/crubit/bin"
+cp -a target/release/cc_bindings_from_rs "${CHROMIUM_ROOT}/third_party/rust-toolchain/crubit/bin/"
+popd
+
+# ==============================================================================
+# 4. Stage Sysroot & Shared Libraries Before Chromium GN Build
+# ==============================================================================
+# Link system rustfmt and libclang into the custom sysroot for Chromium's bindgen actions
+ln -sf /usr/bin/rustfmt %{_builddir}/rust-sysroot/bin/rustfmt
+mkdir -p %{_builddir}/rust-sysroot/lib64
+ln -sf /usr/lib64/libclang.so* %{_builddir}/rust-sysroot/lib64/
+
+# Populate third_party/rust-toolchain with rustc + rustfmt + libclang + stdlib
+cp -an %{_builddir}/rust-sysroot/* third_party/rust-toolchain/
+
+# Stage shared libraries for Crubit ($ORIGIN/../lib -> third_party/rust-toolchain/crubit/lib)
+mkdir -p third_party/rust-toolchain/crubit/lib
+cp -a %{_builddir}/rust-sysroot/lib/*.so* third_party/rust-toolchain/crubit/lib/
+cp -an %{_builddir}/rust-sysroot/lib/rustlib/%{rust_target}/lib/libstd-*.so \
+ third_party/rust-toolchain/crubit/lib/
+
+# Ensure GN does not fail if libprofiler_builtins was not built
+if ! ls third_party/rust-toolchain/lib/rustlib/%{rust_target}/lib/libprofiler_builtins-*.rlib >/dev/null 2>&1; then
+ sed -i '/"profiler_builtins",/d' build/rust/std/BUILD.gn
+fi
# reduce warnings
FLAGS=' -Wno-deprecated-declarations -Wno-unknown-warning-option -Wno-unused-command-line-argument'
@@ -1398,10 +1551,10 @@ export RUSTC_BOOTSTRAP=1
# set rustc version
# Fix error: multiple input filenames provided, caused by rustc_wrapper
-rustc_version="$(rustc -V | cut -d' ' -f-2 | sed 's/ /-/')"
+rustc_version="$($RUSTC -V | cut -d' ' -f-2 | sed 's/ /-/')"
# set rust bindgen root
rust_bindgen_root="$(which bindgen | sed 's#/s\?bin/.*##')"
-rust_sysroot_absolute="$(rustc --print sysroot)"
+rust_sysroot_absolute="$($RUSTC --print sysroot)"
# set clang version
clang_version="$(clang --version | sed -n 's/clang version //p' | cut -d. -f1)"
@@ -1452,7 +1605,8 @@ CHROMIUM_CORE_GN_DEFINES+=' use_lld=true'
CHROMIUM_CORE_GN_DEFINES+=" rust_sysroot_absolute=\"$rust_sysroot_absolute\""
CHROMIUM_CORE_GN_DEFINES+=" rust_bindgen_root=\"$rust_bindgen_root\""
CHROMIUM_CORE_GN_DEFINES+=" rustc_version=\"$rustc_version\""
-
+CHROMIUM_CORE_GN_DEFINES+=" added_rust_stdlib_libs=[\"addr2line\",\"adler2\",\"gimli\",\"miniz_oxide\"]"
+CHROMIUM_CORE_GN_DEFINES+=" rust_crubit_root=\"//third_party/rust-toolchain/crubit/\""
CHROMIUM_CORE_GN_DEFINES+=' use_sysroot=false'
%ifarch aarch64
@@ -1956,6 +2110,213 @@ fi
%endif
%changelog
+* Sat Nov 21 2026 Than Ngo <than@redhat.com> - 158.0.8127.36-1
+- Update to 158.0.8127.36, include 204 security fixes
+ * CVE-2026-121101: Missing authorization in DevTools
+ * CVE-2026-130904: Incorrect authorization in SiteSettings
+ * CVE-2026-130905: UI misrepresentation in SVG
+ * CVE-2026-130906: Incorrect authorization in DevTools
+ * CVE-2026-130907: Use after free in Autofill
+ * CVE-2026-130908: Missing authorization in Passwords
+ * CVE-2026-130909: Use after free in Extensions
+ * CVE-2026-130910: Protection mechanism failure in ANGLE
+ * CVE-2026-130911: Race condition in DevTools
+ * CVE-2026-130912: Improper state validation in Network
+ * CVE-2026-130913: Incorrect reference resolution in Mobile
+ * CVE-2026-130914: Uninitialized resource in ANGLE
+ * CVE-2026-130915: Use after free in CSS
+ * CVE-2026-130916: Missing authorization in DevTools
+ * CVE-2026-130917: Use after free in Browser
+ * CVE-2026-130918: Use after free in Views
+ * CVE-2026-130919: Race condition in Printing
+ * CVE-2026-130920: Information leak in Payments
+ * CVE-2026-130921: Nonce reuse in WebRTC
+ * CVE-2026-130922: UI misrepresentation in UI
+ * CVE-2026-130923: Out of bounds write in V8
+ * CVE-2026-130924: Incorrect authorization in WebAppInstalls
+ * CVE-2026-130925: Race condition in Downloads
+ * CVE-2026-130926: Confused deputy in Sync
+ * CVE-2026-130927: Incorrect authorization in DevTools
+ * CVE-2026-130928: Code injection in Mobile
+ * CVE-2026-130929: Use after free in Chromoting
+ * CVE-2026-130930: Use after free in Ozone
+ * CVE-2026-130931: Incorrect authorization in Extensions
+ * CVE-2026-130932: Improper resource exposure in Core
+ * CVE-2026-130933: Information leak in Paint
+ * CVE-2026-130934: Incorrect authorization in Autofill
+ * CVE-2026-130935: Information leak in Referrer
+ * CVE-2026-130936: Information leak in Media
+ * CVE-2026-130937: Incorrect authorization in Navigation
+ * CVE-2026-130938: Use after free in Accessibility
+ * CVE-2026-130939: Missing authorization in LocalNetworkAccess
+ * CVE-2026-130940: Improper state validation in GPU
+ * CVE-2026-130941: Incorrect authorization in HTML
+ * CVE-2026-130942: Observable discrepancy in Extensions
+ * CVE-2026-130943: Use after free in Chromecast
+ * CVE-2026-130944: Use after free in Omnibox
+ * CVE-2026-130945: Use after free in VR
+ * CVE-2026-130946: Incorrect authorization in PerformanceAPIs
+ * CVE-2026-130947: Integer overflow in Autofill
+ * CVE-2026-130948: Use after free in Omnibox
+ * CVE-2026-130949: UI misrepresentation in Passwords
+ * CVE-2026-130950: Type confusion in V8
+ * CVE-2026-130951: Use after free in Plugins
+ * CVE-2026-130952: Uninitialized resource in Network
+ * CVE-2026-130953: Incorrect authorization in Core
+ * CVE-2026-130954: Incorrect reference resolution in ANGLE
+ * CVE-2026-130955: UI misrepresentation in Mobile
+ * CVE-2026-130956: Improper input validation in WebAppInstalls
+ * CVE-2026-130957: Improper state validation in Performance
+ * CVE-2026-130958: Uninitialized resource in WebRTC
+ * CVE-2026-130959: Missing authorization in FileSystem
+ * CVE-2026-130960: Use after free in Session
+ * CVE-2026-130961: Incorrect authorization in Media
+ * CVE-2026-130962: Incomplete cleanup in Navigation
+ * CVE-2026-130963: Use after free in WebView
+ * CVE-2026-130964: Confused deputy in DevTools
+ * CVE-2026-130965: Uninitialized resource in Media
+ * CVE-2026-130966: Out of bounds read in Tint
+ * CVE-2026-130967: Incorrect authorization in DevTools
+ * CVE-2026-130968: Use after free in Views
+ * CVE-2026-130969: Incorrect authorization in Omnibox
+ * CVE-2026-130970: Uninitialized resource in GPU
+ * CVE-2026-130971: Out of bounds write in ANGLE
+ * CVE-2026-130972: Observable discrepancy in PictureInPicture
+ * CVE-2026-130973: Incorrect authorization in Sensor
+ * CVE-2026-130974: Use after free in UserEducation
+ * CVE-2026-130975: Use after free in WebAudio
+ * CVE-2026-130976: Use after free in PDFium
+ * CVE-2026-130977: Uninitialized resource in Dawn
+ * CVE-2026-130978: Incorrect authorization in Media
+ * CVE-2026-130979: Use after free in Forms
+ * CVE-2026-130980: Use after free in Layout
+ * CVE-2026-130981: Information leak in Enterprise
+ * CVE-2026-130982: Incorrect authorization in Omnibox
+ * CVE-2026-130983: Incorrect authorization in DevTools
+ * CVE-2026-130984: Incorrect authorization in Canvas
+ * CVE-2026-130985: Improper input validation in DOMStorage
+ * CVE-2026-130986: Incorrect authorization in Sync
+ * CVE-2026-130987: Race condition in Downloads
+ * CVE-2026-130988: Out of bounds read in V8
+ * CVE-2026-130989: Missing authorization in Paint
+ * CVE-2026-130990: Missing authorization in PersistentCache
+ * CVE-2026-130991: Uninitialized resource in Media
+ * CVE-2026-130992: Incorrect authorization in Views
+ * CVE-2026-130993: Use after free in Script
+ * CVE-2026-130994: Use after free in WebGL
+ * CVE-2026-130995: UI misrepresentation in Autofill
+ * CVE-2026-130996: Out of bounds write in ANGLE
+ * CVE-2026-130997: Incomplete cleanup in Autofill
+ * CVE-2026-130998: Improper input validation in Parser
+ * CVE-2026-130999: Use after free in Downloads
+ * CVE-2026-131000: Improper input validation in WebAppInstalls
+ * CVE-2026-131001: Buffer overflow in Video
+ * CVE-2026-131002: Uninitialized resource in GPU
+ * CVE-2026-131003: Confused deputy in TabModel
+ * CVE-2026-131004: Use after free in FedCM
+ * CVE-2026-131005: Use after free in DevTools
+ * CVE-2026-131006: Race condition in CredentialProvider
+ * CVE-2026-131007: Uninitialized resource in GPU
+ * CVE-2026-131008: Use after free in GarbageCollection
+ * CVE-2026-131009: UI misrepresentation in Passwords
+ * CVE-2026-131010: Use after free in Extensions
+ * CVE-2026-131011: Use of uninitialized variable in Speech
+ * CVE-2026-131012: Missing authorization in Services
+ * CVE-2026-131013: Buffer overflow in Skia
+ * CVE-2026-131014: Confused deputy in Grid
+ * CVE-2026-131015: Missing authorization in Mobile
+ * CVE-2026-131016: Incorrect authorization in DevTools
+ * CVE-2026-131017: Information leak in Editing
+ * CVE-2026-131018: Confused deputy in DevTools
+ * CVE-2026-131019: Information leak in ANGLE
+ * CVE-2026-131020: Use after free in WebView
+ * CVE-2026-131021: Use after free in Accessibility
+ * CVE-2026-131022: Use after free in DOM
+ * CVE-2026-131023: Race condition in Core
+ * CVE-2026-131024: Incorrect authorization in iOSWeb
+ * CVE-2026-131025: Out of bounds read in ANGLE
+ * CVE-2026-131026: Information leak in Media
+ * CVE-2026-131027: Observable discrepancy in Browser
+ * CVE-2026-131028: Incorrect authorization in WebAppInstalls
+ * CVE-2026-131029: Improper input validation in Extensions
+ * CVE-2026-131030: Privilege elevation in Sandbox
+ * CVE-2026-131031: Out of bounds write in GPU
+ * CVE-2026-131032: Confused deputy in UI
+ * CVE-2026-131033: Missing authorization in Extensions
+ * CVE-2026-131034: Incorrect authorization in SurfaceCapture
+ * CVE-2026-131035: Out of bounds read in Media
+ * CVE-2026-131036: UI misrepresentation in Autofill
+ * CVE-2026-131037: Improper authentication request restriction in Chromoting
+ * CVE-2026-131038: Missing authorization in Editing
+ * CVE-2026-131039: Use after free in Mojo
+ * CVE-2026-131040: Incorrect authorization in Extensions
+ * CVE-2026-131041: Improper input validation in Editing
+ * CVE-2026-131042: Use after free in V8
+ * CVE-2026-131043: Use after free in HID
+ * CVE-2026-131044: Use after free in Payments
+ * CVE-2026-131045: Incorrect authorization in PerformanceAPIs
+ * CVE-2026-131046: Improper input validation in ChromeDriver
+ * CVE-2026-131047: Race condition in ServiceManager
+ * CVE-2026-131048: Incorrect authorization in GetUserMedia
+ * CVE-2026-131049: Use after free in SignIn
+ * CVE-2026-131050: Use after free in Mojo
+ * CVE-2026-131051: Incorrect authorization in UI
+ * CVE-2026-131052: Race condition in UI
+ * CVE-2026-131053: Missing authorization in Layout
+ * CVE-2026-131054: Out of bounds write in ANGLE
+ * CVE-2026-131055: Improper output encoding in Editing
+ * CVE-2026-131056: Use after free in WebAppInstalls
+ * CVE-2026-131057: Out of bounds read in ANGLE
+ * CVE-2026-131058: UI misrepresentation in WebAppInstalls
+ * CVE-2026-131059: Use after free in Autofill
+ * CVE-2026-131060: Buffer overflow in Media
+ * CVE-2026-131061: Buffer overflow in Color
+ * CVE-2026-131062: Improper synchronization in ScreenCapture
+ * CVE-2026-131063: Use after free in CameraCapture
+ * CVE-2026-131064: Incorrect authorization in WebAppInstalls
+ * CVE-2026-131065: Use after free in Autofill
+ * CVE-2026-131066: Uninitialized resource in Dawn
+ * CVE-2026-131067: Missing authorization in Autofill
+ * CVE-2026-131068: Use after free in DOM
+ * CVE-2026-131069: Information leak in WebGL
+ * CVE-2026-131070: Information leak in DOM
+ * CVE-2026-131071: Confused deputy in Mobile
+ * CVE-2026-131072: Incorrect authorization in HID
+ * CVE-2026-131073: Incorrect authorization in Passwords
+ * CVE-2026-131074: Use after free in DeviceBoundSessionCredentials
+ * CVE-2026-131075: Improper input validation in DevTools
+ * CVE-2026-131076: Uninitialized resource in GPU
+ * CVE-2026-131077: Out of bounds write in Tint
+ * CVE-2026-131078: Use after free in Proxy
+ * CVE-2026-131079: Use after free in Bindings
+ * CVE-2026-131080: UI misrepresentation in Chromium
+ * CVE-2026-131081: Incorrect authorization in Media
+ * CVE-2026-131082: Use after free in CSS
+ * CVE-2026-131083: Uninitialized resource in GPU
+ * CVE-2026-131084: Use after free in XML
+ * CVE-2026-131085: Clickjacking in PermissionElement
+ * CVE-2026-131086: Uninitialized resource in WebRTC
+ * CVE-2026-131087: Type confusion in V8
+ * CVE-2026-131088: Improper input validation in WebAppInstalls
+ * CVE-2026-131089: Buffer overflow in CrashReporting
+ * CVE-2026-131090: Use after free in Geometry
+ * CVE-2026-131091: Missing authorization in Autofill
+ * CVE-2026-131092: Use after free in Mojo
+ * CVE-2026-131093: Use after free in FedCM
+ * CVE-2026-131094: Incorrect authorization in WebUI
+ * CVE-2026-131095: Information leak in Workers
+ * CVE-2026-131096: Missing authorization in Editing
+ * CVE-2026-131097: Missing authorization in V8
+ * CVE-2026-131098: Out of bounds read in V8
+ * CVE-2026-131099: Out of bounds read in ANGLE
+ * CVE-2026-131100: Use after free in Loader
+ * CVE-2026-131101: Out of bounds read in Editing
+ * CVE-2026-131102: UI misrepresentation in FileSystem
+ * CVE-2026-131103: Uninitialized resource in GPU
+ * CVE-2026-131104: Out of bounds read in Tint
+ * CVE-2026-131105: Incorrect authorization in Glic
+ * CVE-2026-131106: Buffer overflow in Partition
+
* Thu Nov 12 2026 Than Ngo <than@redhat.com> - 157.0.8103.78-1
- Update to 157.0.8103.78, include 83 security fixes
* CVE-2026-126885: Use after free in ServiceWorker
diff --git a/disable-ai.patch b/disable-ai.patch
index 82b8e97..6a8fa7c 100644
--- a/disable-ai.patch
+++ b/disable-ai.patch
@@ -962,7 +962,7 @@
namespace sync_sessions {
class SyncSessionsRouterTabHelper;
} // namespace sync_sessions
-@@ -870,10 +864,6 @@ class TabFeatures {
+@@ -863,10 +857,6 @@ class TabFeatures {
std::unique_ptr<contextual_tasks::SearchJourneyTabFeature>
search_journey_tab_feature_;
@@ -987,7 +987,7 @@
} // IsInNormalWindow() end.
if (base::FeatureList::IsEnabled(features::kGlicActor)) {
-@@ -1056,10 +1051,6 @@ void TabFeatures::Init(TabInterface& tab
+@@ -1044,10 +1039,6 @@ void TabFeatures::Init(TabInterface& tab
}
#endif
diff --git a/sources b/sources
index 346f176..1488049 100644
--- a/sources
+++ b/sources
@@ -1,4 +1,9 @@
SHA512 (node-v22.22.0-stripped.tar.gz) = f32a8a73063b3c78cbacf941e11dd529ebcf2618b3ba661966312e49ee9870c43a3acf256e8d331a4b0b621b16a501810c02a3ad763c75884cc250addca8e106
-SHA512 (chromium-157.0.8103.78-clean.tar.xz) = 0805f64d51751d9e61aeca7708d95d98ae3b810e63254d58e7fbdcb979388f04d9f86b2a4daf1e24f75dd6c8a6414dce54473683fb3152e250bc556ea92b2cb1
SHA512 (TypeScript-7.0.2.tar.gz) = ab381b5d7bf16463f75a19b9b517d8ed94699f14fd49746e72df3f23381df6a1debb057b1d9c939a3d393952ad684dc9200cb964195ba6d62efb6a1536bc835a
SHA512 (TypeScript-7.0.2-vendor-archive.tar.gz) = 015fcc73bda7a0f9c6b6b1bfbc2dae0f4cbf0bace8e95261c81adce93742632982f72acd71be6ed3b71ffc2a91b2674e65b9efbf031e4949bd2775d4dc18e930
+SHA512 (ninja-1.13.2.tar.gz) = c0b401b4db91a2eea01a474ee979b2c6f1daa97b4c8d1f856871ce5f6d567c4b26d6246bc57e2a5f914329302abcd9c00ab0d4394a25f2ad502b6b00a07903d2
+SHA512 (rustc-1.100.0-src.tar.xz) = 35b8ad7f6449d5c68de483d989043e8297fa29b37e6a448ef710d1b4e8f92bc0dd21704a1c924344cf721f1b2f8010fff2b64368d507cffc7cd2b11f2f56c12b
+SHA512 (rustc-1.98.0-src.tar.xz) = d457af66ee9107613c1e58b588ad5f616c5efdc9a2164add4d52b7d7f6d869a580187b5e4b763f1d8ca275c7666e58e6de9d9a5751363758a0ebf01a9528f437
+SHA512 (rustc-1.99.1-src.tar.xz) = 641fb7ebb205cc8fc7a05d79f1353ae4aedf5a1080cd3928da51865b6b7ec721c755992c8bfdcc9fe93893dfac15439093e78580e7a78913a7f1db4e3b6f95e8
+SHA512 (chromium-158.0.8127.36-clean.tar.xz) = b85f9345af2ee91cfc50626a2cc2614fe5701c6734773885a736a4187aee87ba96cbb6300336d19c19ecc05cbaf9826ee711cab458b00ff2765b34afd7a0ac00
+SHA512 (crubit.tar.xz) = 063b800c4b58e56f8ca80708e9b6dca46a2e23da5821b4fe1081377a35751e258e2d8c80ef68f1b23df9e5003bafa697ecb1173eefde0d9c6f98e00a63be8bfc
diff --git a/chromium.spec b/chromium.spec
index 5e9567a..69c751e 100644
--- a/chromium.spec
+++ b/chromium.spec
@@ -3590,6 +3590,9 @@ fi
* CVE-2026-93386: UI misrepresentation in WebAppInstalls
* CVE-2026-93387: Improper state validation in Skia
+* Thu Sep 17 2026 Dominik Mierzejewski <dominik@greysector.net> - 153.0.8010.36-2
+- Rebuild for FFmpeg 9
+
* Mon Sep 14 2026 Than Ngo <than@redhat.com> - 153.0.8010.36-1
- Update to 153.0.8010.36
* CVE-2026-87429: Missing authorization in ServiceWorker
next reply other threads:[~2026-11-22 22:08 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-11-22 22:08 Than Ngo [this message]
-- strict thread matches above, loose matches on Subject: below --
2026-11-24 13:59 [rpms/chromium] f45: Merge branch 'rawhide' into f45 Than Ngo
2026-11-22 23:27 Than Ngo
2026-11-14 13:51 Than Ngo
2026-11-13 17:54 Than Ngo
2026-11-02 9:20 Than Ngo
2026-10-30 20:52 Than Ngo
2026-10-29 10:01 Than Ngo
2026-10-28 17:25 Than Ngo
2026-10-28 9:36 Than Ngo
2026-10-21 19:23 Than Ngo
2026-10-21 16:26 Than Ngo
2026-10-16 7:52 Than Ngo
2026-10-14 15:15 Than Ngo
2026-10-11 8:08 Than Ngo
2026-10-11 7:45 Than Ngo
2026-10-05 10:24 Than Ngo
2026-09-30 18:24 Than Ngo
2026-09-23 18:20 Than Ngo
2026-09-23 15:13 Than Ngo
2026-09-19 7:27 Than Ngo
2026-09-18 18:35 Than Ngo
2026-09-18 15:50 Than Ngo
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179538530326.1.4475652155692975565.rpms-chromium-6f958d5fdd56@fedoraproject.org \
--to=than@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox