When building WebKit2 for GTK there are few build breaks connected with missing include files. Attached patch fixes this issue.
Created attachment 97719 [details] build break fix
I encountered following errors when building webkit with --enable-webkit2 --with-gtk=3.0 options: --enable-webkit2 --with-gtk=3.0 /bin/mkdir -p ./.deps/DerivedSources ../../../../sources/WebKit/WebKit/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp: In static member function ‘static WTF::PassRefPtr<WebKit::SharedMemory> WebKit::SharedMemory::create(size_t)’: ../../../../sources/WebKit/WebKit/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp:115:60: error: ‘g_get_tmp_dir’ was not declared in this scope ../../../../sources/WebKit/WebKit/Source/WebKit2/Platform/unix/SharedMemoryUnix.cpp:115:92: error: ‘g_build_filename’ was not declared in this scope make[1]: *** [Source/WebKit2/Platform/unix/libwebkit2gtk_3_0_la-SharedMemoryUnix.lo] Błąd 1 make[1]: *** Oczekiwanie na niezakończone zadania.... ../../../../sources/WebKit/WebKit/Source/WebKit2/Shared/gtk/WebCoreArgumentCodersGtk.cpp: In static member function ‘static bool CoreIPC::ArgumentCoder<WebCore::ResourceRequest>::decode(CoreIPC::ArgumentDecoder*, WebCore::ResourceRequest&)’: ../../../../sources/WebKit/WebKit/Source/WebKit2/Shared/gtk/WebCoreArgumentCodersGtk.cpp:81:60: error: invalid use of incomplete type ‘struct WTF::CString’ ../../../../sources/WebKit/WebKit/Source/JavaScriptCore/wtf/Forward.h:38:11: error: forward declaration of ‘struct WTF::CString’ make[1]: *** [Source/WebKit2/Shared/gtk/libwebkit2gtk_3_0_la-WebCoreArgumentCodersGtk.lo] Błąd 1 ../../../../sources/WebKit/WebKit/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp: In member function ‘virtual void WebKit::PageClientImpl::setCursor(const WebCore::Cursor&)’: ../../../../sources/WebKit/WebKit/Source/WebKit2/UIProcess/API/gtk/PageClientImpl.cpp:145:34: error: invalid use of incomplete type ‘const struct WebCore::Cursor’ ../../../../sources/WebKit/WebKit/Source/WebKit2/Shared/WebCoreArgumentCoders.h:35:11: error: forward declaration of ‘const struct WebCore::Cursor’ Attached patch fixes these build breaks
Created attachment 97720 [details] build break fix additionally small fix in my changelog entry
Comment on attachment 97720 [details] build break fix Clearing flags on attachment: 97720 Committed r89360: <http://trac.webkit.org/changeset/89360>
All reviewed patches have been landed. Closing bug.