[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 " ">
|
---|
[e450d21] | 9 | <!ENTITY libxcb-md5sum "5a873ebd383d1a60612dd6ec6b42c781">
|
---|
| 10 | <!ENTITY libxcb-size "506 KB">
|
---|
| 11 | <!ENTITY libxcb-buildsize "41 MB (124 MB with doxygen
|
---|
[93f626c4] | 12 | generated documentation)">
|
---|
[e450d21] | 13 | <!ENTITY libxcb-time "0.2 SBU (additional 0.1 to generate
|
---|
[93f626c4] | 14 | API documentation)">
|
---|
[2626874] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="libxcb" xreflabel="libxcb-&libxcb-version;">
|
---|
| 18 | <?dbhtml filename="libxcb.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>libxcb-&libxcb-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="libxcb">
|
---|
| 28 | <primary sortas="a-libxcb">libxcb</primary>
|
---|
| 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to libxcb</title>
|
---|
| 33 |
|
---|
| 34 | <para>The <application>libxcb</application> package provides an interface
|
---|
| 35 | to the X Window System protocol, which replaces the current Xlib interface.
|
---|
| 36 | Xlib can also use XCB as a transport layer, allowing software to make
|
---|
| 37 | requests and receive responses with both.</para>
|
---|
| 38 |
|
---|
[d7f908d5] | 39 | &lfs77_checked; &gcc5_checked;
|
---|
[1ed7820] | 40 |
|
---|
[2626874] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &libxcb-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &libxcb-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &libxcb-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &libxcb-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4784037] | 66 | <para role="required">
|
---|
[2e399a6a] | 67 | <xref linkend="libXau"/> and
|
---|
[4784037] | 68 | <xref linkend="xcb-proto"/>
|
---|
| 69 | </para>
|
---|
[2626874] | 70 |
|
---|
[2e399a6a] | 71 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 72 | <para role="recommended">
|
---|
| 73 | <xref linkend="libXdmcp"/>
|
---|
| 74 | </para>
|
---|
| 75 |
|
---|
[2626874] | 76 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 77 | <para role="optional">
|
---|
[93f626c4] | 78 | <xref linkend="doxygen"/> (to generate API documentation)
|
---|
| 79 | <xref linkend="check"/> (to run tests) and
|
---|
| 80 | <xref linkend="libxslt"/>
|
---|
[4784037] | 81 | </para>
|
---|
[2626874] | 82 |
|
---|
| 83 | <para condition="html" role="usernotes">User Notes:
|
---|
| 84 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 85 |
|
---|
| 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of libxcb</title>
|
---|
| 90 |
|
---|
| 91 | <para>Install <application>libxcb</application> by running the following
|
---|
| 92 | commands:</para>
|
---|
| 93 |
|
---|
[863f350] | 94 | <screen><userinput>sed -i "s/pthread-stubs//" configure &&
|
---|
| 95 |
|
---|
[a3cbbb8] | 96 | ./configure $XORG_CONFIG \
|
---|
| 97 | --enable-xinput \
|
---|
| 98 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
[2626874] | 99 | make</userinput></screen>
|
---|
| 100 |
|
---|
| 101 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 102 |
|
---|
| 103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 104 |
|
---|
| 105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 106 |
|
---|
| 107 | </sect2>
|
---|
| 108 |
|
---|
| 109 | <sect2 role="commands">
|
---|
| 110 | <title>Command Explanations</title>
|
---|
| 111 |
|
---|
[8abba5b9] | 112 | <para><command>sed "s/pthread-stubs//" -i configure</command>: This
|
---|
[e520239f] | 113 | sed removes dependency on libpthread-stubs package which is useless on
|
---|
| 114 | Linux.</para>
|
---|
| 115 |
|
---|
[6f27fb7] | 116 | <para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
|
---|
[bb7f58e] | 117 | extension.</para>
|
---|
| 118 |
|
---|
[6f27fb7] | 119 | <para><option>--without-doxygen</option>: This switch can be used
|
---|
[2626874] | 120 | to disable the API documentation if <xref linkend="doxygen"/> is
|
---|
| 121 | installed.</para>
|
---|
| 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>
|
---|
| 134 | <seg>None</seg>
|
---|
[bb7f58e] | 135 | <seg>libxcb.so and libxcb-*.so</seg>
|
---|
[2626874] | 136 | <seg><envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 137 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
|
---|
| 138 | </seglistitem>
|
---|
| 139 | </segmentedlist>
|
---|
| 140 |
|
---|
| 141 | <variablelist>
|
---|
| 142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 143 | <?dbfo list-presentation="list"?>
|
---|
| 144 | <?dbhtml list-presentation="table"?>
|
---|
| 145 |
|
---|
| 146 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 147 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 148 | <listitem>
|
---|
| 149 | <para>is an interface to the X Window System protocol.</para>
|
---|
| 150 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 151 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 152 | </indexterm>
|
---|
| 153 | </listitem>
|
---|
| 154 | </varlistentry>
|
---|
| 155 |
|
---|
| 156 | </variablelist>
|
---|
| 157 |
|
---|
| 158 | </sect2>
|
---|
| 159 |
|
---|
| 160 | </sect1>
|
---|