On Jan 25, 2008, at 7:24 AM, Randall Wood wrote:
Your best bet maybe to work with the WebKit developers, as WebKit is not Apple (its mostly Apple, but not just Apple).
Indeed, the problem is that the includes of AplicationServices.framework are evaluated even when PLATFORM(GTK) is defined. I tried to add post-configure { reinplace "s|-Wl,-framework,CoreServices,- framework,ApplicationServices ||" \ ${worksrcpath}/GNUmakefile \ ${worksrcpath}/WebKit/gtk/WebKitGtk.pc } and to nullify the line FRAMEWORK_SEARCH_PATHS = $(SYSTEM_LIBRARY_DIR)/Frameworks/ Carbon.framework/Frameworks $(SYSTEM_LIBRARY_DIR)/Frameworks/ ApplicationServices.framework/Frameworks $(FRAMEWORK_SEARCH_PATHS); from Webcore/Configurations/WebCore.xcconfig but, when Frame.cpp is compiled, the double definition of the struct Cursor is still imported from the Carbon system includes. Perhaps hacking WebCore/plaform/Cursor.h could solve it.