[Webkit-unassigned] [Bug 147559] [GTK] r186800 broke the build on Ubuntu 14.04

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Aug 3 13:24:30 PDT 2015


https://bugs.webkit.org/show_bug.cgi?id=147559

--- Comment #4 from Michael Catanzaro <mcatanzaro at igalia.com> ---
(In reply to comment #1)
> We can get that info from the targets variable of the pkg-config file.

You already have GTK3_SUPPORTS_X11 and GTK3_SUPPORTS_WAYLAND, so the thing to do is to check them and set ENABLE_X11_TARGET and ENABLE_WAYLAND_TARGET accordingly. This has to be done after calling find_package(GTK3) and *before* calling WEBKIT_OPTION_END. This will require dropping the required GTK+ version from the call to find_package, since it's not possible to know until after WEBKIT_OPTION_END, and then checking it manually in an if statement using the VERSION_LESS operator after WEBKIT_OPTION_END.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20150803/f88c7db8/attachment.html>


More information about the webkit-unassigned mailing list