Changeset 156328 in webkit
- Timestamp:
- Sep 24, 2013 6:14:37 AM (11 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r156271 r156328 1 2013-09-24 Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK] Enable the Wayland target if GTK+ dependency is found 4 https://bugs.webkit.org/show_bug.cgi?id=121704 5 6 Reviewed by Gustavo Noronha Silva. 7 8 The Wayland target should be enabled by default if the GTK+ dependency is of version 3.9.14 or later. 9 10 * Source/autotools/FindDependencies.m4: If the Wayland target was not strictly disabled, the GTK+ dependency 11 is tested if it can provide the Wayland GDK backend, and that the version of that backend matches the version 12 of the master GTK+ dependency for which we already tested. If found, the target is enabled, otherwise we either 13 warn or error out, depending on whether the build target was set to auto or completely disabled through configuration. 14 * Source/autotools/ReadCommandLineArguments.m4: Switch the default Wayland target status to 'auto', meaning 15 it will be disabled if the GTK+ dependency is not found. 16 * Source/autotools/Versions.m4: Require GTK+ 3.9.14 for the Wayland target only. 17 1 18 2013-09-23 Zan Dobersek <zdobersek@igalia.com> 2 19 -
trunk/Source/autotools/FindDependencies.m4
r156271 r156328 202 202 fi 203 203 204 if test "$enable_wayland_target" = "yes"; then 205 # The GTK+ Wayland target dependency should match the version of the master GTK+ dependency. 206 PKG_CHECK_MODULES(GTK_WAYLAND, gtk+-wayland-$GTK_API_VERSION = $GTK_ACTUAL_VERSION) 204 if test "$enable_wayland_target" != "no"; then 205 # The GTK+ Wayland target dependency should match the version of the master GTK+ dependency. 206 PKG_CHECK_MODULES([GTK_WAYLAND], [ 207 gtk+-wayland-$GTK_API_VERSION = $GTK_ACTUAL_VERSION 208 gtk+-wayland-$GTK_API_VERSION >= gtk3_wayland_required_version 209 ], [enable_wayland_target=yes], [ 210 if test "$enable_wayland_target" = "yes"; then 211 AC_MSG_ERROR([GTK+ Wayland dependency (gtk+-wayland-$GTK_API_VERSION >= gtk3_wayland_required_version) not found.]) 212 else 213 AC_MSG_WARN([GTK+ Wayland dependency (gtk+-wayland-$GTK_API_VERSION >= gtk3_wayland_required_version) not found, disabling the Wayland target.]) 214 enable_wayland_target=no 215 fi 216 ]) 207 217 fi 208 218 -
trunk/Source/autotools/ReadCommandLineArguments.m4
r156271 r156328 59 59 AC_MSG_RESULT([$with_gtk]) 60 60 61 default_build_targets="x11=yes wayland= no win32=no quartz=no directfb=no"61 default_build_targets="x11=yes wayland=auto win32=no quartz=no directfb=no" 62 62 build_targets="" 63 63 -
trunk/Source/autotools/Versions.m4
r156269 r156328 18 18 m4_define([gtk2_required_version], [2.24.10]) 19 19 m4_define([gtk3_required_version], [3.6.0]) 20 m4_define([gtk3_wayland_required_version], [3.10.0]) 20 21 21 22 m4_define([atspi2_required_version], [2.5.3])
Note: See TracChangeset
for help on using the changeset viewer.