Skip to content

wpewebkit: update to 2.52.6, wpebackend-fdo: pull in pending shm fix - #146

Draft
dangowrt wants to merge 3 commits into
openwrt:masterfrom
dangowrt:wpewebkit-2.52.6
Draft

wpewebkit: update to 2.52.6, wpebackend-fdo: pull in pending shm fix#146
dangowrt wants to merge 3 commits into
openwrt:masterfrom
dangowrt:wpewebkit-2.52.6

Conversation

@dangowrt

@dangowrt dangowrt commented Aug 20, 2026

Copy link
Copy Markdown
Member

Maintainer: @dangowrt

Update WPEWebKit to the latest 2.52 stable point release.

Link: https://wpewebkit.org/release/wpewebkit-2.52.4.html
Link: https://wpewebkit.org/release/wpewebkit-2.52.5.html
Link: https://wpewebkit.org/release/wpewebkit-2.52.6.html

Refreshed all 37 patches against the new source (only 6 RISC-V JavaScriptCore JIT patches needed hunk-offset updates, no content changes).

Also cherry-picked Mirko Vogt's pending wpebackend-fdo fix from #143 (not yet on master): a stale SHM/EGL buffer could be re-exported on a commit without a fresh attach, handing the embedder garbage buffer metadata. wpebackend-fdo's own PKG_VERSION (1.16.1) is already the latest upstream stable release, so this is a patch-only PKG_RELEASE bump, no version change. Left #143's cog-specific commit out since cog isn't part of this update.

Source hashes verified against two independent downloads; all patches refresh cleanly.

Surface::shmBuffer/dmabufBuffer were set at attach and never cleared;
a commit without a fresh attach (frame-callback pacing) re-exported
the previous - potentially dangling - buffer pointer, handing the
embedder garbage buffer metadata. Consume the attached state at commit
and export nothing without a buffer, in both ImplSHM and ImplEGL
(upstream-ready patch with the full story). PKG_RELEASE 5.

Patchset already proposed upstream:
Igalia/WPEBackend-fdo#206

Assisted-By: Claude Opus + Fable

Signed-off-by: Mirko Vogt <mirko-openwrt@nanl.de>
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
@openwrt openwrt Bot added the not following guidelines Pull request does not follow formatting guidelines label Aug 20, 2026
2.52.4: half-width font support; initial pointer shape support in the
WPE Qt API bindings; improved content filter compilation (avoids file
copies); better NetworkProcess handling when disk space is low; fixed
wheel input handling in the Qt API bindings for devices without
precise deltas; fixed toplevel state handling in the Qt API bindings;
fixed scrollbar painting when their width changes; fixed cancellation
of touch events when devices disappear; fixed playback of certain
low-frame-rate YouTube videos; fixed webkit://gpu on systems lacking
libGL.so.1/libOpenGL.so.0; fixed the build with librice >=0.4 when the
GStreamer WebRTC backend is enabled; fixed the build with USE_GBM=OFF.

2.52.5: fire the scrollend event for instant programmatic scrolls;
increased the network idle connection timeout to 115s; added
User-Agent quirks for HBO Max and for WebXR on ikea.com; MiniBrowser
now exits cleanly on signals while gathering PGO profiles; fixed the
build with system malloc.

2.52.6: improved memory usage on pages using font variations; font
subpixel rendering can now be disabled via WPESettings (now the
default, matching most desktop environments); webkit://gpu now
respects the dark theme preference; fixed cross-compilation picking
the wrong gio-unix-2.0 header; fixed WebKitWebsiteData size reporting;
fixed the build with USE_SYSTEM_UNIFDEF=OFF; fixed build compatibility
with CMake >=4.4.

All 37 patches refreshed cleanly with make package/wpewebkit/refresh;
6 RISC-V JavaScriptCore JIT patches (131, 141, 146, 148, 152, 155)
needed hunk-offset updates and are regenerated here via git
format-patch against a scratch commit of the pristine source, each
carrying a proper git-am header (diff content verified byte-identical
to the refreshed hunks; only the header block and, for git, full @@
context lines differ).

Not build-verified end to end in this environment: blocked by an
unrelated, pre-existing host python3/ncurses build failure that
affects every meson-based package in this feed (tracked separately).
Hash verified against two independent downloads.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
make package/wpebackend-fdo/refresh stripped the embedded "diff --git"/
"index" sub-headers from the patch body (quilt's normal refresh
output format); the git-am From/Date/Subject header and the actual
diff hunks are unchanged.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
@openwrt openwrt Bot removed the not following guidelines Pull request does not follow formatting guidelines label Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants