Skip to content

Commit

Permalink
wpewebkit,ci: Bump to version 2.46.1
Browse files Browse the repository at this point in the history
* Create new recipe for version 2.46.1
* Delete recipes for version 2.42.5

Changes:

* Skia is used instead of Cairo for 2D rendering, and GPU rendering is enabled
  by default.
* Offscreen Canvas is now enabled by default.
* Add support for system tracing using Sysprof.
* Add new API to load settings from a config file.
* Add a new setting to toggle 2D Canvas acceleration (enabled by default).
* Undeprecate console messages API and make it available in the 2.0 API.
* Use the Skia CPU renderer by default, which at the moment performs better in
  a number of embedded devices. The GPU renderer is still available and may be
  enabled by setting WEBKIT_SKIA_ENABLE_CPU_RENDERING=0 in the environment.
* Add an ENABLE_WPE_PLATFORM build option to CMake. This is disabled by
  default because the WPEPlatform API is in development and provided as part of
  the 2.46.x releases as a preview feature.
* Fix login QR code not shown in WhatsApp web.
* Fix processes not spawning when process startup is customized using the
  wpe_process_provider API from libwpe.
* Fix mouse simulation with WebDriver when using a classic WPE backend through
  libwpe.
* Disable DMABuf video sink by default to prevent file descriptor leaks.
* Fix building the MiniBrowser.
* Fix the build with libsysprof-capture version 44 and older.
* Fix the build with GCC 13.
* Fix several crashes and rendering issues.

Release Notes:

* https://wpewebkit.org/release/wpewebkit-2.46.0.html
* https://wpewebkit.org/release/wpewebkit-2.46.1.html

Also CI updates in the build tests jobs definitions:

* Update test jobs definitions to primary build 2.46.X
* Remove preset for 2.42 and add a new one for 2.42
  • Loading branch information
psaavedra committed Oct 10, 2024
1 parent 490d875 commit bc875fb
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 373 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/test-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@ jobs:
with:
repo_release: 'kirkstone'

kirkstone-raspberrypi3-mesa-weston-wpe-2-44:
kirkstone-raspberrypi3-mesa-weston-wpe-2-46:
runs-on: self-hosted
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/bitbake-build
with:
bitbake_source: 'raspberrypi3-mesa-wpe-2-44 raspberrypi3-mesa poky layers.raspberrypi.webkit conf_v3.wpe-2_44'
bitbake_source: 'raspberrypi3-mesa-wpe-2-46 raspberrypi3-mesa poky layers.raspberrypi.webkit conf_v3.wpe-2_46'
repo_release: 'kirkstone'
needs: kirkstone-repo

Expand All @@ -31,12 +31,12 @@ jobs:
with:
repo_release: 'scarthgap'

scarthgap-matrix-wpe-2-44:
scarthgap-matrix-wpe-2-46:
strategy:
fail-fast: false
matrix:
machine: ['raspberrypi3-mesa', 'raspberrypi4-64']
wpe_vers: ['2_44']
wpe_vers: ['2_46']
yocto_rel: ['scarthgap']
continue-on-error: true
runs-on: self-hosted
Expand All @@ -56,19 +56,19 @@ jobs:
- uses: actions/checkout@v3
- uses: ./.github/actions/bitbake-build
with:
bitbake_source: 'raspberrypi3-mesa-wpe-musl raspberrypi3-mesa poky layers.raspberrypi.webkit conf_v4.wpe-2_44'
bitbake_source: 'raspberrypi3-mesa-wpe-musl raspberrypi3-mesa poky layers.raspberrypi.webkit conf_v4.wpe-2_46'
bitbake_prefix: 'TCLIBC=musl'
repo_release: 'scarthgap'
needs: scarthgap-repo

scarthgap-raspberrypi3-mesa-weston-wpe-2-42:
scarthgap-raspberrypi3-mesa-weston-wpe-2-44:
runs-on: self-hosted
if: "!contains(github.event.head_commit.message, 'ci skip')"
steps:
- uses: actions/checkout@v3
- uses: ./.github/actions/bitbake-build
with:
bitbake_source: 'raspberrypi3-mesa-wpe-2-42 raspberrypi3-mesa poky layers.raspberrypi.webkit conf_v4.wpe-2_42'
bitbake_source: 'raspberrypi3-mesa-wpe-2-44 raspberrypi3-mesa poky layers.raspberrypi.webkit conf_v4.wpe-2_44'
repo_release: 'scarthgap'
needs: scarthgap-repo

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PREFERRED_PROVIDER_virtual/wpebackend = "wpebackend-fdo"
PREFERRED_PROVIDER_virtual/libwpe = "libwpe"
PREFERRED_VERSION_cog = "0.18.%"
PREFERRED_VERSION_libwpe = "1.14.%"
PREFERRED_VERSION_libwpe = "1.16.%"
PREFERRED_VERSION_wpebackend-fdo = "1.14.%"
PREFERRED_VERSION_wpebackend-rdk = "1.20200213"
PREFERRED_VERSION_wpewebkit = "2.42.%"
PREFERRED_VERSION_wpewebkit = "2.46.%"
9 changes: 5 additions & 4 deletions recipes-browser/wpewebkit/wpewebkit.inc
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ LIC_FILES_CHKSUM = "file://Source/WebCore/LICENSE-LGPL-2.1;md5=a778a33ef338abbaf

