[Webkit-unassigned] [Bug 204108] New: [GTK] fails to build against headers provided by libglvnd
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Tue Nov 12 03:04:08 PST 2019
https://bugs.webkit.org/show_bug.cgi?id=204108
Bug ID: 204108
Summary: [GTK] fails to build against headers provided by
libglvnd
Product: WebKit
Version: Other
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: WebKitGTK
Assignee: webkit-unassigned at lists.webkit.org
Reporter: alexander at tsoy.me
CC: bugs-noreply at webkitgtk.org
Created attachment 383344
--> https://bugs.webkit.org/attachment.cgi?id=383344&action=review
eglmesaext-include.patch
webkit-gtk relies on EGL/eglmesaext.h header. This header is indirectly included via EGL/eglext.h when building against mesa. But this is not the case with headers provided by libglvnd.
Build error:
/tmp/portage/net-libs/webkit-gtk-2.24.4/work/webkitgtk-2.24.4/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp: In member function ‘void* WebKit::WaylandCompositor::Buffer::createImage() const’:
/tmp/portage/net-libs/webkit-gtk-2.24.4/work/webkitgtk-2.24.4/Source/WebKit/UIProcess/gtk/WaylandCompositor.cpp:134:116: error: ‘EGL_WAYLAND_BUFFER_WL’ was not declared in this scope
134 | return static_cast<EGLImageKHR*>(eglCreateImage(PlatformDisplay::sharedDisplay().eglDisplay(), EGL_NO_CONTEXT, EGL_WAYLAND_BUFFER_WL, m_resource, nullptr));
| ^~~~~~~~~~~~~~~~~~~~~
Attached patch fixes this issue for me.
Downstream bug: https://bugs.gentoo.org/699054
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20191112/8735be6c/attachment.htm>
More information about the webkit-unassigned
mailing list