From 3d7def65121c4437f2ac25a72a47364bdeb92a6f Mon Sep 17 00:00:00 2001 From: Wildan M Date: Mon, 16 Mar 2026 07:06:09 +0700 Subject: [PATCH 1/2] Move webkit category --- recipes/wip/{libs/other => web}/webkitgtk3/recipe.toml | 0 recipes/wip/{libs/other => web}/webkitgtk3/redox.patch | 0 recipes/wip/{libs/other => web}/webkitgtk4/recipe.toml | 0 3 files changed, 0 insertions(+), 0 deletions(-) rename recipes/wip/{libs/other => web}/webkitgtk3/recipe.toml (100%) rename recipes/wip/{libs/other => web}/webkitgtk3/redox.patch (100%) rename recipes/wip/{libs/other => web}/webkitgtk4/recipe.toml (100%) diff --git a/recipes/wip/libs/other/webkitgtk3/recipe.toml b/recipes/wip/web/webkitgtk3/recipe.toml similarity index 100% rename from recipes/wip/libs/other/webkitgtk3/recipe.toml rename to recipes/wip/web/webkitgtk3/recipe.toml diff --git a/recipes/wip/libs/other/webkitgtk3/redox.patch b/recipes/wip/web/webkitgtk3/redox.patch similarity index 100% rename from recipes/wip/libs/other/webkitgtk3/redox.patch rename to recipes/wip/web/webkitgtk3/redox.patch diff --git a/recipes/wip/libs/other/webkitgtk4/recipe.toml b/recipes/wip/web/webkitgtk4/recipe.toml similarity index 100% rename from recipes/wip/libs/other/webkitgtk4/recipe.toml rename to recipes/wip/web/webkitgtk4/recipe.toml From b5a1ce3cdbc732de1b4a1f76cf92366aa3751b06 Mon Sep 17 00:00:00 2001 From: Wildan M Date: Mon, 16 Mar 2026 20:34:16 +0700 Subject: [PATCH 2/2] Patch webkit JIT --- recipes/wip/web/webkitgtk3/recipe.toml | 3 +-- recipes/wip/web/webkitgtk3/redox.patch | 12 ++++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) diff --git a/recipes/wip/web/webkitgtk3/recipe.toml b/recipes/wip/web/webkitgtk3/recipe.toml index 62002806e..79115e3db 100644 --- a/recipes/wip/web/webkitgtk3/recipe.toml +++ b/recipes/wip/web/webkitgtk3/recipe.toml @@ -11,7 +11,6 @@ dependencies = [ "libatomic", "libgcrypt", "libsoup", - "libstdcxx-v3", "libtasn1", "libwebp", "sqlite3", @@ -49,7 +48,7 @@ COOKBOOK_CMAKE_FLAGS+=( -DUSE_LIBSECRET=OFF -DUSE_SKIA=OFF -DUSE_SYSPROF_CAPTURE=OFF - -DUSE_SYSTEM_MALLOC=OFF + -DUSE_SYSTEM_MALLOC=ON -DUSE_SYSTEM_SYSPROF_CAPTURE=OFF -DUSE_WOFF2=OFF #TODO: remove these when runtime hangs solved diff --git a/recipes/wip/web/webkitgtk3/redox.patch b/recipes/wip/web/webkitgtk3/redox.patch index a193e23ea..8b498f7ed 100644 --- a/recipes/wip/web/webkitgtk3/redox.patch +++ b/recipes/wip/web/webkitgtk3/redox.patch @@ -518,6 +518,18 @@ diff -ruwN source/Source/WTF/wtf/InlineASM.h source-new/Source/WTF/wtf/InlineASM // GNU as-compatible syntax. #define LOCAL_LABEL_STRING(name) ".L" #name #endif +diff -ruwN source/Source/WTF/wtf/PlatformEnable.h source-new/Source/WTF/wtf/PlatformEnable.h +--- source/Source/WTF/wtf/PlatformEnable.h 2025-03-18 15:33:00.063181400 +0700 ++++ source-new/Source/WTF/wtf/PlatformEnable.h 2026-03-16 10:49:25.498709796 +0700 +@@ -698,7 +698,7 @@ + #if !defined(ENABLE_DFG_JIT) && ENABLE(JIT) + + /* Enable the DFG JIT on X86 and X86_64. */ +-#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(HAIKU) || OS(HURD) || OS(WINDOWS)) ++#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(HAIKU) || OS(HURD) || OS(WINDOWS) || defined(__redox__)) + #define ENABLE_DFG_JIT 1 + #endif + diff -ruwN source/Source/WTF/wtf/PlatformHave.h source-new/Source/WTF/wtf/PlatformHave.h --- source/Source/WTF/wtf/PlatformHave.h 2025-04-02 19:09:45.800669000 +0700 +++ source-new/Source/WTF/wtf/PlatformHave.h 2025-09-09 09:08:03.707988617 +0700