source: x/installing/libxcb.xml@ 7affde51

12.0 12.1 ken/TL2024 ken/tuningfonts lazarus plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18
Last change on this file since 7affde51 was 9a6d0d9, checked in by Xi Ruoyao <xry111@…>, 11 months ago

x: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 5.4 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 "39c0fc337e738ad6c908e7cce90957d0">
10 <!ENTITY libxcb-size "440 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
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 &lfs113_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
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of libxcb</title>
95
96 <para>
97 Install <application>libxcb</application> by running the following
98 commands:
99 </para>
100
101<screen><userinput>PYTHON=python3 \
102./configure $XORG_CONFIG \
103 --without-doxygen \
104 --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
105make</userinput></screen>
106
107 <para>
108 To test the results, issue: <command>make check</command>.
109 </para>
110
111 <para>
112 Now, as the <systemitem class="username">root</systemitem> user:
113 </para>
114
115<screen role="root"><userinput>make install</userinput></screen>
116
117 </sect2>
118
119 <sect2 role="commands">
120 <title>Command Explanations</title>
121
122 <para>
123 <parameter>PYTHON=python3</parameter>: This variable forces configure to
124 use python3 instead of python2. The configure script for this package
125 will automatically default to python2 if it is present.
126 </para>
127
128 <para>
129 <parameter>--without-doxygen</parameter>: Do not use doxygen to
130 generate API documentation (default: auto). Without it, if
131 <xref linkend="doxygen"/> is installed, the API documentation will be
132 generated and installed.
133 </para>
134
135 </sect2>
136
137 <sect2 role="content">
138 <title>Contents</title>
139
140 <segmentedlist>
141 <segtitle>Installed Programs</segtitle>
142 <segtitle>Installed Libraries</segtitle>
143 <segtitle>Installed Directories</segtitle>
144
145 <seglistitem>
146 <seg>
147 None
148 </seg>
149 <seg>
150 libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dpms.so,
151 libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
152 libxcb-randr.so, libxcb-record.so, libxcb-render.so, libxcb-res.so,
153 libxcb-screensaver.so, libxcb-shape.so, libxcb-shm.so, libxcb-sync.so,
154 libxcb-xf86dri.so, libxcb-xfixes.so,
155 libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
156 libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
157 </seg>
158 <seg>
159 <envar>$XORG_PREFIX</envar>/include/xcb and
160 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
161 </seg>
162 </seglistitem>
163 </segmentedlist>
164
165 <variablelist>
166 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
167 <?dbfo list-presentation="list"?>
168 <?dbhtml list-presentation="table"?>
169
170 <varlistentry id="libxcb-lib">
171 <term><filename class="libraryfile">libxcb.so</filename></term>
172 <listitem>
173 <para>
174 is an interface to the X Window System protocol
175 </para>
176 <indexterm zone="libxcb libxcb-lib">
177 <primary sortas="c-libxcb">libxcb.so</primary>
178 </indexterm>
179 </listitem>
180 </varlistentry>
181
182 </variablelist>
183
184 </sect2>
185
186</sect1>
Note: See TracBrowser for help on using the repository browser.