From 9605e865e5fa7afad87f4dfce55de67551421e95 Mon Sep 17 00:00:00 2001 From: Josh Triplett Date: Sat, 18 Feb 2006 16:49:41 -0800 Subject: [PATCH] Remove xcl and CVSROOT. --- .cvsignore | 17 + COPYING | 30 + INSTALL | 229 +++++ Makefile.am | 6 + TODO | 39 + autogen.sh | 3 + configure.ac | 14 + debian/.cvsignore | 5 + debian/changelog | 28 + debian/control | 26 + debian/copyright.debian | 12 + debian/docs | 1 + debian/rules | 18 + doc/xml-xcb.txt | 275 ++++++ src/.cvsignore | 2 + src/Makefile.am | 22 + src/extensions/bigreq.xml | 36 + src/extensions/composite.xml | 80 ++ src/extensions/damage.xml | 78 ++ src/extensions/dpms.xml | 76 ++ src/extensions/glx.xml | 1455 ++++++++++++++++++++++++++++ src/extensions/randr.xml | 147 +++ src/extensions/record.xml | 172 ++++ src/extensions/render.xml | 569 +++++++++++ src/extensions/res.xml | 80 ++ src/extensions/screensaver.xml | 128 +++ src/extensions/shape.xml | 147 +++ src/extensions/shm.xml | 111 +++ src/extensions/sync.xml | 177 ++++ src/extensions/xc_misc.xml | 37 + src/extensions/xevie.xml | 84 ++ src/extensions/xf86dri.xml | 168 ++++ src/extensions/xfixes.xml | 322 +++++++ src/extensions/xprint.xml | 325 +++++++ src/extensions/xv.xml | 429 +++++++++ src/extensions/xvmc.xml | 140 +++ src/xcb.xsd | 220 +++++ src/xcb_types.xml | 228 +++++ src/xproto.xml | 1657 ++++++++++++++++++++++++++++++++ xcb-proto.pc.in | 7 + 40 files changed, 7600 insertions(+) create mode 100644 .cvsignore create mode 100644 COPYING create mode 100644 INSTALL create mode 100644 Makefile.am create mode 100644 TODO create mode 100755 autogen.sh create mode 100644 configure.ac create mode 100644 debian/.cvsignore create mode 100644 debian/changelog create mode 100644 debian/control create mode 100644 debian/copyright.debian create mode 100644 debian/docs create mode 100755 debian/rules create mode 100644 doc/xml-xcb.txt create mode 100644 src/.cvsignore create mode 100644 src/Makefile.am create mode 100644 src/extensions/bigreq.xml create mode 100644 src/extensions/composite.xml create mode 100644 src/extensions/damage.xml create mode 100644 src/extensions/dpms.xml create mode 100644 src/extensions/glx.xml create mode 100644 src/extensions/randr.xml create mode 100644 src/extensions/record.xml create mode 100644 src/extensions/render.xml create mode 100644 src/extensions/res.xml create mode 100644 src/extensions/screensaver.xml create mode 100644 src/extensions/shape.xml create mode 100644 src/extensions/shm.xml create mode 100644 src/extensions/sync.xml create mode 100644 src/extensions/xc_misc.xml create mode 100644 src/extensions/xevie.xml create mode 100644 src/extensions/xf86dri.xml create mode 100644 src/extensions/xfixes.xml create mode 100644 src/extensions/xprint.xml create mode 100644 src/extensions/xv.xml create mode 100644 src/extensions/xvmc.xml create mode 100644 src/xcb.xsd create mode 100644 src/xcb_types.xml create mode 100644 src/xproto.xml create mode 100644 xcb-proto.pc.in diff --git a/.cvsignore b/.cvsignore new file mode 100644 index 0000000..3d5e104 --- /dev/null +++ b/.cvsignore @@ -0,0 +1,17 @@ +Makefile +Makefile.in +aclocal.m4 +autom4te.cache +compile +config.guess +config.log +config.status +config.sub +configure +depcomp +install-sh +libtool +ltmain.sh +missing +mkinstalldirs +*.pc diff --git a/COPYING b/COPYING new file mode 100644 index 0000000..8c328d3 --- /dev/null +++ b/COPYING @@ -0,0 +1,30 @@ +Copyright (C) 2001-2004 Bart Massey, Jamey Sharp, and Josh Triplett. +All Rights Reserved. + +Permission is hereby granted, free of charge, to any person +obtaining a copy of this software and associated +documentation files (the "Software"), to deal in the +Software without restriction, including without limitation +the rights to use, copy, modify, merge, publish, distribute, +sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, +subject to the following conditions: + +The above copyright notice and this permission notice shall +be included in all copies or substantial portions of the +Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY +KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE +WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR +PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS +BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER +IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR +OTHER DEALINGS IN THE SOFTWARE. + +Except as contained in this notice, the names of the authors +or their institutions shall not be used in advertising or +otherwise to promote the sale, use or other dealings in this +Software without prior written authorization from the +authors. diff --git a/INSTALL b/INSTALL new file mode 100644 index 0000000..54caf7c --- /dev/null +++ b/INSTALL @@ -0,0 +1,229 @@ +Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002 Free Software +Foundation, Inc. + + This file is free documentation; the Free Software Foundation gives +unlimited permission to copy, distribute and modify it. + +Basic Installation +================== + + These are generic installation instructions. + + The `configure' shell script attempts to guess correct values for +various system-dependent variables used during compilation. It uses +those values to create a `Makefile' in each directory of the package. +It may also create one or more `.h' files containing system-dependent +definitions. Finally, it creates a shell script `config.status' that +you can run in the future to recreate the current configuration, and a +file `config.log' containing compiler output (useful mainly for +debugging `configure'). + + It can also use an optional file (typically called `config.cache' +and enabled with `--cache-file=config.cache' or simply `-C') that saves +the results of its tests to speed up reconfiguring. (Caching is +disabled by default to prevent problems with accidental use of stale +cache files.) + + If you need to do unusual things to compile the package, please try +to figure out how `configure' could check whether to do them, and mail +diffs or instructions to the address given in the `README' so they can +be considered for the next release. If you are using the cache, and at +some point `config.cache' contains results you don't want to keep, you +may remove or edit it. + + The file `configure.ac' (or `configure.in') is used to create +`configure' by a program called `autoconf'. You only need +`configure.ac' if you want to change it or regenerate `configure' using +a newer version of `autoconf'. + +The simplest way to compile this package is: + + 1. `cd' to the directory containing the package's source code and type + `./configure' to configure the package for your system. If you're + using `csh' on an old version of System V, you might need to type + `sh ./configure' instead to prevent `csh' from trying to execute + `configure' itself. + + Running `configure' takes awhile. While running, it prints some + messages telling which features it is checking for. + + 2. Type `make' to compile the package. + + 3. Optionally, type `make check' to run any self-tests that come with + the package. + + 4. Type `make install' to install the programs and any data files and + documentation. + + 5. You can remove the program binaries and object files from the + source code directory by typing `make clean'. To also remove the + files that `configure' created (so you can compile the package for + a different kind of computer), type `make distclean'. There is + also a `make maintainer-clean' target, but that is intended mainly + for the package's developers. If you use it, you may have to get + all sorts of other programs in order to regenerate files that came + with the distribution. + +Compilers and Options +===================== + + Some systems require unusual options for compilation or linking that +the `configure' script does not know about. Run `./configure --help' +for details on some of the pertinent environment variables. + + You can give `configure' initial values for configuration parameters +by setting variables in the command line or in the environment. Here +is an example: + + ./configure CC=c89 CFLAGS=-O2 LIBS=-lposix + + *Note Defining Variables::, for more details. + +Compiling For Multiple Architectures +==================================== + + You can compile the package for more than one kind of computer at the +same time, by placing the object files for each architecture in their +own directory. To do this, you must use a version of `make' that +supports the `VPATH' variable, such as GNU `make'. `cd' to the +directory where you want the object files and executables to go and run +the `configure' script. `configure' automatically checks for the +source code in the directory that `configure' is in and in `..'. + + If you have to use a `make' that does not support the `VPATH' +variable, you have to compile the package for one architecture at a +time in the source code directory. After you have installed the +package for one architecture, use `make distclean' before reconfiguring +for another architecture. + +Installation Names +================== + + By default, `make install' will install the package's files in +`/usr/local/bin', `/usr/local/man', etc. You can specify an +installation prefix other than `/usr/local' by giving `configure' the +option `--prefix=PATH'. + + You can specify separate installation prefixes for +architecture-specific files and architecture-independent files. If you +give `configure' the option `--exec-prefix=PATH', the package will use +PATH as the prefix for installing programs and libraries. +Documentation and other data files will still use the regular prefix. + + In addition, if you use an unusual directory layout you can give +options like `--bindir=PATH' to specify different values for particular +kinds of files. Run `configure --help' for a list of the directories +you can set and what kinds of files go in them. + + If the package supports it, you can cause programs to be installed +with an extra prefix or suffix on their names by giving `configure' the +option `--program-prefix=PREFIX' or `--program-suffix=SUFFIX'. + +Optional Features +================= + + Some packages pay attention to `--enable-FEATURE' options to +`configure', where FEATURE indicates an optional part of the package. +They may also pay attention to `--with-PACKAGE' options, where PACKAGE +is something like `gnu-as' or `x' (for the X Window System). The +`README' should mention any `--enable-' and `--with-' options that the +package recognizes. + + For packages that use the X Window System, `configure' can usually +find the X include and library files automatically, but if it doesn't, +you can use the `configure' options `--x-includes=DIR' and +`--x-libraries=DIR' to specify their locations. + +Specifying the System Type +========================== + + There may be some features `configure' cannot figure out +automatically, but needs to determine by the type of machine the package +will run on. Usually, assuming the package is built to be run on the +_same_ architectures, `configure' can figure that out, but if it prints +a message saying it cannot guess the machine type, give it the +`--build=TYPE' option. TYPE can either be a short name for the system +type, such as `sun4', or a canonical name which has the form: + + CPU-COMPANY-SYSTEM + +where SYSTEM can have one of these forms: + + OS KERNEL-OS + + See the file `config.sub' for the possible values of each field. If +`config.sub' isn't included in this package, then this package doesn't +need to know the machine type. + + If you are _building_ compiler tools for cross-compiling, you should +use the `--target=TYPE' option to select the type of system they will +produce code for. + + If you want to _use_ a cross compiler, that generates code for a +platform different from the build platform, you should specify the +"host" platform (i.e., that on which the generated programs will +eventually be run) with `--host=TYPE'. + +Sharing Defaults +================ + + If you want to set default values for `configure' scripts to share, +you can create a site shell script called `config.site' that gives +default values for variables like `CC', `cache_file', and `prefix'. +`configure' looks for `PREFIX/share/config.site' if it exists, then +`PREFIX/etc/config.site' if it exists. Or, you can set the +`CONFIG_SITE' environment variable to the location of the site script. +A warning: not all `configure' scripts look for a site script. + +Defining Variables +================== + + Variables not defined in a site shell script can be set in the +environment passed to `configure'. However, some packages may run +configure again during the build, and the customized values of these +variables may be lost. In order to avoid this problem, you should set +them in the `configure' command line, using `VAR=value'. For example: + + ./configure CC=/usr/local2/bin/gcc + +will cause the specified gcc to be used as the C compiler (unless it is +overridden in the site shell script). + +`configure' Invocation +====================== + + `configure' recognizes the following options to control how it +operates. + +`--help' +`-h' + Print a summary of the options to `configure', and exit. + +`--version' +`-V' + Print the version of Autoconf used to generate the `configure' + script, and exit. + +`--cache-file=FILE' + Enable the cache: use and save the results of the tests in FILE, + traditionally `config.cache'. FILE defaults to `/dev/null' to + disable caching. + +`--config-cache' +`-C' + Alias for `--cache-file=config.cache'. + +`--quiet' +`--silent' +`-q' + Do not print messages saying which checks are being made. To + suppress all normal output, redirect it to `/dev/null' (any error + messages will still be shown). + +`--srcdir=DIR' + Look for the package's source code in directory DIR. Usually + `configure' can determine that directory automatically. + +`configure' also accepts some other, not widely useful, options. Run +`configure --help' for more details. + diff --git a/Makefile.am b/Makefile.am new file mode 100644 index 0000000..c7d872c --- /dev/null +++ b/Makefile.am @@ -0,0 +1,6 @@ +SUBDIRS=src + +pkgconfigdir = $(libdir)/pkgconfig +pkgconfig_DATA = xcb-proto.pc + +EXTRA_DIST=xcb-proto.pc.in diff --git a/TODO b/TODO new file mode 100644 index 0000000..4527166 --- /dev/null +++ b/TODO @@ -0,0 +1,39 @@ +Last Updated: 01/15/06 + +Extension Status: + +X - Present, tested, works. +U - Present, untested. +I - Incomplete. + +X BIG-REQESTS +X COMPOSITE +X DAMAGE + DOUBLE-BUFFER +X DPMS +X GLX + LBX +X MIT-SCREEN-SAVER +X MIT-SHM + MIT-SUNDRY-NONSTANDARD + Multi-Buffering +X RANDR +X RECORD +X RENDER +X SHAPE +X SYNC +X X-Resource + AC-APPGROUP +X XC-MISC +X XEVIE +X XFIXES + XFree86-DGA +U XFree86-DRI + XFree86-VidModeExtension + XINERAMA +I XpExtension (XPRINT) + XTEST +X XVideo +U XVideo-MotionCompensation + + diff --git a/autogen.sh b/autogen.sh new file mode 100755 index 0000000..d68a142 --- /dev/null +++ b/autogen.sh @@ -0,0 +1,3 @@ +#! /bin/sh +autoreconf -v --install || exit 1 +./configure "$@" diff --git a/configure.ac b/configure.ac new file mode 100644 index 0000000..2baaab4 --- /dev/null +++ b/configure.ac @@ -0,0 +1,14 @@ +# -*- Autoconf -*- +# Process this file with autoconf to produce a configure script. + +AC_PREREQ(2.57) +AC_INIT([XCBProto], + 0.9, + [xcb@lists.freedesktop.org]) +AC_CONFIG_SRCDIR([xcb-proto.pc.in]) +AM_INIT_AUTOMAKE([foreign dist-bzip2]) + +xcbincludedir='${includedir}/X11/XCB' +AC_SUBST(xcbincludedir) + +AC_OUTPUT([Makefile src/Makefile xcb-proto.pc]) diff --git a/debian/.cvsignore b/debian/.cvsignore new file mode 100644 index 0000000..98316da --- /dev/null +++ b/debian/.cvsignore @@ -0,0 +1,5 @@ +compat +fd.o-* +stamp-* +tmp +files diff --git a/debian/changelog b/debian/changelog new file mode 100644 index 0000000..2a816f5 --- /dev/null +++ b/debian/changelog @@ -0,0 +1,28 @@ +xcb-proto (0.9-1pre2v2) unstable; urgency=low + + * Change Architecture from any to all; these protocol descriptions are + architecture-independent. + * Remove fd.o prefix from package name. + * Change Maintainer to xcb@lists.freedesktop.org, move myself to + Uploaders, and add Jamey Sharp to Uploaders. Update copyright.debian + accordingly. + * Add Bugs field pointing to xcb@lists.freedesktop.org. + * Update homepage URL in description and copyright.debian to + http://xcb.freedesktop.org, and put it in a Homepage: field in the + description. + + -- Josh Triplett Wed, 23 Mar 2005 13:03:45 -0800 + +fd.o-xcb-proto (0.9-1) unstable; urgency=low + + * New version with XML protocol descriptions. + * Updated Debian packaging. + + -- Josh Triplett Fri, 29 Oct 2004 15:11:09 -0700 + +fd.o-xcb-proto (0.8-1) unstable; urgency=low + + * Initial Release. + + -- Jamey Sharp Thu, 18 Mar 2004 00:09:03 -0800 + diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..8cb1bec --- /dev/null +++ b/debian/control @@ -0,0 +1,26 @@ +Source: xcb-proto +Section: libdevel +Priority: optional +Maintainer: XCB Developers +Uploaders: Jamey Sharp , Josh Triplett +Build-Depends: cdbs, debhelper (>= 4.0.0), autoconf, automake1.9 | automaken +Build-Conflicts: automake1.4, automake1.5, automake1.6 +Standards-Version: 3.6.1 +Bugs: mailto:xcb@lists.freedesktop.org + +Package: xcb-proto +Architecture: all +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: X C Binding - protocol descriptions + Xlib has been the standard C binding for the X Window System protocol + for many years now. It is an excellent piece of work, but there are + applications for which it is not ideal. XCB builds on nearly two + decades of experience with X specifically and software engineering in + general in an effort to replace the aging Xlib code base. + . + xcb-proto contains descriptions of the X core protocol and selected + extensions in an XML-based data format. XCB uses these descriptions to + generate much of its code. You only need this package if you want to compile + XCB or otherwise make use of these protocol descriptions. + . + Homepage: http://xcb.freedesktop.org diff --git a/debian/copyright.debian b/debian/copyright.debian new file mode 100644 index 0000000..7cd330a --- /dev/null +++ b/debian/copyright.debian @@ -0,0 +1,12 @@ +This package was debianized by Jamey Sharp on +Thu, 18 Mar 2004 00:48:42 -0800, and later updated by Josh Triplett +. The package is co-maintained by the XCB developers +via the XCB mailing list . + +It was downloaded from http://xcb.freedesktop.org. + +Upstream Authors: Jamey Sharp + Josh Triplett + +Copyright: + diff --git a/debian/docs b/debian/docs new file mode 100644 index 0000000..b580384 --- /dev/null +++ b/debian/docs @@ -0,0 +1 @@ +doc/xml-xcb.txt diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..e997421 --- /dev/null +++ b/debian/rules @@ -0,0 +1,18 @@ +#!/usr/bin/make -f + +include /usr/share/cdbs/1/rules/debhelper.mk +include /usr/share/cdbs/1/class/autotools.mk + +DEB_CONFIGURE_INCLUDEDIR = "\$${prefix}/X11R6/include" + +debian/stamp-autotools-files: + autoreconf -v --install + touch debian/stamp-autotools-files + +debian/copyright: debian/copyright.debian COPYING + cat $+ > $@ + +clean:: + -rm -f debian/copyright + +common-install-prehook-arch common-install-prehook-indep:: debian/copyright diff --git a/doc/xml-xcb.txt b/doc/xml-xcb.txt new file mode 100644 index 0000000..fecee31 --- /dev/null +++ b/doc/xml-xcb.txt @@ -0,0 +1,275 @@ + XML-XCB + +Description +=========== + +XML-XCB generates C bindings to the X Window System protocol based on XML +descriptions of the protocol. It is designed for use with XCB, the X C +binding . XML-XCB consists of: + +xcb.xsd An XML Schema defining the data format for describing the X + protocol. Included in xcb-proto. + +c-client.xsl An XSLT code generator that transforms the protocol descriptions + into C bindings. Included in xcb. + +*.xml XML descriptions of the core X protocol and many extensions. + Included in xcb-proto. + + +Dependencies +============ + +c-client.xsl requires an XSLT processor that supports XSLT 1.0 + and the EXSLT node-set extension +. The XCB build +system currently uses xsltproc. You can get xsltproc through your +distribution's packaging system, or from . + + +Generating C bindings +===================== + +The C bindings for the core protocol and all the currently supported +extensions are built as part of the xcb build system. However, for the +purposes of creating and debugging new protocol descriptions, it can be useful +to generate the bindings directly by invoking c-client.xsl to the XML protocol +description. + +You must provide several parameters to c-client.xsl: + +mode: header or source; specifies which part of the C bindings to generate. +base-path: path to the core X protocol descriptions. +extension-path: path to the extension descriptions. + +For example, using xsltproc, you can generate the header for a protocol +description "protocol.xml" with the command: + +xsltproc --stringparam base-path /path/to/xcb-proto/src \ + --stringparam extension-path /path/to/xcb-proto/src/extensions \ + --stringparam mode header /path/to/xcb/src/c-client.xsl protocol.xml + + +Protocol Description Format +=========================== + +Root element +------------ + + + top-level elements + + + This is the root element of a protocol description. The attributes are all + various forms of the extension name. header is the basename of the XML + protocol description file, which will be used as the basename for generated + bindings as well. extension-name is the name of the extension in InterCaps, + which will be used in the names of functions. extension-xname is the name + of the extension as passed to QueryExtension. + + As an example, the XML-XCB description for the GO-FASTER extension would use + the root element ; as a result, C bindings will be put in + gofaster.h and gofaster.c, extension functions will be named + XCBGoFasterFunctionName, and the extension initialization will call + QueryExtension with the name "GO-FASTER". + + This element can contain any number of the elements listed in the section + "Top-Level Elements" below. + + +Top-Level Elements +------------------ + +header_name + + The import element allows the protocol description to reference types + declared in another extension. The content is be the basename of the + extension XML file, which is also the header attribute of the extension's + root node. Note that types from xcb_types and xproto are automatically + available, without explicitly importing them. + +structure contents + + This element represents a data structure. The name attribute gives the name + of the structure. The content represents the fields of the structure, and + consists of one or more of the field, pad, and list elements described in + the section "Structure Contents" below. + +structure contents + + This element represents a union of data types, which can hold one value of + any of those types. The name attribute gives the name of the union. The + content represents the fields of the union, and consists of one or more of + the field and pad elements described in the section "Structure Contents + below". + + + + This element represents an identifier for a particular type of resource. + The name attribute gives the name of the new type. + + + [optional expression] + ... + + + The enum element represents an enumeration type, which can take on any of + the values given by the contained item elements. The name attribute on the + enum gives the name of the enumerated type. + + The item element represents one possible value of an enumerated type. The + name attribute on the item gives the name of that value, and the optional + content is an expression giving the numeric value. If the expression is + omitted, the value will be one more than that of the previous item, or 0 for + the first item. + + + + The typedef element declares the type given by the newname attribute to be + an alias for the type given by the oldname attribute. + + + structure contents + [structure contents] + + + The request element represents an X protocol request. The name attribute + gives the name of the request, and the opcode attribute gives the numeric + request code. The content of the request element represents the fields in + the request, and consists of one or more of any of the elements listed in + the "Structure Contents" section below. Note that for requests in the core + protocol, the first field in the request goes into the one-byte gap between + the major opcode and the length; if the request does not have any data in + that gap, put a one byte pad as the first element. Extension requests + always have this gap filled with the minor opcode. + + The optional reply element is present if the request has a reply. The + content of the reply element represents the fields in the reply, and + consists of zero or more of the field, pad, and list elements listed in the + "Structure Contents" section below. Note that the first field in the reply + always goes into the one-byte gap between the response type and the sequence + number; if the reply does not have any data in that gap, put a one byte pad + as the first element. + + If the optional combine-adjacent attribute is true, multiple adjacent + requests of the same type may be combined into a single request without + affecting the semantics of the requests. + + + structure contents + + + This element represents an X protocol event. The name attribute gives the + name of the event, and the number attribute gives the event number. The + content of the event element represents the fields in the event, and + consists of zero or more of the field, pad, and list elements listed in the + "Structure Contents" section below. + + If the optional no-sequence-number attribute is true, the event does not + include a sequence number. This is a special-case for the KeymapNotify + event in the core protocol, and should not be used in any other event. + + + structure contents + + + This element represents an X protocol error. The name attribute gives the + name of the error, and the number attribute gives the error number. The + content of the error element represents the fields in the error, and + consists of zero or more of the field, pad, and list elements listed in the + "Structure Contents" section below. + + + + This element creates an alias for the event named in the ref attribute, with + the new name given in the name attribute, and the new event number given in + the number attribute. + + + + This element creates an alias for the error named in the ref attribute, with + the new name given in the name attribute, and the new error number given in + the number attribute. + + +Structure Contents +------------------ + +Note: "type" attributes below refer to types defined by previous elements, +either in the current extension, xproto, xcb_types, or one of the imported +extensions. The type name must refer to only one possible type; if more than +one type matches, an error occurs. To avoid this, the type may be explicitly +prefixed with a namespace, which should be the value of the header attribute +on the protocol description containing the desired type. The namespace and +type are separated by a single colon. For example, to refer to the PIXMAP +type defined in glx rather than the one defined in xcb_types, use +type="glx:PIXMAP" rather than type="PIXMAP". + + + + This element declares some padding in a data structure. The bytes + attribute declares the number of bytes of padding. + + + + This element represents a field in a data structure. The type attribute + declares the data type of the field, and the name attribute gives the name + of the field. + +expression + + This element represents an array or list of fields in a data structure. The + type attribute declares the data type of the field, and the name attribute + gives the name of the field. The content is an expression giving the length + of the list in terms of other fields in the structure. See the section + "Expressions" for details on the expression representation. + + + + This element represents a parameter in a request that is not sent over the + wire. The field can be referenced in the length expressions of lists or in + an exprfield. The type attribute declares the data type of the field, and + the name attribute gives the name of the field. + +expression + + This element represents a field in a request that is calculated rather than + supplied by the caller. The type attribute declares the data type of the + field, and the name attribute gives the name of the field. The content is + the expression giving the value of the field. See the section "Expressions" + for details on the expression representation. + + + + This element represents a BITMASK/LISTofVALUE parameter pair: a bitmask + defining the set of values included, and a list containing these values. + value-mask-type gives the type of the bitmask; this must be CARD16 or + CARD32. value-mask-name gives the field name of the bitmask, and + value-list-name gives the field name of the list of values. + + +Expressions +----------- + + Expressions consist of a tree of elements with leaves consisting of + or elements. + +expression expression + + The op element represents an operator, with the op attribute specifying + which operator. The supported operations are *, /, &, and <<, and + their semantics are identical to the corresponding operators in C. The two + operand expressions may be fieldref, value, or op elements. + +identifier + + The fieldref element represents a reference to the value of another field in + the structure containing this expression. The identifier is the value of + the "name" attribute on the referenced field. + +integer + + The value element represents a literal integer value in an expression. The + integer may be expressed in decimal or hexadecimal. diff --git a/src/.cvsignore b/src/.cvsignore new file mode 100644 index 0000000..282522d --- /dev/null +++ b/src/.cvsignore @@ -0,0 +1,2 @@ +Makefile +Makefile.in diff --git a/src/Makefile.am b/src/Makefile.am new file mode 100644 index 0000000..e2d519e --- /dev/null +++ b/src/Makefile.am @@ -0,0 +1,22 @@ +nobase_xcbinclude_HEADERS = xcb.xsd \ + xcb_types.xml \ + xproto.xml \ + extensions/bigreq.xml \ + extensions/composite.xml \ + extensions/damage.xml \ + extensions/dpms.xml \ + extensions/glx.xml \ + extensions/randr.xml \ + extensions/record.xml \ + extensions/render.xml \ + extensions/res.xml \ + extensions/shape.xml \ + extensions/shm.xml \ + extensions/sync.xml \ + extensions/xc_misc.xml \ + extensions/xevie.xml \ + extensions/xf86dri.xml \ + extensions/xfixes.xml \ + extensions/xprint.xml \ + extensions/xv.xml \ + extensions/xvmc.xml diff --git a/src/extensions/bigreq.xml b/src/extensions/bigreq.xml new file mode 100644 index 0000000..9e99d2e --- /dev/null +++ b/src/extensions/bigreq.xml @@ -0,0 +1,36 @@ + + + + + + + + + + diff --git a/src/extensions/composite.xml b/src/extensions/composite.xml new file mode 100644 index 0000000..20c4976 --- /dev/null +++ b/src/extensions/composite.xml @@ -0,0 +1,80 @@ + + + + + xfixes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/damage.xml b/src/extensions/damage.xml new file mode 100644 index 0000000..cd79302 --- /dev/null +++ b/src/extensions/damage.xml @@ -0,0 +1,78 @@ + + + + + xfixes + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/dpms.xml b/src/extensions/dpms.xml new file mode 100644 index 0000000..27ba98a --- /dev/null +++ b/src/extensions/dpms.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/glx.xml b/src/extensions/glx.xml new file mode 100644 index 0000000..40310ad --- /dev/null +++ b/src/extensions/glx.xml @@ -0,0 +1,1455 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0x8017 + + + 0x8018 + + + + + + 0x8019 + + + 0x801A + + + + + + + + + + + + + + + + data_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0x00000001 + 0x00000002 + 0x00000004 + 0x00000008 + 0x00000010 + 0x00000020 + 0x00000040 + 0x00000080 + 0x00000100 + 0x00000200 + 0x00000400 + 0x00000800 + 0x00001000 + 0x00002000 + 0x00004000 + 0x00008000 + 0x00010000 + 0x00020000 + 0x00040000 + 0x00080000 + 0x000ffffff + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 24 + + + + + + + + + + + + + + + + + + + + + + + + + str_len + + + + + + + + + + str_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + 0x1C00 + 0x1C01 + 0x1C02 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + n + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/randr.xml b/src/extensions/randr.xml new file mode 100644 index 0000000..a85b69c --- /dev/null +++ b/src/extensions/randr.xml @@ -0,0 +1,147 @@ + + + + + + + + 1 + 2 + 4 + 8 + 16 + 32 + + + + + + + + + + + + + nRates + + + + + + + + + + i + + + + + + + + + + + + + + + + + + + + + + + + + 0 + 1 + 2 + 3 + + + + + + + + + + + + + + + + + + + + + + + + nSizes + + + + nInfo + nSizes + + + + + + + 1 + + + + + + + + + + + + + + + + + diff --git a/src/extensions/record.xml b/src/extensions/record.xml new file mode 100644 index 0000000..09729ad --- /dev/null +++ b/src/extensions/record.xml @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0x01 + 0x02 + 0x04 + + + + + 1 + 2 + 3 + + + + + + + num_ranges + + + + + + + + + + + + + + + + + + + + + + + + + + + num_client_specs + + + num_ranges + + + + + + + + + + + num_client_specs + + + num_ranges + + + + + + + + num_client_specs + + + + + + + + + + + + + num_intercepted_clients + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/render.xml b/src/extensions/render.xml new file mode 100644 index 0000000..74938be --- /dev/null +++ b/src/extensions/render.xml @@ -0,0 +1,569 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + 0x10 + + + + + + + + + + + + + 0x20 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + 11 + + + 12 + + + 13 + + + 14 + + + 15 + + + 16 + + + 17 + + + 18 + + + 19 + + + 110 + + + 111 + + + 112 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_visuals + + + + + + + + num_depths + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_formats + + + num_screens + + + num_subpixel + + + + + + + + + + + + + num_values + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + glyphs_len + + + glyphs_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_aliases + + + num_filters + + + + + + + + + filter_len + + + + + + + + + + + + + + + + diff --git a/src/extensions/res.xml b/src/extensions/res.xml new file mode 100644 index 0000000..eda0cbe --- /dev/null +++ b/src/extensions/res.xml @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_clients + + + + + + + + + + + + num_types + + + + + + + + + + + + + diff --git a/src/extensions/screensaver.xml b/src/extensions/screensaver.xml new file mode 100644 index 0000000..18b5897 --- /dev/null +++ b/src/extensions/screensaver.xml @@ -0,0 +1,128 @@ + + + + + + + + + + + + + + 10 + + + 11 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/shape.xml b/src/extensions/shape.xml new file mode 100644 index 0000000..917388c --- /dev/null +++ b/src/extensions/shape.xml @@ -0,0 +1,147 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + rectangles_len + + + + diff --git a/src/extensions/shm.xml b/src/extensions/shm.xml new file mode 100644 index 0000000..28e8e1e --- /dev/null +++ b/src/extensions/shm.xml @@ -0,0 +1,111 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/sync.xml b/src/extensions/sync.xml new file mode 100644 index 0000000..4c9e9f5 --- /dev/null +++ b/src/extensions/sync.xml @@ -0,0 +1,177 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + counters_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/xc_misc.xml b/src/extensions/xc_misc.xml new file mode 100644 index 0000000..5eb0591 --- /dev/null +++ b/src/extensions/xc_misc.xml @@ -0,0 +1,37 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + ids_len + + + + diff --git a/src/extensions/xevie.xml b/src/extensions/xevie.xml new file mode 100644 index 0000000..1e5851f --- /dev/null +++ b/src/extensions/xevie.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/xf86dri.xml b/src/extensions/xf86dri.xml new file mode 100644 index 0000000..bb37ca7 --- /dev/null +++ b/src/extensions/xf86dri.xml @@ -0,0 +1,168 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + bus_id_len + + + + + + + + + + + + + + + + + + + client_driver_name_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_clip_rects + + + + + + + + + + + + + + + + device_private_size + + + + + + + + + + + + + + diff --git a/src/extensions/xfixes.xml b/src/extensions/xfixes.xml new file mode 100644 index 0000000..ab59637 --- /dev/null +++ b/src/extensions/xfixes.xml @@ -0,0 +1,322 @@ + + + + + render + shape + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + 11 + + + 12 + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + width + height + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nbytes + + + + + + + + + + nbytes + + + + + + + + + + + + + + + + + nbytes + + + width + height + + + + + + + + + + + + + + + nbytes + + + + + + + + + + + + diff --git a/src/extensions/xprint.xml b/src/extensions/xprint.xml new file mode 100644 index 0000000..dbabbde --- /dev/null +++ b/src/extensions/xprint.xml @@ -0,0 +1,325 @@ + + + + + + + + + + + + nameLen + + + + + descLen + + + + + + + + + + + 0 + 1 + + + + + 0x00000000 + 0x00000001 + 0x00000002 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + + + + + + + + + + + + + + + + + printerNameLen + + + + localeLen + + + + + + + listCount + + + + + + + + + + + + printerNameLen + + + + localeLen + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + len_data + + + + + + + + + + + + + + + + + + dataLen + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + nameLen + + + + + + + valueLen + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + listCount + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/xv.xml b/src/extensions/xv.xml new file mode 100644 index 0000000..6544e30 --- /dev/null +++ b/src/extensions/xv.xml @@ -0,0 +1,429 @@ + + + + + shm + + + + + + + + 0x00000001 + 0x00000002 + 0x00000004 + 0x00000008 + 0x00000010 + + + + + + + + + + + + + + 0x01 + 0x02 + + + + + + + + + + + + + + + + name_size + + + num_formats + + + + + + + + + + + + + name_size + + + + + + + + + + + + + + + + num_planes + + + num_planes + + + data_size + + + + + + + + + + + size + + + + + + + + + + 16 + + + + + + + + + + + + + + + + + + + + + + + + 32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_adaptors + + + + + + + + + + + + + num_encodings + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num_attributes + + + + + + + + + + + + num_formats + + + + + + + + + + + + + + + + + + num_planes + + + num_planes + + + + + + + + + + + + + + + + + + + + + + data_size + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/extensions/xvmc.xml b/src/extensions/xvmc.xml new file mode 100644 index 0000000..5e61def --- /dev/null +++ b/src/extensions/xvmc.xml @@ -0,0 +1,140 @@ + + + + + xv + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + num + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 4 + + + + + + + + + + + + + + + + + + + num + + + + + diff --git a/src/xcb.xsd b/src/xcb.xsd new file mode 100644 index 0000000..47f8c69 --- /dev/null +++ b/src/xcb.xsd @@ -0,0 +1,220 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/xcb_types.xml b/src/xcb_types.xml new file mode 100644 index 0000000..516773a --- /dev/null +++ b/src/xcb_types.xml @@ -0,0 +1,228 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + visuals_len + + + + + + + + + + + + + + + + + + + + + + allowed_depths_len + + + + + + + + + + + + authorization_protocol_name_len + + + authorization_protocol_data_len + + + + + + + + + + + + + + + + + reason_len + + + + + + + + + + length + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + vendor_len + + + pixmap_formats_len + + + roots_len + + + diff --git a/src/xproto.xml b/src/xproto.xml new file mode 100644 index 0000000..5033ff6 --- /dev/null +++ b/src/xproto.xml @@ -0,0 +1,1657 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 31 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 20 + 10 + 5 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 10 + + + 11 + + + 12 + + + 13 + + + 14 + + + 15 + + + 16 + + + 17 + + + 18 + + + 19 + + + 110 + + + 111 + + + 112 + + + 113 + + + 114 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + children_len + + + + + + + + + + name_len + + + + + + + + + + + + + + + + name_len + + + + + + + + + + + + + + + + data_len + format + + 8 + + + + + + + + + + + + + + + + + + + + + + + + + value_len + + + + + + + + + + + + + atoms_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + events_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + 32 + + + + + + + + + name_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + properties_len + + + char_infos_len + + + + + + + string_len1 + + + + + + + + + + + + + + + + + + + name_len + + + + + + + + + pattern_len + + + + + + + names_len + + + + + + + + + + pattern_len + + + + + + + + + + + + + + + + + + + + properties_len + + + name_len + + + + + + + + + + + + + + + + + path_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + dashes_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + length + 4 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + string_len + + + + + + + + + + + string_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + cmaps_len + + + + + + + + + + + + + + + + + + + + + + + + + + name_len + + + + + + + + + + + + + + + + + + + + + + + + + pixels_len + + + masks_len + + + + + + + + + + + + + + + + + + + + + pixels_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name_len + + + + + + + + + + + + + + + + + + + + colors_len + + + + + + + + + + name_len + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + name_len + + + + + + + + + + + + + + + + names_len + + + + + + + + + + + keycode_count + keysyms_per_keycode + + + + + + + + + + + + + + length + 4 + + + + + + + + + + + + + + + + + + + + 32 + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + address_len + + + + + + + + + address_len + + + + + + + + + + hosts_len + + + + + + + + + + + + + + + + + + + + + + + atoms_len + + + + + + + + + + + map_len + + + + + + + + + + + + map_len + + + + + + + + + keycodes_per_modifier + 8 + + + + + + + + + + + + + + keycodes_per_modifier + 8 + + + + + + + + + diff --git a/xcb-proto.pc.in b/xcb-proto.pc.in new file mode 100644 index 0000000..1e2e8f6 --- /dev/null +++ b/xcb-proto.pc.in @@ -0,0 +1,7 @@ +prefix=@prefix@ +includedir=@includedir@ +xcbincludedir=@xcbincludedir@ + +Name: XCBProto +Description: X protocol descriptions for XCB +Version: @PACKAGE_VERSION@ -- 2.34.1