[2626874] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
| 7 | <!ENTITY libxcb-download-http "http://xcb.freedesktop.org/dist/libxcb-&libxcb-version;.tar.bz2">
|
---|
[8e8f8980] | 8 | <!ENTITY libxcb-download-ftp " ">
|
---|
[9377577] | 9 | <!ENTITY libxcb-md5sum "28e552bd78bc1050b6b26ca1db0e5bb6">
|
---|
| 10 | <!ENTITY libxcb-size "600 KB">
|
---|
| 11 | <!ENTITY libxcb-buildsize "28 MB (with tests, add 62 MB for doxygen docs)">
|
---|
| 12 | <!ENTITY libxcb-time "0.3 SBU (with tests, add 1.4 SBU for doxygen docs)">
|
---|
[2626874] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libxcb" xreflabel="libxcb-&libxcb-version;">
|
---|
| 16 | <?dbhtml filename="libxcb.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>libxcb-&libxcb-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libxcb">
|
---|
| 26 | <primary sortas="a-libxcb">libxcb</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to libxcb</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>libxcb</application> package provides an interface
|
---|
| 33 | to the X Window System protocol, which replaces the current Xlib interface.
|
---|
| 34 | Xlib can also use XCB as a transport layer, allowing software to make
|
---|
| 35 | requests and receive responses with both.</para>
|
---|
| 36 |
|
---|
[00610e5] | 37 | &lfs7a_checked;
|
---|
[1ed7820] | 38 |
|
---|
[2626874] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &libxcb-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &libxcb-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &libxcb-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &libxcb-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
[5159bc2] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing="compact">
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Required patch (for Python 3): <ulink
|
---|
| 66 | url="&patch-root;/libxcb-&libxcb-version;-python3-1.patch"/>
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
[2626874] | 71 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4784037] | 74 | <para role="required">
|
---|
[5159bc2] | 75 | <xref linkend="libXau"/> and
|
---|
[4784037] | 76 | <xref linkend="xcb-proto"/>
|
---|
| 77 | </para>
|
---|
[2626874] | 78 |
|
---|
[2e399a6a] | 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
| 81 | <xref linkend="libXdmcp"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
[2626874] | 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 85 | <para role="optional">
|
---|
[93f626c4] | 86 | <xref linkend="doxygen"/> (to generate API documentation)
|
---|
| 87 | <xref linkend="check"/> (to run tests) and
|
---|
| 88 | <xref linkend="libxslt"/>
|
---|
[4784037] | 89 | </para>
|
---|
[2626874] | 90 |
|
---|
| 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of libxcb</title>
|
---|
| 98 |
|
---|
[5159bc2] | 99 | <para>
|
---|
| 100 | If building with Python 3, issue the following command:
|
---|
| 101 | </para>
|
---|
| 102 |
|
---|
| 103 | <screen><userinput>patch -Np1 -i ../libxcb-&libxcb-version;-python3-1.patch</userinput></screen>
|
---|
| 104 |
|
---|
[2626874] | 105 | <para>Install <application>libxcb</application> by running the following
|
---|
| 106 | commands:</para>
|
---|
| 107 |
|
---|
[863f350] | 108 | <screen><userinput>sed -i "s/pthread-stubs//" configure &&
|
---|
| 109 |
|
---|
[b8dff090] | 110 | ./configure $XORG_CONFIG \
|
---|
| 111 | --enable-xinput \
|
---|
| 112 | --without-doxygen \
|
---|
[a3cbbb8] | 113 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
[2626874] | 114 | make</userinput></screen>
|
---|
| 115 |
|
---|
| 116 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 117 |
|
---|
| 118 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 119 |
|
---|
| 120 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 121 |
|
---|
| 122 | </sect2>
|
---|
| 123 |
|
---|
| 124 | <sect2 role="commands">
|
---|
| 125 | <title>Command Explanations</title>
|
---|
| 126 |
|
---|
[8abba5b9] | 127 | <para><command>sed "s/pthread-stubs//" -i configure</command>: This
|
---|
[e520239f] | 128 | sed removes dependency on libpthread-stubs package which is useless on
|
---|
| 129 | Linux.</para>
|
---|
| 130 |
|
---|
[6f27fb7] | 131 | <para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
|
---|
[bb7f58e] | 132 | extension.</para>
|
---|
| 133 |
|
---|
[b8dff090] | 134 | <para><parameter>--without-doxygen</parameter>: Do not use doxygen to
|
---|
| 135 | generate API documentation (default: auto). Without it, if
|
---|
| 136 | <xref linkend="doxygen"/> is installed, the API documentation will be
|
---|
| 137 | generated and installed.</para>
|
---|
[2626874] | 138 |
|
---|
| 139 | </sect2>
|
---|
| 140 |
|
---|
| 141 | <sect2 role="content">
|
---|
| 142 | <title>Contents</title>
|
---|
| 143 |
|
---|
| 144 | <segmentedlist>
|
---|
| 145 | <segtitle>Installed Programs</segtitle>
|
---|
| 146 | <segtitle>Installed Libraries</segtitle>
|
---|
| 147 | <segtitle>Installed Directories</segtitle>
|
---|
| 148 |
|
---|
| 149 | <seglistitem>
|
---|
[b8dff090] | 150 | <seg>
|
---|
| 151 | None
|
---|
| 152 | </seg>
|
---|
| 153 | <seg>
|
---|
| 154 | libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dpms.so,
|
---|
| 155 | libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
|
---|
| 156 | libxcb-randr.so, libxcb-record.so, libxcb-render.so, libxcb-res.so,
|
---|
| 157 | libxcb-screensaver.so, libxcb-shape.so, libxcb-shm.so, libxcb-sync.so,
|
---|
| 158 | libxcb-xevie.so, libxcb-xf86dri.so, libxcb-xfixes.so,
|
---|
| 159 | libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
|
---|
| 160 | libxcb-xprint.so, libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
|
---|
| 161 | </seg>
|
---|
| 162 | <seg>
|
---|
| 163 | <envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 164 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
|
---|
| 165 | </seg>
|
---|
[2626874] | 166 | </seglistitem>
|
---|
| 167 | </segmentedlist>
|
---|
| 168 |
|
---|
| 169 | <variablelist>
|
---|
| 170 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 171 | <?dbfo list-presentation="list"?>
|
---|
| 172 | <?dbhtml list-presentation="table"?>
|
---|
| 173 |
|
---|
| 174 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 175 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 176 | <listitem>
|
---|
| 177 | <para>is an interface to the X Window System protocol.</para>
|
---|
| 178 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 179 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 180 | </indexterm>
|
---|
| 181 | </listitem>
|
---|
| 182 | </varlistentry>
|
---|
| 183 |
|
---|
| 184 | </variablelist>
|
---|
| 185 |
|
---|
| 186 | </sect2>
|
---|
| 187 |
|
---|
| 188 | </sect1>
|
---|