Bug 5462

Summary: webkit doesn't build on directfb
Product: buildroot Reporter: Vincent de RIBOU <belzo2005-dolphin>
Component: OtherAssignee: unassigned
Status: RESOLVED WONTFIX    
Severity: minor CC: buildroot
Priority: P5    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Host: Target:
Build:
Attachments: webkit build log
config file

Description Vincent de RIBOU 2012-08-17 12:40:45 UTC
Created attachment 4502 [details]
webkit build log

Hi all,

I am using 'qemu x86 defconfig' predefined options set with additionnal packages to build webkit 1.2.7 on directfb.

But it fails on building webkit due to X11 message like:
WebCore/bridge/npapi.h:105:26: fatal error: X11/Xlib.h: No such file or directory

Please find in attachment config file and webkit log.
Comment 1 Vincent de RIBOU 2012-08-17 12:41:17 UTC
Created attachment 4508 [details]
config file
Comment 2 Thomas Petazzoni 2012-08-17 16:16:26 UTC
Thanks Vincent for the report. It is similar to http://autobuild.buildroot.net/results/74637e3a3e4c37c3af0f3662504c28332e9c586c/build-end.log.

We need to investigate if this is really Webkit that doesn't support DirectFB as a Gtk backend. If this is the case, then we simply need to prevent Webkit from being built if the selected Gtk backend is DirectFB.

Or it is just a bug in Webkit that shouldn't include this header file, or should include it conditionnally or something like that.

I personaly don't have enough time right now to dig into Webkit, so if you could have a look at this and give us your conclusions, it would be great. Thanks!
Comment 3 Thomas Petazzoni 2013-05-26 17:05:12 UTC
We have deprecated the DirectFB backend of Gtk, because it is unmaintained upstream, and it has been causing build issues for quite some time. Therefore, Gtk-Webkit on top of DirectFB is mostly dead, unless someone steps up with the corresponding upstream projects to maintain the DirectFB backend.