<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fca1e7adbddee78fd337b9a03869ac5957473b63">https://github.com/macports/macports-ports/commit/fca1e7adbddee78fd337b9a03869ac5957473b63</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new fca1e7adbdd webkit2-gtk: add new patch to fix gi typelib generation, rebuild
</span>fca1e7adbdd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fca1e7adbddee78fd337b9a03869ac5957473b63
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Fri Aug 26 17:20:58 2022 -0700
<span style='display:block; white-space:pre;color:#404040;'> webkit2-gtk: add new patch to fix gi typelib generation, rebuild
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes runtime dlopen errors in apps using webkit2-gtk introspection
</span><span style='display:block; white-space:pre;color:#404040;'> by explicitly passing correct dylib paths, as installed, to g-ir-compiler.
</span>---
www/webkit2-gtk/Portfile | 6 ++++-
.../patch-webkit2gtk-specify-installed-dylibs.diff | 29 ++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/webkit2-gtk/Portfile b/www/webkit2-gtk/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 87b99083952..88c6c35cb8f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/webkit2-gtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/webkit2-gtk/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,7 +14,7 @@ cmake.generator Ninja
</span> name webkit2-gtk
conflicts webkit2-gtk-devel
version 2.28.2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 3
</span>
description Apple's WebKit2 HTML rendering library for GTK+3
long_description ${description}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -107,6 +107,10 @@ patchfiles-append patch-WTF-wtf-getVTablePointer.diff
</span> # https://bugs.webkit.org/show_bug.cgi?id=211193
patchfiles-append patch-bool_narrowed.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# Explicitly specify installed dylib paths to g-ir-compile
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fixes dlopen errors in apps using webkit2gtk introspection
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-webkit2gtk-specify-installed-dylibs.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # it is preferred to use the WebKit built in bmalloc if it builds on a given os.
# it has improved security features, but not all systems can build it at present.
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/webkit2-gtk/files/patch-webkit2gtk-specify-installed-dylibs.diff b/www/webkit2-gtk/files/patch-webkit2gtk-specify-installed-dylibs.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4835e65a084
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/webkit2-gtk/files/patch-webkit2gtk-specify-installed-dylibs.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebKit/PlatformGTK.cmake.orig 2022-08-26 16:20:42.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebKit/PlatformGTK.cmake 2022-08-26 16:48:49.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -727,13 +727,13 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_custom_command(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OUTPUT ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEPENDS ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib --shared-library=${CMAKE_INSTALL_NAME_DIR}/libwebkit2gtk-${WEBKITGTK_API_VERSION}.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_custom_command(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OUTPUT ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.typelib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEPENDS ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.typelib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/WebKit2WebExtension-${WEBKITGTK_API_VERSION}.typelib --shared-library=${CMAKE_INSTALL_NAME_DIR}/libwebkit2gtk-${WEBKITGTK_API_VERSION}.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ADD_TYPELIB(${CMAKE_BINARY_DIR}/WebKit2-${WEBKITGTK_API_VERSION}.typelib)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/JavaScriptCore/PlatformGTK.cmake.orig 2022-08-26 16:56:19.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/JavaScriptCore/PlatformGTK.cmake 2022-08-26 16:58:25.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -101,7 +101,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ add_custom_command(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OUTPUT ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.typelib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEPENDS ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.typelib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ COMMAND ${INTROSPECTION_COMPILER} --includedir=${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.gir -o ${CMAKE_BINARY_DIR}/JavaScriptCore-${WEBKITGTK_API_VERSION}.typelib --shared-library=${CMAKE_INSTALL_NAME_DIR}/libjavascriptcoregtk-${WEBKITGTK_API_VERSION}.dylib
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ VERBATIM
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ )
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>