<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/e866ff66c49a45c24decfec234d05d8c4d7341a4">https://github.com/macports/macports-ports/commit/e866ff66c49a45c24decfec234d05d8c4d7341a4</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 e866ff6 webkit2-gtk-devel: update to 2.27.3
</span>e866ff6 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e866ff66c49a45c24decfec234d05d8c4d7341a4
</span>Author: Ken Cunningham <kencu@macports.org>
AuthorDate: Tue Nov 26 11:49:26 2019 -0800
<span style='display:block; white-space:pre;color:#404040;'> webkit2-gtk-devel: update to 2.27.3
</span>---
www/webkit2-gtk-devel/Portfile | 10 ++---
.../files/patch-webkit2gtk-272-macports.diff | 43 ++++++++++++++++++++--
.../files/patch-webkit2gtk-macports.diff | 26 +++++++++----
3 files changed, 63 insertions(+), 16 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/webkit2-gtk-devel/Portfile b/www/webkit2-gtk-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5ae4cf5..e0a9003 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/webkit2-gtk-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/webkit2-gtk-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -13,8 +13,8 @@ cmake.generator Ninja
</span>
name webkit2-gtk-devel
conflicts webkit2-gtk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 2.27.2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 2.27.3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span>
description Apple's WebKit2 HTML rendering library for GTK+3
long_description ${description}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,9 +30,9 @@ distname webkitgtk-${version}
</span>
dist_subdir webkit-gtk
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 71b5519e9e4734f1b29725e33e27b6b4e87b01ee \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 05382bcf96b20d59ca9657265fd3aa46ab8887b5c7fcd286ca43b9362d7a8198 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 20793524
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b297a1aaae881d702d4b95f15fffc261c2608087 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5390d0b41957834202893887f1ac04e3264b6a3d98160d4166e3c8c16bdb7492 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 20912420
</span>
depends_build-append \
port:gperf \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/webkit2-gtk-devel/files/patch-webkit2gtk-272-macports.diff b/www/webkit2-gtk-devel/files/patch-webkit2gtk-272-macports.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 11c9420..1c39241 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/webkit2-gtk-devel/files/patch-webkit2gtk-272-macports.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/webkit2-gtk-devel/files/patch-webkit2gtk-272-macports.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,9 +42,9 @@ index 5839d3fc..6f110183 100644
</span> class Decoder;
diff --git Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
index 57e8a557..45df4cf6 100644
<span style='display:block; white-space:pre;background:#ffe0e0;'>---- Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -272,7 +272,7 @@ void WebKitProtocolHandler::handleGPU(WebKitURISchemeRequest* request)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- ./Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp.orig 2019-11-22 04:57:54.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ ./Source/WebKit/UIProcess/API/glib/WebKitProtocolHandler.cpp 2019-11-27 05:52:39.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -273,7 +273,7 @@
</span> " <td><div class=\"titlename\">Type</div></td>"
" <td>%s</td>"
" </tbody></tr>",
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,3 +53,40 @@ index 57e8a557..45df4cf6 100644
</span> #endif
auto rect = IntRect(screenRect(nullptr));
<span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -333,9 +333,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " </tbody></tr>",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ webGLEnabled(request) ? "Yes" : "No");
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE(GLX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ auto glContext = GLContext::createOffscreenContext();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ glContext->makeContextCurrent();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_string_append_printf(html,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " <tbody><tr>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " <td><div class=\"titlename\">API</div></td>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -349,7 +350,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " <td>%s</td>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " </tbody></tr>",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ nativeInterface());
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if USE(GLX)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_string_append_printf(html,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " <tbody><tr>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " <td><div class=\"titlename\">GL_RENDERER</div></td>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -377,7 +378,6 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " <td>%s</td>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " </tbody></tr>",
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinterpret_cast<const char*>(glGetString(GL_SHADING_LANGUAGE_VERSION)));
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if USE(OPENGL_ES)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_string_append_printf(html,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ " <tbody><tr>"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -402,6 +402,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ extensions->str);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ g_string_free(extensions, TRUE);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ bool isGLX = false;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if USE(GLX)
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/www/webkit2-gtk-devel/files/patch-webkit2gtk-macports.diff b/www/webkit2-gtk-devel/files/patch-webkit2gtk-macports.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 9ffaadb..0ef6944 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/www/webkit2-gtk-devel/files/patch-webkit2gtk-macports.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/www/webkit2-gtk-devel/files/patch-webkit2gtk-macports.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -168,11 +168,21 @@ index 00000000..cf113819
</span> +extern "C" CCCryptorStatus CCRSACryptorCreateFromData(CCRSAKeyType keyType, const uint8_t *modulus, size_t modulusLength, const uint8_t *exponent, size_t exponentLength, const uint8_t *p, size_t pLength, const uint8_t *q, size_t qLength, CCRSACryptorRef *ref);
+
+#endif // !USE(APPLE_INTERNAL_SDK)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-diff --git Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-index ab37ee04..eb03d330 100644
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>---- Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-+++ Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -493,7 +493,7 @@ MediaTime MediaPlayerPrivateGStreamer::platformDuration() const
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp.orig 2019-11-26 03:02:20.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamer.cpp 2019-11-26 14:56:04.000000000 -0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -153,9 +153,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // gstglapi.h may include eglplatform.h and it includes X.h, which
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ // defines None, breaking MediaPlayer::None enum
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if PLATFORM(X11) && GST_GL_HAVE_PLATFORM_EGL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if PLATFORM(X11)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef None
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif // PLATFORM(X11) && GST_GL_HAVE_PLATFORM_EGL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif // PLATFORM(X11)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "VideoTextureCopierGStreamer.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif // USE(GSTREAMER_GL)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -795,7 +795,7 @@
</span> if (GST_STATE(m_pipeline.get()) < GST_STATE_PAUSED)
return MediaTime::invalidTime();
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -181,12 +191,12 @@ index ab37ee04..eb03d330 100644
</span> if (!gst_element_query_duration(m_pipeline.get(), GST_FORMAT_TIME, &duration) || !GST_CLOCK_TIME_IS_VALID(duration)) {
GST_DEBUG_OBJECT(pipeline(), "Time duration query failed for %s", m_url.string().utf8().data());
return MediaTime::positiveInfiniteTime();
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -1372,7 +1372,7 @@ void MediaPlayerPrivateGStreamer::handleMessage(GstMessage* message)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -2332,7 +2332,7 @@
</span> GUniqueOutPtr<GstStructure> responseHeaders;
if (gst_structure_get(structure, "response-headers", GST_TYPE_STRUCTURE, &responseHeaders.outPtr(), nullptr)) {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- const char* contentLengthHeaderName = httpHeaderNameString(HTTPHeaderName::ContentLength).utf8().data();
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CString contentLengthHeaderName = httpHeaderNameString(HTTPHeaderName::ContentLength).utf8();
</span> - uint64_t contentLength = 0;
+ guint64 contentLength = 0;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- if (!gst_structure_get_uint64(responseHeaders.get(), contentLengthHeaderName, &contentLength)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (!gst_structure_get_uint64(responseHeaders.get(), contentLengthHeaderName.data(), &contentLength)) {
</span> // souphttpsrc sets a string for Content-Length, so
// handle it here, until we remove the webkit+ protocol
</pre><pre style='margin:0'>
</pre>