<html>
<head>
<base href="https://bugs.webkit.org/" />
</head>
<body><span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span> changed
<a class="bz_bug_link
bz_status_NEW "
title="NEW - [CMake] GTK3 version is too low to support Wayland when Wayland is enabled."
href="https://bugs.webkit.org/show_bug.cgi?id=150353">bug 150353</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">CC</td>
<td>
</td>
<td>clopez@igalia.com
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - [CMake] GTK3 version is too low to support Wayland when Wayland is enabled."
href="https://bugs.webkit.org/show_bug.cgi?id=150353#c2">Comment # 2</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - [CMake] GTK3 version is too low to support Wayland when Wayland is enabled."
href="https://bugs.webkit.org/show_bug.cgi?id=150353">bug 150353</a>
from <span class="vcard"><a class="email" href="mailto:clopez@igalia.com" title="Carlos Alberto Lopez Perez <clopez@igalia.com>"> <span class="fn">Carlos Alberto Lopez Perez</span></a>
</span></b>
<pre>You can also disable the wayland target (is enabled by default) if you don't want to run webkitgtk+ on wayland.
Passing -DENABLE_WAYLAND_TARGET=OFF to cmake will do that.
If you use the script build-webkit you can do that as follows:
Tools/Scripts/build-webkit --gtk --release --cmakeargs='-DENABLE_WAYLAND_TARGET=OFF'
Regarding your proposed patch, maybe a better alternative would be to lower the required GTK+ version to 3.10 when building wayland. I'm not sure if we really require 3.12 or we can lower this requirement to 3.10
You can try this patch:
--- a/Source/cmake/OptionsGTK.cmake
+++ b/Source/cmake/OptionsGTK.cmake
@@ -433,8 +433,8 @@ if (ENABLE_WAYLAND_TARGET)
message(FATAL_ERROR "Recompile GTK+ with Wayland backend to use ENABLE_WAYLAND_TARGET")
endif ()
- if (ENABLE_WAYLAND_TARGET AND GTK3_VERSION VERSION_LESS 3.12)
- message(FATAL_ERROR "GTK+ 3.12 is required to use ENABLE_WAYLAND_TARGET")
+ if (ENABLE_WAYLAND_TARGET AND GTK3_VERSION VERSION_LESS 3.10)
+ message(FATAL_ERROR "GTK+ 3.10 is required to use ENABLE_WAYLAND_TARGET")
endif ()
find_package(Wayland REQUIRED)
And try to see if everything build ok (including the wayland target)</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>