[Xcb] [PATCH v4 libxcb 00/11] Autoconf: apply X.Org default configuration to XCB

Gaetan Nadon memsize at videotron.ca
Tue Jan 7 10:57:23 PST 2014

*** v4 rebases patch #3

*** All patches reviewed and ready to be pushed
*** Replaces all previous pataches 

XCB has been part of X.Org for a while now. This patch will harmonize the XCB
configuration, using xorg-macros series of macros. It is already used in the
XCB utils packages and is needed to build xcb-proto.

The main changes are the use of the C99 standard and the xorg warning flags.
Xorg was missing -fd for SUNCC so it has been added to util-macros v 1.18.
Xorg also added the check for the DOT graphics tool which will be available
to all other xorg modules as well.

In m4/xcb.m4, the check for visibility does not cover the Sun compiler which
has -xldscope=hidden. This has been left as it is.

*** Requires util-macros version 1.18.0 published Dec 3rd.
*** Version 2 fixes tabs vs spaces issues in patch #3
    Also adds patches #8
*** I do not have commit access to push the patches

Man pages:
Following the convention used in all xorg man pages, the footer becomes:
X Version 11                      libxcb 1.9                 xcb_send_event(3)

The left and center strings are supplied by the makefile and passed to the
python program.

The static man pages are moved to their own man directory, using the same
build idiom as the other 160 xorg man pages makefile.

The generated man pages remain where they are for obvious reasons. The
makefile is changed such that the file extension is not hard-coded. This
is possible as the hand written man pages have moved out.

Gaetan Nadon (11):
  autoconf: use XORG_DEFAULT_OPTIONS
  autoconf: use the warning variables from xorg
  autoconf: AC_INIT: add bug url
  autoconf: comment and layout the initialization section
  autoconf: require libtool minimum level 2.2
  autoconf: fix warning by replacing deprecated AC_HELP_STRING
  autoconf: use default xorg configuration for doxygen documentation
  autoconf: replace all tabs with spaces
  man: build static man pages using xorg patterns
  generated man pages: build without hard coded extension
  generated man pages: use xorg footer and no hard coded extension

 Makefile.am                                    |    2 +-
 configure.ac                                   |  163 ++++++++++++------------
 doc/Makefile.am                                |    6 +-
 m4/xcb.m4                                      |   89 -------------
 man/.gitignore                                 |    1 +
 man/Makefile.am                                |   18 +++
 src/man/xcb-examples.3 => man/xcb-examples.man |    8 +-
 src/man/xcb-requests.3 => man/xcb-requests.man |   12 +-
 src/Makefile.am                                |   19 +--
 src/c_client.py                                |   52 ++++----
 src/man/.gitignore                             |    5 +-
 11 files changed, 156 insertions(+), 219 deletions(-)
 create mode 100644 man/.gitignore
 create mode 100644 man/Makefile.am
 rename src/man/xcb-examples.3 => man/xcb-examples.man (92%)
 rename src/man/xcb-requests.3 => man/xcb-requests.man (95%)


More information about the Xcb mailing list