[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 " ">
|
---|
| 9 | <!-- <!ENTITY libxcb-download-ftp "ftp://ftp.x.org/pub/current/src/extras/libxcb-&libxcb-version;.tar.bz2"> -->
|
---|
[81fa216] | 10 | <!ENTITY libxcb-md5sum "b00fd506c717dea01f595e8da31f6914">
|
---|
| 11 | <!ENTITY libxcb-size "304 KB">
|
---|
| 12 | <!ENTITY libxcb-buildsize "19.8 MB">
|
---|
| 13 | <!ENTITY libxcb-time "0.3 SBU">
|
---|
[2626874] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="libxcb" xreflabel="libxcb-&libxcb-version;">
|
---|
| 17 | <?dbhtml filename="libxcb.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 20 | <othername>$LastChangedBy$</othername>
|
---|
| 21 | <date>$Date$</date>
|
---|
| 22 | </sect1info>
|
---|
| 23 |
|
---|
| 24 | <title>libxcb-&libxcb-version;</title>
|
---|
| 25 |
|
---|
| 26 | <indexterm zone="libxcb">
|
---|
| 27 | <primary sortas="a-libxcb">libxcb</primary>
|
---|
| 28 | </indexterm>
|
---|
| 29 |
|
---|
| 30 | <sect2 role="package">
|
---|
| 31 | <title>Introduction to libxcb</title>
|
---|
| 32 |
|
---|
| 33 | <para>The <application>libxcb</application> package provides an interface
|
---|
| 34 | to the X Window System protocol, which replaces the current Xlib interface.
|
---|
| 35 | Xlib can also use XCB as a transport layer, allowing software to make
|
---|
| 36 | requests and receive responses with both.</para>
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &libxcb-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &libxcb-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &libxcb-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &libxcb-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
| 60 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 61 |
|
---|
| 62 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[56e7f4e] | 63 | <para role="required"><xref linkend="libXau"/>,
|
---|
[2626874] | 64 | <xref linkend="libXdmcp"/>,
|
---|
| 65 | <xref linkend="libpthread-stubs"/>,
|
---|
[a41f643] | 66 | <xref linkend="libxslt"/>, and
|
---|
[7c7a1aa] | 67 | <xref linkend="xcb-proto"/></para>
|
---|
[2626874] | 68 |
|
---|
| 69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 70 | <para role="optional"><xref linkend="doxygen"/> (to generate API
|
---|
| 71 | documentation) and <ulink url="http://check.sourceforge.net/">Check</ulink>
|
---|
| 72 | (to run tests)</para>
|
---|
| 73 |
|
---|
| 74 | <para condition="html" role="usernotes">User Notes:
|
---|
| 75 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 76 |
|
---|
| 77 | </sect2>
|
---|
| 78 |
|
---|
| 79 | <sect2 role="installation">
|
---|
| 80 | <title>Installation of libxcb</title>
|
---|
| 81 |
|
---|
| 82 | <para>Install <application>libxcb</application> by running the following
|
---|
| 83 | commands:</para>
|
---|
| 84 |
|
---|
[7cf85935] | 85 | <screen><userinput>./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
[2626874] | 86 | make</userinput></screen>
|
---|
| 87 |
|
---|
| 88 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 89 |
|
---|
| 90 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 91 |
|
---|
| 92 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="commands">
|
---|
| 97 | <title>Command Explanations</title>
|
---|
| 98 |
|
---|
| 99 | <para><parameter>--docdir='${datadir}'/doc/libxcb-&libxcb-version;</parameter>:
|
---|
| 100 | This parameter ensures the <application>libxcb</application> documentation
|
---|
| 101 | is installed to a versioned directory.</para>
|
---|
| 102 |
|
---|
| 103 | <para><parameter>--without-doxygen</parameter>: This switch can be used
|
---|
| 104 | to disable the API documentation if <xref linkend="doxygen"/> is
|
---|
| 105 | installed.</para>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="configuration">
|
---|
| 110 | <title>Configuring libxcb</title>
|
---|
| 111 |
|
---|
| 112 | <sect3 id="libxcb-config">
|
---|
| 113 | <title>Configuration Information</title>
|
---|
| 114 |
|
---|
| 115 | <para>The <application>libxcb</application> developers have decided
|
---|
| 116 | to be strict in asserting locking bugs in X11 applications. This is
|
---|
| 117 | different than the behavior of <application>libX11</application> when
|
---|
| 118 | used on its own, and it will cause some applications to crash when
|
---|
| 119 | they previously did not. When an application has these types of bugs,
|
---|
| 120 | it will crash with the following assertion:</para>
|
---|
| 121 |
|
---|
| 122 | <screen><literal>xcb_xlib_lock: Assertion `!c->xlib.lock' failed.</literal></screen>
|
---|
| 123 |
|
---|
[7cf85935] | 124 | <para>An environment variable, <envar>LIBXCB_ALLOW_SLOPPY_LOCK</envar>,
|
---|
| 125 | can be set which will allow the locking bugs to not crash the
|
---|
| 126 | application. It is a workaround that is known to be needed in a few
|
---|
| 127 | cases. If it is found that these bugs affect an application in use, add
|
---|
| 128 | the following to your system or personal profile:</para>
|
---|
[2626874] | 129 |
|
---|
| 130 | <screen><literal>export LIBXCB_ALLOW_SLOPPY_LOCK=1</literal></screen>
|
---|
| 131 |
|
---|
| 132 | </sect3>
|
---|
| 133 |
|
---|
| 134 | </sect2>
|
---|
| 135 |
|
---|
| 136 | <sect2 role="content">
|
---|
| 137 | <title>Contents</title>
|
---|
| 138 |
|
---|
| 139 | <segmentedlist>
|
---|
| 140 | <segtitle>Installed Programs</segtitle>
|
---|
| 141 | <segtitle>Installed Libraries</segtitle>
|
---|
| 142 | <segtitle>Installed Directories</segtitle>
|
---|
| 143 |
|
---|
| 144 | <seglistitem>
|
---|
| 145 | <seg>None</seg>
|
---|
| 146 | <seg>libxcb.{so,a} and libxcb-*.{so,a}</seg>
|
---|
| 147 | <seg><envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 148 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
|
---|
| 149 | </seglistitem>
|
---|
| 150 | </segmentedlist>
|
---|
| 151 |
|
---|
| 152 | <variablelist>
|
---|
| 153 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 154 | <?dbfo list-presentation="list"?>
|
---|
| 155 | <?dbhtml list-presentation="table"?>
|
---|
| 156 |
|
---|
| 157 | <varlistentry id="libxcb-lib">
|
---|
| 158 | <term><filename class='libraryfile'>libxcb.{so,a}</filename></term>
|
---|
| 159 | <listitem>
|
---|
| 160 | <para>is an interface to the X Window System protocol.</para>
|
---|
| 161 | <indexterm zone="libxcb libxcb-lib">
|
---|
| 162 | <primary sortas="c-libxcb">libxcb.{so,a}</primary>
|
---|
| 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | </variablelist>
|
---|
| 168 |
|
---|
| 169 | </sect2>
|
---|
| 170 |
|
---|
| 171 | </sect1>
|
---|