source: x/installing/libxcb.xml

trunk
Last change on this file was 2a7351fd, checked in by Douglas R. Reno <renodr@…>, 4 days ago

Update to libxcb-1.17.0

  • Property mode set to 100644
File size: 5.8 KB
Line 
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 &lfs121_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; &amp;&amp;
103make</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
137 <para>
138 <parameter>--without-doxygen</parameter>: Do not use doxygen to
139 generate API documentation (default: auto). Without it, if
140 <xref linkend="doxygen"/> is installed, the API documentation will be
141 generated and installed.
142 </para>
143
144 </sect2>
145
146 <sect2 role="content">
147 <title>Contents</title>
148
149 <segmentedlist>
150 <segtitle>Installed Programs</segtitle>
151 <segtitle>Installed Libraries</segtitle>
152 <segtitle>Installed Directories</segtitle>
153
154 <seglistitem>
155 <seg>
156 None
157 </seg>
158 <seg>
159 libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dbe.so,
160 libxcb-dpms.so, libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so,
161 libxcb-present.so, libxcb-randr.so, libxcb-record.so,
162 libxcb-render.so, libxcb-res.so, libxcb-screensaver.so,
163 libxcb-shape.so, libxcb-shm.so, libxcb-sync.so, libxcb-xf86dri.so,
164 libxcb-xfixes.so, libxcb-xinerama.so, libxcb-xinput.so,
165 libxcb-xkb.so, libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
166 </seg>
167 <seg>
168 <envar>$XORG_PREFIX</envar>/include/xcb and
169 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
170 </seg>
171 </seglistitem>
172 </segmentedlist>
173
174 <variablelist>
175 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
176 <?dbfo list-presentation="list"?>
177 <?dbhtml list-presentation="table"?>
178
179 <varlistentry id="libxcb-lib">
180 <term><filename class="libraryfile">libxcb.so</filename></term>
181 <listitem>
182 <para>
183 is an interface to the X Window System protocol
184 </para>
185 <indexterm zone="libxcb libxcb-lib">
186 <primary sortas="c-libxcb">libxcb.so</primary>
187 </indexterm>
188 </listitem>
189 </varlistentry>
190
191 </variablelist>
192
193 </sect2>
194
195</sect1>
Note: See TracBrowser for help on using the repository browser.