Can I have GTK+ running on X without a libX11 dependency



I want to use xcb as the GDK backend , so I download the gtkxcb source
code from 
https://projects.cecs.pdx.edu/svn/XCB_GTK/ and build gtkxcb ,
  ./configure --with-gdktarget=x11-xcb  --with-xcb
then I get libgdk-x11-xcb-2.0.so.0.703.3 .
but I find libgdk-x11-xcb still denpends on libX11.

root yang:/Helium/host/lib# ldd libgdk-x11-xcb-2.0.so.0.703.3 | grep
libX
        libXext.so.6 => /Helium/host/lib/libXext.so.6 (0xb7eb6000)
        libX11.so.6 => /Helium/host/lib/libX11.so.6 (0xb7dce000)
        libXCB.so.0 => /Helium/host/lib/libXCB.so.0 (0xb7da7000)
        libXau.so.6 => /Helium/host/lib/libXau.so.6 (0xb7da4000)
        libXft.so.2 => /Helium/host/lib/libXft.so.2 (0xb7d4d000)
        libXrandr.so.2 => /Helium/host/lib/libXrandr.so.2 (0xb7cba000)
        libXrender.so.1 => /Helium/host/lib/libXrender.so.1 (0xb7cb3000)
        libXcursor.so.1 => /Helium/host/lib/libXcursor.so.1 (0xb7b57000)

How can I build gtk on xcb only , not depends on libX11 ?
thanks .

jianjuny 
 <jianjuny mobilesoft com cn>




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]