diff options
Diffstat (limited to 'libraries/webkit2gtk')
-rw-r--r-- | libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch | 33 | ||||
-rw-r--r-- | libraries/webkit2gtk/README | 4 | ||||
-rw-r--r-- | libraries/webkit2gtk/webkit2gtk.SlackBuild | 17 | ||||
-rw-r--r-- | libraries/webkit2gtk/webkit2gtk.info | 8 |
4 files changed, 53 insertions, 9 deletions
diff --git a/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch b/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch new file mode 100644 index 0000000000..62b893bdfc --- /dev/null +++ b/libraries/webkit2gtk/3d5373575695b293b8559155431d0079a6153aff.patch @@ -0,0 +1,33 @@ +From 3d5373575695b293b8559155431d0079a6153aff Mon Sep 17 00:00:00 2001 +From: Michael Catanzaro <mcatanzaro@redhat.com> +Date: Mon, 5 Feb 2024 11:00:49 -0600 +Subject: [PATCH] =?UTF-8?q?[GTK]=20[2.42.5]=20LowLevelInterpreter.cpp:339:?= + =?UTF-8?q?21:=20error:=20=E2=80=98t6=E2=80=99=20was=20not=20declared=20in?= + =?UTF-8?q?=20this=20scope=20https://bugs.webkit.org/show=5Fbug.cgi=3Fid?= + =?UTF-8?q?=3D268739?= +MIME-Version: 1.0 +Content-Type: text/plain; charset=UTF-8 +Content-Transfer-Encoding: 8bit + +Unreviewed build fix. Seems a backport went badly, and we didn't notice +because the code is architecture-specific. + +* Source/JavaScriptCore/llint/LowLevelInterpreter.cpp: +(JSC::CLoop::execute): +--- + Source/JavaScriptCore/llint/LowLevelInterpreter.cpp | 2 -- + 1 file changed, 2 deletions(-) + +diff --git a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +index 5064ead6cd2e7..9a2e2653b1219 100644 +--- a/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp ++++ b/Source/JavaScriptCore/llint/LowLevelInterpreter.cpp +@@ -336,8 +336,6 @@ JSValue CLoop::execute(OpcodeID entryOpcodeID, void* executableAddress, VM* vm, + UNUSED_VARIABLE(t2); + UNUSED_VARIABLE(t3); + UNUSED_VARIABLE(t5); +- UNUSED_VARIABLE(t6); +- UNUSED_VARIABLE(t7); + + struct StackPointerScope { + StackPointerScope(CLoopStack& stack) diff --git a/libraries/webkit2gtk/README b/libraries/webkit2gtk/README index 17be371389..a1da0642c3 100644 --- a/libraries/webkit2gtk/README +++ b/libraries/webkit2gtk/README @@ -10,3 +10,7 @@ NOTE: This package builds the 4.0 WebKit API. If you need 4.1 WebKit API, use webkit2gtk4.1. Don't install both at the same time!! +If your application is not working well after upgrading to this +version, consider adding this environment variable before running +the application: +export WEBKIT_DISABLE_COMPOSITING_MODE=1 diff --git a/libraries/webkit2gtk/webkit2gtk.SlackBuild b/libraries/webkit2gtk/webkit2gtk.SlackBuild index 0ded8160f5..a116a6f0b3 100644 --- a/libraries/webkit2gtk/webkit2gtk.SlackBuild +++ b/libraries/webkit2gtk/webkit2gtk.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for webkit2gtk # -# Copyright 2016-2017 Willy Sudiarto Raharjo <willysr@slackbuilds.org> +# Copyright 2016-2024 Willy Sudiarto Raharjo <willysr@slackbuilds.org> # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=webkit2gtk SRCNAM=webkitgtk -VERSION=${VERSION:-2.36.3} +VERSION=${VERSION:-2.44.4} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -78,6 +78,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/unhide-deprecated-api.patch +patch -p1 < $CWD/3d5373575695b293b8559155431d0079a6153aff.patch mkdir -p build cd build @@ -93,6 +94,14 @@ cd build -DENABLE_MINIBROWSER=ON \ -DUSE_SOUP2=ON \ -DENABLE_JOURNALD_LOG=OFF \ + -DENABLE_DOCUMENTATION=OFF \ + -DENABLE_BUBBLEWRAP_SANDBOX=off \ + -DUSE_SYSTEM_MALLOC=on \ + -DUSE_GSTREAMER_TRANSCODER=OFF \ + -DUSE_AVIF=OFF \ + -DUSE_GTK4=OFF \ + -DUSE_LIBBACKTRACE=OFF \ + -DUSE_JPEGXL=OFF \ -Wno-dev \ -G Ninja \ .. @@ -103,10 +112,8 @@ cd build DESTDIR=$PKG $NINJA -j1 install mkdir -p $PKG/usr/share/gtk-doc/html/webkit{2,dom}gtk-4.0 -install -m 0644 ../Documentation/webkit2gtk-4.0/html/* \ +cp -rf ../Documentation/* \ $PKG/usr/share/gtk-doc/html/webkit2gtk-4.0 -install -m 0644 ../Documentation/webkitdomgtk-4.0/html/* \ - $PKG/usr/share/gtk-doc/html/webkitdomgtk-4.0 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a ../NEWS $PKG/usr/doc/$PRGNAM-$VERSION diff --git a/libraries/webkit2gtk/webkit2gtk.info b/libraries/webkit2gtk/webkit2gtk.info index 58b603cb4d..67efb9c33e 100644 --- a/libraries/webkit2gtk/webkit2gtk.info +++ b/libraries/webkit2gtk/webkit2gtk.info @@ -1,10 +1,10 @@ PRGNAM="webkit2gtk" -VERSION="2.36.3" +VERSION="2.44.4" HOMEPAGE="https://www.webkitgtk.org/" -DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.36.3.tar.xz" -MD5SUM="8ad4b1bfbbe3115ee163a8b2ba7b908f" +DOWNLOAD="https://www.webkitgtk.org/releases/webkitgtk-2.44.4.tar.xz" +MD5SUM="fd031b34f22c09f91e97cca3a7dbc426" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy" +REQUIRES="bubblewrap geoclue2 wpebackend-fdo xdg-dbus-proxy unifdef" MAINTAINER="Willy Sudiarto Raharjo" EMAIL="willysr@slackbuilds.org" |