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