<?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>54350</bug_id>
          
          <creation_ts>2011-02-13 01:13:17 -0800</creation_ts>
          <short_desc>[Gtk] WebView.h: No such file or directory</short_desc>
          <delta_ts>2011-02-20 13:09:32 -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>DUPLICATE</resolution>
          <dup_id>52805</dup_id>
          
          <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>0</everconfirmed>
          <reporter>marinalan</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>alex</cc>
    
    <cc>mrobinson</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>350363</commentid>
    <comment_count>0</comment_count>
    <who name="">marinalan</who>
    <bug_when>2011-02-13 01:13:17 -0800</bug_when>
    <thetext>after

make distclean
svn update
./autogen.sh --enable-web-sockets --enable-geolocation --enable-3D-transforms --enable-filters --enable-webkit2
make

after many hours of compilations, I get:

  CXX    Source/WebKit2/UIProcess/API/C/gtk/libWebKit2_la-WKView.lo
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp:32:21: error: WebView.h: No such file or directory
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp: In function ‘const OpaqueWKView* WKViewCreate(GdkRectangle, const OpaqueWKContext*, const OpaqueWKPageGroup*)’:
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp:42: error: incomplete type ‘WebKit::WebView’ used in nested name specifier
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp: In function ‘GtkWidget* WKViewGetWindow(const OpaqueWKView*)’:
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp:48: error: invalid use of incomplete type ‘struct WebKit::WebView’
./Source/WebKit2/UIProcess/API/C/gtk/WKAPICastGtk.h:36: error: forward declaration of ‘struct WebKit::WebView’
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp: In function ‘const OpaqueWKPage* WKViewGetPage(const OpaqueWKView*)’:
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp:53: error: invalid use of incomplete type ‘struct WebKit::WebView’
./Source/WebKit2/UIProcess/API/C/gtk/WKAPICastGtk.h:36: error: forward declaration of ‘struct WebKit::WebView’
In file included from ./Source/JavaScriptCore/wtf/CrossThreadRefCounted.h:35,
                 from ./Source/JavaScriptCore/wtf/text/StringImpl.h:28,
                 from ./Source/JavaScriptCore/wtf/text/WTFString.h:28,
                 from ./Source/WebCore/platform/text/PlatformString.h:28,
                 from ./Source/WebCore/platform/network/ResourceErrorBase.h:29,
                 from ./Source/WebCore/platform/network/soup/ResourceError.h:29,
                 from ./DerivedSources/WebKit2/include/WebCore/ResourceError.h:1,
                 from ./Source/WebKit2/Shared/WebError.h:30,
                 from ./Source/WebKit2/Shared/API/c/WKSharedAPICast.h:38,
                 from ./Source/WebKit2/UIProcess/API/C/WKAPICast.h:37,
                 from Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp:31:
./Source/JavaScriptCore/wtf/PassRefPtr.h: In function ‘void WTF::derefIfNotNull(T*) [with T = WebKit::WebView]’:
./Source/JavaScriptCore/wtf/RefPtr.h:58:   instantiated from ‘WTF::RefPtr&lt;T&gt;::~RefPtr() [with T = WebKit::WebView]’
Source/WebKit2/UIProcess/API/C/gtk/WKView.cpp:42:   instantiated from here
./Source/JavaScriptCore/wtf/PassRefPtr.h:59: error: invalid use of incomplete type ‘struct WebKit::WebView’
./Source/WebKit2/UIProcess/API/C/gtk/WKAPICastGtk.h:36: error: forward declaration of ‘struct WebKit::WebView’
make[1]: *** [Source/WebKit2/UIProcess/API/C/gtk/libWebKit2_la-WKView.lo] Error 1
make[1]: Leaving directory `/home/marina/src/WebKit&apos;
make: *** [all] Error 2

-------------------------------------------------------------------------
Environment: Fedora 13
svn info
Path: .
URL: http://svn.webkit.org/repository/webkit/trunk
Repository Root: http://svn.webkit.org/repository/webkit
Repository UUID: 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Revision: 78421
Node Kind: directory
Schedule: normal
Last Changed Author: abarth@webkit.org
Last Changed Rev: 78421
Last Changed Date: 2011-02-12 13:35:25 -0800 (Sat, 12 Feb 2011)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351555</commentid>
    <comment_count>1</comment_count>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2011-02-15 13:58:55 -0800</bug_when>
    <thetext>I&apos;m not sure if WebKit2 is compiling at the moment. I&apos;ve CC&apos;d Alex, who has a much better understanding of the current state of WebKit2 than I do.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>351903</commentid>
    <comment_count>2</comment_count>
    <who name="Alejandro G. Castro">alex</who>
    <bug_when>2011-02-15 23:36:06 -0800</bug_when>
    <thetext>(In reply to comment #0)
&gt; after
&gt; 
&gt; make distclean
&gt; svn update
&gt; ./autogen.sh --enable-web-sockets --enable-geolocation --enable-3D-transforms --enable-filters --enable-webkit2
&gt; make
&gt; 

The patch that adds that file is still being reviewed. We are just starting to add the first code to make webkit2 work with gtk+, you can follow the advances in the bug 52805. Meanwhile compilation will not work. Hopefully these weeks we can have the initial code uploaded.

*** This bug has been marked as a duplicate of bug 52805 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>354306</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Proskuryakov">ap</who>
    <bug_when>2011-02-20 13:09:32 -0800</bug_when>
    <thetext>*** Bug 54819 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>