Your going to have to do a lot more work then that unless you use a
xcb xlib wrapper.
Gdk needs to be ported.
If size is and issue you could also consider the directfb port its
getting fairly stable these days we can run gimp reasonably well now.
Otherwise check through the list there was talk of a xcb gdk backend.

Mike

On 1/13/06, Jianjun Yang - 杨建军 <[EMAIL PROTECTED]> wrote:
>
> 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
> _______________________________________________
> gtk-devel-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gtk-devel-list
>
_______________________________________________
gtk-devel-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/gtk-devel-list

Reply via email to