1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
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 "https://xorg.freedesktop.org/archive/individual/lib/libxcb-&libxcb-version;.tar.xz">
|
---|
8 | <!ENTITY libxcb-download-ftp " ">
|
---|
9 | <!ENTITY libxcb-md5sum "96565523e9f9b701fcb35d31f1d4086e">
|
---|
10 | <!ENTITY libxcb-size "448 KB">
|
---|
11 | <!ENTITY libxcb-buildsize "30 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)">
|
---|
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 |
|
---|
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>
|
---|
34 |
|
---|
35 | &lfs122_checked;
|
---|
36 |
|
---|
37 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
38 | <itemizedlist spacing="compact">
|
---|
39 | <listitem>
|
---|
40 | <para>
|
---|
41 | Download (HTTP): <ulink url="&libxcb-download-http;"/>
|
---|
42 | </para>
|
---|
43 | </listitem>
|
---|
44 | <listitem>
|
---|
45 | <para>
|
---|
46 | Download (FTP): <ulink url="&libxcb-download-ftp;"/>
|
---|
47 | </para>
|
---|
48 | </listitem>
|
---|
49 | <listitem>
|
---|
50 | <para>
|
---|
51 | Download MD5 sum: &libxcb-md5sum;
|
---|
52 | </para>
|
---|
53 | </listitem>
|
---|
54 | <listitem>
|
---|
55 | <para>
|
---|
56 | Download size: &libxcb-size;
|
---|
57 | </para>
|
---|
58 | </listitem>
|
---|
59 | <listitem>
|
---|
60 | <para>
|
---|
61 | Estimated disk space required: &libxcb-buildsize;
|
---|
62 | </para>
|
---|
63 | </listitem>
|
---|
64 | <listitem>
|
---|
65 | <para>
|
---|
66 | Estimated build time: &libxcb-time;
|
---|
67 | </para>
|
---|
68 | </listitem>
|
---|
69 | </itemizedlist>
|
---|
70 |
|
---|
71 | <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
74 | <para role="required">
|
---|
75 | <xref linkend="libXau"/> and
|
---|
76 | <xref linkend="xcb-proto"/>
|
---|
77 | </para>
|
---|
78 |
|
---|
79 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
80 | <para role="recommended">
|
---|
81 | <xref linkend="libXdmcp"/>
|
---|
82 | </para>
|
---|
83 |
|
---|
84 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
85 | <para role="optional">
|
---|
86 | <xref linkend="doxygen"/> (to generate API documentation) and
|
---|
87 | <xref linkend="libxslt"/>
|
---|
88 | </para>
|
---|
89 |
|
---|
90 | </sect2>
|
---|
91 |
|
---|
92 | <sect2 role="installation">
|
---|
93 | <title>Installation of libxcb</title>
|
---|
94 |
|
---|
95 | <para>
|
---|
96 | Install <application>libxcb</application> by running the following
|
---|
97 | commands:
|
---|
98 | </para>
|
---|
99 |
|
---|
100 | <screen><userinput>./configure $XORG_CONFIG \
|
---|
101 | --without-doxygen \
|
---|
102 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
103 | LC_ALL=en_US.UTF-8 make</userinput></screen>
|
---|
104 |
|
---|
105 | <para>
|
---|
106 | To test the results, issue: <command>make check</command>.
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <para>
|
---|
110 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
114 |
|
---|
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 |
|
---|
121 | <screen role="root"><userinput>chown -Rv root:root $XORG_PREFIX/share/doc/libxcb-&libxcb-version;</userinput></screen>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="commands">
|
---|
126 | <title>Command Explanations</title>
|
---|
127 |
|
---|
128 | <!-- https://gitlab.freedesktop.org/xorg/lib/libxcb/-/issues/72 -->
|
---|
129 | <para>
|
---|
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.
|
---|
134 | </para>
|
---|
135 |
|
---|
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>
|
---|
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>
|
---|
154 | <seg>
|
---|
155 | None
|
---|
156 | </seg>
|
---|
157 | <seg>
|
---|
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
|
---|
165 | </seg>
|
---|
166 | <seg>
|
---|
167 | <envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
168 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
|
---|
169 | </seg>
|
---|
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">
|
---|
179 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
180 | <listitem>
|
---|
181 | <para>
|
---|
182 | is an interface to the X Window System protocol
|
---|
183 | </para>
|
---|
184 | <indexterm zone="libxcb libxcb-lib">
|
---|
185 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
186 | </indexterm>
|
---|
187 | </listitem>
|
---|
188 | </varlistentry>
|
---|
189 |
|
---|
190 | </variablelist>
|
---|
191 |
|
---|
192 | </sect2>
|
---|
193 |
|
---|
194 | </sect1>
|
---|