source: x/installing/libxcb.xml@ fe0192e

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fe0192e was 5a86470, checked in by Douglas R. Reno <renodr@…>, 3 years ago

libxcb: Force the usage of python3 if python2 is installed, and also add
command explanations

  • Property mode set to 100644
File size: 5.8 KB
Line 
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
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 "f90b6e4541e9518b4c373b734f475ae7">
10 <!ENTITY libxcb-size "432 KB">
11 <!ENTITY libxcb-buildsize "27 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 <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
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>
37
38 &lfs101_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>
44 Download (HTTP): <ulink url="&libxcb-download-http;"/>
45 </para>
46 </listitem>
47 <listitem>
48 <para>
49 Download (FTP): <ulink url="&libxcb-download-ftp;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download MD5 sum: &libxcb-md5sum;
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download size: &libxcb-size;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Estimated disk space required: &libxcb-buildsize;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated build time: &libxcb-time;
70 </para>
71 </listitem>
72 </itemizedlist>
73
74 <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
75
76 <bridgehead renderas="sect4">Required</bridgehead>
77 <para role="required">
78 <xref linkend="libXau"/> and
79 <xref linkend="xcb-proto"/>
80 </para>
81
82 <bridgehead renderas="sect4">Recommended</bridgehead>
83 <para role="recommended">
84 <xref linkend="libXdmcp"/>
85 </para>
86
87 <bridgehead renderas="sect4">Optional</bridgehead>
88 <para role="optional">
89 <xref linkend="doxygen"/> (to generate API documentation) and
90 <xref linkend="libxslt"/>
91 </para>
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
101 <para>
102 Install <application>libxcb</application> by running the following
103 commands:
104 </para>
105
106<screen><userinput>CFLAGS="${CFLAGS:--O2 -g} -Wno-error=format-extra-args" \
107PYTHON=python3 \
108./configure $XORG_CONFIG \
109 --without-doxygen \
110 --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
111make</userinput></screen>
112
113 <para>
114 To test the results, issue: <command>make check</command>.
115 </para>
116
117 <para>
118 Now, as the <systemitem class="username">root</systemitem> user:
119 </para>
120
121<screen role="root"><userinput>make install</userinput></screen>
122
123 </sect2>
124
125 <sect2 role="commands">
126 <title>Command Explanations</title>
127
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
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>
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>
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,
165 libxcb-xf86dri.so, libxcb-xfixes.so,
166 libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
167 libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
168 </seg>
169 <seg>
170 <envar>$XORG_PREFIX</envar>/include/xcb and
171 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
172 </seg>
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">
182 <term><filename class="libraryfile">libxcb.so</filename></term>
183 <listitem>
184 <para>
185 is an interface to the X Window System protocol
186 </para>
187 <indexterm zone="libxcb libxcb-lib">
188 <primary sortas="c-libxcb">libxcb.so</primary>
189 </indexterm>
190 </listitem>
191 </varlistentry>
192
193 </variablelist>
194
195 </sect2>
196
197</sect1>
Note: See TracBrowser for help on using the repository browser.