Pullup ticket #3327 - requested by markd
[pkgsrcv2.git] / x11 / xcb-proto / DESCR
1 About xcb-proto
2 ===============
3
4 The xcb-proto package provides the XML-XCB (X C Bindings) protocol
5 descriptions that libxcb uses to generate the majority of its code and API.
6 We provide them separately from libxcb to allow reuse by other projects,
7 such as additional language bindings, protocol dissectors, or
8 documentation generators.
9
10 Separation of XCB's transport and protocol layers simplifies both
11 writing extensions and client-side support for extensions.
12 By contrast, with the xlib infrastructure, client-side support for
13 new extensions requires significant duplication of effort. With XCB and
14 the XML-XCB protocol descriptions, client-side support for a new
15 extension requires only an XML description of the extension--and not a
16 single line of code.
17
18 Python libraries: xcb-proto also contains language-independent Python
19 libraries that are used to parse an XML description and create objects
20 used by Python code generators in individual language bindings.