[webkit-help] Build without NPAPI ?

M P buserror at gmail.com
Thu Mar 18 04:48:37 PDT 2010


On Thu, Mar 18, 2010 at 11:08 AM, Ariya Hidayat <ariya.hidayat at gmail.com> wrote:
>> I'm trying to build without NETSCAPE_PLUGIN_API (that in turn wants
>> libx11 etc) -- is there a way to do so from the ./config line or do I
>> have to apply some patch ?
>
> Next time, you need to state first which port you are using (Qt/Gtk/wx?).
>
> One solution would be to tweak ENABLE_NETSCAPE_PLUGIN_API in
> JavaScriptCore/wtf/Platform.h.

I added a:
#define ENABLE_NETSCAPE_PLUGIN_API 0
bang in the middle of that file, and it still tries to compile the
thing anyway, regardless

./WebCore/bridge/npapi.h:275: error: 'Colormap' does not name a type
..etc

How does everyone else build webkit on unix without xorg ? there is a
gtk/directfb target, but it can't seem to work in this state.
Am I going to have to build and roll in libx* bloat even tho I don't
even want to use plugins ?

Michael


More information about the webkit-help mailing list