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:   leot
Date:           Mon May 20 11:15:48 UTC 2019

Modified Files:
        pkgsrc/www/webkit-gtk: distinfo
Added Files:
        pkgsrc/www/webkit-gtk/patches:
            patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp

Log Message:
webkit-gtk: Fix the build with `opengl' option

TEXTURE_MAPPER_COLOR_CONVERT_FLAG is defined only if GSTREAMER_GL
is defined (it is not in pkgsrc package). Backport a patch from
upstream to address that.

Thanks to <wiz> for reporting this problem!


To generate a diff of this commit:
cvs rdiff -u -r1.122 -r1.123 pkgsrc/www/webkit-gtk/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp

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/distinfo
diff -u pkgsrc/www/webkit-gtk/distinfo:1.122 pkgsrc/www/webkit-gtk/distinfo:1.123
--- pkgsrc/www/webkit-gtk/distinfo:1.122        Fri May 17 17:57:44 2019
+++ pkgsrc/www/webkit-gtk/distinfo      Mon May 20 11:15:48 2019
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.122 2019/05/17 17:57:44 leot Exp $
+$NetBSD: distinfo,v 1.123 2019/05/20 11:15:48 leot Exp $
 
 SHA1 (webkitgtk-2.24.2.tar.xz) = 632a65d93beb996bebdf7592ef9591f3993dea91
 RMD160 (webkitgtk-2.24.2.tar.xz) = 067a23d186b0c363c53a2a05ec7bcb1e8da483e7
@@ -23,6 +23,7 @@ SHA1 (patch-Source_WebCore_Scripts_gener
 SHA1 (patch-Source_WebCore_inspector_InspectorFrontendHost.cpp) = daf6351a1a0b5a49592a2bb6db0d54620c7b09e3
 SHA1 (patch-Source_WebCore_platform_graphics_filters_FEMorphology.cpp) = 16b36d2d91fd7f43156b9ee09bcafd19602ebbd9
 SHA1 (patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamer.cpp) = 38c24500c7619d290b22efd730eb36086e32461f
+SHA1 (patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp) = a82885add0e9c70b14b598b4ad967277ebb96942
 SHA1 (patch-Source_WebCore_rendering_shapes_RasterShape.cpp) = 551e47698dee50d097b11e3218f13bb3447edfea
 SHA1 (patch-Source_WebKit_CMakeLists.txt) = 228cc4734de3b08a3877ac839b1ffa2fbf2d3aa8
 SHA1 (patch-Source_WebKit_NetworkProcess_cache_NetworkCacheFileSystem.cpp) = 8c19692e78b1cfb021b95435508a10bc6542b173

Added files:

Index: pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp
diff -u /dev/null pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp:1.1
--- /dev/null   Mon May 20 11:15:48 2019
+++ pkgsrc/www/webkit-gtk/patches/patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp  Mon May 20 11:15:48 2019
@@ -0,0 +1,23 @@
+$NetBSD: patch-Source_WebCore_platform_graphics_gstreamer_MediaPlayerPrivateGStreamerBase.cpp,v 1.1 2019/05/20 11:15:48 leot Exp $
+
+Backport upstream changeset 243690 to fix the build when GSTREAMER_GL
+is not used, via:
+
+ <https://trac.webkit.org/changeset/243690/webkit>
+
+--- Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp.orig        2019-05-09 09:32:33.000000000 +0000
++++ Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
+@@ -1000,11 +1000,13 @@ void MediaPlayerPrivateGStreamerBase::up
+         break;
+     }
+ 
++#if USE(GSTREAMER_GL)
+     // When the imxvpudecoder is used, the texture sampling of the
+     // directviv-uploaded texture returns an RGB value, so there's no need to
+     // convert it.
+     if (m_videoDecoderPlatform != WebKitGstVideoDecoderPlatform::ImxVPU)
+         m_textureMapperFlags |= TEXTURE_MAPPER_COLOR_CONVERT_FLAG;
++#endif
+ }
+ #endif
+ 



Home | Main Index | Thread Index | Old Index