pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/www/webkit-gtk



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Jan 15 12:51:47 UTC 2025

Modified Files:
        pkgsrc/www/webkit-gtk: Makefile distinfo
Added Files:
        pkgsrc/www/webkit-gtk/patches:
            patch-Source_JavaScriptCore_API_glib_JSCClass.cpp
            patch-Source_JavaScriptCore_API_glib_JSCContext.cpp
            patch-Source_JavaScriptCore_API_glib_JSCValue.cpp
            patch-Source_WebKit_UIProcess_API_glib_WebKitCookieManager.cpp
            patch-Source_WebKit_UIProcess_API_glib_WebKitFaviconDatabase.cpp
            patch-Source_WebKit_UIProcess_API_glib_WebKitUserContentFilterStore.cpp
            patch-Source_WebKit_UIProcess_API_glib_WebKitWebContext.cpp
            patch-Source_WebKit_UIProcess_API_glib_WebKitWebResource.cpp
            patch-Source_WebKit_UIProcess_API_glib_WebKitWebView.cpp
            patch-Source_WebKit_UIProcess_API_glib_WebKitWebsiteDataManager.cpp
            patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebExtension.cpp
            patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebPage.cpp
            patch-Source_WebKit_WebProcess_InjectedBundle_API_gtk_DOM_WebKitDOMEventTarget.h

Log Message:
webkit-gtk: fix build with gobject-introspection 1.82


To generate a diff of this commit:
cvs rdiff -u -r1.268 -r1.269 pkgsrc/www/webkit-gtk/Makefile
cvs rdiff -u -r1.178 -r1.179 pkgsrc/www/webkit-gtk/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCClass.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCContext.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCValue.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitCookieManager.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitFaviconDatabase.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitUserContentFilterStore.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebContext.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebResource.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebView.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebsiteDataManager.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebExtension.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebPage.cpp \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_gtk_DOM_WebKitDOMEventTarget.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/webkit-gtk/Makefile
diff -u pkgsrc/www/webkit-gtk/Makefile:1.268 pkgsrc/www/webkit-gtk/Makefile:1.269
--- pkgsrc/www/webkit-gtk/Makefile:1.268        Fri Dec 27 08:20:51 2024
+++ pkgsrc/www/webkit-gtk/Makefile      Wed Jan 15 12:51:47 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.268 2024/12/27 08:20:51 wiz Exp $
+# $NetBSD: Makefile,v 1.269 2025/01/15 12:51:47 wiz Exp $
 
 DISTNAME=      webkitgtk-2.36.8
 PKGNAME=       ${DISTNAME:S/webkitgtk/webkit-gtk/}
@@ -17,8 +17,9 @@ NOT_FOR_PLATFORM=     NetBSD-[1-6].*-*
 
 TOOL_DEPENDS+= gettext-tools>=0.18:../../devel/gettext-tools
 
-USE_LANGUAGES= c c++17
-USE_TOOLS+=    automake bash bison flex gdbus-codegen gmake perl pkg-config msgfmt
+USE_LANGUAGES=         c c++
+USE_CXX_FEATURES+=     c++17
+USE_TOOLS+=            automake bash bison flex gdbus-codegen gmake perl pkg-config msgfmt
 
 # Enabling -gdwarf-2 hits GNU ar limits on file size.
 CTF_SUPPORTED= no

Index: pkgsrc/www/webkit-gtk/distinfo
diff -u pkgsrc/www/webkit-gtk/distinfo:1.178 pkgsrc/www/webkit-gtk/distinfo:1.179
--- pkgsrc/www/webkit-gtk/distinfo:1.178        Thu Nov 14 22:13:52 2024
+++ pkgsrc/www/webkit-gtk/distinfo      Wed Jan 15 12:51:47 2025
@@ -1,8 +1,11 @@
-$NetBSD: distinfo,v 1.178 2024/11/14 22:13:52 wiz Exp $
+$NetBSD: distinfo,v 1.179 2025/01/15 12:51:47 wiz Exp $
 
 BLAKE2s (webkitgtk-2.36.8.tar.xz) = 277ba5935bda3e3867083b4c736499d974b9c733dbd05bf574510857dde481a1
 SHA512 (webkitgtk-2.36.8.tar.xz) = 50576f13ea84c0634d174ccf0b70d0eb28752589b2b9ce7a82ffeee1b4b6c849a802f7ae83a3c5a74d0da2b7e3321876ead33e819d8006b8153376074cb57036
 Size (webkitgtk-2.36.8.tar.xz) = 26610100 bytes
