[meta-arago][master][PATCH] chromium: Remove obsolete workarounds fixed upstream

Thorsten Lannynd <[email protected]> Thu, 12 Mar 2026 14:54:01 -0500
Newsgroups org.yoctoproject.lists.meta-arago
Message-ID <[email protected]>
Remove build workarounds that are no longer needed due to fixes in
meta-browser:
  - Rust 1.8x patch removal
  - ThinLTO linker OOM
  - pkg-config detection setup

These issues have been resolved upstream in meta-browser, so the local
changes in the bbappend can be removed.

https://github.com/OSSystems/meta-browser/pull/957
https://github.com/OSSystems/meta-browser/pull/958
https://github.com/OSSystems/meta-browser/pull/959

Signed-off-by: Thorsten Lannynd <[email protected]>
---
 .../chromium/chromium-ozone-wayland-arago.inc       | 13 -------------
 1 file changed, 13 deletions(-)

diff --git a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
index e2d55180..5b0f2703 100644
--- a/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
+++ b/meta-arago-distro/dynamic-layers/chromium-browser-layer/recipes-browser/chromium/chromium-ozone-wayland-arago.inc
@@ -4,9 +4,6 @@ FILESEXTRAPATHS:prepend := "${THISDIR}/chromium-ozone-wayland-142.0.7444.175:"
 
 PACKAGECONFIG:append = " proprietary-codecs"
 
-# Remove incompatible Rust 1.8x patch (for Rust 1.93+)
-SRC_URI:remove = "file://chromium-142-crabbyavif-rust18x.patch"
-
 SRC_URI:append = " \
                   file://0001-media-gpu-v4l2-Use-ChromeOS-style-dev-paths-for-all-.patch \
                   file://0002-chromium-gpu-sandbox-Allow-GPU-sandbox-access-to-V4L.patch \
@@ -14,9 +11,6 @@ SRC_URI:append = " \
                   file://0004-media-gpu-v4l2-Avoid-placing-incomplete-H264-access-.patch \
                   "
 
-# Disable ThinLTO to prevent linker OOM crashes
-GN_ARGS += " use_thin_lto=false"
-
 # Override do_copy_clang_library to handle both target and host architectures
 do_copy_clang_library() {
     cp -r "${STAGING_LIBDIR_NATIVE}/clang/latest" "${STAGING_DIR_HOST}${nonarch_libdir}/clang/"
@@ -69,10 +63,3 @@ do_copy_clang_library() {
         fi
     done
 }
-
-# Add pkg-config setup for NSS detection
-do_configure:prepend() {
-    export PKG_CONFIG_PATH="${STAGING_LIBDIR}/pkgconfig:${STAGING_DATADIR}/pkgconfig"
-    export PKG_CONFIG_SYSROOT_DIR="${STAGING_DIR_TARGET}"
-    export PKG_CONFIG_LIBDIR="${STAGING_LIBDIR}/pkgconfig"
-}