[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[2626874] | 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 " ">
|
---|
[2a7351fd] | 9 | <!ENTITY libxcb-md5sum "96565523e9f9b701fcb35d31f1d4086e">
|
---|
[d8d87ec2] | 10 | <!ENTITY libxcb-size "448 KB">
|
---|
[2a7351fd] | 11 | <!ENTITY libxcb-buildsize "30 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 |
|
---|
| 19 | <title>libxcb-&libxcb-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="libxcb">
|
---|
| 22 | <primary sortas="a-libxcb">libxcb</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to libxcb</title>
|
---|
| 27 |
|
---|
[71df408] | 28 | <para>
|
---|
| 29 | The <application>libxcb</application> package provides an interface to
|
---|
| 30 | the X Window System protocol, which replaces the current Xlib interface.
|
---|
| 31 | Xlib can also use XCB as a transport layer, allowing software to make
|
---|
| 32 | requests and receive responses with both.
|
---|
| 33 | </para>
|
---|
[2626874] | 34 |
|
---|
[d4dc5bae] | 35 | &lfs122_checked;
|
---|
[1ed7820] | 36 |
|
---|
[2626874] | 37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 38 | <itemizedlist spacing="compact">
|
---|
| 39 | <listitem>
|
---|
[71df408] | 40 | <para>
|
---|
| 41 | Download (HTTP): <ulink url="&libxcb-download-http;"/>
|
---|
| 42 | </para>
|
---|
[2626874] | 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
[71df408] | 45 | <para>
|
---|
| 46 | Download (FTP): <ulink url="&libxcb-download-ftp;"/>
|
---|
| 47 | </para>
|
---|
[2626874] | 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
[71df408] | 50 | <para>
|
---|
| 51 | Download MD5 sum: &libxcb-md5sum;
|
---|
| 52 | </para>
|
---|
[2626874] | 53 | </listitem>
|
---|
| 54 | <listitem>
|
---|
[71df408] | 55 | <para>
|
---|
| 56 | Download size: &libxcb-size;
|
---|
| 57 | </para>
|
---|
[2626874] | 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
[71df408] | 60 | <para>
|
---|
| 61 | Estimated disk space required: &libxcb-buildsize;
|
---|
| 62 | </para>
|
---|
[2626874] | 63 | </listitem>
|
---|
| 64 | <listitem>
|
---|
[71df408] | 65 | <para>
|
---|
| 66 | Estimated build time: &libxcb-time;
|
---|
| 67 | </para>
|
---|
[2626874] | 68 | </listitem>
|
---|
| 69 | </itemizedlist>
|
---|
| 70 |
|
---|
| 71 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[4784037] | 74 | <para role="required">
|
---|
[5159bc2] | 75 | <xref linkend="libXau"/> and
|
---|
[4784037] | 76 | <xref linkend="xcb-proto"/>
|
---|
| 77 | </para>
|
---|
[2626874] | 78 |
|
---|
[2e399a6a] | 79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 80 | <para role="recommended">
|
---|
| 81 | <xref linkend="libXdmcp"/>
|
---|
| 82 | </para>
|
---|
| 83 |
|
---|
[2626874] | 84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[4784037] | 85 | <para role="optional">
|
---|
[24e5f9d] | 86 | <xref linkend="doxygen"/> (to generate API documentation) and
|
---|
[93f626c4] | 87 | <xref linkend="libxslt"/>
|
---|
[4784037] | 88 | </para>
|
---|
[2626874] | 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="installation">
|
---|
| 93 | <title>Installation of libxcb</title>
|
---|
| 94 |
|
---|
[71df408] | 95 | <para>
|
---|
| 96 | Install <application>libxcb</application> by running the following
|
---|
| 97 | commands:
|
---|
| 98 | </para>
|
---|
[2626874] | 99 |
|
---|
[57d2e27] | 100 | <screen><userinput>./configure $XORG_CONFIG \
|
---|
[b8dff090] | 101 | --without-doxygen \
|
---|
[a3cbbb8] | 102 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
[e55253d] | 103 | LC_ALL=en_US.UTF-8 make</userinput></screen>
|
---|
[2626874] | 104 |
|
---|
[71df408] | 105 | <para>
|
---|
| 106 | To test the results, issue: <command>make check</command>.
|
---|
| 107 | </para>
|
---|
[2626874] | 108 |
|
---|
[71df408] | 109 | <para>
|
---|
| 110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 111 | </para>
|
---|
[2626874] | 112 |
|
---|
| 113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 114 |
|
---|
[89a2341] | 115 | <para>
|
---|
| 116 | If the package was built as a non-&root; user, the installed
|
---|
| 117 | documentation is now owned by this user. As the &root; user,
|
---|
| 118 | fix the ownership:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
[8407633] | 121 | <screen role="root"><userinput>chown -Rv root:root $XORG_PREFIX/share/doc/libxcb-&libxcb-version;</userinput></screen>
|
---|
[89a2341] | 122 |
|
---|
[2626874] | 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="commands">
|
---|
| 126 | <title>Command Explanations</title>
|
---|
| 127 |
|
---|
[e55253d] | 128 | <!-- https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/72 -->
|
---|
[5a86470] | 129 | <para>
|
---|
[cf154122] | 130 | <envar>LC_ALL=en_US.UTF-8</envar>: Some Python 3 script in the
|
---|
| 131 | building system of this package may fail with certain system
|
---|
| 132 | locale settings. This environment variable forces a locale setting
|
---|
| 133 | known to work.
|
---|
[5a86470] | 134 | </para>
|
---|
| 135 |
|
---|
[71df408] | 136 | <para>
|
---|
| 137 | <parameter>--without-doxygen</parameter>: Do not use doxygen to
|
---|
| 138 | generate API documentation (default: auto). Without it, if
|
---|
| 139 | <xref linkend="doxygen"/> is installed, the API documentation will be
|
---|
| 140 | generated and installed.
|
---|
| 141 | </para>
|
---|
[2626874] | 142 |
|
---|
| 143 | </sect2>
|
---|
| 144 |
|
---|
| 145 | <sect2 role="content">
|
---|
| 146 | <title>Contents</title>
|
---|
| 147 |
|
---|
| 148 | <segmentedlist>
|
---|
| 149 | <segtitle>Installed Programs</segtitle>
|
---|
| 150 | <segtitle>Installed Libraries</segtitle>
|
---|
| 151 | <segtitle>Installed Directories</segtitle>
|
---|
| 152 |
|
---|
| 153 | <seglistitem>
|
---|
[b8dff090] | 154 | <seg>
|
---|
| 155 | None
|
---|
| 156 | </seg>
|
---|
| 157 | <seg>
|
---|
[2a7351fd] | 158 | libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dbe.so,
|
---|
| 159 | libxcb-dpms.so, libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so,
|
---|
| 160 | libxcb-present.so, libxcb-randr.so, libxcb-record.so,
|
---|
| 161 | libxcb-render.so, libxcb-res.so, libxcb-screensaver.so,
|
---|
| 162 | libxcb-shape.so, libxcb-shm.so, libxcb-sync.so, libxcb-xf86dri.so,
|
---|
| 163 | libxcb-xfixes.so, libxcb-xinerama.so, libxcb-xinput.so,
|
---|
| 164 | libxcb-xkb.so, libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
|
---|
[b8dff090] | 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | <envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
| 168 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
|
---|
| 169 | </seg>
|
---|
[2626874] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="libxcb-lib">
|
---|
[bb7f58e] | 179 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
[2626874] | 180 | <listitem>
|
---|
[71df408] | 181 | <para>
|
---|
[4c24eb0a] | 182 | is an interface to the X Window System protocol
|
---|
[71df408] | 183 | </para>
|
---|
[2626874] | 184 | <indexterm zone="libxcb libxcb-lib">
|
---|
[bb7f58e] | 185 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
[2626874] | 186 | </indexterm>
|
---|
| 187 | </listitem>
|
---|
| 188 | </varlistentry>
|
---|
| 189 |
|
---|
| 190 | </variablelist>
|
---|
| 191 |
|
---|
| 192 | </sect2>
|
---|
| 193 |
|
---|
| 194 | </sect1>
|
---|