[webkit-dev] help with porting

Holger Freyther zecke at selfish.org
Thu May 22 06:06:05 PDT 2008

On Thursday 22 May 2008 13:21:59 Luka Napotnik wrote:
> Hello.
> I am interested in porting webkit to cairo for off-screen rendering
> without a X server. As I cannot find any documents about porting to
> other platform I would really appreciate if you could help me with some
> hints about porting webkit.

Start with an existing port using cairo (e.g. the Gtk+ one) change the 
buildsystem (e.g. configure.ac and GNUmakefile.am for the Gtk+ one) to remove 
everything that is GUI/X related from the buildsystem. Hack until the thing 
compiles. On this way you will notice that:
	- Adding your cairo platform to Platform.h
	- Cursors
	- Drag and Drop
	- Fonts...
	- RenderTheme
	- No API (WebKit)

will cross your way. Resolve each problem and you are done. Happy hacking

More information about the webkit-dev mailing list