source: x/installing/libxcb.xml@ 71df408

10.0 10.1 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 71df408 was 71df408, checked in by Pierre Labastie <pieere@…>, 4 years ago

Format the x/installing chapter

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22865 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.6 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 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>libxcb-&libxcb-version;</title>
24
25 <indexterm zone="libxcb">
26 <primary sortas="a-libxcb">libxcb</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to libxcb</title>
31
32 <para>
33 The <application>libxcb</application> package provides an interface to
34 the X Window System protocol, which replaces the current Xlib interface.
35 Xlib can also use XCB as a transport layer, allowing software to make
36 requests and receive responses with both.
37 </para>
38
39 &lfs91_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&libxcb-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&libxcb-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &libxcb-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &libxcb-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &libxcb-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &libxcb-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="libXau"/> and
80 <xref linkend="xcb-proto"/>
81 </para>
82
83 <bridgehead renderas="sect4">Recommended</bridgehead>
84 <para role="recommended">
85 <xref linkend="libXdmcp"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="doxygen"/> (to generate API documentation) and
91 <xref linkend="libxslt"/>
92 </para>
93
94 <para condition="html" role="usernotes">User Notes:
95 <ulink url="&blfs-wiki;/libxcb"/></para>
96
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of libxcb</title>
101
102 <para>
103 Install <application>libxcb</application> by running the following
104 commands:
105 </para>
106
107<screen><userinput>sed -i "s/pthread-stubs//" configure &amp;&amp;
108
109./configure $XORG_CONFIG \
110 --without-doxygen \
111 --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
112make</userinput></screen>
113
114 <para>
115 To test the results, issue: <command>make check</command>.
116 </para>
117
118 <para>
119 Now, as the <systemitem class="username">root</systemitem> user:
120 </para>
121
122<screen role="root"><userinput>make install</userinput></screen>
123
124 </sect2>
125
126 <sect2 role="commands">
127 <title>Command Explanations</title>
128
129 <para>
130 <command>sed "s/pthread-stubs//" -i configure</command>: This sed
131 removes a dependency on the libpthread-stubs package which is useless on
132 Linux.
133 </para>
134
135 <para>
136 <parameter>--without-doxygen</parameter>: Do not use doxygen to
137 generate API documentation (default: auto). Without it, if
138 <xref linkend="doxygen"/> is installed, the API documentation will be
139 generated and installed.
140 </para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
147 <segmentedlist>
148 <segtitle>Installed Programs</segtitle>
149 <segtitle>Installed Libraries</segtitle>
150 <segtitle>Installed Directories</segtitle>
151
152 <seglistitem>
153 <seg>
154 None
155 </seg>
156 <seg>
157 libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dpms.so,
158 libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
159 libxcb-randr.so, libxcb-record.so, libxcb-render.so, libxcb-res.so,
160 libxcb-screensaver.so, libxcb-shape.so, libxcb-shm.so, libxcb-sync.so,
161 libxcb-xf86dri.so, libxcb-xfixes.so,
162 libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
163 libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
164 </seg>
165 <seg>
166 <envar>$XORG_PREFIX</envar>/include/xcb and
167 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
168 </seg>
169 </seglistitem>
170 </segmentedlist>
171
172 <variablelist>
173 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
174 <?dbfo list-presentation="list"?>
175 <?dbhtml list-presentation="table"?>
176
177 <varlistentry id="libxcb-lib">
178 <term><filename class="libraryfile">libxcb.so</filename></term>
179 <listitem>
180 <para>
181 is an interface to the X Window System protocol.
182 </para>
183 <indexterm zone="libxcb libxcb-lib">
184 <primary sortas="c-libxcb">libxcb.so</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 </variablelist>
190
191 </sect2>
192
193</sect1>
Note: See TracBrowser for help on using the repository browser.