[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 " ">
|
---|
[b8dff090] | 9 | <!ENTITY libxcb-md5sum "f97a65e6158775de518ac391935634c2">
|
---|
| 10 | <!ENTITY libxcb-size "508 KB">
|
---|
| 11 | <!ENTITY libxcb-buildsize "42 MB, with tests (124 MB with doxygen generated documentation)">
|
---|
| 12 | <!ENTITY libxcb-time "0.2 SBU, with tests (0.3 SBU with doxygen generated documentation)">
|
---|
[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 |
|
---|
[fea7a37] | 37 | &lfs79_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 |
|
---|
| 61 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4784037] | 64 | <para role="required">
|
---|
[2e399a6a] | 65 | <xref linkend="libXau"/> and
|
---|
[4784037] | 66 | <xref linkend="xcb-proto"/>
|
---|
| 67 | </para>
|
---|
[2626874] | 68 |
|
---|
[2e399a6a] | 69 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 70 | <para role="recommended">
|
---|
| 71 | <xref linkend="libXdmcp"/>
|
---|
| 72 | </para>
|
---|
| 73 |
|
---|
[2626874] | 74 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 75 | <para role="optional">
|
---|
[93f626c4] | 76 | <xref linkend="doxygen"/> (to generate API documentation)
|
---|
| 77 | <xref linkend="check"/> (to run tests) and
|
---|
| 78 | <xref linkend="libxslt"/>
|
---|
[4784037] | 79 | </para>
|
---|
[2626874] | 80 |
|
---|
| 81 | <para condition="html" role="usernotes">User Notes:
|
---|
| 82 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 83 |
|
---|
| 84 | </sect2>
|
---|
| 85 |
|
---|
| 86 | <sect2 role="installation">
|
---|
| 87 | <title>Installation of libxcb</title>
|
---|
| 88 |
|
---|
| 89 | <para>Install <application>libxcb</application> by running the following
|
---|
| 90 | commands:</para>
|
---|
| 91 |
|
---|
[863f350] | 92 | <screen><userinput>sed -i "s/pthread-stubs//" configure &&
|
---|
| 93 |
|
---|
[b8dff090] | 94 | ./configure $XORG_CONFIG \
|
---|
| 95 | --enable-xinput \
|
---|
| 96 | --without-doxygen \
|
---|
[a3cbbb8] | 97 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
[2626874] | 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 101 |
|
---|
| 102 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="commands">
|
---|
| 109 | <title>Command Explanations</title>
|
---|
| 110 |
|
---|
[8abba5b9] | 111 | <para><command>sed "s/pthread-stubs//" -i configure</command>: This
|
---|
[e520239f] | 112 | sed removes dependency on libpthread-stubs package which is useless on
|
---|
| 113 | Linux.</para>
|
---|
| 114 |
|
---|
[6f27fb7] | 115 | <para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
|
---|
[bb7f58e] | 116 | extension.</para>
|
---|
| 117 |
|
---|
[b8dff090] | 118 | <para><parameter>--without-doxygen</parameter>: Do not use doxygen to
|
---|
| 119 | generate API documentation (default: auto). Without it, if
|
---|
| 120 | <xref linkend="doxygen"/> is installed, the API documentation will be
|
---|
| 121 | generated and installed.</para>
|
---|
[2626874] | 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
| 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Libraries</segtitle>
|
---|
| 131 | <segtitle>Installed Directories</segtitle>
|
---|
| 132 |
|
---|
| 133 | <seglistitem>
|
---|
[b8dff090] | 134 | <seg>
|
---|
| 135 | None
|
---|
| 136 | </seg>
|
---|
| 137 | <seg>
|
---|
| 138 | libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dpms.so,
|
---|
| 139 | libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
|
---|
| 140 | libxcb-randr.so, libxcb-record.so, libxcb-render.so, libxcb-res.so,
|
---|
| 141 | libxcb-screensaver.so, libxcb-shape.so, libxcb-shm.so, libxcb-sync.so,
|
---|
| 142 | libxcb-xevie.so, libxcb-xf86dri.so, libxcb-xfixes.so,
|
---|
| 143 | libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
|
---|
| 144 | libxcb-xprint.so, libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
|
---|
| 145 | </seg>
|
---|
| 146 | <seg>
|
---|
| 147 | <envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 148 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
|
---|
| 149 | </seg>
|
---|
[2626874] | 150 | </seglistitem>
|
---|
| 151 | </segmentedlist>
|
---|
| 152 |
|
---|
| 153 | <variablelist>
|
---|
| 154 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 155 | <?dbfo list-presentation="list"?>
|
---|
| 156 | <?dbhtml list-presentation="table"?>
|
---|
| 157 |
|
---|
| 158 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 159 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 160 | <listitem>
|
---|
| 161 | <para>is an interface to the X Window System protocol.</para>
|
---|
| 162 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 163 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 164 | </indexterm>
|
---|
| 165 | </listitem>
|
---|
| 166 | </varlistentry>
|
---|
| 167 |
|
---|
| 168 | </variablelist>
|
---|
| 169 |
|
---|
| 170 | </sect2>
|
---|
| 171 |
|
---|
| 172 | </sect1>
|
---|