+SHA1 (patch-Source_JavaScriptCore_API_glib_JSCClass.cpp) = f0817f6f7917fb587445d54334ef46be84a55b47
+SHA1 (patch-Source_JavaScriptCore_API_glib_JSCContext.cpp) = d79e18a5a42160785f3d9d4062279cbdf85845e9
+SHA1 (patch-Source_JavaScriptCore_API_glib_JSCValue.cpp) = 5ae0268e6e93493b169030ae98b4b97985159fba
 SHA1 (patch-Source_JavaScriptCore_Scripts_check-xcfilelists.sh) = f4f117e6c1cd8eb8e4905f74946e0367156ed528
 SHA1 (patch-Source_JavaScriptCore_Scripts_generate-unified-sources.sh) = 308a7c8f687253b4fc75de0c66016dd18666e697
 SHA1 (patch-Source_JavaScriptCore_assembler_ARM64Assembler.h) = 79c282ca90d0ba2ef4769da40d4648f5f709951b
@@ -48,6 +51,16 @@ SHA1 (patch-Source_WebKit_Platform_IPC_u
 SHA1 (patch-Source_WebKit_Platform_classifier_ResourceLoadStatisticsClassifier.cpp) = 920376ec8697780637f376b2fff312b7e214a7f6
 SHA1 (patch-Source_WebKit_Scripts_check-xcfilelists.sh) = 22cc5ba1ababc6395aa0ef467db0c27c2fbf6878
 SHA1 (patch-Source_WebKit_Scripts_generate-unified-sources.sh) = def930cf3f706ac657b2f8835c8c0278ade8f663
+SHA1 (patch-Source_WebKit_UIProcess_API_glib_WebKitCookieManager.cpp) = c2d8377f696f531e89be3e88ec10a125aece96a1
+SHA1 (patch-Source_WebKit_UIProcess_API_glib_WebKitFaviconDatabase.cpp) = 059389ac71c145c86adaf0fc7ef4208fc80cf09a
+SHA1 (patch-Source_WebKit_UIProcess_API_glib_WebKitUserContentFilterStore.cpp) = cf73e666e70cf1153eda95917c038db691f0b5d8
+SHA1 (patch-Source_WebKit_UIProcess_API_glib_WebKitWebContext.cpp) = d85cd89cba8f484dd18891babc833eed9874f8fd
+SHA1 (patch-Source_WebKit_UIProcess_API_glib_WebKitWebResource.cpp) = 59de08fa03f9e9cde829e1160851bb27ffa0e27d
+SHA1 (patch-Source_WebKit_UIProcess_API_glib_WebKitWebView.cpp) = 72c2f1a5cd37ebeb91cdb5d9458ca54295e55caa
+SHA1 (patch-Source_WebKit_UIProcess_API_glib_WebKitWebsiteDataManager.cpp) = 4721e0159d9af93bf8c20d16b58a91d6bda1a258
+SHA1 (patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebExtension.cpp) = 20985d35c8a68596c5ac270daafa72e2a1e89521
+SHA1 (patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebPage.cpp) = 19914d52fe64e8a17a50e74d51cafc9c6bf287cb
+SHA1 (patch-Source_WebKit_WebProcess_InjectedBundle_API_gtk_DOM_WebKitDOMEventTarget.h) = 288e0d71bc3e2b2902599a8f0f21cd4a6920589a
 SHA1 (patch-Source_WebKit_WebProcess_WebPage_CoordinatedGraphics_LayerTreeHost.h) = 91a3002d47c469375e70fcde7d575ec352f642f9
 SHA1 (patch-Source_bmalloc_bmalloc_AvailableMemory.cpp) = 18915c691d6f4e2a8870f8fee0909bd1a609cc05
 SHA1 (patch-Source_bmalloc_bmalloc_BPlatform.h) = 28d1f657fde427062a729b26398e96825082fc4d

Added files:

Index: pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCClass.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCClass.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCClass.cpp     Wed Jan 15 12:51:47 2025
@@ -0,0 +1,85 @@
+$NetBSD: patch-Source_JavaScriptCore_API_glib_JSCClass.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/JavaScriptCore/API/glib/JSCClass.cpp.orig   2025-01-15 11:24:16.289034547 +0000
++++ Source/JavaScriptCore/API/glib/JSCClass.cpp
+@@ -574,8 +574,8 @@ static GRefPtr<JSCValue> jscClassCreateC
+  * jsc_class_add_constructor: (skip)
+  * @jsc_class: a #JSCClass
+  * @name: (nullable): the constructor name or %NULL
+- * @callback: (scope async): a #GCallback to be called to create an instance of @jsc_class
+- * @user_data: (closure): user data to pass to @callback
++ * @callback: (scope async) (closure user_data): a #GCallback to be called to create an instance of @jsc_class
++ * @user_data: user data to pass to @callback
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the constructor return value
+  * @n_params: the number of parameter types to follow or 0 if constructor doesn't receive parameters.
+@@ -623,8 +623,8 @@ JSCValue* jsc_class_add_constructor(JSCC
+  * jsc_class_add_constructorv: (rename-to jsc_class_add_constructor)
+  * @jsc_class: a #JSCClass
+  * @name: (nullable): the constructor name or %NULL
+- * @callback: (scope async): a #GCallback to be called to create an instance of @jsc_class
+- * @user_data: (closure): user data to pass to @callback
++ * @callback: (scope async) (closure user_data): a #GCallback to be called to create an instance of @jsc_class
++ * @user_data: user data to pass to @callback
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the constructor return value
+  * @n_parameters: the number of parameters
+@@ -669,8 +669,8 @@ JSCValue* jsc_class_add_constructorv(JSC
+  * jsc_class_add_constructor_variadic:
+  * @jsc_class: a #JSCClass
+  * @name: (nullable): the constructor name or %NULL
+- * @callback: (scope async): a #GCallback to be called to create an instance of @jsc_class
+- * @user_data: (closure): user data to pass to @callback
++ * @callback: (scope async) (closure user_data): a #GCallback to be called to create an instance of @jsc_class
++ * @user_data: user data to pass to @callback
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the constructor return value
+  *
+@@ -721,8 +721,8 @@ static void jscClassAddMethod(JSCClass* 
+  * jsc_class_add_method: (skip)
+  * @jsc_class: a #JSCClass
+  * @name: the method name
+- * @callback: (scope async): a #GCallback to be called to invoke method @name of @jsc_class
+- * @user_data: (closure): user data to pass to @callback
++ * @callback: (scope async) (closure user_data): a #GCallback to be called to invoke method @name of @jsc_class
++ * @user_data: user data to pass to @callback
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the method return value, or %G_TYPE_NONE if the method is void.
+  * @n_params: the number of parameter types to follow or 0 if the method doesn't receive parameters.
+@@ -762,8 +762,8 @@ void jsc_class_add_method(JSCClass* jscC
+  * jsc_class_add_methodv: (rename-to jsc_class_add_method)
+  * @jsc_class: a #JSCClass
+  * @name: the method name
+- * @callback: (scope async): a #GCallback to be called to invoke method @name of @jsc_class
+- * @user_data: (closure): user data to pass to @callback
++ * @callback: (scope async) (closure user_data): a #GCallback to be called to invoke method @name of @jsc_class
++ * @user_data: user data to pass to @callback
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the method return value, or %G_TYPE_NONE if the method is void.
+  * @n_parameters: the number of parameter types to follow or 0 if the method doesn't receive parameters.
+@@ -801,8 +801,8 @@ void jsc_class_add_methodv(JSCClass* jsc
+  * jsc_class_add_method_variadic:
+  * @jsc_class: a #JSCClass
+  * @name: the method name
+- * @callback: (scope async): a #GCallback to be called to invoke method @name of @jsc_class
+- * @user_data: (closure): user data to pass to @callback
++ * @callback: (scope async) (closure user_data): a #GCallback to be called to invoke method @name of @jsc_class
++ * @user_data: user data to pass to @callback
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the method return value, or %G_TYPE_NONE if the method is void.
+  *
+@@ -831,9 +831,9 @@ void jsc_class_add_method_variadic(JSCCl
+  * @jsc_class: a #JSCClass
+  * @name: the property name
+  * @property_type: the #GType of the property value
+- * @getter: (scope async) (nullable): a #GCallback to be called to get the property value
+- * @setter: (scope async) (nullable): a #GCallback to be called to set the property value
+- * @user_data: (closure): user data to pass to @getter and @setter
++ * @getter: (scope async) (closure user_data) (nullable): a #GCallback to be called to get the property value
++ * @setter: (scope async) (closure user_data) (nullable): a #GCallback to be called to set the property value
++ * @user_data: user data to pass to @getter and @setter
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  *
+  * Add a property with @name to @jsc_class. When the property value needs to be getted, @getter is called
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCContext.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCContext.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCContext.cpp   Wed Jan 15 12:51:47 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-Source_JavaScriptCore_API_glib_JSCContext.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/JavaScriptCore/API/glib/JSCContext.cpp.orig 2025-01-15 11:27:24.431489728 +0000
++++ Source/JavaScriptCore/API/glib/JSCContext.cpp
+@@ -767,8 +767,8 @@ void jsc_context_clear_exception(JSCCont
+ /**
+  * jsc_context_push_exception_handler:
+  * @context: a #JSCContext
+- * @handler: a #JSCExceptionHandler
+- * @user_data: (closure): user data to pass to @handler
++ * @handler: (closure user_data): a #JSCExceptionHandler
++ * @user_data: user data to pass to @handler
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  *
+  * Push an exception handler in @context. Whenever a JavaScript exception happens in
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCValue.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCValue.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_JavaScriptCore_API_glib_JSCValue.cpp     Wed Jan 15 12:51:47 2025
@@ -0,0 +1,52 @@
+$NetBSD: patch-Source_JavaScriptCore_API_glib_JSCValue.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/JavaScriptCore/API/glib/JSCValue.cpp.orig   2025-01-15 11:28:27.077882718 +0000
++++ Source/JavaScriptCore/API/glib/JSCValue.cpp
+@@ -1123,9 +1123,9 @@ static void jscValueObjectDefineProperty
+  * @property_name: the name of the property to define
+  * @flags: #JSCValuePropertyFlags
+  * @property_type: the #GType of the property
+- * @getter: (scope async) (nullable): a #GCallback to be called to get the property value
+- * @setter: (scope async) (nullable): a #GCallback to be called to set the property value
+- * @user_data: (closure): user data to pass to @getter and @setter
++ * @getter: (scope async) (closure user_data) (nullable): a #GCallback to be called to get the property value
++ * @setter: (scope async) (closure user_data) (nullable): a #GCallback to be called to set the property value
++ * @user_data: user data to pass to @getter and @setter
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  *
+  * Define or modify a property with @property_name in object referenced by @value. When the
+@@ -1178,8 +1178,8 @@ static GRefPtr<JSCValue> jscValueFunctio
+  * jsc_value_new_function: (skip)
+  * @context: a #JSCContext:
+  * @name: (nullable): the function name or %NULL
+- * @callback: (scope async): a #GCallback.
+- * @user_data: (closure): user data to pass to @callback.
++ * @callback: (scope async) (closure user_data): a #GCallback.
++ * @user_data: user data to pass to @callback.
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the function return value, or %G_TYPE_NONE if the function is void.
+  * @n_params: the number of parameter types to follow or 0 if the function doesn't receive parameters.
+@@ -1219,8 +1219,8 @@ JSCValue* jsc_value_new_function(JSCCont
+  * jsc_value_new_functionv: (rename-to jsc_value_new_function)
+  * @context: a #JSCContext
+  * @name: (nullable): the function name or %NULL
+- * @callback: (scope async): a #GCallback.
+- * @user_data: (closure): user data to pass to @callback.
++ * @callback: (scope async) (closure user_data): a #GCallback.
++ * @user_data: user data to pass to @callback.
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the function return value, or %G_TYPE_NONE if the function is void.
+  * @n_parameters: the number of parameters
+@@ -1258,8 +1258,8 @@ JSCValue* jsc_value_new_functionv(JSCCon
+  * jsc_value_new_function_variadic:
+  * @context: a #JSCContext
+  * @name: (nullable): the function name or %NULL
+- * @callback: (scope async): a #GCallback.
+- * @user_data: (closure): user data to pass to @callback.
++ * @callback: (scope async) (closure user_data): a #GCallback.
++ * @user_data: user data to pass to @callback.
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  * @return_type: the #GType of the function return value, or %G_TYPE_NONE if the function is void.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitCookieManager.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitCookieManager.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitCookieManager.cpp        Wed Jan 15 12:51:47 2025
@@ -0,0 +1,61 @@
+$NetBSD: patch-Source_WebKit_UIProcess_API_glib_WebKitCookieManager.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/UIProcess/API/glib/WebKitCookieManager.cpp.orig      2025-01-15 11:54:20.049054789 +0000
++++ Source/WebKit/UIProcess/API/glib/WebKitCookieManager.cpp
+@@ -221,8 +221,8 @@ void webkit_cookie_manager_set_accept_po
+  * webkit_cookie_manager_get_accept_policy:
+  * @cookie_manager: a #WebKitCookieManager
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously get the cookie acceptance policy of @cookie_manager.
+  * Note that when policy was set to %WEBKIT_COOKIE_POLICY_ACCEPT_NO_THIRD_PARTY and
+@@ -267,8 +267,8 @@ WebKitCookieAcceptPolicy webkit_cookie_m
+  * @cookie_manager: a #WebKitCookieManager
+  * @cookie: the #SoupCookie to be added
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously add a #SoupCookie to the underlying storage.
+  *
+@@ -313,8 +313,8 @@ gboolean webkit_cookie_manager_add_cooki
+  * @cookie_manager: a #WebKitCookieManager
+  * @uri: the URI associated to the cookies to be retrieved
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously get a list of #SoupCookie from @cookie_manager associated with @uri, which
+  * must be either an HTTP or an HTTPS URL.
+@@ -368,8 +368,8 @@ GList* webkit_cookie_manager_get_cookies
+  * @cookie_manager: a #WebKitCookieManager
+  * @cookie: the #SoupCookie to be deleted
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously delete a #SoupCookie from the current session.
+  *
+@@ -414,8 +414,8 @@ gboolean webkit_cookie_manager_delete_co
+  * webkit_cookie_manager_get_domains_with_cookies:
+  * @cookie_manager: a #WebKitCookieManager
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously get the list of domains for which @cookie_manager contains cookies.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitFaviconDatabase.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitFaviconDatabase.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitFaviconDatabase.cpp      Wed Jan 15 12:51:47 2025
@@ -0,0 +1,18 @@
+$NetBSD: patch-Source_WebKit_UIProcess_API_glib_WebKitFaviconDatabase.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/UIProcess/API/glib/WebKitFaviconDatabase.cpp.orig    2025-01-15 11:55:33.168182647 +0000
++++ Source/WebKit/UIProcess/API/glib/WebKitFaviconDatabase.cpp
+@@ -197,9 +197,9 @@ void webkitFaviconDatabaseGetFaviconInte
+  * @database: a #WebKitFaviconDatabase
+  * @page_uri: URI of the page for which we want to retrieve the favicon
+  * @cancellable: (allow-none): A #GCancellable or %NULL.
+- * @callback: (scope async): A #GAsyncReadyCallback to call when the request is
++ * @callback: (scope async) (closure user_data): A #GAsyncReadyCallback to call when the request is
+  *            satisfied or %NULL if you don't care about the result.
+- * @user_data: (closure): The data to pass to @callback.
++ * @user_data: The data to pass to @callback.
+  *
+  * Asynchronously obtains a #cairo_surface_t of the favicon for the
+  * given page URI. It returns the cached icon if it's in the database
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitUserContentFilterStore.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitUserContentFilterStore.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitUserContentFilterStore.cpp       Wed Jan 15 12:51:47 2025
@@ -0,0 +1,61 @@
+$NetBSD: patch-Source_WebKit_UIProcess_API_glib_WebKitUserContentFilterStore.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/UIProcess/API/glib/WebKitUserContentFilterStore.cpp.orig     2025-01-15 12:00:10.184519644 +0000
++++ Source/WebKit/UIProcess/API/glib/WebKitUserContentFilterStore.cpp
+@@ -205,8 +205,8 @@ static void webkitUserContentFilterStore
+  * @identifier: a string used to identify the saved filter
+  * @source: #GBytes containing the rule set in JSON format
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when saving is completed
+- * @user_data: (closure): the data to pass to the callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when saving is completed
++ * @user_data: the data to pass to the callback function
+  *
+  * Asynchronously save a content filter from a source rule set in the
+  * [WebKit content extesions JSON format](https://webkit.org/blog/3476/content-blockers-first-look/).
+@@ -263,8 +263,8 @@ WEBKIT_DEFINE_ASYNC_DATA_STRUCT(SaveTask
+  * @identifier: a string used to identify the saved filter
+  * @file: a #GFile containing the rule set in JSON format
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when saving is completed
+- * @user_data: (closure): the data to pass to the callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when saving is completed
++ * @user_data: the data to pass to the callback function
+  *
+  * Asynchronously save a content filter from the contents of a file, which must be
+  * native to the platform, as checked by g_file_is_native(). See
+@@ -341,8 +341,8 @@ WebKitUserContentFilter* webkit_user_con
+  * @store: a #WebKitUserContentFilterStore
+  * @identifier: a filter identifier
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the removal is completed
+- * @user_data: (closure): the data to pass to the callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the removal is completed
++ * @user_data: the data to pass to the callback function
+  *
+  * Asynchronously remove a content filter given its @identifier.
+  *
+@@ -396,8 +396,8 @@ gboolean webkit_user_content_filter_stor
+  * @store: a #WebKitUserContentFilterStore
+  * @identifier: a filter identifier
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the load is completed
+- * @user_data: (closure): the data to pass to the callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the load is completed
++ * @user_data: the data to pass to the callback function
+  *
+  * Asynchronously load a content filter given its @identifier. The filter must have been
+  * previously stored using webkit_user_content_filter_store_save().
+@@ -451,8 +451,8 @@ WebKitUserContentFilter* webkit_user_con
+  * webkit_user_content_filter_store_fetch_identifiers:
+  * @store: a #WebKitUserContentFilterStore
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the removal is completed
+- * @user_data: (closure): the data to pass to the callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the removal is completed
++ * @user_data: the data to pass to the callback function
+  *
+  * Asynchronously retrieve a list of the identifiers for all the stored filters.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebContext.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebContext.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebContext.cpp   Wed Jan 15 12:51:47 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-Source_WebKit_UIProcess_API_glib_WebKitWebContext.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp.orig 2025-01-15 11:57:15.646560534 +0000
++++ Source/WebKit/UIProcess/API/glib/WebKitWebContext.cpp
+@@ -1159,8 +1159,8 @@ void webkit_web_context_set_additional_p
+  * webkit_web_context_get_plugins:
+  * @context: a #WebKitWebContext
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously get the list of installed plugins.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebResource.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebResource.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebResource.cpp  Wed Jan 15 12:51:47 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-Source_WebKit_UIProcess_API_glib_WebKitWebResource.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/UIProcess/API/glib/WebKitWebResource.cpp.orig        2025-01-15 11:57:43.112849372 +0000
++++ Source/WebKit/UIProcess/API/glib/WebKitWebResource.cpp
+@@ -363,8 +363,8 @@ static void resourceDataCallback(API::Da
+  * webkit_web_resource_get_data:
+  * @resource: a #WebKitWebResource
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously get the raw data for @resource.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebView.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebView.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebView.cpp      Wed Jan 15 12:51:47 2025
@@ -0,0 +1,105 @@
+$NetBSD: patch-Source_WebKit_UIProcess_API_glib_WebKitWebView.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp.orig    2025-01-15 11:58:07.472124794 +0000
++++ Source/WebKit/UIProcess/API/glib/WebKitWebView.cpp
+@@ -3778,8 +3778,8 @@ gdouble webkit_web_view_get_zoom_level(W
+  * @web_view: a #WebKitWebView
+  * @command: the command to check
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously check if it is possible to execute the given editing command.
+  *
+@@ -3952,8 +3952,8 @@ void webkitWebViewRunJavascriptWithoutFo
+  * @web_view: a #WebKitWebView
+  * @script: the script to run
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the script finished
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the script finished
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously run @script in the context of the current page in @web_view. If
+  * WebKitSettings:enable-javascript is FALSE, this method will do nothing.
+@@ -4045,8 +4045,8 @@ WebKitJavascriptResult* webkit_web_view_
+  * @script: the script to run
+  * @world_name: the name of a #WebKitScriptWorld
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the script finished
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the script finished
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously run @script in the script world with name @world_name of the current page context in @web_view.
+  * If WebKitSettings:enable-javascript is FALSE, this method will do nothing.
+@@ -4126,8 +4126,8 @@ static void resourcesStreamReadCallback(
+  * @web_view: a #WebKitWebView
+  * @resource: the location of the resource to load
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the script finished
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the script finished
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously run the script from @resource in the context of the
+  * current page in @web_view.
+@@ -4276,8 +4276,8 @@ static void getContentsAsMHTMLDataCallba
+  * @web_view: a #WebKitWebView
+  * @save_mode: the #WebKitSaveMode specifying how the web page should be saved.
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously save the current web page associated to the
+  * #WebKitWebView into a self-contained format using the mode
+@@ -4337,8 +4337,8 @@ GInputStream* webkit_web_view_save_finis
+  * @file: the #GFile where the current web page should be saved to.
+  * @save_mode: the #WebKitSaveMode specifying how the web page should be saved.
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously save the current web page associated to the
+  * #WebKitWebView into a self-contained format using the mode
+@@ -4499,8 +4499,8 @@ static inline uint64_t generateSnapshotC
+  * @region: the #WebKitSnapshotRegion for this snapshot
+  * @options: #WebKitSnapshotOptions for the snapshot
+  * @cancellable: (allow-none): a #GCancellable
+- * @callback: (scope async): a #GAsyncReadyCallback
+- * @user_data: (closure): user data
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback
++ * @user_data: user data
+  *
+  * Asynchronously retrieves a snapshot of @web_view for @region.
+  * @options specifies how the snapshot should be rendered.
+@@ -4666,8 +4666,8 @@ void webkit_web_view_restore_session_sta
+ /**
+  * webkit_web_view_add_frame_displayed_callback:
+  * @web_view: a #WebKitWebView
+- * @callback: a #WebKitFrameDisplayedCallback
+- * @user_data: (closure): user data to pass to @callback
++ * @callback: (closure user_data): a #WebKitFrameDisplayedCallback
++ * @user_data: user data to pass to @callback
+  * @destroy_notify: (nullable): destroy notifier for @user_data
+  *
+  * Add a callback to be called when the backend notifies that a frame has been displayed in @web_view.
+@@ -4719,8 +4719,8 @@ void webkit_web_view_remove_frame_displa
+  * @web_view: a #WebKitWebView
+  * @message: a #WebKitUserMessage
+  * @cancellable: (nullable): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): (nullable): A #GAsyncReadyCallback to call when the request is satisfied or %NULL
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): (nullable): A #GAsyncReadyCallback to call when the request is satisfied or %NULL
++ * @user_data: the data to pass to callback function
+  *
+  * Send @message to the #WebKitWebPage corresponding to @web_view. If @message is floating, it's consumed.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebsiteDataManager.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebsiteDataManager.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_UIProcess_API_glib_WebKitWebsiteDataManager.cpp   Wed Jan 15 12:51:47 2025
@@ -0,0 +1,50 @@
+$NetBSD: patch-Source_WebKit_UIProcess_API_glib_WebKitWebsiteDataManager.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp.orig 2025-01-15 11:56:03.981338978 +0000
++++ Source/WebKit/UIProcess/API/glib/WebKitWebsiteDataManager.cpp
+@@ -1013,8 +1013,8 @@ static OptionSet<WebsiteDataType> toWebs
+  * @manager: a #WebKitWebsiteDataManager
+  * @types: #WebKitWebsiteDataTypes
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously get the list of #WebKitWebsiteData for the given @types.
+  *
+@@ -1068,8 +1068,8 @@ GList* webkit_website_data_manager_fetch
+  * @types: #WebKitWebsiteDataTypes
+  * @website_data: (element-type WebKitWebsiteData): a #GList of #WebKitWebsiteData
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously removes the website data of the for the given @types for websites in the given @website_data list.
+  * Use webkit_website_data_manager_clear() if you want to remove the website data for all sites.
+@@ -1133,8 +1133,8 @@ gboolean webkit_website_data_manager_rem
+  * @types: #WebKitWebsiteDataTypes
+  * @timespan: a #GTimeSpan
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously clear the website data of the given @types modified in the past @timespan.
+  * If @timespan is 0, all website data will be removed.
+@@ -1427,8 +1427,8 @@ GList* webkit_itp_third_party_get_first_
+  * webkit_website_data_manager_get_itp_summary:
+  * @manager: a #WebKitWebsiteDataManager
+  * @cancellable: (allow-none): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): a #GAsyncReadyCallback to call when the request is satisfied
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): a #GAsyncReadyCallback to call when the request is satisfied
++ * @user_data: the data to pass to callback function
+  *
+  * Asynchronously get the list of #WebKitITPThirdParty seen for @manager. Every #WebKitITPThirdParty
+  * contains the list of #WebKitITPFirstParty under which it has been seen.
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebExtension.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebExtension.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebExtension.cpp Wed Jan 15 12:51:47 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebExtension.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebExtension.cpp.orig       2025-01-15 12:07:02.528235593 +0000
++++ Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebExtension.cpp
+@@ -257,8 +257,8 @@ WebKitWebPage* webkit_web_extension_get_
+  * @extension: a #WebKitWebExtension
+  * @message: a #WebKitUserMessage
+  * @cancellable: (nullable): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): (nullable): A #GAsyncReadyCallback to call when the request is satisfied or %NULL
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): (nullable): A #GAsyncReadyCallback to call when the request is satisfied or %NULL
++ * @user_data: the data to pass to callback function
+  *
+  * Send @message to the #WebKitWebContext corresponding to @extension. If @message is floating, it's consumed.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebPage.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebPage.cpp:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebPage.cpp      Wed Jan 15 12:51:47 2025
@@ -0,0 +1,17 @@
+$NetBSD: patch-Source_WebKit_WebProcess_InjectedBundle_API_glib_WebKitWebPage.cpp,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Fix build with gobject-introspection 1.82+.
+
+--- Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp.orig    2025-01-15 12:06:32.969957516 +0000
++++ Source/WebKit/WebProcess/InjectedBundle/API/glib/WebKitWebPage.cpp
+@@ -871,8 +871,8 @@ WebKitWebEditor* webkit_web_page_get_edi
+  * @web_page: a #WebKitWebPage
+  * @message: a #WebKitUserMessage
+  * @cancellable: (nullable): a #GCancellable or %NULL to ignore
+- * @callback: (scope async): (nullable): A #GAsyncReadyCallback to call when the request is satisfied or %NULL
+- * @user_data: (closure): the data to pass to callback function
++ * @callback: (scope async) (closure user_data): (nullable): A #GAsyncReadyCallback to call when the request is satisfied or %NULL
++ * @user_data: the data to pass to callback function
+  *
+  * Send @message to the #WebKitWebView corresponding to @web_page. If @message is floating, it's consumed.
+  *
Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_gtk_DOM_WebKitDOMEventTarget.h
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_gtk_DOM_WebKitDOMEventTarget.h:1.1
--- /dev/null   Wed Jan 15 12:51:47 2025
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebKit_WebProcess_InjectedBundle_API_gtk_DOM_WebKitDOMEventTarget.h      Wed Jan 15 12:51:47 2025
@@ -0,0 +1,38 @@
+$NetBSD: patch-Source_WebKit_WebProcess_InjectedBundle_API_gtk_DOM_WebKitDOMEventTarget.h,v 1.1 2025/01/15 12:51:47 wiz Exp $
+
+Work around incompatibility with gobject-introspection 1.82+.
+
+--- Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h.orig    2025-01-15 12:07:24.113544284 +0000
++++ Source/WebKit/WebProcess/InjectedBundle/API/gtk/DOM/WebKitDOMEventTarget.h
+@@ -89,22 +89,6 @@ WEBKIT_DEPRECATED gboolean  webkit_dom_e
+                                                                 gpointer              user_data);
+ 
+ /**
+- * webkit_dom_event_target_remove_event_listener:
+- * @target: A #WebKitDOMEventTarget
+- * @event_name: A #gchar
+- * @handler: (scope call): A #GCallback
+- * @use_capture: A #gboolean
+- *
+- * Returns: a #gboolean
+- *
+- * Deprecated: 2.22: Use JavaScriptCore API instead
+- */
+-WEBKIT_DEPRECATED gboolean  webkit_dom_event_target_remove_event_listener(WebKitDOMEventTarget *target,
+-                                                                   const char           *event_name,
+-                                                                   GCallback             handler,
+-                                                                   gboolean              use_capture);
+-
+-/**
+  * webkit_dom_event_target_add_event_listener_with_closure: (rename-to webkit_dom_event_target_add_event_listener)
+  * @target: A #WebKitDOMEventTarget
+  * @event_name: A #gchar
+@@ -124,7 +108,7 @@ WEBKIT_DEPRECATED gboolean webkit_dom_ev
+                                                                             gboolean              use_capture);
+ 
+ /**
+- * webkit_dom_event_target_remove_event_listener_with_closure: (rename-to webkit_dom_event_target_remove_event_listener)
++ * webkit_dom_event_target_remove_event_listener_with_closure:
+  * @target: A #WebKitDOMEventTarget
+  * @event_name: A #gchar
+  * @handler: A #GClosure



Home | Main Index | Thread Index | Old Index