build gdk on cairo-xcb
- From: Jianjun Yang - 杨建军 <Jianjun Yang palmsource com>
- To: <gtk-devel-list gnome org>
- Subject: build gdk on cairo-xcb
- Date: Sat, 14 Jan 2006 13:11:29 +0800
hi, everybody
I want to build gtk+ with xcb instead of xlib .so first I build cairo-1.0.2 using "--enable-xcb --disable-xlib" as the configure option. then i build pango-1.10.0 , finally i build gtk+-2.8.9 , but i met the following error:
In file included from gdkdrawable-x11.c:32:
/Helium/host/include/cairo/cairo-xlib.h:76:3: #error Cairo was not compiled with support for the xlib backend.
i found that gdkdrawable-x11.c include cairo-xlib.h only. i think there should be any conditional compile in gdkdrawable-x11.c, just include cairo-xlib.h or cairo-xcb.h alternatively.
gdkdrawable-x11.c only have these xlib functions :
cairo_xlib_surface_set_size
cairo_xlib_surface_create
cairo_xlib_surface_create_for_bitmap
it should also have these xcb functions:
cairo_xcb_surface_set_size
cairo_xcb_surface_create
cairo_xcb_surface_create_for_bitmap
is there gdkdrawable-x11.c that use cairo-xcb yet ?
-jianjun
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]