[Webkit-unassigned] [Bug 39567] [GTK] Configure script should check the required GTK+ version

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 24 02:08:35 PDT 2010


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





--- Comment #1 from Xan Lopez <xan.lopez at gmail.com>  2010-05-24 02:08:35 PST ---
(In reply to comment #0)
> Created an attachment (id=56824)
 --> (https://bugs.webkit.org/attachment.cgi?id=56824) [details]
> modified configure.ac
> 
> The current configure script doesn't check the required GTK+ version to 2.18
> If the installed GTK+ is prior to 2.18, you can see the following build break message.
> 
> WebCore/platform/gtk/ScrollbarGtk.cpp:211: error: ‘gtk_widget_get_has_window’ was not declared in this scope
> 
> gtk_widget_get_has_window API has been introduced since 2.18
> Therefore we need to modify configure.ac as follows,
> 
> diff --git a/configure.ac b/configure.ac
> index 9757541..a076e35 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -205,7 +205,7 @@ LIBXML_REQUIRED_VERSION=2.6
> 
>  # minimum GTK+ base dependencies
>  PANGO_REQUIRED_VERSION=1.12
> -GTK_REQUIRED_VERSION=2.10
> +GTK_REQUIRED_VERSION=2.18

The required GTK+ version is 2.10, not 2.18. If we fail to compile with it then it's just a mistake, not intentional. In the case of gtk_widget_get_has_window this should be fixed in WebCore/platform/gtk/GtkVersioning.h, so not sure what's going on. Are you using svn trunk?

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.


More information about the webkit-unassigned mailing list