From 706327693b4fcc1ce8d5b6cf100beb729ddd1bd1 Mon Sep 17 00:00:00 2001 From: Shokara Kou Date: Sat, 10 Dec 2022 11:06:46 -0500 Subject: add webkitgtk40 without atk --- www/webkitgtk4/CVS/Entries | 4 + www/webkitgtk4/CVS/Repository | 1 + www/webkitgtk4/CVS/Root | 1 + www/webkitgtk4/Makefile | 153 +++++++++++ www/webkitgtk4/distinfo | 2 + www/webkitgtk4/patches/CVS/Entries | 37 +++ www/webkitgtk4/patches/CVS/Repository | 1 + www/webkitgtk4/patches/CVS/Root | 1 + ...h-Source_JavaScriptCore_API_glib_JSCOptions_cpp | 36 +++ ...ource_JavaScriptCore_assembler_ARM64Assembler_h | 12 + ...ource_JavaScriptCore_assembler_ARMv7Assembler_h | 12 + ...aScriptCore_assembler_MacroAssemblerX86Common_h | 19 ++ ...h-Source_JavaScriptCore_heap_BlockDirectory_cpp | 14 + ...h-Source_JavaScriptCore_javascriptcoregtk_pc_in | 10 + .../patches/patch-Source_JavaScriptCore_jsc_cpp | 11 + ...patch-Source_JavaScriptCore_offlineasm_arm64_rb | 12 + ...-Source_JavaScriptCore_runtime_MachineContext_h | 118 +++++++++ ...patch-Source_JavaScriptCore_runtime_Options_cpp | 25 ++ ...h-Source_ThirdParty_ANGLE_src_common_platform_h | 20 ++ .../patches/patch-Source_WTF_wtf_InlineASM_h | 12 + .../patches/patch-Source_WTF_wtf_PageBlock_h | 12 + .../patches/patch-Source_WTF_wtf_PlatformCPU_h | 28 ++ .../patches/patch-Source_WTF_wtf_PlatformEnable_h | 14 + .../patches/patch-Source_WTF_wtf_PlatformHave_h | 18 ++ .../patches/patch-Source_WTF_wtf_Platform_h | 13 + .../patches/patch-Source_WTF_wtf_RawHex_h | 21 ++ .../patches/patch-Source_WTF_wtf_dtoa_utils_h | 12 + .../patch-Source_WebCore_PAL_pal_PlatformGTK_cmake | 18 ++ ...re_crypto_algorithms_CryptoAlgorithmAES_GCM_cpp | 16 ++ .../patch-Source_WebCore_page_NavigatorBase_cpp | 21 ++ ...Core_platform_graphics_FontSelectionAlgorithm_h | 30 +++ .../patch-Source_WebCore_platform_network_DNS_h | 11 + ...h-Source_WebCore_rendering_RenderLayerBacking_h | 16 ++ .../patch-Source_WebDriver_PlatformGTK_cmake | 17 ++ ...tch-Source_WebKit_Platform_IPC_ArgumentCoders_h | 115 +++++++++ ...ource_WebKit_gtk_webkit2gtk-web-extension_pc_in | 10 + .../patch-Source_WebKit_gtk_webkit2gtk_pc_in | 10 + ...atch-Source_bmalloc_bmalloc_AvailableMemory_cpp | 90 +++++++ .../patch-Source_bmalloc_bmalloc_AvailableMemory_h | 21 ++ .../patch-Source_bmalloc_bmalloc_BPlatform_h | 14 + .../patches/patch-Source_cmake_OptionsCommon_cmake | 16 ++ .../patches/patch-Source_cmake_WebKitCommon_cmake | 43 ++++ .../patch-Source_cmake_WebKitCompilerFlags_cmake | 16 ++ .../patch-Source_cmake_WebKitFeatures_cmake | 12 + www/webkitgtk4/pkg/CVS/Entries | 5 + www/webkitgtk4/pkg/CVS/Repository | 1 + www/webkitgtk4/pkg/CVS/Root | 1 + www/webkitgtk4/pkg/DESCR | 3 + www/webkitgtk4/pkg/PLIST | 285 +++++++++++++++++++++ 49 files changed, 1390 insertions(+) create mode 100644 www/webkitgtk4/CVS/Entries create mode 100644 www/webkitgtk4/CVS/Repository create mode 100644 www/webkitgtk4/CVS/Root create mode 100644 www/webkitgtk4/Makefile create mode 100644 www/webkitgtk4/distinfo create mode 100644 www/webkitgtk4/patches/CVS/Entries create mode 100644 www/webkitgtk4/patches/CVS/Repository create mode 100644 www/webkitgtk4/patches/CVS/Root create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_API_glib_JSCOptions_cpp create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler_h create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARMv7Assembler_h create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_MacroAssemblerX86Common_h create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_heap_BlockDirectory_cpp create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_jsc_cpp create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_offlineasm_arm64_rb create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_MachineContext_h create mode 100644 www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_Options_cpp create mode 100644 www/webkitgtk4/patches/patch-Source_ThirdParty_ANGLE_src_common_platform_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformEnable_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformHave_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_Platform_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_RawHex_h create mode 100644 www/webkitgtk4/patches/patch-Source_WTF_wtf_dtoa_utils_h create mode 100644 www/webkitgtk4/patches/patch-Source_WebCore_PAL_pal_PlatformGTK_cmake create mode 100644 www/webkitgtk4/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM_cpp create mode 100644 www/webkitgtk4/patches/patch-Source_WebCore_page_NavigatorBase_cpp create mode 100644 www/webkitgtk4/patches/patch-Source_WebCore_platform_graphics_FontSelectionAlgorithm_h create mode 100644 www/webkitgtk4/patches/patch-Source_WebCore_platform_network_DNS_h create mode 100644 www/webkitgtk4/patches/patch-Source_WebCore_rendering_RenderLayerBacking_h create mode 100644 www/webkitgtk4/patches/patch-Source_WebDriver_PlatformGTK_cmake create mode 100644 www/webkitgtk4/patches/patch-Source_WebKit_Platform_IPC_ArgumentCoders_h create mode 100644 www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in create mode 100644 www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk_pc_in create mode 100644 www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_cpp create mode 100644 www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_h create mode 100644 www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_BPlatform_h create mode 100644 www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake create mode 100644 www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake create mode 100644 www/webkitgtk4/patches/patch-Source_cmake_WebKitCompilerFlags_cmake create mode 100644 www/webkitgtk4/patches/patch-Source_cmake_WebKitFeatures_cmake create mode 100644 www/webkitgtk4/pkg/CVS/Entries create mode 100644 www/webkitgtk4/pkg/CVS/Repository create mode 100644 www/webkitgtk4/pkg/CVS/Root create mode 100644 www/webkitgtk4/pkg/DESCR create mode 100644 www/webkitgtk4/pkg/PLIST diff --git a/www/webkitgtk4/CVS/Entries b/www/webkitgtk4/CVS/Entries new file mode 100644 index 0000000..db7a48e --- /dev/null +++ b/www/webkitgtk4/CVS/Entries @@ -0,0 +1,4 @@ +/Makefile/1.183/Sat Sep 17 08:13:54 2022// +/distinfo/1.100/Sat Sep 17 08:13:54 2022// +D/patches//// +D/pkg//// diff --git a/www/webkitgtk4/CVS/Repository b/www/webkitgtk4/CVS/Repository new file mode 100644 index 0000000..5000111 --- /dev/null +++ b/www/webkitgtk4/CVS/Repository @@ -0,0 +1 @@ +ports/www/webkitgtk4 diff --git a/www/webkitgtk4/CVS/Root b/www/webkitgtk4/CVS/Root new file mode 100644 index 0000000..3811072 --- /dev/null +++ b/www/webkitgtk4/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/www/webkitgtk4/Makefile b/www/webkitgtk4/Makefile new file mode 100644 index 0000000..56fd7e2 --- /dev/null +++ b/www/webkitgtk4/Makefile @@ -0,0 +1,153 @@ +# patches/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in +# patches/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in +# patches/patch-Source_WebKit_gtk_webkit2gtk_pc_in +USE_WXNEEDED = Yes + +BROKEN-alpha = GCC 5.0.0 is required to build WebKitGTK+, use a newer GCC version or clang +BROKEN-hppa = GCC 5.0.0 is required to build WebKitGTK+, use a newer GCC version or clang +BROKEN-arm = JavaScriptCore/runtime/MachineContext.h, various sigcontext-related + +PORTROACH = limitw:1,even + +COMMENT = GTK+ port of the WebKit (${API}) rendering engine + +V = 2.38.0 +DISTNAME = webkitgtk-${V} +PKGNAME = webkitgtk${API:S/.//}-${V} +FULLPKGNAME = ${PKGNAME} + +EXTRACT_SUFX = .tar.xz +SUBST_VARS = API +DPB_PROPERTIES = parallel + +SHARED_LIBS += javascriptcoregtk-${API} 3.7 +SHARED_LIBS += webkit2gtk-${API} 3.7 + +CATEGORIES = www + +HOMEPAGE = https://webkitgtk.org/ + +MAINTAINER = Antoine Jacoutot + +# LGPLv2 and BSD +PERMIT_PACKAGE = Yes + +WANTLIB += ${COMPILER_LIBCXX} EGL GL X11 Xcomposite Xdamage Xrender +WANTLIB += Xt c cairo cairo-gobject enchant-2 fontconfig +WANTLIB += freetype gcrypt gdk_pixbuf-2.0 gio-2.0 glib-2.0 gmodule-2.0 +WANTLIB += gobject-2.0 gpg-error gstallocators-1.0 gstapp-1.0 +WANTLIB += gstaudio-1.0 gstbase-1.0 gstfft-1.0 gstgl-1.0 gstpbutils-1.0 +WANTLIB += gstreamer-1.0 gsttag-1.0 gstvideo-1.0 harfbuzz harfbuzz-icu +WANTLIB += hyphen icudata icui18n icuuc intl jpeg lcms2 m openjp2 +WANTLIB += pango-1.0 pangocairo-1.0 png secret-1 sqlite3 tasn1 +WANTLIB += woff2dec xml2 xslt z + +MASTER_SITES = https://webkitgtk.org/releases/ + +MODULES = devel/cmake \ + lang/python \ + lang/ruby \ + x11/gnome + +COMPILER = base-clang ports-gcc + +MODRUBY_RUNDEP = No +MODPY_RUNDEP = No +MODPY_ADJ_FILES = Tools/glib/generate-inspector-gresource-manifest.py + +DEBUG_PACKAGES = ${BUILD_PACKAGES} + +NO_TEST = Yes + +BUILD_DEPENDS = devel/bison \ + devel/gettext,-tools \ + devel/gperf + +LIB_DEPENDS = archivers/woff2 \ + devel/harfbuzz,-icu \ + graphics/openjp2 \ + multimedia/gstreamer1/plugins-base \ + textproc/enchant2 \ + textproc/hyphen \ + textproc/libxslt \ + x11/gnome/libsecret + +CONFIGURE_ENV = WK_USE_CCACHE=NO +CONFIGURE_ARGS = -DPORT=GTK \ + -DENABLE_MINIBROWSER=ON \ + -DENABLE_JOURNALD_LOG=OFF + +# XXX broken at run time +#CONFIGURE_ARGS += -DUSE_SYSTEM_MALLOC=ON + +# required for faking a better user-agent +.if ${MACHINE_ARCH} == "amd64" +CPUARCH = x86_64 +.else +CPUARCH = ${ARCH} +.endif +#XXXTODO CONFIGURE_ARGS += -DUSER_AGENT_BRANDING="Linux ${CPUARCH}; OpenBSD ${ARCH}" +CONFIGURE_ARGS += -DUSER_AGENT_BRANDING="Linux ${CPUARCH}" + +# needs Wayland (libwpe -> WPEBackend-fdo -> Wayland) +CONFIGURE_ARGS += -DUSE_WPE_RENDERER=OFF + +# Needs GUdev +CONFIGURE_ARGS += -DENABLE_GAMEPAD=OFF + +# sync with Source/JavaScriptCore/assembler/MacroAssembler.h +# native support for riscv64 in LLInt fails to link with relocation errors +.if ${MACHINE_ARCH} != "aarch64" && ${MACHINE_ARCH} != "amd64" && \ + ${MACHINE_ARCH} != "arm" && ${MACHINE_ARCH} != "i386" && \ + ${MACHINE_ARCH} != "mips64" && ${MACHINE_ARCH} != "mips64el" +# #error "The MacroAssembler is not supported on this platform." +CONFIGURE_ARGS += -DENABLE_JIT=OFF +CONFIGURE_ARGS += -DENABLE_C_LOOP=ON +.endif + + +# we don't want an allocation of 1GB, it's above the "default" class ulimit +.if ${MACHINE_ARCH} == "amd64" +CXXFLAGS += -DFIXED_EXECUTABLE_MEMORY_POOL_SIZE_IN_MB=384 +.endif +CXXFLAGS += -DSTRUCTURE_HEAP_ADDRESS_SIZE_IN_MB=256 + +# fatal error: 'X11/Xlib.h' file not found +CXXFLAGS += -I${X11BASE}/include + +.include + +# disable thin archives for bfd; +# and set DEBUG=-g1 for GNU ar(1) arches (libWebCoreGTK.a is too big (4.1G)): +# ../../lib/libWebCoreGTK.a: could not read symbols: Malformed archive +# https://bugs.webkit.org/show_bug.cgi?id=140384 +.if !${PROPERTIES:Mlld} +CONFIGURE_ARGS += -DUSE_THIN_ARCHIVES=FALSE +DEBUG = -g1 +.endif + +.if ${MACHINE_ARCH} == "powerpc" || ${MACHINE_ARCH} == "i386" +# Don't make LLVM run out of memory +DPB_PROPERTIES = lonesome +LDFLAGS += -Wl,--no-keep-memory +.endif + +API = 4.0 +WANTLIB += gdk-3 gtk-3 soup-2.4 +LIB_DEPENDS += devel/libsoup \ + x11/gtk+3 +CONFIGURE_ARGS += -DUSE_SOUP2=ON + +post-extract: + ln -sf ${MODPY_BIN} ${WRKDIR}/bin/python + ln -sf ${RUBY} ${WRKDIR}/bin/ruby + +pre-configure: + ${SUBST_CMD} ${WRKSRC}/Source/cmake/WebKitCommon.cmake + +# only include WebKitWebDriver for the more recent version to prevent conflict; +# could be revisited by using MULTI_PACKAGES but it's not worth the complexity; +post-install: + rm ${PREFIX}/bin/WebKitWebDriver + +.include diff --git a/www/webkitgtk4/distinfo b/www/webkitgtk4/distinfo new file mode 100644 index 0000000..dd3f75a --- /dev/null +++ b/www/webkitgtk4/distinfo @@ -0,0 +1,2 @@ +SHA256 (webkitgtk-2.38.0.tar.xz) = +c5jdaO24TKbC2CfRpIeJifcetYiSze5Z6supkO8D70= +SIZE (webkitgtk-2.38.0.tar.xz) = 32997240 diff --git a/www/webkitgtk4/patches/CVS/Entries b/www/webkitgtk4/patches/CVS/Entries new file mode 100644 index 0000000..6dc3959 --- /dev/null +++ b/www/webkitgtk4/patches/CVS/Entries @@ -0,0 +1,37 @@ +/patch-Source_JavaScriptCore_API_glib_JSCOptions_cpp/1.3/Sat Sep 17 08:13:54 2022// +/patch-Source_JavaScriptCore_assembler_ARM64Assembler_h/1.13/Sat Sep 17 08:13:54 2022// +/patch-Source_JavaScriptCore_assembler_ARMv7Assembler_h/1.8/Sat Sep 17 08:13:54 2022// +/patch-Source_JavaScriptCore_assembler_MacroAssemblerX86Common_h/1.7/Fri Mar 11 20:11:07 2022// +/patch-Source_JavaScriptCore_heap_BlockDirectory_cpp/1.2/Fri Mar 11 20:11:07 2022// +/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in/1.5/Fri Mar 11 20:11:07 2022// +/patch-Source_JavaScriptCore_jsc_cpp/1.5/Sat Mar 26 16:11:56 2022// +/patch-Source_JavaScriptCore_offlineasm_arm64_rb/1.9/Sat Sep 17 08:13:54 2022// +/patch-Source_JavaScriptCore_runtime_MachineContext_h/1.11/Sat Sep 17 08:13:54 2022// +/patch-Source_JavaScriptCore_runtime_Options_cpp/1.9/Sat Sep 17 08:13:54 2022// +/patch-Source_ThirdParty_ANGLE_src_common_platform_h/1.1/Sat Mar 26 16:11:56 2022// +/patch-Source_WTF_wtf_InlineASM_h/1.4/Fri Mar 11 20:11:07 2022// +/patch-Source_WTF_wtf_PageBlock_h/1.7/Sat Sep 17 08:13:54 2022// +/patch-Source_WTF_wtf_PlatformCPU_h/1.3/Fri Mar 11 20:11:07 2022// +/patch-Source_WTF_wtf_PlatformEnable_h/1.8/Sat Sep 17 08:13:54 2022// +/patch-Source_WTF_wtf_PlatformHave_h/1.8/Tue Apr 5 07:28:25 2022// +/patch-Source_WTF_wtf_Platform_h/1.19/Fri Mar 11 20:11:07 2022// +/patch-Source_WTF_wtf_RawHex_h/1.1/Sat Sep 17 08:13:54 2022// +/patch-Source_WTF_wtf_dtoa_utils_h/1.6/Fri Mar 11 20:11:07 2022// +/patch-Source_WebCore_PAL_pal_PlatformGTK_cmake/1.3/Fri Mar 11 20:11:07 2022// +/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM_cpp/1.2/Fri Mar 11 20:11:07 2022// +/patch-Source_WebCore_page_NavigatorBase_cpp/1.3/Sat Mar 26 16:11:56 2022// +/patch-Source_WebCore_platform_graphics_FontSelectionAlgorithm_h/1.4/Fri Mar 11 20:11:07 2022// +/patch-Source_WebCore_platform_network_DNS_h/1.3/Fri Mar 11 20:11:07 2022// +/patch-Source_WebCore_rendering_RenderLayerBacking_h/1.2/Fri Mar 11 20:11:07 2022// +/patch-Source_WebDriver_PlatformGTK_cmake/1.2/Fri Mar 11 20:11:07 2022// +/patch-Source_WebKit_Platform_IPC_ArgumentCoders_h/1.1/Sat Sep 17 08:13:54 2022// +/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in/1.6/Fri Mar 11 20:11:07 2022// +/patch-Source_WebKit_gtk_webkit2gtk_pc_in/1.6/Fri Mar 11 20:11:07 2022// +/patch-Source_bmalloc_bmalloc_AvailableMemory_cpp/1.2/Sat Sep 17 08:13:54 2022// +/patch-Source_bmalloc_bmalloc_AvailableMemory_h/1.1/Sat Mar 26 16:11:56 2022// +/patch-Source_bmalloc_bmalloc_BPlatform_h/1.1/Sat Mar 26 16:11:56 2022// +/patch-Source_cmake_OptionsCommon_cmake/1.21/Sat Mar 26 16:11:56 2022// +/patch-Source_cmake_WebKitCommon_cmake/1.10/Sat Sep 17 08:13:54 2022// +/patch-Source_cmake_WebKitCompilerFlags_cmake/1.12/Sat Sep 17 08:13:54 2022// +/patch-Source_cmake_WebKitFeatures_cmake/1.13/Sat Sep 17 08:13:54 2022// +D diff --git a/www/webkitgtk4/patches/CVS/Repository b/www/webkitgtk4/patches/CVS/Repository new file mode 100644 index 0000000..be284f0 --- /dev/null +++ b/www/webkitgtk4/patches/CVS/Repository @@ -0,0 +1 @@ +ports/www/webkitgtk4/patches diff --git a/www/webkitgtk4/patches/CVS/Root b/www/webkitgtk4/patches/CVS/Root new file mode 100644 index 0000000..3811072 --- /dev/null +++ b/www/webkitgtk4/patches/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_API_glib_JSCOptions_cpp b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_API_glib_JSCOptions_cpp new file mode 100644 index 0000000..9818d88 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_API_glib_JSCOptions_cpp @@ -0,0 +1,36 @@ +Unbreak i386: +- revert https://trac.webkit.org/changeset/241014/webkit +- https://bugs.webkit.org/show_bug.cgi?id=194330 + +Index: Source/JavaScriptCore/API/glib/JSCOptions.cpp +--- Source/JavaScriptCore/API/glib/JSCOptions.cpp.orig ++++ Source/JavaScriptCore/API/glib/JSCOptions.cpp +@@ -73,7 +73,6 @@ static void valueToGValue(int32_t value, GValue* gValu + g_value_set_int(gValue, value); + } + +-#if CPU(ADDRESS64) + static bool valueFromGValue(const GValue* gValue, unsigned& value) + { + value = g_value_get_uint(gValue); +@@ -84,7 +83,6 @@ static void valueToGValue(unsigned value, GValue* gVal + { + g_value_set_uint(gValue, value); + } +-#endif + + static bool valueFromGValue(const GValue* gValue, size_t& value) + { +@@ -556,12 +554,10 @@ static JSCOptionType jscOptionsType(int) + return JSC_OPTION_INT; + } + +-#if CPU(ADDRESS64) + static JSCOptionType jscOptionsType(unsigned) + { + return JSC_OPTION_UINT; + } +-#endif + + static JSCOptionType jscOptionsType(size_t) + { diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler_h b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler_h new file mode 100644 index 0000000..562562c --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARM64Assembler_h @@ -0,0 +1,12 @@ +Index: Source/JavaScriptCore/assembler/ARM64Assembler.h +--- Source/JavaScriptCore/assembler/ARM64Assembler.h.orig ++++ Source/JavaScriptCore/assembler/ARM64Assembler.h +@@ -2918,6 +2918,8 @@ class ARM64Assembler { (public) + { + #if OS(DARWIN) + sys_cache_control(kCacheFunctionPrepareForExecution, code, size); ++#elif OS(FREEBSD) || OS(NETBSD) || OS(OPENBSD) ++ __clear_cache(code, reinterpret_cast(code) + size); + #elif OS(FUCHSIA) + zx_cache_flush(code, size, ZX_CACHE_FLUSH_INSN); + #elif OS(LINUX) diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARMv7Assembler_h b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARMv7Assembler_h new file mode 100644 index 0000000..5438875 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_ARMv7Assembler_h @@ -0,0 +1,12 @@ +Index: Source/JavaScriptCore/assembler/ARMv7Assembler.h +--- Source/JavaScriptCore/assembler/ARMv7Assembler.h.orig ++++ Source/JavaScriptCore/assembler/ARMv7Assembler.h +@@ -2573,6 +2573,8 @@ class ARMv7Assembler { (public) + linuxPageFlush(current, current + page); + + linuxPageFlush(current, end); ++#elif CPU(ARM_TRADITIONAL) && (OS(FREEBSD) || OS(OPENBSD)) && COMPILER(CLANG) ++ __clear_cache(code, reinterpret_cast(code) + size); + #else + #error "The cacheFlush support is missing on this platform." + #endif diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_MacroAssemblerX86Common_h b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_MacroAssemblerX86Common_h new file mode 100644 index 0000000..f864540 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_assembler_MacroAssemblerX86Common_h @@ -0,0 +1,19 @@ +XXX error: macro "swap32" passed 2 arguments, but takes just 1 +XXX error: macro "swap64" passed 2 arguments, but takes just 1 + +Index: Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h +--- Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h.orig ++++ Source/JavaScriptCore/assembler/MacroAssemblerX86Common.h +@@ -31,6 +31,12 @@ + #include "AbstractMacroAssembler.h" + #include + ++/* conflicting definition in endian.h */ ++#if OS(OPENBSD) ++#undef swap32 ++#undef swap64 ++#endif ++ + namespace JSC { + + using Assembler = TARGET_ASSEMBLER; diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_heap_BlockDirectory_cpp b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_heap_BlockDirectory_cpp new file mode 100644 index 0000000..0ec4c26 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_heap_BlockDirectory_cpp @@ -0,0 +1,14 @@ +No mincore(2) on OpenBSD. + +Index: Source/JavaScriptCore/heap/BlockDirectory.cpp +--- Source/JavaScriptCore/heap/BlockDirectory.cpp.orig ++++ Source/JavaScriptCore/heap/BlockDirectory.cpp +@@ -60,7 +60,7 @@ void BlockDirectory::setSubspace(Subspace* subspace) + void BlockDirectory::updatePercentageOfPagedOutPages(SimpleStats& stats) + { + // FIXME: We should figure out a solution for Windows. +-#if OS(UNIX) ++#if OS(UNIX) && !OS(OPENBSD) + size_t pageSize = WTF::pageSize(); + ASSERT(!(MarkedBlock::blockSize % pageSize)); + auto numberOfPagesInMarkedBlock = MarkedBlock::blockSize / pageSize; diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in new file mode 100644 index 0000000..72d8553 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_javascriptcoregtk_pc_in @@ -0,0 +1,10 @@ +Index: Source/JavaScriptCore/javascriptcoregtk.pc.in +--- Source/JavaScriptCore/javascriptcoregtk.pc.in.orig ++++ Source/JavaScriptCore/javascriptcoregtk.pc.in +@@ -8,5 +8,5 @@ Name: JavaScriptCoreGTK+ + Description: GTK+ version of the JavaScriptCore engine + Version: @PROJECT_VERSION@ + Requires: glib-2.0 gobject-2.0 +-Libs: -L${libdir} -ljavascriptcoregtk-@WEBKITGTK_API_VERSION@ ++Libs: -L${libdir} -ljavascriptcoregtk-@WEBKITGTK_API_VERSION@ -Wl,-z,wxneeded + Cflags: -I${includedir}/webkitgtk-@WEBKITGTK_API_VERSION@ diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_jsc_cpp b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_jsc_cpp new file mode 100644 index 0000000..679d2bb --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_jsc_cpp @@ -0,0 +1,11 @@ +Index: Source/JavaScriptCore/jsc.cpp +--- Source/JavaScriptCore/jsc.cpp.orig ++++ Source/JavaScriptCore/jsc.cpp +@@ -78,6 +78,7 @@ + #include "WasmCapabilities.h" + #include "WasmFaultSignalHandler.h" + #include "WasmMemory.h" ++#include /* LC_ALL */ + #include + #include + #include diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_offlineasm_arm64_rb b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_offlineasm_arm64_rb new file mode 100644 index 0000000..5a1abcd --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_offlineasm_arm64_rb @@ -0,0 +1,12 @@ +Index: Source/JavaScriptCore/offlineasm/arm64.rb +--- Source/JavaScriptCore/offlineasm/arm64.rb.orig ++++ Source/JavaScriptCore/offlineasm/arm64.rb +@@ -1226,7 +1226,7 @@ class Instruction + $asm.puts "ldr #{operands[1].arm64Operand(:quad)}, [#{operands[1].arm64Operand(:quad)}, #{operands[0].asmLabel}@GOTPAGEOFF]" + + # On Linux, use ELF GOT relocation specifiers. +- $asm.putStr("#elif OS(LINUX)") ++ $asm.putStr("#elif OS(LINUX) || OS(OPENBSD)") + $asm.puts "adrp #{operands[1].arm64Operand(:quad)}, :got:#{operands[0].asmLabel}" + $asm.puts "ldr #{operands[1].arm64Operand(:quad)}, [#{operands[1].arm64Operand(:quad)}, :got_lo12:#{operands[0].asmLabel}]" + diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_MachineContext_h b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_MachineContext_h new file mode 100644 index 0000000..43a1509 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_MachineContext_h @@ -0,0 +1,118 @@ +Index: Source/JavaScriptCore/runtime/MachineContext.h +--- Source/JavaScriptCore/runtime/MachineContext.h.orig ++++ Source/JavaScriptCore/runtime/MachineContext.h +@@ -193,6 +193,22 @@ static inline void*& stackPointerImpl(mcontext_t& mach + #error Unknown Architecture + #endif + ++#elif OS(OPENBSD) ++ ++#if CPU(X86) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_esp); ++#elif CPU(X86_64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_rsp); ++#elif CPU(ARM) ++ return reinterpret_cast((uintptr_t&) machineContext.__gregs[_REG_SP]); ++#elif CPU(ARM64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_sp); ++#elif CPU(MIPS) ++ return reinterpret_cast((uintptr_t&) machineContext.mc_regs[29]); ++#else ++#error Unknown Architecture ++#endif ++ + #elif OS(FUCHSIA) || OS(LINUX) + + #if CPU(X86) +@@ -338,6 +354,22 @@ static inline void*& framePointerImpl(mcontext_t& mach + #error Unknown Architecture + #endif + ++#elif OS(OPENBSD) ++ ++#if CPU(X86) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_ebp); ++#elif CPU(X86_64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_rbp); ++#elif CPU(ARM) ++ return reinterpret_cast((uintptr_t&) machineContext.__gregs[_REG_FP]); ++#elif CPU(ARM64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_x[29]); ++#elif CPU(MIPS) ++ return reinterpret_cast((uintptr_t&) machineContext.mc_regs[30]); ++#else ++#error Unknown Architecture ++#endif ++ + #elif OS(FUCHSIA) || OS(LINUX) + + // The following sequence depends on glibc's sys/ucontext.h. +@@ -496,6 +528,22 @@ static inline void*& instructionPointerImpl(mcontext_t + #error Unknown Architecture + #endif + ++#elif OS(OPENBSD) ++ ++#if CPU(X86) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_eip); ++#elif CPU(X86_64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_rip); ++#elif CPU(ARM) ++ return reinterpret_cast((uintptr_t&) machineContext.__gregs[_REG_PC]); ++#elif CPU(ARM64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_elr); ++#elif CPU(MIPS) ++ return reinterpret_cast((uintptr_t&) machineContext.mc_pc); ++#else ++#error Unknown Architecture ++#endif ++ + #elif OS(FUCHSIA) || OS(LINUX) + + // The following sequence depends on glibc's sys/ucontext.h. +@@ -652,6 +700,22 @@ inline void*& argumentPointer<1>(mcontext_t& machineCo + #error Unknown Architecture + #endif + ++#elif OS(OPENBSD) ++ ++#if CPU(X86) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_edx); ++#elif CPU(X86_64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_rsi); ++#elif CPU(ARM) ++ return reinterpret_cast((uintptr_t&) machineContext.__gregs[_REG_R1]); ++#elif CPU(ARM64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_x[1]); ++#elif CPU(MIPS) ++ return reinterpret_cast((uintptr_t&) machineContext.mc_regs[5]); ++#else ++#error Unknown Architecture ++#endif ++ + #elif OS(FUCHSIA) || OS(LINUX) + + // The following sequence depends on glibc's sys/ucontext.h. +@@ -765,6 +829,22 @@ inline void*& llintInstructionPointer(mcontext_t& mach + return reinterpret_cast((uintptr_t&) machineContext.__gregs[_REG_R8]); + #elif CPU(ARM64) + return reinterpret_cast((uintptr_t&) machineContext.mc_gpregs.gp_x[4]); ++#elif CPU(MIPS) ++ return reinterpret_cast((uintptr_t&) machineContext.mc_regs[12]); ++#else ++#error Unknown Architecture ++#endif ++ ++#elif OS(OPENBSD) ++ ++#if CPU(X86) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_esi); ++#elif CPU(X86_64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_r8); ++#elif CPU(ARM) ++ return reinterpret_cast((uintptr_t&) machineContext.__gregs[_REG_R8]); ++#elif CPU(ARM64) ++ return reinterpret_cast((uintptr_t&) machineContext.sc_x[4]); + #elif CPU(MIPS) + return reinterpret_cast((uintptr_t&) machineContext.mc_regs[12]); + #else diff --git a/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_Options_cpp b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_Options_cpp new file mode 100644 index 0000000..3c9f0e7 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_JavaScriptCore_runtime_Options_cpp @@ -0,0 +1,25 @@ +powerpc and i386 fix for: +undefined reference to `WTF::Optional +JSC::parse(char const*)' + +Index: Source/JavaScriptCore/runtime/Options.cpp +--- Source/JavaScriptCore/runtime/Options.cpp.orig ++++ Source/JavaScriptCore/runtime/Options.cpp +@@ -91,7 +91,7 @@ std::optional parse(const ch + return std::nullopt; + } + +-#if CPU(ADDRESS64) || OS(DARWIN) ++#if CPU(ADDRESS64) || OS(DARWIN) || OS(OPENBSD) + template<> + std::optional parse(const char* string) + { +@@ -100,7 +100,7 @@ std::optional parse(const char* + return value; + return std::nullopt; + } +-#endif // CPU(ADDRESS64) || OS(DARWIN) ++#endif // CPU(ADDRESS64) || OS(DARWIN) || OS(OPENBSD) + + template<> + std::optional parse(const char* string) diff --git a/www/webkitgtk4/patches/patch-Source_ThirdParty_ANGLE_src_common_platform_h b/www/webkitgtk4/patches/patch-Source_ThirdParty_ANGLE_src_common_platform_h new file mode 100644 index 0000000..d211055 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_ThirdParty_ANGLE_src_common_platform_h @@ -0,0 +1,20 @@ +Index: Source/ThirdParty/ANGLE/src/common/platform.h +--- Source/ThirdParty/ANGLE/src/common/platform.h.orig ++++ Source/ThirdParty/ANGLE/src/common/platform.h +@@ -26,7 +26,15 @@ + #elif defined(__linux__) || defined(EMSCRIPTEN) + # define ANGLE_PLATFORM_LINUX 1 + # define ANGLE_PLATFORM_POSIX 1 +-#elif defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || \ ++#elif defined(__OpenBSD__) ++# define ANGLE_PLATFORM_OPENBSD 1 ++# define ANGLE_PLATFORM_POSIX 1 ++# define ANGLE_PLATFORM_BSD 1 ++#elif defined(__FreeBSD__) ++# define ANGLE_PLATFORM_FREEBSD 1 ++# define ANGLE_PLATFORM_POSIX 1 ++# define ANGLE_PLATFORM_BSD 1 ++#elif defined(__NetBSD__) || \ + defined(__DragonFly__) || defined(__sun) || defined(__GLIBC__) || defined(__GNU__) || \ + defined(__QNX__) || defined(__Fuchsia__) || defined(__HAIKU__) + # define ANGLE_PLATFORM_POSIX 1 diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h new file mode 100644 index 0000000..38594b2 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_InlineASM_h @@ -0,0 +1,12 @@ +Index: Source/WTF/wtf/InlineASM.h +--- Source/WTF/wtf/InlineASM.h.orig ++++ Source/WTF/wtf/InlineASM.h +@@ -43,7 +43,7 @@ + #define THUMB_FUNC_PARAM(name) + #endif + +-#if (OS(LINUX) || OS(FREEBSD)) && CPU(X86_64) ++#if (OS(LINUX) || OS(FREEBSD) || OS(OPENBSD)) && CPU(X86_64) + #define GLOBAL_REFERENCE(name) #name "@plt" + #elif CPU(X86) && COMPILER(MINGW) + #define GLOBAL_REFERENCE(name) "@" #name "@4" diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h new file mode 100644 index 0000000..e2da01a --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PageBlock_h @@ -0,0 +1,12 @@ +Index: Source/WTF/wtf/PageBlock.h +--- Source/WTF/wtf/PageBlock.h.orig ++++ Source/WTF/wtf/PageBlock.h +@@ -55,6 +55,8 @@ constexpr size_t CeilingOnPageSize = 16 * KB; + constexpr size_t CeilingOnPageSize = 64 * KB; + #elif OS(WINDOWS) || CPU(X86) || CPU(X86_64) || CPU(ARM) || CPU(ARM64) || CPU(RISCV64) + constexpr size_t CeilingOnPageSize = 4 * KB; ++#elif CPU(SPARC64) ++constexpr size_t CeilingOnPageSize = 8 * KB; + #else + #error Must set CeilingOnPageSize in PageBlock.h when adding a new CPU architecture! + #endif diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h new file mode 100644 index 0000000..1bebf1f --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformCPU_h @@ -0,0 +1,28 @@ +https://bugs.webkit.org/show_bug.cgi?id=129963 + +Index: Source/WTF/wtf/PlatformCPU.h +--- Source/WTF/wtf/PlatformCPU.h.orig ++++ Source/WTF/wtf/PlatformCPU.h +@@ -89,6 +89,13 @@ + #define WTF_CPU_KNOWN 1 + #endif + ++/* CPU(SPARC64) - SPARC V9 */ ++#if defined(__sparc64__) ++#define WTF_CPU_KNOWN 1 ++#define WTF_CPU_SPARC64 1 ++#define WTF_CPU_BIG_ENDIAN 1 ++#endif ++ + /* CPU(X86) - i386 / x86 32-bit */ + #if defined(__i386__) \ + || defined(i386) \ +@@ -289,7 +296,7 @@ + #define WTF_CPU_UNKNOWN 1 + #endif + +-#if CPU(ARM) || CPU(MIPS) || CPU(UNKNOWN) ++#if CPU(ARM) || CPU(MIPS) || CPU(SPARC64) || CPU(UNKNOWN) + #define WTF_CPU_NEEDS_ALIGNED_ACCESS 1 + #endif + diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformEnable_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformEnable_h new file mode 100644 index 0000000..7b9c398 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformEnable_h @@ -0,0 +1,14 @@ +https://bugs.webkit.org/show_bug.cgi?id=129963 + +Index: Source/WTF/wtf/PlatformEnable.h +--- Source/WTF/wtf/PlatformEnable.h.orig ++++ Source/WTF/wtf/PlatformEnable.h +@@ -646,7 +646,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(HURD) || OS(WINDOWS)) ++#if CPU(X86_64) && (OS(DARWIN) || OS(LINUX) || OS(FREEBSD) || OS(OPENBSD) || OS(HURD) || OS(WINDOWS)) + #define ENABLE_DFG_JIT 1 + #endif + diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformHave_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformHave_h new file mode 100644 index 0000000..4be2495 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_PlatformHave_h @@ -0,0 +1,18 @@ +Undo parts of upstream commit 6c2615dd66a12e9a10d7867241cc3bedfb2b2473 [0] +Machine context definitions were only added for Linux. +[0] https://github.com/WebKit/WebKit/commit/6c2615dd66a12e9a10d7867241cc3bedfb2b2473 + +Index: Source/WTF/wtf/PlatformHave.h +--- Source/WTF/wtf/PlatformHave.h.orig ++++ Source/WTF/wtf/PlatformHave.h +@@ -233,6 +233,10 @@ + #define HAVE_MACHINE_CONTEXT 1 + #endif + ++#if OS(OPENBSD) && CPU(RISCV64) ++#undef HAVE_MACHINE_CONTEXT ++#endif ++ + #if OS(DARWIN) || (OS(LINUX) && defined(__GLIBC__) && !defined(__UCLIBC__) && !CPU(MIPS)) + #define HAVE_BACKTRACE 1 + #endif diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_Platform_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_Platform_h new file mode 100644 index 0000000..c503325 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_Platform_h @@ -0,0 +1,13 @@ +Fix build with icu4c >=69.1 + +Index: Source/WTF/wtf/Platform.h +--- Source/WTF/wtf/Platform.h.orig ++++ Source/WTF/wtf/Platform.h +@@ -113,7 +113,6 @@ + + /* FIXME: This does not belong in Platform.h and should instead be included in another mechanism (compiler option, prefix header, config.h, etc) */ + /* ICU configuration. Some of these match ICU defaults on some platforms, but we would like them consistently set everywhere we build WebKit. */ +-#define U_HIDE_DEPRECATED_API 1 + #define U_SHOW_CPLUSPLUS_API 0 + #ifdef __cplusplus + #define UCHAR_TYPE char16_t diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_RawHex_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_RawHex_h new file mode 100644 index 0000000..498e7a0 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_RawHex_h @@ -0,0 +1,21 @@ +Index: Source/WTF/wtf/RawHex.h +--- Source/WTF/wtf/RawHex.h.orig ++++ Source/WTF/wtf/RawHex.h +@@ -48,7 +48,7 @@ class RawHex { (public) + : RawHex(static_cast(value)) + { } + +-#if CPU(ADDRESS64) || OS(DARWIN) ++#if CPU(ADDRESS64) || OS(DARWIN) || OS(OPENBSD) + // These causes build errors for CPU(ADDRESS32) on some ports because int32_t + // is already handled by intptr_t, and uint32_t is handled by uintptr_t. + explicit RawHex(int32_t value) +@@ -59,7 +59,7 @@ class RawHex { (public) + { } + #endif + +-#if CPU(ADDRESS32) || OS(DARWIN) ++#if CPU(ADDRESS32) || OS(DARWIN) || OS(OPENBSD) + // These causes build errors for CPU(ADDRESS64) on some ports because int64_t + // is already handled by intptr_t, and uint64_t is handled by uintptr_t. + explicit RawHex(int64_t value) diff --git a/www/webkitgtk4/patches/patch-Source_WTF_wtf_dtoa_utils_h b/www/webkitgtk4/patches/patch-Source_WTF_wtf_dtoa_utils_h new file mode 100644 index 0000000..dd59932 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WTF_wtf_dtoa_utils_h @@ -0,0 +1,12 @@ +Index: Source/WTF/wtf/dtoa/utils.h +--- Source/WTF/wtf/dtoa/utils.h.orig ++++ Source/WTF/wtf/dtoa/utils.h +@@ -86,7 +86,7 @@ int main(int argc, char** argv) { + defined(__powerpc__) || defined(__ppc__) || defined(__ppc64__) || \ + defined(_POWER) || defined(_ARCH_PPC) || defined(_ARCH_PPC64) || \ + defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ +- defined(__SH4__) || defined(__alpha__) || \ ++ defined(__SH4__) || defined(__alpha__) || defined(__sparc64__) || \ + defined(_MIPS_ARCH_MIPS32R2) || \ + defined(__AARCH64EL__) || defined(__aarch64__) || defined(__AARCH64EB__) || \ + defined(__riscv) || \ diff --git a/www/webkitgtk4/patches/patch-Source_WebCore_PAL_pal_PlatformGTK_cmake b/www/webkitgtk4/patches/patch-Source_WebCore_PAL_pal_PlatformGTK_cmake new file mode 100644 index 0000000..965bc52 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebCore_PAL_pal_PlatformGTK_cmake @@ -0,0 +1,18 @@ +Index: Source/WebCore/PAL/pal/PlatformGTK.cmake +--- Source/WebCore/PAL/pal/PlatformGTK.cmake.orig ++++ Source/WebCore/PAL/pal/PlatformGTK.cmake +@@ -20,6 +20,14 @@ list(APPEND PAL_SOURCES + unix/LoggingUnix.cpp + ) + ++list(APPEND PAL_INCLUDE_DIRECTORIES ++ ${LIBGCRYPT_INCLUDE_DIRS} ++) ++ ++list(APPEND PAL_LIBRARIES ++ ${LIBGCRYPT_LIBRARIES} ++) ++ + if (ENABLE_WEB_CRYPTO) + list(APPEND PAL_PUBLIC_HEADERS + crypto/tasn1/Utilities.h diff --git a/www/webkitgtk4/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM_cpp b/www/webkitgtk4/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM_cpp new file mode 100644 index 0000000..061724e --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebCore_crypto_algorithms_CryptoAlgorithmAES_GCM_cpp @@ -0,0 +1,16 @@ +Index: Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp +--- Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp.orig ++++ Source/WebCore/crypto/algorithms/CryptoAlgorithmAES_GCM.cpp +@@ -26,6 +26,12 @@ + #include "config.h" + #include "CryptoAlgorithmAES_GCM.h" + ++#if defined(_LP64) ++# define __WORDSIZE 64 ++#else ++# define __WORDSIZE 32 ++#endif ++ + #if ENABLE(WEB_CRYPTO) + + #include "CryptoAlgorithmAesGcmParams.h" diff --git a/www/webkitgtk4/patches/patch-Source_WebCore_page_NavigatorBase_cpp b/www/webkitgtk4/patches/patch-Source_WebCore_page_NavigatorBase_cpp new file mode 100644 index 0000000..7bf4088 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebCore_page_NavigatorBase_cpp @@ -0,0 +1,21 @@ +Index: Source/WebCore/page/NavigatorBase.cpp +--- Source/WebCore/page/NavigatorBase.cpp.orig ++++ Source/WebCore/page/NavigatorBase.cpp +@@ -40,7 +40,7 @@ + #include + #include + +-#if OS(LINUX) ++#if OS(LINUX) || OS(OPENBSD) + #include "sys/utsname.h" + #include + #endif +@@ -88,7 +88,7 @@ String NavigatorBase::appVersion() const + + String NavigatorBase::platform() const + { +-#if OS(LINUX) ++#if OS(LINUX) || OS(OPENBSD) + static LazyNeverDestroyed platformName; + static std::once_flag onceKey; + std::call_once(onceKey, [] { diff --git a/www/webkitgtk4/patches/patch-Source_WebCore_platform_graphics_FontSelectionAlgorithm_h b/www/webkitgtk4/patches/patch-Source_WebCore_platform_graphics_FontSelectionAlgorithm_h new file mode 100644 index 0000000..37189ec --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebCore_platform_graphics_FontSelectionAlgorithm_h @@ -0,0 +1,30 @@ +XXX libstdc++ from gcc-4.9.4 doesn't yet decorate std::min/std::max +with constexpr + +Index: Source/WebCore/platform/graphics/FontSelectionAlgorithm.h +--- Source/WebCore/platform/graphics/FontSelectionAlgorithm.h.orig ++++ Source/WebCore/platform/graphics/FontSelectionAlgorithm.h +@@ -49,7 +49,11 @@ class FontSelectionValue { (public) + explicit constexpr FontSelectionValue(float); + + // Precision can be lost, but value will be clamped to the representable range. ++#if defined(__GLIBCXX__) && __GLIBCXX__ <= 20160726L ++ static inline FontSelectionValue clampFloat(float); ++#else + static constexpr FontSelectionValue clampFloat(float); ++#endif + + // Since floats have 23 mantissa bits, every value can be represented losslessly. + constexpr operator float() const; +@@ -125,7 +129,11 @@ constexpr FontSelectionValue FontSelectionValue::minim + return { std::numeric_limits::min(), RawTag::RawTag }; + } + ++#if defined(__GLIBCXX__) && __GLIBCXX__ <= 20160726L ++inline FontSelectionValue FontSelectionValue::clampFloat(float value) ++#else + constexpr FontSelectionValue FontSelectionValue::clampFloat(float value) ++#endif + { + return FontSelectionValue { std::max(minimumValue(), std::min(value, maximumValue())) }; + } diff --git a/www/webkitgtk4/patches/patch-Source_WebCore_platform_network_DNS_h b/www/webkitgtk4/patches/patch-Source_WebCore_platform_network_DNS_h new file mode 100644 index 0000000..03b0b8a --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebCore_platform_network_DNS_h @@ -0,0 +1,11 @@ +Index: Source/WebCore/platform/network/DNS.h +--- Source/WebCore/platform/network/DNS.h.orig ++++ Source/WebCore/platform/network/DNS.h +@@ -34,6 +34,7 @@ + #include + #else + #include ++#include /* AF_INET, AF_INET6 */ + #endif + + namespace WebCore { diff --git a/www/webkitgtk4/patches/patch-Source_WebCore_rendering_RenderLayerBacking_h b/www/webkitgtk4/patches/patch-Source_WebCore_rendering_RenderLayerBacking_h new file mode 100644 index 0000000..50a1830 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebCore_rendering_RenderLayerBacking_h @@ -0,0 +1,16 @@ +Index: Source/WebCore/rendering/RenderLayerBacking.h +--- Source/WebCore/rendering/RenderLayerBacking.h.orig ++++ Source/WebCore/rendering/RenderLayerBacking.h +@@ -33,6 +33,12 @@ + #include "RenderLayerCompositor.h" + #include "ScrollingCoordinator.h" + ++#if defined(_LP64) ++# define __WORDSIZE 64 ++#else ++# define __WORDSIZE 32 ++#endif ++ + namespace WebCore { + + class EventRegionContext; diff --git a/www/webkitgtk4/patches/patch-Source_WebDriver_PlatformGTK_cmake b/www/webkitgtk4/patches/patch-Source_WebDriver_PlatformGTK_cmake new file mode 100644 index 0000000..66cbf89 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebDriver_PlatformGTK_cmake @@ -0,0 +1,17 @@ +Index: Source/WebDriver/PlatformGTK.cmake +--- Source/WebDriver/PlatformGTK.cmake.orig ++++ Source/WebDriver/PlatformGTK.cmake +@@ -5,6 +5,7 @@ add_definitions(-DLIBEXECDIR="${CMAKE_INSTALL_FULL_LIB + list(APPEND WebDriver_SYSTEM_INCLUDE_DIRECTORIES + "${GLIB_INCLUDE_DIRS}" + "${LIBSOUP_INCLUDE_DIRS}" ++ "${ICU_INCLUDE_DIRS}" + ) + + list(APPEND WebDriver_SOURCES +@@ -18,4 +19,5 @@ list(APPEND WebDriver_SOURCES + + list(APPEND WebDriver_LIBRARIES + ${LIBSOUP_LIBRARIES} ++ ${ICU_LIBRARIES} + ) diff --git a/www/webkitgtk4/patches/patch-Source_WebKit_Platform_IPC_ArgumentCoders_h b/www/webkitgtk4/patches/patch-Source_WebKit_Platform_IPC_ArgumentCoders_h new file mode 100644 index 0000000..c564b39 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebKit_Platform_IPC_ArgumentCoders_h @@ -0,0 +1,115 @@ +https://bugs.webkit.org/show_bug.cgi?id=245044 +REVERT: +From: "zan@falconsigh.net" +Date: Tue, 12 Apr 2022 06:30:51 +0000 +Subject: [PATCH] [WK2] Simplify IPC encoding, decoding of tuples https://bugs.webkit.org/show_bug.cgi?id=239062 + +Index: Source/WebKit/Platform/IPC/ArgumentCoders.h +--- Source/WebKit/Platform/IPC/ArgumentCoders.h.orig ++++ Source/WebKit/Platform/IPC/ArgumentCoders.h +@@ -495,26 +495,38 @@ template struct ArgumentCoder> { + } + }; + +-template ++template + struct TupleEncoder { + template + static void encode(Encoder& encoder, const std::tuple& tuple) + { +- encode(encoder, tuple, std::index_sequence_for { }); ++ encoder << std::get(tuple); ++ TupleEncoder::encode(encoder, tuple); + } ++}; + +- template +- static void encode(Encoder& encoder, const std::tuple& tuple, std::index_sequence) ++template ++struct TupleEncoder<0, Elements...> { ++ template ++ static void encode(Encoder&, const std::tuple&) + { +- if constexpr (sizeof...(Indices) > 0) +- (encoder << ... << std::get(tuple)); + } + }; + +-template struct TupleDecoder; ++template ++auto tupleFromTupleAndObject(T&& object, std::tuple&& tuple, std::index_sequence) ++{ ++ return std::make_tuple(WTFMove(object), WTFMove(std::get(tuple))...); ++} + ++template ++auto tupleFromTupleAndObject(T&& object, std::tuple&& tuple) ++{ ++ return tupleFromTupleAndObject(WTFMove(object), WTFMove(tuple), std::index_sequence_for()); ++} ++ + template +-struct TupleDecoder { ++struct TupleDecoderImpl { + template + static std::optional> decode(Decoder& decoder) + { +@@ -523,16 +535,38 @@ struct TupleDecoder { + if (!optional) + return std::nullopt; + +- std::optional> remainder = TupleDecoder::decode(decoder); +- if (!remainder) ++ std::optional> subTuple = TupleDecoderImpl::decode(decoder); ++ if (!subTuple) + return std::nullopt; + +- return std::tuple_cat(std::make_tuple(WTFMove(*optional)), WTFMove(*remainder)); ++ return tupleFromTupleAndObject(WTFMove(*optional), WTFMove(*subTuple)); + } + }; + ++template ++struct TupleDecoderImpl { ++ template ++ static std::optional> decode(Decoder& decoder) ++ { ++ std::optional optional; ++ decoder >> optional; ++ if (!optional) ++ return std::nullopt; ++ return std::make_tuple(WTFMove(*optional)); ++ } ++}; ++ ++template ++struct TupleDecoder { ++ template ++ static std::optional> decode(Decoder& decoder) ++ { ++ return TupleDecoderImpl::decode(decoder); ++ } ++}; ++ + template<> +-struct TupleDecoder<> { ++struct TupleDecoder<0> { + template + static std::optional> decode(Decoder&) + { +@@ -544,13 +578,13 @@ template struct ArgumentCoder + static void encode(Encoder& encoder, const std::tuple& tuple) + { +- TupleEncoder::encode(encoder, tuple); ++ TupleEncoder::encode(encoder, tuple); + } + + template + static std::optional> decode(Decoder& decoder) + { +- return TupleDecoder::decode(decoder); ++ return TupleDecoder::decode(decoder); + } + }; + diff --git a/www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in b/www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in new file mode 100644 index 0000000..f3426ac --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk-web-extension_pc_in @@ -0,0 +1,10 @@ +Index: Source/WebKit/gtk/webkit2gtk-web-extension.pc.in +--- Source/WebKit/gtk/webkit2gtk-web-extension.pc.in.orig ++++ Source/WebKit/gtk/webkit2gtk-web-extension.pc.in +@@ -9,5 +9,5 @@ Description: Web content engine for GTK - web process + URL: https://webkitgtk.org + Version: @PROJECT_VERSION@ + Requires: glib-2.0 @GTK_PC_NAME@ libsoup-@SOUP_API_VERSION@ javascriptcoregtk-@WEBKITGTK_API_VERSION@ +-Libs: -L${libdir} -lwebkit2gtk-@WEBKITGTK_API_VERSION@ ++Libs: -L${libdir} -lwebkit2gtk-@WEBKITGTK_API_VERSION@ -Wl,-z,wxneeded + Cflags: -I${includedir}/webkitgtk-@WEBKITGTK_API_VERSION@ diff --git a/www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk_pc_in b/www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk_pc_in new file mode 100644 index 0000000..563d209 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_WebKit_gtk_webkit2gtk_pc_in @@ -0,0 +1,10 @@ +Index: Source/WebKit/gtk/webkit2gtk.pc.in +--- Source/WebKit/gtk/webkit2gtk.pc.in.orig ++++ Source/WebKit/gtk/webkit2gtk.pc.in +@@ -9,5 +9,5 @@ Description: Web content engine for GTK + URL: https://webkitgtk.org + Version: @PROJECT_VERSION@ + Requires: glib-2.0 @GTK_PC_NAME@ libsoup-@SOUP_API_VERSION@ javascriptcoregtk-@WEBKITGTK_API_VERSION@ +-Libs: -L${libdir} -lwebkit2gtk-@WEBKITGTK_API_VERSION@ ++Libs: -L${libdir} -lwebkit2gtk-@WEBKITGTK_API_VERSION@ -Wl,-z,wxneeded + Cflags: -I${includedir}/webkitgtk-@WEBKITGTK_API_VERSION@ diff --git a/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_cpp b/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_cpp new file mode 100644 index 0000000..107220b --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_cpp @@ -0,0 +1,90 @@ +Index: Source/bmalloc/bmalloc/AvailableMemory.cpp +--- Source/bmalloc/bmalloc/AvailableMemory.cpp.orig ++++ Source/bmalloc/bmalloc/AvailableMemory.cpp +@@ -44,13 +44,15 @@ + #import + #import + #elif BOS(UNIX) +-#if BOS(FREEBSD) || BOS(LINUX) ++#if BOS(OPENBSD) ++#include ++#elif BOS(FREEBSD) || BOS(LINUX) + #include + #endif + #if BOS(LINUX) + #include + #include +-#elif BOS(FREEBSD) ++#elif BOS(FREEBSD) || BOS(OPENBSD) + #include "VMAllocate.h" + #include + #include +@@ -166,6 +168,24 @@ static size_t computeAvailableMemory() + if (!sysinfo(&info)) + return info.totalram * info.mem_unit; + return availableMemoryGuess; ++#elif BOS(OPENBSD) ++ struct uvmexp uvmexp; ++ size_t length; ++ static int uvmexp_mib [] = { CTL_VM, VM_UVMEXP }; ++ long pages; ++ long pageSize = sysconf(_SC_PAGE_SIZE); ++ if (pageSize == -1) ++ return availableMemoryGuess; ++ length = sizeof (uvmexp); ++ if (sysctl(uvmexp_mib, std::size(uvmexp_mib), &uvmexp, &length, NULL, 0) == 0) ++ return uvmexp.npages * pageSize; ++ else { ++ bzero(&uvmexp, sizeof(length)); ++ pages = sysconf(_SC_PHYS_PAGES); ++ if (pages == -1) ++ return availableMemoryGuess; ++ return pages * pageSize; ++ } + #elif BOS(UNIX) + long pages = sysconf(_SC_PHYS_PAGES); + long pageSize = sysconf(_SC_PAGE_SIZE); +@@ -180,14 +200,19 @@ static size_t computeAvailableMemory() + size_t availableMemory() + { + static size_t availableMemory; ++#if BOS(OPENBSD) ++ // We always calculate the available memory because we take care... ++ availableMemory = computeAvailableMemory(); ++#else + static std::once_flag onceFlag; + std::call_once(onceFlag, [] { + availableMemory = computeAvailableMemory(); + }); ++#endif + return availableMemory; + } + +-#if BPLATFORM(IOS_FAMILY) || BOS(LINUX) || BOS(FREEBSD) ++#if BPLATFORM(IOS_FAMILY) || BOS(LINUX) || BOS(FREEBSD) || BOS(OPENBSD) + MemoryStatus memoryStatus() + { + #if BPLATFORM(IOS_FAMILY) +@@ -213,6 +238,22 @@ MemoryStatus memoryStatus() + size_t memoryFootprint = 0; + if (!sysctl(mib, 4, &info, &infolen, nullptr, 0)) + memoryFootprint = static_cast(info.ki_rssize) * vmPageSize(); ++#elif BOS(OPENBSD) ++ size_t memoryFootprint = 0, length; ++ struct kinfo_proc *info; ++ int mib[] = { CTL_KERN, KERN_PROC, KERN_PROC_PID, getpid(), sizeof(struct kinfo_proc), 0 }; ++ ++ if (sysctl(mib, std::size(mib), NULL, &length, NULL, 0) == 0) { ++ info = (struct kinfo_proc *)malloc(length); ++ mib[5] = (length / sizeof(struct kinfo_proc)); ++ if (sysctl(mib, std::size(mib), info, &length, NULL, 0) == 0) { ++ memoryFootprint = static_cast( ++ info->p_vm_tsize + ++ info->p_vm_dsize + ++ info->p_vm_ssize) * vmPageSize(); ++ } ++ free(info); ++ } + #endif + + double percentInUse = static_cast(memoryFootprint) / static_cast(availableMemory()); diff --git a/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_h b/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_h new file mode 100644 index 0000000..fab7c0c --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_AvailableMemory_h @@ -0,0 +1,21 @@ +Index: Source/bmalloc/bmalloc/AvailableMemory.h +--- Source/bmalloc/bmalloc/AvailableMemory.h.orig ++++ Source/bmalloc/bmalloc/AvailableMemory.h +@@ -32,7 +32,7 @@ namespace bmalloc { + + BEXPORT size_t availableMemory(); + +-#if BPLATFORM(IOS_FAMILY) || BOS(LINUX) || BOS(FREEBSD) ++#if BPLATFORM(IOS_FAMILY) || BOS(LINUX) || BOS(FREEBSD) || BOS(OPENBSD) + struct MemoryStatus { + MemoryStatus(size_t memoryFootprint, double percentAvailableMemoryInUse) + : memoryFootprint(memoryFootprint) +@@ -61,7 +61,7 @@ inline double percentAvailableMemoryInUse() + + inline bool isUnderMemoryPressure() + { +-#if BPLATFORM(IOS_FAMILY) || BOS(LINUX) || BOS(FREEBSD) ++#if BPLATFORM(IOS_FAMILY) || BOS(LINUX) || BOS(FREEBSD) || BOS(OPENBSD) + return percentAvailableMemoryInUse() > memoryPressureThreshold; + #else + return false; diff --git a/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_BPlatform_h b/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_BPlatform_h new file mode 100644 index 0000000..076f6f3 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_bmalloc_bmalloc_BPlatform_h @@ -0,0 +1,14 @@ +Index: Source/bmalloc/bmalloc/BPlatform.h +--- Source/bmalloc/bmalloc/BPlatform.h.orig ++++ Source/bmalloc/bmalloc/BPlatform.h +@@ -52,6 +52,10 @@ + #define BOS_FREEBSD 1 + #endif + ++#if defined(__OpenBSD__) ++#define BOS_OPENBSD 1 ++#endif ++ + #if defined(WIN32) || defined(_WIN32) + #define BOS_WINDOWS 1 + #endif diff --git a/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake b/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake new file mode 100644 index 0000000..cb01e64 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_cmake_OptionsCommon_cmake @@ -0,0 +1,16 @@ +Put the internal library path first so that we can +build with an older webkitgtk4 package installed. + +Index: Source/cmake/OptionsCommon.cmake +--- Source/cmake/OptionsCommon.cmake.orig ++++ Source/cmake/OptionsCommon.cmake +@@ -180,6 +180,9 @@ if (NOT PORT STREQUAL "GTK" AND NOT PORT STREQUAL "WPE + set(LIBEXEC_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/bin" CACHE PATH "Absolute path to install executables executed by the library") + endif () + ++# make sure that the internal library dir is the first in the path ++link_directories("${CMAKE_BINARY_DIR}/lib") ++ + # Check whether features.h header exists. + # Including glibc's one defines __GLIBC__, that is used in Platform.h + WEBKIT_CHECK_HAVE_INCLUDE(HAVE_FEATURES_H features.h) diff --git a/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake b/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake new file mode 100644 index 0000000..bb632b0 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_cmake_WebKitCommon_cmake @@ -0,0 +1,43 @@ +Index: Source/cmake/WebKitCommon.cmake +--- Source/cmake/WebKitCommon.cmake.orig ++++ Source/cmake/WebKitCommon.cmake +@@ -111,7 +111,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) + endif () + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(i[3-6]86|x86)") + set(WTF_CPU_X86 1) +- elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc") ++ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "(ppc|powerpc)") + set(WTF_CPU_PPC 1) + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "ppc64") + set(WTF_CPU_PPC64 1) +@@ -119,6 +119,8 @@ if (NOT HAS_RUN_WEBKIT_COMMON) + set(WTF_CPU_PPC64LE 1) + elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "^riscv64") + set(WTF_CPU_RISCV64 1) ++ elseif (LOWERCASE_CMAKE_SYSTEM_PROCESSOR MATCHES "sparc64") ++ set(WTF_CPU_SPARC64 1) + else () + set(WTF_CPU_UNKNOWN 1) + endif () +@@ -190,9 +192,9 @@ if (NOT HAS_RUN_WEBKIT_COMMON) + # We cannot check for RUBY_FOUND because it is set only when the full package is installed and + # the only thing we need is the interpreter. Unlike Python, cmake does not provide a macro + # for finding only the Ruby interpreter. +- find_package(Ruby 1.9) +- if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS 1.9) +- message(FATAL_ERROR "Ruby 1.9 or higher is required.") ++ find_package(Ruby ${MODRUBY_LIBREV}) ++ if (NOT RUBY_EXECUTABLE OR RUBY_VERSION VERSION_LESS ${MODRUBY_LIBREV}) ++ message(FATAL_ERROR "Ruby ${MODRUBY_LIBREV} or higher is required.") + endif () + + # ----------------------------------------------------------------------------- +@@ -204,7 +206,7 @@ if (NOT HAS_RUN_WEBKIT_COMMON) + include(CheckCXXCompilerFlag) + include(CheckCXXSourceCompiles) + include(CheckFunctionExists) +- include(CheckIncludeFile) ++ include(CheckIncludeFiles) + include(CheckSymbolExists) + include(CheckStructHasMember) + include(CheckTypeSize) diff --git a/www/webkitgtk4/patches/patch-Source_cmake_WebKitCompilerFlags_cmake b/www/webkitgtk4/patches/patch-Source_cmake_WebKitCompilerFlags_cmake new file mode 100644 index 0000000..621a404 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_cmake_WebKitCompilerFlags_cmake @@ -0,0 +1,16 @@ +Index: Source/cmake/WebKitCompilerFlags.cmake +--- Source/cmake/WebKitCompilerFlags.cmake.orig ++++ Source/cmake/WebKitCompilerFlags.cmake +@@ -252,9 +252,9 @@ if (NOT MSVC) + string(REGEX MATCHALL "-fsanitize=[^ ]*" ENABLED_COMPILER_SANITIZERS ${CMAKE_CXX_FLAGS}) + endif () + +-if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS) +- set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}") +-endif () ++#if (UNIX AND NOT APPLE AND NOT ENABLED_COMPILER_SANITIZERS) ++# set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--no-undefined ${CMAKE_SHARED_LINKER_FLAGS}") ++#endif () + + + if (MSVC) diff --git a/www/webkitgtk4/patches/patch-Source_cmake_WebKitFeatures_cmake b/www/webkitgtk4/patches/patch-Source_cmake_WebKitFeatures_cmake new file mode 100644 index 0000000..944d902 --- /dev/null +++ b/www/webkitgtk4/patches/patch-Source_cmake_WebKitFeatures_cmake @@ -0,0 +1,12 @@ +Index: Source/cmake/WebKitFeatures.cmake +--- Source/cmake/WebKitFeatures.cmake.orig ++++ Source/cmake/WebKitFeatures.cmake +@@ -443,7 +443,7 @@ macro(CREATE_CONFIGURATION_HEADER) + endmacro() + + macro(WEBKIT_CHECK_HAVE_INCLUDE _variable _header) +- check_include_file(${_header} ${_variable}_value) ++ check_include_files("${_header}" ${_variable}_value) + SET_AND_EXPOSE_TO_BUILD(${_variable} ${${_variable}_value}) + endmacro() + diff --git a/www/webkitgtk4/pkg/CVS/Entries b/www/webkitgtk4/pkg/CVS/Entries new file mode 100644 index 0000000..b811f9e --- /dev/null +++ b/www/webkitgtk4/pkg/CVS/Entries @@ -0,0 +1,5 @@ +/DESCR/1.2/Sat Sep 3 07:51:54 2022// +/PFRAG.no-webkitgtk50/1.1/Sat Sep 17 08:13:54 2022// +/PFRAG.webkitgtk50/1.1/Sat Sep 17 08:13:54 2022// +/PLIST/1.28/Sat Sep 17 08:13:54 2022// +D diff --git a/www/webkitgtk4/pkg/CVS/Repository b/www/webkitgtk4/pkg/CVS/Repository new file mode 100644 index 0000000..5d2cc25 --- /dev/null +++ b/www/webkitgtk4/pkg/CVS/Repository @@ -0,0 +1 @@ +ports/www/webkitgtk4/pkg diff --git a/www/webkitgtk4/pkg/CVS/Root b/www/webkitgtk4/pkg/CVS/Root new file mode 100644 index 0000000..3811072 --- /dev/null +++ b/www/webkitgtk4/pkg/CVS/Root @@ -0,0 +1 @@ +/cvs diff --git a/www/webkitgtk4/pkg/DESCR b/www/webkitgtk4/pkg/DESCR new file mode 100644 index 0000000..abbc4b2 --- /dev/null +++ b/www/webkitgtk4/pkg/DESCR @@ -0,0 +1,3 @@ +WebKitGTK is a full-featured port of the WebKit rendering engine, suitable for +projects requiring any kind of web integration, from hybrid HTML/CSS +applications to full-fledged web browsers. diff --git a/www/webkitgtk4/pkg/PLIST b/www/webkitgtk4/pkg/PLIST new file mode 100644 index 0000000..e0e4ad1 --- /dev/null +++ b/www/webkitgtk4/pkg/PLIST @@ -0,0 +1,285 @@ +@conflict webkitgtk4-* +include/webkitgtk-${API}/ +include/webkitgtk-${API}/JavaScriptCore/ +include/webkitgtk-${API}/JavaScriptCore/JSBase.h +include/webkitgtk-${API}/JavaScriptCore/JSContextRef.h +include/webkitgtk-${API}/JavaScriptCore/JSObjectRef.h +include/webkitgtk-${API}/JavaScriptCore/JSStringRef.h +include/webkitgtk-${API}/JavaScriptCore/JSTypedArray.h +include/webkitgtk-${API}/JavaScriptCore/JSValueRef.h +include/webkitgtk-${API}/JavaScriptCore/JavaScript.h +include/webkitgtk-${API}/JavaScriptCore/WebKitAvailability.h +include/webkitgtk-${API}/jsc/ +include/webkitgtk-${API}/jsc/JSCAutocleanups.h +include/webkitgtk-${API}/jsc/JSCClass.h +include/webkitgtk-${API}/jsc/JSCContext.h +include/webkitgtk-${API}/jsc/JSCDefines.h +include/webkitgtk-${API}/jsc/JSCException.h +include/webkitgtk-${API}/jsc/JSCOptions.h +include/webkitgtk-${API}/jsc/JSCValue.h +include/webkitgtk-${API}/jsc/JSCVersion.h +include/webkitgtk-${API}/jsc/JSCVirtualMachine.h +include/webkitgtk-${API}/jsc/JSCWeakValue.h +include/webkitgtk-${API}/jsc/jsc.h +include/webkitgtk-${API}/webkit2/ +include/webkitgtk-${API}/webkit2/WebKitApplicationInfo.h +include/webkitgtk-${API}/webkit2/WebKitAuthenticationRequest.h +include/webkitgtk-${API}/webkit2/WebKitAutocleanups.h +include/webkitgtk-${API}/webkit2/WebKitAutomationSession.h +include/webkitgtk-${API}/webkit2/WebKitBackForwardList.h +include/webkitgtk-${API}/webkit2/WebKitBackForwardListItem.h +include/webkitgtk-${API}/webkit2/WebKitColorChooserRequest.h +include/webkitgtk-${API}/webkit2/WebKitConsoleMessage.h +include/webkitgtk-${API}/webkit2/WebKitContextMenu.h +include/webkitgtk-${API}/webkit2/WebKitContextMenuActions.h +include/webkitgtk-${API}/webkit2/WebKitContextMenuItem.h +include/webkitgtk-${API}/webkit2/WebKitCookieManager.h +include/webkitgtk-${API}/webkit2/WebKitCredential.h +include/webkitgtk-${API}/webkit2/WebKitDefines.h +include/webkitgtk-${API}/webkit2/WebKitDeviceInfoPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitDownload.h +include/webkitgtk-${API}/webkit2/WebKitEditingCommands.h +include/webkitgtk-${API}/webkit2/WebKitEditorState.h +include/webkitgtk-${API}/webkit2/WebKitEnumTypes.h +include/webkitgtk-${API}/webkit2/WebKitError.h +include/webkitgtk-${API}/webkit2/WebKitFaviconDatabase.h +include/webkitgtk-${API}/webkit2/WebKitFileChooserRequest.h +include/webkitgtk-${API}/webkit2/WebKitFindController.h +include/webkitgtk-${API}/webkit2/WebKitFormSubmissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitForwardDeclarations.h +include/webkitgtk-${API}/webkit2/WebKitFrame.h +include/webkitgtk-${API}/webkit2/WebKitGeolocationManager.h +include/webkitgtk-${API}/webkit2/WebKitGeolocationPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitHitTestResult.h +include/webkitgtk-${API}/webkit2/WebKitInputMethodContext.h +include/webkitgtk-${API}/webkit2/WebKitInstallMissingMediaPluginsPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitJavascriptResult.h +include/webkitgtk-${API}/webkit2/WebKitMediaKeySystemPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitMemoryPressureSettings.h +include/webkitgtk-${API}/webkit2/WebKitMimeInfo.h +include/webkitgtk-${API}/webkit2/WebKitNavigationAction.h +include/webkitgtk-${API}/webkit2/WebKitNavigationPolicyDecision.h +include/webkitgtk-${API}/webkit2/WebKitNetworkProxySettings.h +include/webkitgtk-${API}/webkit2/WebKitNotification.h +include/webkitgtk-${API}/webkit2/WebKitNotificationPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitOptionMenu.h +include/webkitgtk-${API}/webkit2/WebKitOptionMenuItem.h +include/webkitgtk-${API}/webkit2/WebKitPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitPlugin.h +include/webkitgtk-${API}/webkit2/WebKitPointerLockPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitPolicyDecision.h +include/webkitgtk-${API}/webkit2/WebKitPrintCustomWidget.h +include/webkitgtk-${API}/webkit2/WebKitPrintOperation.h +include/webkitgtk-${API}/webkit2/WebKitResponsePolicyDecision.h +include/webkitgtk-${API}/webkit2/WebKitScriptDialog.h +include/webkitgtk-${API}/webkit2/WebKitScriptWorld.h +include/webkitgtk-${API}/webkit2/WebKitSecurityManager.h +include/webkitgtk-${API}/webkit2/WebKitSecurityOrigin.h +include/webkitgtk-${API}/webkit2/WebKitSettings.h +include/webkitgtk-${API}/webkit2/WebKitURIRequest.h +include/webkitgtk-${API}/webkit2/WebKitURIResponse.h +include/webkitgtk-${API}/webkit2/WebKitURISchemeRequest.h +include/webkitgtk-${API}/webkit2/WebKitURISchemeResponse.h +include/webkitgtk-${API}/webkit2/WebKitURIUtilities.h +include/webkitgtk-${API}/webkit2/WebKitUserContent.h +include/webkitgtk-${API}/webkit2/WebKitUserContentFilterStore.h +include/webkitgtk-${API}/webkit2/WebKitUserContentManager.h +include/webkitgtk-${API}/webkit2/WebKitUserMediaPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitUserMessage.h +include/webkitgtk-${API}/webkit2/WebKitVersion.h +include/webkitgtk-${API}/webkit2/WebKitWebContext.h +include/webkitgtk-${API}/webkit2/WebKitWebEditor.h +include/webkitgtk-${API}/webkit2/WebKitWebExtension.h +include/webkitgtk-${API}/webkit2/WebKitWebExtensionAutocleanups.h +include/webkitgtk-${API}/webkit2/WebKitWebHitTestResult.h +include/webkitgtk-${API}/webkit2/WebKitWebInspector.h +include/webkitgtk-${API}/webkit2/WebKitWebPage.h +include/webkitgtk-${API}/webkit2/WebKitWebProcessEnumTypes.h +include/webkitgtk-${API}/webkit2/WebKitWebResource.h +include/webkitgtk-${API}/webkit2/WebKitWebView.h +include/webkitgtk-${API}/webkit2/WebKitWebViewBase.h +include/webkitgtk-${API}/webkit2/WebKitWebViewSessionState.h +include/webkitgtk-${API}/webkit2/WebKitWebsiteData.h +include/webkitgtk-${API}/webkit2/WebKitWebsiteDataAccessPermissionRequest.h +include/webkitgtk-${API}/webkit2/WebKitWebsiteDataManager.h +include/webkitgtk-${API}/webkit2/WebKitWebsitePolicies.h +include/webkitgtk-${API}/webkit2/WebKitWindowProperties.h +include/webkitgtk-${API}/webkit2/webkit-web-extension.h +include/webkitgtk-${API}/webkit2/webkit2.h +include/webkitgtk-${API}/webkitdom/ +include/webkitgtk-${API}/webkitdom/WebKitDOMAttr.h +include/webkitgtk-${API}/webkitdom/WebKitDOMBlob.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCDATASection.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCSSRule.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCSSRuleList.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCSSStyleDeclaration.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCSSStyleSheet.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCSSValue.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCharacterData.h +include/webkitgtk-${API}/webkitdom/WebKitDOMClientRect.h +include/webkitgtk-${API}/webkitdom/WebKitDOMClientRectList.h +include/webkitgtk-${API}/webkitdom/WebKitDOMComment.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCustom.h +include/webkitgtk-${API}/webkitdom/WebKitDOMCustomUnstable.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDOMImplementation.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDOMSelection.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDOMTokenList.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDOMWindow.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDOMWindowUnstable.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDeprecated.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDocument.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDocumentFragment.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDocumentFragmentUnstable.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDocumentType.h +include/webkitgtk-${API}/webkitdom/WebKitDOMDocumentUnstable.h +include/webkitgtk-${API}/webkitdom/WebKitDOMElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMElementUnstable.h +include/webkitgtk-${API}/webkitdom/WebKitDOMEvent.h +include/webkitgtk-${API}/webkitdom/WebKitDOMEventTarget.h +include/webkitgtk-${API}/webkitdom/WebKitDOMFile.h +include/webkitgtk-${API}/webkitdom/WebKitDOMFileList.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLAnchorElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLAppletElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLAreaElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLBRElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLBaseElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLBodyElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLButtonElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLCanvasElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLCollection.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLDListElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLDirectoryElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLDivElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLDocument.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLElementUnstable.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLEmbedElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLFieldSetElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLFontElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLFormElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLFrameElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLFrameSetElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLHRElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLHeadElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLHeadingElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLHtmlElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLIFrameElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLImageElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLInputElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLLIElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLLabelElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLLegendElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLLinkElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLMapElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLMarqueeElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLMenuElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLMetaElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLModElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLOListElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLObjectElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLOptGroupElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLOptionElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLOptionsCollection.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLParagraphElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLParamElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLPreElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLQuoteElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLScriptElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLSelectElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLStyleElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTableCaptionElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTableCellElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTableColElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTableElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTableRowElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTableSectionElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTextAreaElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLTitleElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMHTMLUListElement.h +include/webkitgtk-${API}/webkitdom/WebKitDOMKeyboardEvent.h +include/webkitgtk-${API}/webkitdom/WebKitDOMMediaList.h +include/webkitgtk-${API}/webkitdom/WebKitDOMMouseEvent.h +include/webkitgtk-${API}/webkitdom/WebKitDOMNamedNodeMap.h +include/webkitgtk-${API}/webkitdom/WebKitDOMNode.h +include/webkitgtk-${API}/webkitdom/WebKitDOMNodeFilter.h +include/webkitgtk-${API}/webkitdom/WebKitDOMNodeIterator.h +include/webkitgtk-${API}/webkitdom/WebKitDOMNodeList.h +include/webkitgtk-${API}/webkitdom/WebKitDOMObject.h +include/webkitgtk-${API}/webkitdom/WebKitDOMProcessingInstruction.h +include/webkitgtk-${API}/webkitdom/WebKitDOMRange.h +include/webkitgtk-${API}/webkitdom/WebKitDOMRangeUnstable.h +include/webkitgtk-${API}/webkitdom/WebKitDOMStyleSheet.h +include/webkitgtk-${API}/webkitdom/WebKitDOMStyleSheetList.h +include/webkitgtk-${API}/webkitdom/WebKitDOMText.h +include/webkitgtk-${API}/webkitdom/WebKitDOMTreeWalker.h +include/webkitgtk-${API}/webkitdom/WebKitDOMUIEvent.h +include/webkitgtk-${API}/webkitdom/WebKitDOMWheelEvent.h +include/webkitgtk-${API}/webkitdom/WebKitDOMXPathExpression.h +include/webkitgtk-${API}/webkitdom/WebKitDOMXPathNSResolver.h +include/webkitgtk-${API}/webkitdom/WebKitDOMXPathResult.h +include/webkitgtk-${API}/webkitdom/webkitdom.h +include/webkitgtk-${API}/webkitdom/webkitdomautocleanups.h +include/webkitgtk-${API}/webkitdom/webkitdomdefines.h +@lib lib/libjavascriptcoregtk-${API}.so.${LIBjavascriptcoregtk-${API}_VERSION} +@lib lib/libwebkit2gtk-${API}.so.${LIBwebkit2gtk-${API}_VERSION} +lib/pkgconfig/javascriptcoregtk-${API}.pc +lib/pkgconfig/webkit2gtk-${API}.pc +lib/pkgconfig/webkit2gtk-web-extension-${API}.pc +lib/webkit2gtk-${API}/ +lib/webkit2gtk-${API}/injected-bundle/ +@so lib/webkit2gtk-${API}/injected-bundle/libwebkit2gtkinjectedbundle.so +libexec/webkit2gtk-${API}/ +@bin libexec/webkit2gtk-${API}/MiniBrowser +@bin libexec/webkit2gtk-${API}/WebKitNetworkProcess +@bin libexec/webkit2gtk-${API}/WebKitWebProcess +@bin libexec/webkit2gtk-${API}/jsc +share/locale/ar/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/as/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/bg/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/ca/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/cs/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/da/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/de/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/el/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/en_CA/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/en_GB/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/eo/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/es/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/et/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/eu/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/fi/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/fr/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/gl/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/gu/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/he/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/hi/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/hr/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/hu/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/id/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/it/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/ja/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/kn/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/ko/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/lt/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/lv/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/ml/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/mr/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/nb/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/nl/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/or/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/pa/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/pl/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/pt/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/pt_BR/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/ro/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/ru/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/sl/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/sr/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/sr@latin/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/sv/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/ta/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/te/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/tr/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/uk/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/vi/LC_MESSAGES/WebKit2GTK-${API}.mo +share/locale/zh_CN/LC_MESSAGES/WebKit2GTK-${API}.mo -- cgit v1.2.3