[PATCH] Replace libx11 by libxcb

Julien Danjou julien at danjou.info
Tue Jul 27 13:19:30 PDT 2010

On Tue, Jul 27 2010, Thiago Macieira wrote:

> Anyway, I'm not opposed to supporting XCB. I am opposed to removing
> X11.

That's clear.

> If you can make both codepaths live in harmony, we can take the patch. 
> Provided it doesn't make the code more complex, of course.

It should just add some #ifdef I guess. If you can live with that, I can
add the following changes:

- change configure.in to use libxcb if available, or fallback to libx11,
  or disable X11 support if no one is present
- add some #ifdef between xcb/xlib code.

>> New X.org katamari will therefore brings XCB in a mandatory way, whereas
>> it was previously optional.
> So you're saying that libX11 will be dropped? If it will, then that X.org 
> release will be irrelevant.

No no. I'm just saying that libxcb will be part of the X.org
katamari/releases, like libX11 already is.

[ You can use libX11 or libxcb to communicate to the X server: using
  libX11 is now equivalent to using an interface built on top of libxcb.
  (I'm simplifying a bit, but that's the general idea) ]

Julien Danjou
// ᐰ <julien at danjou.info>   http://julien.danjou.info
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/dbus/attachments/20100727/913e41be/attachment.pgp>

More information about the dbus mailing list