guix_mirror_bot pushed a commit to branch gnome-team
in repository guix.
commit f862834dfef402109fb7faaf1666c73307c8e414
Author: Liliana Marie Prikler <[email protected]>
AuthorDate: Mon Oct 5 08:21:11 2026 +0200
gnu: webkitgtk: Update to 2.54.1.
* gnu/packages/webkit.scm (webkitgtk): Update to 2.54.1.
[arguments]<#:configure-flags>: Add “-GNinja” and “-DUSE_LIBRICE=OFF”.
[native-inputs]: Add ninja/pinned.
* gnu/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch: Adjust
accordingly.
---
gnu/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch | 7 +++++--
gnu/packages/webkit.scm | 8 ++++++--
2 files changed, 11 insertions(+), 4 deletions(-)
diff --git a/gnu/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch
b/gnu/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch
index eb2f9e2b686..43e11196866 100644
--- a/gnu/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch
+++ b/gnu/packages/patches/webkitgtk-adjust-bubblewrap-paths.patch
@@ -7,7 +7,7 @@ diff --git
a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp b/Sour
index f0a5e4b05dff..88b11f806968 100644
--- a/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
+++ b/Source/WebKit/UIProcess/Launcher/glib/BubblewrapLauncher.cpp
-@@ -854,27 +854,21 @@ GRefPtr<GSubprocess>
bubblewrapSpawn(GSubprocessLauncher* launcher, const Proces
+@@ -854,30 +854,21 @@ GRefPtr<GSubprocess>
bubblewrapSpawn(GSubprocessLauncher* launcher, const Proces
"--ro-bind", "/sys/dev", "/sys/dev",
"--ro-bind", "/sys/devices", "/sys/devices",
@@ -21,6 +21,9 @@ index f0a5e4b05dff..88b11f806968 100644
- "--ro-bind-try", "/usr/lib", "/usr/lib",
- "--ro-bind-try", "/usr/local/lib", "/usr/local/lib",
"--ro-bind-try", LIBDIR, LIBDIR,
+-#if defined(WEBKIT_SWIFT_STDLIB_LIBRARY_PATH)
+- "--ro-bind-try", WEBKIT_SWIFT_STDLIB_LIBRARY_PATH,
WEBKIT_SWIFT_STDLIB_LIBRARY_PATH,
+-#endif
-#if CPU(ADDRESS64)
- "--ro-bind-try", "/lib64", "/lib64",
- "--ro-bind-try", "/usr/lib64", "/usr/lib64",
@@ -46,4 +49,4 @@ index f0a5e4b05dff..88b11f806968 100644
+ // Drivers for video hardware acceleration (va-api).
+ bindPathVar(sandboxArgs, "LIBVA_DRIVERS_PATH");
- if (launchOptions.processType == ProcessLauncher::ProcessType::DBusProxy)
{
+ if (enableDebugPermissions()) {
diff --git a/gnu/packages/webkit.scm b/gnu/packages/webkit.scm
index eef34bc5af5..9f002fa3432 100644
--- a/gnu/packages/webkit.scm
+++ b/gnu/packages/webkit.scm
@@ -39,6 +39,7 @@
#:use-module (gnu packages)
#:use-module (gnu packages base)
#:use-module (gnu packages bison)
+ #:use-module (gnu packages build-tools)
#:use-module (gnu packages c)
#:use-module (gnu packages compression)
#:use-module (gnu packages docbook)
@@ -131,13 +132,13 @@ engine that uses Wayland for graphics output.")
(define-public webkitgtk
(package
(name "webkitgtk")
- (version "2.50.3")
+ (version "2.54.1")
(source (origin
(method url-fetch)
(uri (string-append "https://www.webkitgtk.org/releases/"
"webkitgtk-" version ".tar.xz"))
(sha256
- (base32 "0kymjkskp2ndvs10hvqc0l7i3x19s2hga0g8azhv5djvd6s0d83h"))
+ (base32 "0z9r1bmr5vg53l4f9l1b4c53wnv4crdx6yjf9a3rdifvvc1bn2za"))
(patches (search-patches
"webkitgtk-adjust-bubblewrap-paths.patch"))))
(build-system cmake-build-system)
@@ -151,10 +152,12 @@ engine that uses Wayland for graphics output.")
;; binaries require 20 GiB of memory to link (even with ld.gold or lld)
;; and produce 4.6 GiB of debug symbols.
#:build-type "Release"
+ #:generator "Ninja"
#:configure-flags
#~(list "-DPORT=GTK"
"-DENABLE_INTROSPECTION=ON"
"-DUSE_GTK4=ON"
+ "-DUSE_LIBRICE=OFF" ; TODO: Package librice.
;; Enable WebRTC.
"-DENABLE_MEDIA_STREAM=ON"
"-DENABLE_WEB_RTC=ON"
@@ -237,6 +240,7 @@ engine that uses Wayland for graphics output.")
`(,glib "bin") ;for glib-mkenums, etc.
gobject-introspection
gperf
+ ninja/pinned
perl
pkg-config
python-wrapper