<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] r186800 broke the build on Ubuntu 14.04"
href="https://bugs.webkit.org/show_bug.cgi?id=147559#c5">Comment # 5</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [GTK] r186800 broke the build on Ubuntu 14.04"
href="https://bugs.webkit.org/show_bug.cgi?id=147559">bug 147559</a>
from <span class="vcard"><a class="email" href="mailto:cgarcia@igalia.com" title="Carlos Garcia Campos <cgarcia@igalia.com>"> <span class="fn">Carlos Garcia Campos</span></a>
</span></b>
<pre>(In reply to <a href="show_bug.cgi?id=147559#c4">comment #4</a>)
<span class="quote">> (In reply to <a href="show_bug.cgi?id=147559#c1">comment #1</a>)
> > 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.</span >
Could you write a patch instead of telling us how to do it? :-)</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are the assignee for the bug.</li>
</ul>
</body>
</html>