<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>31014</bug_id>
          
          <creation_ts>2009-11-02 08:08:10 -0800</creation_ts>
          <short_desc>[Gtk] Build fails with gtk+-2.10 (no tested with older releases)</short_desc>
          <delta_ts>2009-12-13 03:40:18 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cyprien Nicolas">c.nicolas</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>christian</cc>
    
    <cc>jmalonzo</cc>
    
    <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>159800</commentid>
    <comment_count>0</comment_count>
    <who name="Cyprien Nicolas">c.nicolas</who>
    <bug_when>2009-11-02 08:08:10 -0800</bug_when>
    <thetext>Hello guys,

I tried to build WebKit-Gtk, both 1.1.15.3 and 1.1.6, downloaded today from the webkitgtk.org website, and the build fails.


Here is my configure command, which exits normally:
./configure --prefix=${HOME}/local/`hostname` --enable-web-sockets

(BTW, ./configure --help says: &quot;--enable-web-sockets    enable support for Web Sockets default=yes&quot;, but it seems to default to no, that should be another bug report)


Here is the error:

  CXX    WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ChromeClientGtk.lo
WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp: In member function ‘virtual void WebKit::ChromeClient::mouseDidMoveOverElement(const WebCore::HitTestResult&amp;, unsigned int)’:
WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:453: error: ‘gtk_tooltip_trigger_tooltip_query’ was not declared in this scope
make[1]: *** [WebKit/gtk/WebCoreSupport/libwebkit_1_0_la-ChromeClientGtk.lo] Error 1
make[1]: Leaving directory `/auto/sop-nas2a/u/sop-nas2a/vol/home_indes/cnicolas/NOSAVE/webkit/WebKitGTK/webkit-1.1.16&apos;
make: *** [all] Error 2


pkg-config tells me I have gtk+ 2.10
$ pkg-config --modversion gtk+-2.0
2.10.14

I checked for the GTK+ API, and `gtk_tooltip_trigger_tooltip_query&apos; comes with the new GtkTooltip API, which is available since Gtk+-2.12, source: http://library.gnome.org/devel/gtk/unstable/GtkTooltip.html


So I think the autoconf/configure should be updated to fail if the gtk+ lib is too old for webkit-gtk...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>159801</commentid>
    <comment_count>1</comment_count>
    <who name="Christian Dywan">christian</who>
    <bug_when>2009-11-02 08:13:05 -0800</bug_when>
    <thetext>The requirement of 2.10 is actually correct. The call to the new function should be guarded by #ifdefs instead.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169500</commentid>
    <comment_count>2</comment_count>
      <attachid>44437</attachid>
    <who name="Christian Dywan">christian</who>
    <bug_when>2009-12-07 15:32:59 -0800</bug_when>
    <thetext>Created attachment 44437
Guard GTK+ 2.12 specific tooltip code with #ifdef.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169501</commentid>
    <comment_count>3</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2009-12-07 15:35:38 -0800</bug_when>
    <thetext>Attachment 44437 did not pass style-queue:

Failed to run &quot;WebKitTools/Scripts/check-webkit-style&quot; exit_code: 1
WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:445:  Missing space after ,  [whitespace/comma] [3]
Total errors found: 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171161</commentid>
    <comment_count>4</comment_count>
      <attachid>44437</attachid>
    <who name="Holger Freyther">zecke</who>
    <bug_when>2009-12-12 22:09:28 -0800</bug_when>
    <thetext>Comment on attachment 44437
Guard GTK+ 2.12 specific tooltip code with #ifdef.


&gt; +        [Gtk] Build fails with gtk+-2.10 (no tested with older releases)


s/no/not/ ?

and I have no idea what the style check script is aiming at...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171192</commentid>
    <comment_count>5</comment_count>
    <who name="Christian Dywan">christian</who>
    <bug_when>2009-12-13 03:40:18 -0800</bug_when>
    <thetext>2009-12-13  Christian Dywan  &lt;christian@twotoasts.de&gt;

        Reviewed by Holger Freyther.

        http://bugs.webkit.org/show_bug.cgi?id=31014
        [Gtk] Build fails with gtk+-2.10 (no tested with older releases)

        Guard GTK+ 2.12 specific tooltip code with #ifdef.

        * WebCoreSupport/ChromeClientGtk.cpp:
        (WebKit::ChromeClient::mouseDidMoveOverElement):</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>44437</attachid>
            <date>2009-12-07 15:32:59 -0800</date>
            <delta_ts>2009-12-12 22:09:28 -0800</delta_ts>
            <desc>Guard GTK+ 2.12 specific tooltip code with #ifdef.</desc>
            <filename>tooltip-2.12.diff</filename>
            <type>text/plain</type>
            <size>1565</size>
            <attacher name="Christian Dywan">christian</attacher>
            
              <data encoding="base64">ZGlmZiAtLWdpdCBhL1dlYktpdC9ndGsvQ2hhbmdlTG9nIGIvV2ViS2l0L2d0ay9DaGFuZ2VMb2cK
aW5kZXggNWExNDJiNS4uMDRiMzY0MiAxMDA2NDQKLS0tIGEvV2ViS2l0L2d0ay9DaGFuZ2VMb2cK
KysrIGIvV2ViS2l0L2d0ay9DaGFuZ2VMb2cKQEAgLTEsMy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GNvbnN0CiAKIHZvaWQgQ2hyb21lQ2xpZW50
Ojptb3VzZURpZE1vdmVPdmVyRWxlbWVudChjb25zdCBIaXRUZXN0UmVzdWx0JiBoaXQsIHVuc2ln
bmVkIG1vZGlmaWVyRmxhZ3MpCiB7CisjaWYgR1RLX0NIRUNLX1ZFUlNJT04oMiwxMiwwKQogICAg
IC8vIElmIGEgdG9vbHRpcCBtdXN0IGJlIGRpc3BsYXllZCBpdCB3aWxsIGJlLCBhZnRlcndhcmRz
LCB3aGVuCiAgICAgLy8gc2V0VG9vbFRpcCBpcyBjYWxsZWQ7IHRoaXMgaXMganVzdCBhIHdvcmst
YXJvdW5kIHRvIG1ha2Ugc3VyZQogICAgIC8vIGl0IHVwZGF0ZXMgaXRzIGxvY2F0aW9uIGNvcnJl
Y3RseTsgc2VlCkBAIC00NTUsNiArNDU2LDcgQEAgdm9pZCBDaHJvbWVDbGllbnQ6Om1vdXNlRGlk
TW92ZU92ZXJFbGVtZW50KGNvbnN0IEhpdFRlc3RSZXN1bHQmIGhpdCwgdW5zaWduZWQgbW8KICAg
ICBlbHNlCiAgICAgICAgIGdka0Rpc3BsYXkgPSBnZGtfZGlzcGxheV9nZXRfZGVmYXVsdCgpOwog
ICAgIGd0a190b29sdGlwX3RyaWdnZXJfdG9vbHRpcF9xdWVyeShnZGtEaXNwbGF5KTsKKyNlbmRp
ZgogCiAgICAgLy8gY2hlY2sgaWYgdGhlIGVsZW1lbnQgaXMgYSBsaW5rLi4uCiAgICAgYm9vbCBp
c0xpbmsgPSBoaXQuaXNMaXZlTGluaygpOwo=
</data>
<flag name="review"
          id="26297"
          type_id="1"
          status="+"
          setter="zecke"
    />
          </attachment>
      

    </bug>

</bugzilla>