[Xcb] Splitting xcb-util

Arnaud Fontaine arnaud at andesi.org
Thu Mar 18 15:19:27 PDT 2010


>>>>> Alan Coopersmith <Alan.Coopersmith at Sun.COM> writes:

    > Given that xcb is basically  becoming a required part of X.Org's X
    > Window System  distribution, why not just add  them to xorg-macros
    > and use it in xcb?

That  would be definitely  better.  Moreover,  xorg-macros.m4.in already
defines  macro used  in  libxcb  and xcb-util,  such  as CWARNFLAGS  and
Doxygen.

I have quickly had a look at xorg-macros.m4.in and at a first glance, we
would  have to  add the  following for  xcb-util:  AX_COMPARE_VERSION, a
macro to check which version of  xcb-proto has been used to build libxcb
(specific to  xcb-util), M4 checks  (specific to xcb-util)  and possibly
common checks to xcb-util  libraries. Concerning libxcb itself, we would
have  to  add  XCB_EXTENSION  macro.   Is  there  any  "common"  doxygen
configuration file, and if not, would it be possible to add somewhere?

Cheers,
Arnaud


More information about the Xcb mailing list