Changeset 155899 in webkit
- Timestamp:
- Sep 16, 2013 2:01:16 PM (11 years ago)
- Location:
- releases/WebKitGTK/webkit-2.2
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
releases/WebKitGTK/webkit-2.2/ChangeLog
r155864 r155899 1 2013-09-16 Zan Dobersek <zdobersek@igalia.com> 2 3 [GTK][2.2] Enable the Wayland target by default if the GTK+ Wayland dependency is available 4 https://bugs.webkit.org/show_bug.cgi?id=121414 5 6 Reviewed by Martin Robinson. 7 8 * Source/autotools/FindDependencies.m4: If the Wayland target is not strictly disabled, also check that the GTK+ Wayland 9 package (gtk+-wayland-3.0) has a recent-enough version. If the dependency could not be satisfied, either a warning or an 10 error is printed out, depending if the Wayland target was required or just optional. 11 * Source/autotools/PrintBuildConfiguration.m4: Add a new macro, AM_APPEND_TO_DESRIPTION, that's helpful when producing 12 a description string that can contain multiple items that should be nicely formatted when listed in that string. This is 13 then used when creating the description for all the enabled targets, so for instance 'x11, wayland' string would be displayed 14 if both the X11 and Wayland targets are enabled. 15 * Source/autotools/ReadCommandLineArguments.m4: The --with-target configuration options should default to 'x11,wayland' if 16 not given, with the Wayland target in that case not being a hard requirement (i.e. it should be disabled if the dependencies 17 for the Wayland target could not be found). 18 * Source/autotools/Versions.m4: The GTK+ Wayland dependency should be of version 3.9.14 or greater (the 3.10 release series). 19 1 20 2013-09-11 Mario Sanchez Prada <mario.prada@samsung.com> 2 21 -
releases/WebKitGTK/webkit-2.2/Source/autotools/FindDependencies.m4
r155864 r155899 197 197 fi 198 198 199 if test "$with_wayland_target" = "yes"; then199 if test "$with_wayland_target" != "no"; then 200 200 # The GTK+ Wayland target dependency should match the version of the master GTK+ dependency. 201 PKG_CHECK_MODULES(GTK_WAYLAND, gtk+-wayland-$GTK_API_VERSION = $GTK_ACTUAL_VERSION) 201 PKG_CHECK_MODULES([GTK_WAYLAND], [ 202 gtk+-wayland-$GTK_API_VERSION = $GTK_ACTUAL_VERSION 203 gtk+-wayland-$GTK_API_VERSION >= gtk3_wayland_required_version 204 ], [with_wayland_target=yes], [ 205 if test "$with_wayland_target" = "yes"; then 206 AC_MSG_ERROR([GTK+ Wayland dependency (gtk+-wayland-$GTK_API_VERSION >= gtk3_wayland_required_version) not found.]) 207 else 208 AC_MSG_WARN([GTK+ Wayland dependency (gtk+-wayland-$GTK_API_VERSION >= gtk3_wayland_required_version) not found, disabling the Wayland target.]) 209 with_wayland_target=no 210 fi 211 ]) 202 212 fi 203 213 -
releases/WebKitGTK/webkit-2.2/Source/autotools/PrintBuildConfiguration.m4
r155332 r155899 1 dnl AM_APPEND_TO_DESCRIPTION 2 dnl Appends the given string to the description variable, 3 dnl using a separator if the description variable is not empty. 4 dnl 5 dnl Usage: 6 dnl AM_APPEND_TO_DESCRIPTION([DESCRIPTION], [STRING]) 7 AC_DEFUN([AM_APPEND_TO_DESCRIPTION], [ 8 if test "$$1" != ""; then 9 $1="${$1}, " 10 fi 11 12 $1="${$1}$2" 13 ]) dnl AM_APPEND_TO_DESCRIPTION 14 15 16 target_description="" 17 if test "$with_x11_target" = "yes"; then 18 AM_APPEND_TO_DESCRIPTION(target_description, "x11") 19 fi 20 if test "$with_wayland_target" = "yes"; then 21 AM_APPEND_TO_DESCRIPTION(target_description, "wayland") 22 fi 23 if test "$with_target" = "win32"; then 24 AM_APPEND_TO_DESCRIPTION(target_description, "win32") 25 fi 26 if test "$with_target" = "quartz"; then 27 AM_APPEND_TO_DESCRIPTION(target_description, "quartz") 28 fi 29 if test "$with_target" = "directfb"; then 30 AM_APPEND_TO_DESCRIPTION(target_description, "directfb") 31 fi 32 1 33 AC_OUTPUT 2 34 … … 34 66 GTK+ configuration: 35 67 GTK+ version : $with_gtk 36 GDK targets : $ with_target68 GDK targets : $target_description 37 69 Introspection support : $enable_introspection 38 70 Generate documentation : $enable_gtk_doc -
releases/WebKitGTK/webkit-2.2/Source/autotools/ReadCommandLineArguments.m4
r155332 r155899 55 55 esac 56 56 ], 57 [with_target="x11 "])57 [with_target="x11,wayland"; with_wayland_target="auto"]) 58 58 AC_MSG_RESULT([$with_target]) 59 59 … … 63 63 if test "$with_target" = "x11,wayland"; then 64 64 with_x11_target=yes 65 with_wayland_target=yes 65 if test "$with_wayland_target" != "auto"; then 66 with_wayland_target=yes 67 fi 66 68 elif test "$with_target" = "x11"; then 67 69 with_x11_target=yes -
releases/WebKitGTK/webkit-2.2/Source/autotools/Versions.m4
r155864 r155899 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.9.14]) 20 21 21 22 m4_define([atspi2_required_version], [2.5.3])
Note: See TracChangeset
for help on using the changeset viewer.