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

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun May 23 07:49:29 PDT 2010


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

           Summary: [GTK] Configure script should check the required GTK+
                    version
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P4
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joone at kldp.org


Created an attachment (id=56824)
 --> (https://bugs.webkit.org/attachment.cgi?id=56824)
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

-- 
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