[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY libxcb-download-http "https://xcb.freedesktop.org/dist/libxcb-&libxcb-version;.tar.bz2">
|
---|
[8e8f8980] | 8 | <!ENTITY libxcb-download-ftp " ">
|
---|
[26dbe9a] | 9 | <!ENTITY libxcb-md5sum "f33cdfc67346f7217a9326c0d8679975">
|
---|
| 10 | <!ENTITY libxcb-size "496 KB">
|
---|
| 11 | <!ENTITY libxcb-buildsize "43 MB (with tests, add 62 MB for doxygen docs)">
|
---|
| 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 |
|
---|
| 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 |
|
---|
[62a5037e] | 37 | &lfs91_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 |
|
---|
[49df687a] | 61 | <!--
|
---|
[5159bc2] | 62 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 63 | <itemizedlist spacing="compact">
|
---|
| 64 | <listitem>
|
---|
| 65 | <para>
|
---|
| 66 | Required patch (for Python 3): <ulink
|
---|
| 67 | url="&patch-root;/libxcb-&libxcb-version;-python3-1.patch"/>
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
[49df687a] | 71 | -->
|
---|
[2626874] | 72 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4784037] | 75 | <para role="required">
|
---|
[5159bc2] | 76 | <xref linkend="libXau"/> and
|
---|
[4784037] | 77 | <xref linkend="xcb-proto"/>
|
---|
| 78 | </para>
|
---|
[2626874] | 79 |
|
---|
[2e399a6a] | 80 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 81 | <para role="recommended">
|
---|
| 82 | <xref linkend="libXdmcp"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
[2626874] | 85 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 86 | <para role="optional">
|
---|
[24e5f9d] | 87 | <xref linkend="doxygen"/> (to generate API documentation) and
|
---|
[93f626c4] | 88 | <xref linkend="libxslt"/>
|
---|
[4784037] | 89 | </para>
|
---|
[2626874] | 90 |
|
---|
| 91 | <para condition="html" role="usernotes">User Notes:
|
---|
| 92 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
| 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | <sect2 role="installation">
|
---|
| 97 | <title>Installation of libxcb</title>
|
---|
| 98 |
|
---|
[49df687a] | 99 | <!--
|
---|
[5159bc2] | 100 | <para>
|
---|
| 101 | If building with Python 3, issue the following command:
|
---|
| 102 | </para>
|
---|
| 103 |
|
---|
| 104 | <screen><userinput>patch -Np1 -i ../libxcb-&libxcb-version;-python3-1.patch</userinput></screen>
|
---|
[49df687a] | 105 | -->
|
---|
[2626874] | 106 | <para>Install <application>libxcb</application> by running the following
|
---|
| 107 | commands:</para>
|
---|
| 108 |
|
---|
[863f350] | 109 | <screen><userinput>sed -i "s/pthread-stubs//" configure &&
|
---|
| 110 |
|
---|
[b8dff090] | 111 | ./configure $XORG_CONFIG \
|
---|
| 112 | --without-doxygen \
|
---|
[a3cbbb8] | 113 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
[2626874] | 114 | make</userinput></screen>
|
---|
| 115 |
|
---|
[b29b596] | 116 | <para>
|
---|
| 117 | If you wish to run the tests, adapt the test suite to Check-0.13.0+
|
---|
| 118 | using the following commands:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen><userinput>sed -i "s/TFun tf/const TTest *tt/" tests/check_all.c tests/check_suites.h &&
|
---|
| 122 | sed -i "s/tcase_add_test(tc, tf);/tcase_add_test(tc, tt);/" tests/check_all.c</userinput></screen>
|
---|
| 123 |
|
---|
[2626874] | 124 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 125 |
|
---|
| 126 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 127 |
|
---|
| 128 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 129 |
|
---|
| 130 | </sect2>
|
---|
| 131 |
|
---|
| 132 | <sect2 role="commands">
|
---|
| 133 | <title>Command Explanations</title>
|
---|
| 134 |
|
---|
[8abba5b9] | 135 | <para><command>sed "s/pthread-stubs//" -i configure</command>: This
|
---|
[26dbe9a] | 136 | sed removes a dependency on the libpthread-stubs package which is useless on
|
---|
[e520239f] | 137 | Linux.</para>
|
---|
| 138 |
|
---|
[49df687a] | 139 | <!-- enabled by default in libxcb-1.13
|
---|
| 140 | <para><parameter>-\-enable-xinput</parameter>: This switch enables XCB Xinput
|
---|
[bb7f58e] | 141 | extension.</para>
|
---|
[49df687a] | 142 | -->
|
---|
[bb7f58e] | 143 |
|
---|
[b8dff090] | 144 | <para><parameter>--without-doxygen</parameter>: Do not use doxygen to
|
---|
| 145 | generate API documentation (default: auto). Without it, if
|
---|
| 146 | <xref linkend="doxygen"/> is installed, the API documentation will be
|
---|
| 147 | generated and installed.</para>
|
---|
[2626874] | 148 |
|
---|
| 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Programs</segtitle>
|
---|
| 156 | <segtitle>Installed Libraries</segtitle>
|
---|
| 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
[b8dff090] | 160 | <seg>
|
---|
| 161 | None
|
---|
| 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dpms.so,
|
---|
| 165 | libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
|
---|
| 166 | libxcb-randr.so, libxcb-record.so, libxcb-render.so, libxcb-res.so,
|
---|
| 167 | libxcb-screensaver.so, libxcb-shape.so, libxcb-shm.so, libxcb-sync.so,
|
---|
[49df687a] | 168 | libxcb-xf86dri.so, libxcb-xfixes.so,
|
---|
[b8dff090] | 169 | libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
|
---|
[49df687a] | 170 | libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
|
---|
[b8dff090] | 171 | </seg>
|
---|
| 172 | <seg>
|
---|
| 173 | <envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 174 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
|
---|
| 175 | </seg>
|
---|
[2626874] | 176 | </seglistitem>
|
---|
| 177 | </segmentedlist>
|
---|
| 178 |
|
---|
| 179 | <variablelist>
|
---|
| 180 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 181 | <?dbfo list-presentation="list"?>
|
---|
| 182 | <?dbhtml list-presentation="table"?>
|
---|
| 183 |
|
---|
| 184 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 185 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 186 | <listitem>
|
---|
| 187 | <para>is an interface to the X Window System protocol.</para>
|
---|
| 188 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 189 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 190 | </indexterm>
|
---|
| 191 | </listitem>
|
---|
| 192 | </varlistentry>
|
---|
| 193 |
|
---|
| 194 | </variablelist>
|
---|
| 195 |
|
---|
| 196 | </sect2>
|
---|
| 197 |
|
---|
| 198 | </sect1>
|
---|