OSSystems / meta-browser

OpenEmbedded/Yocto BSP layer for Web Browsers
MIT License
184 stars 191 forks source link

chromium: update to 110.0.5481.77 #695

Closed MaxIhlenfeldt closed 1 year ago

MaxIhlenfeldt commented 1 year ago

Release notes: https://chromereleases.googleblog.com/2023/02/stable-channel-update-for-desktop.html

Build and patch changes:

Add DEPENDS on libffi as Chromium doesn't allow building with system libwayland anymore, and needs libffi to build its own libwayland.

Add libffi_%.bbappend to also copy the PIC version of libffi.a to the sysroot, as Chromium needs it. This is the same approach that Debian takes, which Chromium uses for its sysroot: https://sources.debian.org/src/libffi/3.4.4-1/debian/rules/#L103

Remove angle_use_wayland build arg as Chromium now uses Wayland >= 1.20.

Update generate_license_list.py to adapt to: 2be00b963986 Move license tooling into //tools/licenses

Merge 0010-Revert-ios-Fix-breakpoint-in-Swift-files.patch with 0011-Revert-Use-ffile-compilation-dir-instead-of-fdebug-c.patch, as proposed in the former patch's commit message:

This should be fixed by merging these two patches in the next rebase and the changes to toolchain/ios/swiftc.py dropped.

Drop backported 0012-Build-X11-parts-only-for-ozone_platform_x11.patch, which was already removed from the build in the update to 109.

Update 0013-Fix-html_minifier-script-for-node-v12.patch's Upstream-Status to Inappropriate, per discussion with the maintainer: https://crrev.com/c/4239697.

Drop backported 0014-blink-Fix-includes-for-metronome_source.patch.

Rebase remaining patches.

License changes:

Added licenses:

Removed licenses:

Updated licenses:

Test-built:

** Please note that Chromium requires clang version to be >= 12. For that, when on dunfell branch, use the latest meta-clang/dunfell-clang12 branch.

rwmacleod commented 1 year ago

I am building and testing chromium-x11 for [master|kirkstone] for qx64, rpi4, qemuarm

rakuco commented 1 year ago

** Please note that Chromium requires clang version to be >= 12. For that, when on dunfell branch, use the latest meta-clang/clang12 branch.

The branch name is dunfell-clang12, could you update the PR and commit message?

rwmacleod commented 1 year ago

I am building and testing chromium-x11 for [master|kirkstone] for qx64, rpi4, qemuarm

These branches/machiens all build fine and I tested runtime for qemux86-64 and rpi4-64 and chromium-x11 worked as expected. Ship it!

MaxIhlenfeldt commented 1 year ago

These branches/machiens all build fine and I tested runtime for qemux86-64 and rpi4-64 and chromium-x11 worked as expected. Ship it!

Thanks a lot for testing! I'm currently doing one final build to make sure I didn't break anything with the latest changes, and if nothing's broken, I'll merge this tomorrow morning (CET)!

MaxIhlenfeldt commented 1 year ago

please add the branches/platforms that @rwmacleod tested with to the list in the commit/PR message

Done.

Thank you for working on this, and welcome aboard!

Thanks, my pleasure!