[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 " ">
|
---|
[244e6e56] | 9 | <!ENTITY libxcb-md5sum "ed632cb0dc31b6fbd7ea5c0f931cf5a4">
|
---|
| 10 | <!ENTITY libxcb-size "365 KB">
|
---|
| 11 | <!ENTITY libxcb-buildsize "39 MB">
|
---|
[81fa216] | 12 | <!ENTITY libxcb-time "0.3 SBU">
|
---|
[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 |
|
---|
[bd4fda83] | 37 | &lfs73_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 |
|
---|
[b46c64c] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing='compact'>
|
---|
| 63 | <listitem>
|
---|
| 64 | <para>Required patch: <ulink
|
---|
| 65 | url="&patch-root;/libxcb-&libxcb-version;-automake_bug-1.patch"/></para>
|
---|
| 66 | </listitem>
|
---|
| 67 | </itemizedlist>
|
---|
| 68 |
|
---|
[2626874] | 69 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4784037] | 72 | <para role="required">
|
---|
| 73 | <xref linkend="libXau"/>,
|
---|
| 74 | <xref linkend="libXdmcp"/>,
|
---|
| 75 | <xref linkend="libxslt"/>, and
|
---|
| 76 | <xref linkend="xcb-proto"/>
|
---|
| 77 | </para>
|
---|
[2626874] | 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 80 | <para role="optional">
|
---|
[0d7900a] | 81 | <xref linkend="doxygen"/> (to generate API documentation) and
|
---|
[4784037] | 82 | <xref linkend="check"/> (to run tests)
|
---|
| 83 | </para>
|
---|
[2626874] | 84 |
|
---|
| 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of libxcb</title>
|
---|
| 92 |
|
---|
| 93 | <para>Install <application>libxcb</application> by running the following
|
---|
| 94 | commands:</para>
|
---|
| 95 |
|
---|
[b46c64c] | 96 | <screen><userinput>patch -Np1 -i ../libxcb-&libxcb-version;-automake_bug-1.patch &&
|
---|
| 97 | sed -e "s/pthread-stubs//" -i configure.ac &&
|
---|
[e520239f] | 98 | autoreconf -fi &&
|
---|
[b46c64c] | 99 | ./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; \
|
---|
| 100 | --enable-xinput --enable-xkb &&
|
---|
[2626874] | 101 | make</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 104 |
|
---|
| 105 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 106 |
|
---|
| 107 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 108 |
|
---|
| 109 | </sect2>
|
---|
| 110 |
|
---|
| 111 | <sect2 role="commands">
|
---|
| 112 | <title>Command Explanations</title>
|
---|
| 113 |
|
---|
[e520239f] | 114 | <para><command>sed -e "s/pthread-stubs//" -i configure.ac</command>: This
|
---|
| 115 | sed removes dependency on libpthread-stubs package which is useless on
|
---|
| 116 | Linux.</para>
|
---|
| 117 |
|
---|
[bb7f58e] | 118 | <para><option>--enable-xinput</option>: This switch enables XCB Xinput
|
---|
| 119 | extension.</para>
|
---|
| 120 |
|
---|
[b46c64c] | 121 | <para><option>--enable-xkb</option>: This switch enables XCB XKB
|
---|
| 122 | extension.</para>
|
---|
| 123 |
|
---|
[2626874] | 124 | <para><parameter>--without-doxygen</parameter>: This switch can be used
|
---|
| 125 | to disable the API documentation if <xref linkend="doxygen"/> is
|
---|
| 126 | installed.</para>
|
---|
| 127 |
|
---|
| 128 | </sect2>
|
---|
[b9599a7] | 129 | <!--
|
---|
[2626874] | 130 | <sect2 role="configuration">
|
---|
| 131 | <title>Configuring libxcb</title>
|
---|
| 132 |
|
---|
| 133 | <sect3 id="libxcb-config">
|
---|
| 134 | <title>Configuration Information</title>
|
---|
| 135 |
|
---|
| 136 | <para>The <application>libxcb</application> developers have decided
|
---|
| 137 | to be strict in asserting locking bugs in X11 applications. This is
|
---|
| 138 | different than the behavior of <application>libX11</application> when
|
---|
| 139 | used on its own, and it will cause some applications to crash when
|
---|
| 140 | they previously did not. When an application has these types of bugs,
|
---|
| 141 | it will crash with the following assertion:</para>
|
---|
| 142 |
|
---|
| 143 | <screen><literal>xcb_xlib_lock: Assertion `!c->xlib.lock' failed.</literal></screen>
|
---|
| 144 |
|
---|
[7cf85935] | 145 | <para>An environment variable, <envar>LIBXCB_ALLOW_SLOPPY_LOCK</envar>,
|
---|
| 146 | can be set which will allow the locking bugs to not crash the
|
---|
| 147 | application. It is a workaround that is known to be needed in a few
|
---|
| 148 | cases. If it is found that these bugs affect an application in use, add
|
---|
| 149 | the following to your system or personal profile:</para>
|
---|
[2626874] | 150 |
|
---|
| 151 | <screen><literal>export LIBXCB_ALLOW_SLOPPY_LOCK=1</literal></screen>
|
---|
| 152 |
|
---|
| 153 | </sect3>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
[b9599a7] | 156 | -->
|
---|
[2626874] | 157 | <sect2 role="content">
|
---|
| 158 | <title>Contents</title>
|
---|
| 159 |
|
---|
| 160 | <segmentedlist>
|
---|
| 161 | <segtitle>Installed Programs</segtitle>
|
---|
| 162 | <segtitle>Installed Libraries</segtitle>
|
---|
| 163 | <segtitle>Installed Directories</segtitle>
|
---|
| 164 |
|
---|
| 165 | <seglistitem>
|
---|
| 166 | <seg>None</seg>
|
---|
[bb7f58e] | 167 | <seg>libxcb.so and libxcb-*.so</seg>
|
---|
[2626874] | 168 | <seg><envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 169 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
|
---|
| 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 179 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 180 | <listitem>
|
---|
| 181 | <para>is an interface to the X Window System protocol.</para>
|
---|
| 182 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 183 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
| 189 |
|
---|
| 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|