[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 |
|
---|
[d1afdf5] | 7 | <!ENTITY libxcb-download-http "https://xorg.freedesktop.org/archive/individual/lib/libxcb-&libxcb-version;.tar.xz">
|
---|
[8e8f8980] | 8 | <!ENTITY libxcb-download-ftp " ">
|
---|
[d1afdf5] | 9 | <!ENTITY libxcb-md5sum "f90b6e4541e9518b4c373b734f475ae7">
|
---|
| 10 | <!ENTITY libxcb-size "432 KB">
|
---|
| 11 | <!ENTITY libxcb-buildsize "27 MB (with tests, add 62 MB for doxygen docs)">
|
---|
[26dbe9a] | 12 | <!ENTITY libxcb-time "0.2 SBU (with tests, add 1.4 SBU for doxygen docs)">
|
---|
[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 |
|
---|
[71df408] | 32 | <para>
|
---|
| 33 | The <application>libxcb</application> package provides an interface to
|
---|
| 34 | 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.
|
---|
| 37 | </para>
|
---|
[2626874] | 38 |
|
---|
[62a5037e] | 39 | &lfs91_checked;
|
---|
[1ed7820] | 40 |
|
---|
[2626874] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
[71df408] | 44 | <para>
|
---|
| 45 | Download (HTTP): <ulink url="&libxcb-download-http;"/>
|
---|
| 46 | </para>
|
---|
[2626874] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[71df408] | 49 | <para>
|
---|
| 50 | Download (FTP): <ulink url="&libxcb-download-ftp;"/>
|
---|
| 51 | </para>
|
---|
[2626874] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[71df408] | 54 | <para>
|
---|
| 55 | Download MD5 sum: &libxcb-md5sum;
|
---|
| 56 | </para>
|
---|
[2626874] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[71df408] | 59 | <para>
|
---|
| 60 | Download size: &libxcb-size;
|
---|
| 61 | </para>
|
---|
[2626874] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[71df408] | 64 | <para>
|
---|
| 65 | Estimated disk space required: &libxcb-buildsize;
|
---|
| 66 | </para>
|
---|
[2626874] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[71df408] | 69 | <para>
|
---|
| 70 | Estimated build time: &libxcb-time;
|
---|
| 71 | </para>
|
---|
[2626874] | 72 | </listitem>
|
---|
| 73 | </itemizedlist>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 76 |
|
---|
| 77 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4784037] | 78 | <para role="required">
|
---|
[5159bc2] | 79 | <xref linkend="libXau"/> and
|
---|
[4784037] | 80 | <xref linkend="xcb-proto"/>
|
---|
| 81 | </para>
|
---|
[2626874] | 82 |
|
---|
[2e399a6a] | 83 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 84 | <para role="recommended">
|
---|
| 85 | <xref linkend="libXdmcp"/>
|
---|
| 86 | </para>
|
---|
| 87 |
|
---|
[2626874] | 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 89 | <para role="optional">
|
---|
[24e5f9d] | 90 | <xref linkend="doxygen"/> (to generate API documentation) and
|
---|
[93f626c4] | 91 | <xref linkend="libxslt"/>
|
---|
[4784037] | 92 | </para>
|
---|
[2626874] | 93 |
|
---|
| 94 | <para condition="html" role="usernotes">User Notes:
|
---|
| 95 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 96 |
|
---|
| 97 | </sect2>
|
---|
| 98 |
|
---|
| 99 | <sect2 role="installation">
|
---|
| 100 | <title>Installation of libxcb</title>
|
---|
| 101 |
|
---|
[71df408] | 102 | <para>
|
---|
| 103 | Install <application>libxcb</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
[2626874] | 106 |
|
---|
[863f350] | 107 | <screen><userinput>sed -i "s/pthread-stubs//" configure &&
|
---|
| 108 |
|
---|
[b8dff090] | 109 | ./configure $XORG_CONFIG \
|
---|
| 110 | --without-doxygen \
|
---|
[a3cbbb8] | 111 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
[2626874] | 112 | make</userinput></screen>
|
---|
| 113 |
|
---|
[71df408] | 114 | <para>
|
---|
| 115 | To test the results, issue: <command>make check</command>.
|
---|
| 116 | </para>
|
---|
[2626874] | 117 |
|
---|
[71df408] | 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
[2626874] | 121 |
|
---|
| 122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="commands">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
| 128 |
|
---|
[71df408] | 129 | <para>
|
---|
| 130 | <command>sed "s/pthread-stubs//" -i configure</command>: This sed
|
---|
| 131 | removes a dependency on the libpthread-stubs package which is useless on
|
---|
| 132 | Linux.
|
---|
| 133 | </para>
|
---|
[e520239f] | 134 |
|
---|
[71df408] | 135 | <para>
|
---|
| 136 | <parameter>--without-doxygen</parameter>: Do not use doxygen to
|
---|
| 137 | generate API documentation (default: auto). Without it, if
|
---|
| 138 | <xref linkend="doxygen"/> is installed, the API documentation will be
|
---|
| 139 | generated and installed.
|
---|
| 140 | </para>
|
---|
[2626874] | 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | <sect2 role="content">
|
---|
| 145 | <title>Contents</title>
|
---|
| 146 |
|
---|
| 147 | <segmentedlist>
|
---|
| 148 | <segtitle>Installed Programs</segtitle>
|
---|
| 149 | <segtitle>Installed Libraries</segtitle>
|
---|
| 150 | <segtitle>Installed Directories</segtitle>
|
---|
| 151 |
|
---|
| 152 | <seglistitem>
|
---|
[b8dff090] | 153 | <seg>
|
---|
| 154 | None
|
---|
| 155 | </seg>
|
---|
| 156 | <seg>
|
---|
| 157 | libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dpms.so,
|
---|
| 158 | libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
|
---|
| 159 | libxcb-randr.so, libxcb-record.so, libxcb-render.so, libxcb-res.so,
|
---|
| 160 | libxcb-screensaver.so, libxcb-shape.so, libxcb-shm.so, libxcb-sync.so,
|
---|
[49df687a] | 161 | libxcb-xf86dri.so, libxcb-xfixes.so,
|
---|
[b8dff090] | 162 | libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
|
---|
[49df687a] | 163 | libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
|
---|
[b8dff090] | 164 | </seg>
|
---|
| 165 | <seg>
|
---|
| 166 | <envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 167 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
|
---|
| 168 | </seg>
|
---|
[2626874] | 169 | </seglistitem>
|
---|
| 170 | </segmentedlist>
|
---|
| 171 |
|
---|
| 172 | <variablelist>
|
---|
| 173 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 174 | <?dbfo list-presentation="list"?>
|
---|
| 175 | <?dbhtml list-presentation="table"?>
|
---|
| 176 |
|
---|
| 177 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 178 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 179 | <listitem>
|
---|
[71df408] | 180 | <para>
|
---|
| 181 | is an interface to the X Window System protocol.
|
---|
| 182 | </para>
|
---|
[2626874] | 183 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 184 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 185 | </indexterm>
|
---|
| 186 | </listitem>
|
---|
| 187 | </varlistentry>
|
---|
| 188 |
|
---|
| 189 | </variablelist>
|
---|
| 190 |
|
---|
| 191 | </sect2>
|
---|
| 192 |
|
---|
| 193 | </sect1>
|
---|