Edwin James
2015-12-23 05:20:34 UTC
Hello All,
I have downloaded the latest WebkitGTK+ in linux & compiled & ran. The
browser looks great.
How ever our existing platform has a support for DirectFB drivers. Where
the WebkitGTK+ kit doesnt seem to support directFB directly.
I have seen in forums , still the WebKITGT+ can be built with directFB as
backend using the cairo. I tried to build cairo with directFBbackend ,
without X library.
But it throws me error
---------------------------------------------------------------------------------------------------------
kit2gtk-4.0.so.37.10.0 @CMakeFiles/WebKit2.rsp && :
Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp.o:NetscapePluginX11.cpp:function
WebKit::NetscapePlugin::platformPaint(WebCore::GraphicsContext&,
WebCore::IntRect const&, bool): error: undefined reference to
'cairo_xlib_surface_create'
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/BackingStoreBackendCairoX11.cpp.o):BackingStoreBackendCairoX11.cpp:function
WebCore::BackingStoreBackendCairoX11::BackingStoreBackendCairoX11(unsigned
long, Visual*, int, WebCore::IntSize const&, float): error: undefined
reference to 'cairo_xlib_surface_create'
---------------------------------------------------------------------------------------------------------
Looks like still GTK depends on X libraries.
Can you please give more idea whether its possible to build the GTK+ ,
cairo + directFB alone ( excluding the xlibrary)
Appreciate the help.
Best Regards
-Edwin
I have downloaded the latest WebkitGTK+ in linux & compiled & ran. The
browser looks great.
How ever our existing platform has a support for DirectFB drivers. Where
the WebkitGTK+ kit doesnt seem to support directFB directly.
I have seen in forums , still the WebKITGT+ can be built with directFB as
backend using the cairo. I tried to build cairo with directFBbackend ,
without X library.
But it throws me error
---------------------------------------------------------------------------------------------------------
kit2gtk-4.0.so.37.10.0 @CMakeFiles/WebKit2.rsp && :
Source/WebKit2/CMakeFiles/WebKit2.dir/WebProcess/Plugins/Netscape/x11/NetscapePluginX11.cpp.o:NetscapePluginX11.cpp:function
WebKit::NetscapePlugin::platformPaint(WebCore::GraphicsContext&,
WebCore::IntRect const&, bool): error: undefined reference to
'cairo_xlib_surface_create'
lib/libWebCoreGTK.a(lib/../Source/WebCore/CMakeFiles/WebCore.dir/platform/graphics/cairo/BackingStoreBackendCairoX11.cpp.o):BackingStoreBackendCairoX11.cpp:function
WebCore::BackingStoreBackendCairoX11::BackingStoreBackendCairoX11(unsigned
long, Visual*, int, WebCore::IntSize const&, float): error: undefined
reference to 'cairo_xlib_surface_create'
---------------------------------------------------------------------------------------------------------
Looks like still GTK depends on X libraries.
Can you please give more idea whether its possible to build the GTK+ ,
cairo + directFB alone ( excluding the xlibrary)
Appreciate the help.
Best Regards
-Edwin