I am attempting to build webkit-1.4.2 against GTK3 cross-compiling from Fedora Core 15 with the mingw32 toolchain. After fixing a bug with the gtk3 missing gdk/win32 headers, I am attempting to compile webkitgtk against gtk3. Compile fails with the following message: CXX Source/WebCore/plugins/gtk/libwebkitgtk_3_0_la-PluginViewGtk.lo Source/WebCore/plugins/gtk/PluginViewGtk.cpp: In member function 'bool WebCore::PluginView::platformStart()': Source/WebCore/plugins/gtk/PluginViewGtk.cpp:834:42: error: 'gtk_socket_new' was not declared in this scope GtkSocket is not available with the gdk/win32 backend, only with X11.
Created attachment 102346 [details] Don't use gtk_socket_new Don't use gtk_socket_new if using GDK_WINDOWING_WIN32 and GTK3, since GtkSocket is X11 only in Gtk3 Not sure it will work, but it compiles.
If you want to get the patch included, should format it with svn-create-patch as described in http://www.webkit.org/coding/contributing.html and raise the review? flag.
Comment on attachment 102346 [details] Don't use gtk_socket_new View in context: https://bugs.webkit.org/attachment.cgi?id=102346&action=review > webkit-1.4.2/Source/WebCore/plugins/gtk/PluginViewGtk.cpp:830 > +#if defined(GDK_WINDOWING_WIN32) && !defined(GTK_API_VERSION_2) > + setPlatformWidget(0); This should be #if PLATFORM(WINDOWS) instead of GDK_WINDOWING_WIN32, I think. 1.4.2 is very old, but this patch seems to be still necessary. It needs to be fixed to build on master, and have a ChangeLog entry like kalev mentioned.
Created attachment 130835 [details] Updated patch with changelog entry
Attachment 130835 [details] did not pass style-queue: Failed to run "['Tools/Scripts/check-webkit-style', '--diff-files', u'Source/WebCore/ChangeLog', u'Source/WebCor..." exit_code: 1 Source/WebCore/ChangeLog:11: Line contains tab character. [whitespace/tab] [5] Total errors found: 1 in 2 files If any of these errors are false positives, please file a bug against check-webkit-style.
Created attachment 130841 [details] Updated patch with changelog entry
Comment on attachment 130841 [details] Updated patch with changelog entry Clearing flags on attachment: 130841 Committed r110178: <http://trac.webkit.org/changeset/110178>
All reviewed patches have been landed. Closing bug.