Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: a3e2a347cac2459ffb24632d96aa347bea8cb358
https://github.com/WebKit/WebKit/commit/a3e2a347cac2459ffb24632d96aa347bea8cb358
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M Tools/Scripts/cross-toolchain-helper
M Tools/yocto/README.md
Log Message:
-----------
Cherry-pick 307070@main (c518b4423ada).
https://bugs.webkit.org/show_bug.cgi?id=307119
[WPE][cross-toolchain-helper] Issues cross-building WebKit inside the SDK
due to LD_LIBRARY_PATH
https://bugs.webkit.org/show_bug.cgi?id=307119
Reviewed by Nikolas Zimmermann.
Inside the SDK by default LD_LIBRARY_PATH is defined to the /jhbuild path.
This seems to cause
problems with the cross-builds via cross-toolchain-helper, because it ends
producing artifacts
for the native architecture instead for the cross-target one.
There are also a bunch of other env vars defined on the SDK by default
(related to jhbuild)
that are potentially problematic for a cross-build environment.
This patch ensures that this the environment variables for the cross-target
build are cleaned
automatically before starting the build.
* Tools/Scripts/cross-toolchain-helper:
(YoctoCrossBuilder._initialize_environment_for_target):
* Tools/yocto/README.md:
Canonical link: https://commits.webkit.org/307070@main
Canonical link: https://commits.webkit.org/305877.1031@webkitglib/2.52
Commit: 6feceb27af2c8e951870d30e1895a45169aabda6
https://github.com/WebKit/WebKit/commit/6feceb27af2c8e951870d30e1895a45169aabda6
Author: Angelos Oikonomopoulos <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
A Tools/yocto/rpi/local-rpi5-64bits-mesa.conf
M Tools/yocto/rpi/manifest.xml
M Tools/yocto/targets.conf
Log Message:
-----------
Cherry-pick 313500@main (fb1bf8cca1e4).
https://bugs.webkit.org/show_bug.cgi?id=315079
[WPE][cross-toolchain-helper] Add rpi5-64bits
https://bugs.webkit.org/show_bug.cgi?id=315079
Reviewed by Carlos Alberto Lopez Perez.
Add configuration, define target.
Canonical link: https://commits.webkit.org/313500@main
Canonical link: https://commits.webkit.org/305877.1032@webkitglib/2.52
Commit: 581974808d90a298f2737fece9f18a3c116932a2
https://github.com/WebKit/WebKit/commit/581974808d90a298f2737fece9f18a3c116932a2
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M Tools/yocto/meta-openembedded_and_meta-webkit.patch
Log Message:
-----------
Cherry-pick 305887@main (bfc4c6e3d42a).
https://bugs.webkit.org/show_bug.cgi?id=305841
[WPE][cross-toolchain-helper]: libhyphen is required by default on WPE
after 305816@main
https://bugs.webkit.org/show_bug.cgi?id=305841
Unreviewed build fix.
After 305816@main libhyphen is required by the default WPE build.
However this dependency was not available on the Yocto environment
used by the RPi4 perf bots.
This patch adds the recipe for libhyphen and builds the dependency
into the default image that cross-toolchain-helper generates.
The changes are integrated here as a local patch that has been
forwarded in another PR to the meta-webkit layer repo for review.
Refs: https://github.com/Igalia/meta-webkit/pull/582
* Tools/yocto/meta-openembedded_and_meta-webkit.patch:
Canonical link: https://commits.webkit.org/305887@main
Canonical link: https://commits.webkit.org/305877.1033@webkitglib/2.52
Commit: 43059926f558bca6a6513227b8682e4397bd7e4b
https://github.com/WebKit/WebKit/commit/43059926f558bca6a6513227b8682e4397bd7e4b
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M Tools/Scripts/cross-toolchain-helper
M Tools/yocto/README.md
A Tools/yocto/image_extras/chromium.conf
A Tools/yocto/image_extras/netdata.conf
M Tools/yocto/meta-openembedded_and_meta-webkit.patch
M Tools/yocto/riscv/manifest.xml
M Tools/yocto/rpi/bblayers.conf
M Tools/yocto/rpi/local-rpi3-32bits-mesa.conf
M Tools/yocto/rpi/local-rpi3-32bits-userland.conf
M Tools/yocto/rpi/local-rpi3-64bits-mesa.conf
M Tools/yocto/rpi/local-rpi4-32bits-mesa.conf
M Tools/yocto/rpi/local-rpi4-64bits-mesa.conf
M Tools/yocto/rpi/local-rpi5-64bits-mesa.conf
M Tools/yocto/rpi/manifest.xml
Log Message:
-----------
Cherry-pick 314058@main (79d8bc987197).
https://bugs.webkit.org/show_bug.cgi?id=315748
[WPE][cross-toolchain-helper] Improve support for Clang and implement
features "image-extras" and "check-if-layer-is-updated"
https://bugs.webkit.org/show_bug.cgi?id=315748
Reviewed by Nikolas Zimmermann.
The image-extras feature allows building Chromium and Netdata optionally
(opt-in),
so this can be enabled by default on the bots but not for developers which
most
of them don't care about this, so they don't need to wait the many hours
that
takes Chromium to be built when testing locally. This will be enabled on
the bots
via env var WEBKIT_CROSS_IMAGE_EXTRAS=chromium+netdata
The check-if-layer-is-updated feature allows to automatically detect if
there are
new layer updates on the git repository from origin/upstream for the branch
that
is currently beeing used. The idea of this will be to add a new step on the
perf
build bots that check if there are new updates on the meta-browser layer
and if
there are new updates then the step will turn red (error) without blocking
the
next build steps (haltOnFailure = False). That will make easier for bot
watchers
or gardeners to detect this and to submit a PR updating the layer to the
last
version, which should include a new Chromium version. That way we keep
testing
on the perf dashboard new versions of Chromium as those are available but
we also
keep the process of updating the layer version semi-manual, so this update
gets
registered as commit on webkit and bisection of any performance issue
becomes
possible (because the layer update can affect also libraries used by
webkit).
This patch also improves the support for Clang. Now it is possible to use
Clang to build webkit via script build-webkit when using
cross-toolchain-helper,
or inside the cross-dev-shell. For that simply set on your environment
CC=clang CXX=clang++ before starting the webkit build or executing
cross-dev-shell.
This also fixes an issue when parsing the cmakeargs arrguments in
build-webkit
when those contain spaces, now it uses shlex instead of manual scaping the
quotes,
which is more robust.
And finally it updates all the layer references (but meta-webkit) to the
last versions
available for Yocto scarthgap branch, removing from the common patch those
chunks that
were already merged upstream, and adding new chunks to support this changes.
* Tools/Scripts/cross-toolchain-helper:
(YoctoTargetsConfig.__init__):
(YoctoTargetsConfig._get_path):
(YoctoTargetsConfig.get_environment):
(YoctoTargetsConfig):
(YoctoTargetsConfig.get_extra_images_fragment_file_paths):
(YoctoTargetsConfig.get_hash_for_target):
(YoctoTargetsConfig.generate_and_export_hash_version_identifier):
(YoctoCrossBuilder):
(YoctoCrossBuilder.__init__):
(YoctoCrossBuilder._check_or_init_image_extras_file):
(YoctoCrossBuilder._check_or_init_image_extras_file.log_image_extras):
(YoctoCrossBuilder._run_cmd):
(YoctoCrossBuilder._add_recipe_to_include_version_file_into_image):
(YoctoCrossBuilder._initialize_workdir):
(YoctoCrossBuilder._do_bitbake):
(YoctoCrossBuilder.build_toolchain):
(YoctoCrossBuilder.cross_dev_shell):
(YoctoCrossBuilder.execute_cmd_inside_cross_toolchain_env):
(YoctoCrossBuilder.execute_deploy_script):
(YoctoCrossBuilder.check_if_image_is_updated):
(YoctoCrossBuilder.check_layer_updates):
(main):
* Tools/yocto/README.md:
* Tools/yocto/image_extras/chromium.conf: Added.
* Tools/yocto/image_extras/netdata.conf: Added.
* Tools/yocto/meta-openembedded_and_meta-webkit.patch:
* Tools/yocto/riscv/manifest.xml:
* Tools/yocto/rpi/bblayers.conf:
* Tools/yocto/rpi/local-rpi3-32bits-mesa.conf:
* Tools/yocto/rpi/local-rpi3-32bits-userland.conf:
* Tools/yocto/rpi/local-rpi3-64bits-mesa.conf:
* Tools/yocto/rpi/local-rpi4-32bits-mesa.conf:
* Tools/yocto/rpi/local-rpi4-64bits-mesa.conf:
* Tools/yocto/rpi/local-rpi5-64bits-mesa.conf:
* Tools/yocto/rpi/manifest.xml:
Canonical link: https://commits.webkit.org/314058@main
Canonical link: https://commits.webkit.org/305877.1034@webkitglib/2.52
Commit: b7c8855f77831edb7ab9221cdb7db64af89dc05d
https://github.com/WebKit/WebKit/commit/b7c8855f77831edb7ab9221cdb7db64af89dc05d
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M Tools/yocto/meta-openembedded_and_meta-webkit.patch
Log Message:
-----------
Cherry-pick 315103@main (06d7373045ce).
https://bugs.webkit.org/show_bug.cgi?id=316989
[WPE][cross-toolchain-helper] Allow detached tmux/screen sessions, set
logind KillUserProcesses=no
https://bugs.webkit.org/show_bug.cgi?id=316989
Reviewed by Nikolas Zimmermann.
Configure the image with KillUserProcesses=no for logind, so it is possible
to run detached screen or tmux sessions in the background. This is a general
useful thing for development and matches the behaviour expected on login
sessions from most desktop distributions.
* Tools/yocto/meta-openembedded_and_meta-webkit.patch:
Canonical link: https://commits.webkit.org/315103@main
Canonical link: https://commits.webkit.org/305877.1035@webkitglib/2.52
Commit: 732b8eca42e0b114d3dc3b583e168329daed7b05
https://github.com/WebKit/WebKit/commit/732b8eca42e0b114d3dc3b583e168329daed7b05
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M Tools/yocto/image_extras/chromium.conf
Log Message:
-----------
Cherry-pick 315104@main (3e38165dc470).
https://bugs.webkit.org/show_bug.cgi?id=315999
[WPE][cross-toolchain-helper] For the optional chromium build, do not set
CHROMIUM_EXTRA_ARGS
https://bugs.webkit.org/show_bug.cgi?id=315999
Reviewed by Nikolas Zimmermann.
The flags we were passing to Chromium are not longer valid as those
switches got renamed,
this resulted in Chromium not enabling hardware acceleration (about://gpu).
Leave the value empty so the recipe defaults to the right values, which are
defined via
PACKAGECONFIG options, and on the current version will resolve to:
"--use-angle=gles-egl \
--ozone-platform-hint=wayland \
--ozone-platform=wayland
--enable-features=AcceleratedVideoDecoder,AcceleratedVideoDecodeLinuxGL,AcceleratedVideoDecodeLinuxZeroCopyGL"
* Tools/yocto/image_extras/chromium.conf:
Canonical link: https://commits.webkit.org/315104@main
Canonical link: https://commits.webkit.org/305877.1036@webkitglib/2.52
Commit: 3fa7d802a968549176b81b4a460ff073d4d4a393
https://github.com/WebKit/WebKit/commit/3fa7d802a968549176b81b4a460ff073d4d4a393
Author: Carlos Alberto Lopez Perez <[email protected]>
Date: 2026-08-04 (Tue, 04 Aug 2026)
Changed paths:
M Tools/yocto/riscv/manifest.xml
M Tools/yocto/rpi/manifest.xml
Log Message:
-----------
Cherry-pick 316883@main (a3bb2650a027).
https://bugs.webkit.org/show_bug.cgi?id=319082
[WPE][cross-toolchain-helper] fatal: repository
'https://git.yoctoproject.org/git/poky/' not found
https://bugs.webkit.org/show_bug.cgi?id=319082
Reviewed by Nikolas Zimmermann.
It seems the URIs https://git.yoctoproject.org/git/$repo are not longer
valid,
and the new valid ones have the format of https://git.yoctoproject.org/$repo
* Tools/yocto/riscv/manifest.xml:
* Tools/yocto/rpi/manifest.xml:
Canonical link: https://commits.webkit.org/316883@main
Canonical link: https://commits.webkit.org/305877.1037@webkitglib/2.52
Compare: https://github.com/WebKit/WebKit/compare/be48b756b979...3fa7d802a968
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications