[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 " ">
|
---|
[6f27fb7] | 9 | <!ENTITY libxcb-md5sum "1ca999ca94f760d917ef2d8466a88742">
|
---|
| 10 | <!ENTITY libxcb-size "391 KB">
|
---|
| 11 | <!ENTITY libxcb-buildsize "45 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 |
|
---|
[5f26d66f] | 37 | &lfs74_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">
|
---|
| 65 | <xref linkend="libXau"/>,
|
---|
| 66 | <xref linkend="libXdmcp"/>,
|
---|
| 67 | <xref linkend="libxslt"/>, and
|
---|
| 68 | <xref linkend="xcb-proto"/>
|
---|
| 69 | </para>
|
---|
[2626874] | 70 |
|
---|
| 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 72 | <para role="optional">
|
---|
[0d7900a] | 73 | <xref linkend="doxygen"/> (to generate API documentation) and
|
---|
[4784037] | 74 | <xref linkend="check"/> (to run tests)
|
---|
| 75 | </para>
|
---|
[2626874] | 76 |
|
---|
| 77 | <para condition="html" role="usernotes">User Notes:
|
---|
| 78 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 79 |
|
---|
| 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of libxcb</title>
|
---|
| 84 |
|
---|
| 85 | <para>Install <application>libxcb</application> by running the following
|
---|
| 86 | commands:</para>
|
---|
| 87 |
|
---|
[6f27fb7] | 88 | <screen><userinput>sed -e "s/pthread-stubs//" -i configure.ac &&
|
---|
| 89 | autoreconf -fiv &&
|
---|
[b46c64c] | 90 | ./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; \
|
---|
| 91 | --enable-xinput --enable-xkb &&
|
---|
[2626874] | 92 | make</userinput></screen>
|
---|
| 93 |
|
---|
| 94 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 95 |
|
---|
| 96 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 97 |
|
---|
| 98 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 99 |
|
---|
| 100 | </sect2>
|
---|
| 101 |
|
---|
| 102 | <sect2 role="commands">
|
---|
| 103 | <title>Command Explanations</title>
|
---|
| 104 |
|
---|
[e520239f] | 105 | <para><command>sed -e "s/pthread-stubs//" -i configure.ac</command>: This
|
---|
| 106 | sed removes dependency on libpthread-stubs package which is useless on
|
---|
| 107 | Linux.</para>
|
---|
| 108 |
|
---|
[6f27fb7] | 109 | <para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
|
---|
[bb7f58e] | 110 | extension.</para>
|
---|
| 111 |
|
---|
[6f27fb7] | 112 | <para><parameter>--enable-xkb</parameter>: This switch enables XCB XKB
|
---|
[b46c64c] | 113 | extension.</para>
|
---|
| 114 |
|
---|
[6f27fb7] | 115 | <para><option>--without-doxygen</option>: This switch can be used
|
---|
[2626874] | 116 | to disable the API documentation if <xref linkend="doxygen"/> is
|
---|
| 117 | installed.</para>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
| 125 | <segtitle>Installed Programs</segtitle>
|
---|
| 126 | <segtitle>Installed Libraries</segtitle>
|
---|
| 127 | <segtitle>Installed Directories</segtitle>
|
---|
| 128 |
|
---|
| 129 | <seglistitem>
|
---|
| 130 | <seg>None</seg>
|
---|
[bb7f58e] | 131 | <seg>libxcb.so and libxcb-*.so</seg>
|
---|
[2626874] | 132 | <seg><envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 133 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
|
---|
| 134 | </seglistitem>
|
---|
| 135 | </segmentedlist>
|
---|
| 136 |
|
---|
| 137 | <variablelist>
|
---|
| 138 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 139 | <?dbfo list-presentation="list"?>
|
---|
| 140 | <?dbhtml list-presentation="table"?>
|
---|
| 141 |
|
---|
| 142 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 143 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 144 | <listitem>
|
---|
| 145 | <para>is an interface to the X Window System protocol.</para>
|
---|
| 146 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 147 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 148 | </indexterm>
|
---|
| 149 | </listitem>
|
---|
| 150 | </varlistentry>
|
---|
| 151 |
|
---|
| 152 | </variablelist>
|
---|
| 153 |
|
---|
| 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | </sect1>
|
---|