[Xcb] [RFC PATCH] New XCB socket handoff mechanism for Xlib/XCB and other libraries

James Cloos cloos at jhcloos.com
Sun Mar 16 11:38:36 PDT 2008

First of all:  Way Cool!

That said, the removal of libxcb-xlib.so and libxcb-xlib.la will cause
some upgrade effort for those compiling locally -- including those using
dists like Gentoo which build from src.

I believe -- but haven't tested yet -- it will be sufficient to remove
the references to /usr/lib/libxcb-xlib.la from any .la files which
contain it, right after upgrading to xcb and xlib with these patches.

A sed, awk, perl, etc oneliner ought to do it.  Something like:

:; perl -pi.~1~ -e 's|/usr/lib/libxcb-xlib.la||' /usr/lib/*.la

or so.  And don't forget /usr/local/lib, lib dirs under /opt, etc.

James Cloos <cloos at jhcloos.com>         OpenPGP: 1024D/ED7DAEA6

More information about the Xcb mailing list