DEPENDS:append = " \
libsoup \
bison-native gperf-native harfbuzz-native libxml2-native ccache-native ninja-native ruby-native cairo \
fontconfig freetype glib-2.0 harfbuzz icu jpeg pcre sqlite3 zlib libpng \
bison-native gperf-native harfbuzz-native libxml2-native ccache-native ninja-native ruby-native \
fontconfig freetype glib-2.0 harfbuzz icu jpeg pcre sqlite3 zlib libpng libtasn1 \
libwebp libxml2 libxslt virtual/egl virtual/libgles2 libepoxy libgcrypt \
unifdef-native \
libwpe virtual/wpebackend \
Expand Down Expand Up @@ -61,13 +61,13 @@ export WK_USE_CCACHE="NO"
PACKAGECONFIG ??= "jit dfg-jit mediasource mediastream video webaudio webcrypto woff2 gst_gl \
remote-inspector openjpeg unified-builds service-worker \
${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'journald', '' ,d)} \
avif gbm speech-synthesis jpegxl accessibility lbse \
avif gbm speech-synthesis jpegxl accessibility lbse libbacktrace \
"

PACKAGECONFIG[reduce-size] = "-DCMAKE_BUILD_TYPE=MinSizeRel,-DCMAKE_BUILD_TYPE=Release,,"
PACKAGECONFIG[release-with-debug-info] = "-DCMAKE_BUILD_TYPE=RelWithDebInfo,-DCMAKE_BUILD_TYPE=Release,,"
# WPE features
PACKAGECONFIG[accessibility] = "-DENABLE_ACCESSIBILITY=ON,-DENABLE_ACCESSIBILITY=OFF,atk at-spi2-atk"
PACKAGECONFIG[accessibility] = "-DUSE_ATK=ON,-DUSE_ATK=OFF,atk at-spi2-atk"
PACKAGECONFIG[avif] = "-DUSE_AVIF=ON,-DUSE_AVIF=OFF,libavif"
PACKAGECONFIG[bubblewrap] = "-DENABLE_BUBBLEWRAP_SANDBOX=ON -DBWRAP_EXECUTABLE=${bindir}/bwrap -DDBUS_PROXY_EXECUTABLE=${bindir}/xdg-dbus-proxy,-DENABLE_BUBBLEWRAP_SANDBOX=OFF,bubblewrap xdg-dbus-proxy libseccomp"
PACKAGECONFIG[developer-mode] = "-DDEVELOPER_MODE=ON,-DDEVELOPER_MODE=OFF,wayland-native wayland-protocols wpebackend-fdo"
Expand All @@ -87,6 +87,7 @@ PACKAGECONFIG[jpegxl] = "-DUSE_JPEGXL=ON,-DUSE_JPEGXL=OFF,libjxl"
PACKAGECONFIG[journald] = "-DENABLE_JOURNALD_LOG=ON,-DENABLE_JOURNALD_LOG=OFF,"
PACKAGECONFIG[lbse] = "-DENABLE_LAYER_BASED_SVG_ENGINE=ON,-DENABLE_LAYER_BASED_SVG_ENGINE=OFF, "
PACKAGECONFIG[lcms] = "-DUSE_LCMS=ON,-DUSE_LCMS=OFF,"
PACKAGECONFIG[libbacktrace] = "-DUSE_LIBBACKTRACE=ON,-DUSE_LIBBACKTRACE=OFF,libbacktrace"
PACKAGECONFIG[minibrowser] = "-DENABLE_MINIBROWSER=ON,-DENABLE_MINIBROWSER=OFF,wayland-native wayland-protocols wpebackend-fdo"
PACKAGECONFIG[mediasource] = "-DENABLE_MEDIA_SOURCE=ON,-DENABLE_MEDIA_SOURCE=OFF,gstreamer1.0 gstreamer1.0-plugins-good"
PACKAGECONFIG[mediastream] = "-DENABLE_MEDIA_STREAM=ON -DUSE_GSTREAMER_TRANSCODER=OFF,-DENABLE_MEDIA_STREAM=OFF,gstreamer1.0 gstreamer1.0-plugins-bad"
Expand Down

This file was deleted.

Loading

0 comments on commit bc875fb

Please sign in to comment.