Trying porting back WebKit

Guido Soranzio guido.soranzio at gmail.com
Fri Jan 25 01:29:34 PST 2008


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. 


More information about the macports-dev mailing list