Build Webkit with Waylnad backend and wayland plugins

Mika Boström mika.bostrom at nomovok.com
Thu May 31 05:12:14 PDT 2012


On 05/31/12 14:43, suranjana.bhattacharya at wipro.com wrote:
> Hello, I am trying to build webkit 1.8.0 with Wayland backend .
> Following are the configuration I am working with.
> 
> 1. Wayland : 0.85
> 2. Webkit : 1.8.0
> 3. gtk +-3.4
> 
> I found that webkit is using gtk plugins which is internally
> referring  X11 macro. Can anyone help me which are the files I need
> to look to remove  X11 plugin dependencies from webkit and build it
> with Wayland backend

I've done that once, for an earlier gtkwebkit version. (Can't release
code, as it was done for a client.) You may want to check
https://bugs.webkit.org/show_bug.cgi?id=81456 for some hints I provided
for Darxus.

So you'll need to change the autoconf/automake files a bit, use the
dummy NPAPI implementation and check that all uses of plugins behave
properly.

You'll probably also need to see whether PlatformScreenGtk.cpp works
properly with the modified build flags. It used to call gdk_x11_FOO()
for me. Could be fixed in 1.8.0 but haven't looked recently.

-- 
 Mika Boström / mika.bostrom at nomovok.com
 Software Architect



More information about the wayland-devel mailing list