source: x/installing/libxcb.xml@ 37892fa

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules 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 37892fa was 37892fa, checked in by Bruce Dubbs <bdubbs@…>, 8 years ago

Clarify dependency for libxcb

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17487 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 "http://xcb.freedesktop.org/dist/libxcb-&libxcb-version;.tar.bz2">
8 <!ENTITY libxcb-download-ftp " ">
9 <!ENTITY libxcb-md5sum "28e552bd78bc1050b6b26ca1db0e5bb6">
10 <!ENTITY libxcb-size "600 KB">
11 <!ENTITY libxcb-buildsize "28 MB (with tests, add 62 MB for doxygen docs)">
12 <!ENTITY libxcb-time "0.3 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>The <application>libxcb</application> package provides an interface
33 to 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.</para>
36
37 &lfs79_checked;&gcc6_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
46 </listitem>
47 <listitem>
48 <para>Download MD5 sum: &libxcb-md5sum;</para>
49 </listitem>
50 <listitem>
51 <para>Download size: &libxcb-size;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated disk space required: &libxcb-buildsize;</para>
55 </listitem>
56 <listitem>
57 <para>Estimated build time: &libxcb-time;</para>
58 </listitem>
59 </itemizedlist>
60
61 <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
62
63 <bridgehead renderas="sect4">Required</bridgehead>
64 <para role="required">
65 <xref linkend="libXau"/>,
66 <xref linkend="python2"/>, and
67 <xref linkend="xcb-proto"/>
68 </para>
69
70 <bridgehead renderas="sect4">Recommended</bridgehead>
71 <para role="recommended">
72 <xref linkend="libXdmcp"/>
73 </para>
74
75 <bridgehead renderas="sect4">Optional</bridgehead>
76 <para role="optional">
77 <xref linkend="doxygen"/> (to generate API documentation)
78 <xref linkend="check"/> (to run tests) and
79 <xref linkend="libxslt"/>
80 </para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/libxcb"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of libxcb</title>
89
90 <para>Install <application>libxcb</application> by running the following
91 commands:</para>
92
93<screen><userinput>sed -i "s/pthread-stubs//" configure &amp;&amp;
94
95./configure $XORG_CONFIG \
96 --enable-xinput \
97 --without-doxygen \
98 --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
99make</userinput></screen>
100
101 <para>To test the results, issue: <command>make check</command>.</para>
102
103 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
104
105<screen role="root"><userinput>make install</userinput></screen>
106
107 </sect2>
108
109 <sect2 role="commands">
110 <title>Command Explanations</title>
111
112 <para><command>sed "s/pthread-stubs//" -i configure</command>: This
113 sed removes dependency on libpthread-stubs package which is useless on
114 Linux.</para>
115
116 <para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
117 extension.</para>
118
119 <para><parameter>--without-doxygen</parameter>: Do not use doxygen to
120 generate API documentation (default: auto). Without it, if
121 <xref linkend="doxygen"/> is installed, the API documentation will be
122 generated and installed.</para>
123
124 </sect2>
125
126 <sect2 role="content">
127 <title>Contents</title>
128
129 <segmentedlist>
130 <segtitle>Installed Programs</segtitle>
131 <segtitle>Installed Libraries</segtitle>
132 <segtitle>Installed Directories</segtitle>
133
134 <seglistitem>
135 <seg>
136 None
137 </seg>
138 <seg>
139 libxcb.so, libxcb-composite.so, libxcb-damage.so, libxcb-dpms.so,
140 libxcb-dri2.so, libxcb-dri3.so, libxcb-glx.so, libxcb-present.so,
141 libxcb-randr.so, libxcb-record.so, libxcb-render.so, libxcb-res.so,
142 libxcb-screensaver.so, libxcb-shape.so, libxcb-shm.so, libxcb-sync.so,
143 libxcb-xevie.so, libxcb-xf86dri.so, libxcb-xfixes.so,
144 libxcb-xinerama.so, libxcb-xinput.so, libxcb-xkb.so,
145 libxcb-xprint.so, libxcb-xtest.so, libxcb-xvmc.so, and libxcb-xv.so
146 </seg>
147 <seg>
148 <envar>$XORG_PREFIX</envar>/include/xcb and
149 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;
150 </seg>
151 </seglistitem>
152 </segmentedlist>
153
154 <variablelist>
155 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
156 <?dbfo list-presentation="list"?>
157 <?dbhtml list-presentation="table"?>
158
159 <varlistentry id="libxcb-lib">
160 <term><filename class="libraryfile">libxcb.so</filename></term>
161 <listitem>
162 <para>is an interface to the X Window System protocol.</para>
163 <indexterm zone="libxcb libxcb-lib">
164 <primary sortas="c-libxcb">libxcb.so</primary>
165 </indexterm>
166 </listitem>
167 </varlistentry>
168
169 </variablelist>
170
171 </sect2>
172
173</sect1>
Note: See TracBrowser for help on using the repository browser.