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