[webkit-help] How to get rid of Netscape plugin API

Yavor Atov yatov at gcn.bg
Thu Apr 1 03:15:44 PDT 2010


Hi everybody,

I'm asking you a question you are already familiar with, but I haven't
seen a solution yet. I want to build WebKit wiht GTK+/DirectFB as a
backend for the set-top box NXP STB225 and get an error:

/bin/mkdir -p ./.deps/DerivedSources
  CXX    WebCore/bindings/js/libwebkit_1_0_la-ScriptDebugServer.lo
In file included from ./WebCore/bridge/npruntime_internal.h:28,
                 from ./WebCore/plugins/PluginStream.h:40,
                 from ./WebCore/plugins/PluginView.h:36,
                 from WebCore/bindings/js/ScriptDebugServer.cpp:44:
./WebCore/bridge/npapi.h:105:26: error: X11/Xlib.h: No such file or
directory
./WebCore/bridge/npapi.h:106:27: error: X11/Xutil.h: No such file or
directory
In file included from ./WebCore/plugins/PluginStream.h:40,
                 from ./WebCore/plugins/PluginView.h:36,
                 from WebCore/bindings/js/ScriptDebugServer.cpp:44:
./WebCore/bridge/npruntime_internal.h:33:31: error: X11/Xresource.h: No
such file or directory

I understand that I need X11 to build the Netscape plugin API, but I
can't provide it. I'm using DirectFB instead. Actually I don't need that
API at all.

I can't see the point of the option --with-target=directfb, as X11 is
needed anyway.

So my question is: Is there a way to build WebKit without Netscape
plugin API (npapi).

I found that I can unset the flag ENABLE_NETSCAPE_PLUGIN_API and I did
it anywhere I found it, but it doesn't work.

Also I succeeded to build version r31321 with the Buildroot building
system. I can' understand how. Anyway I need a newer version.

Thanks,

Yavor



More information about the webkit-help mailing list