source: x/installing/libxcb.xml@ af5f03a5

6.3 6.3-rc3
Last change on this file since af5f03a5 was af5f03a5, checked in by Randy McMurchy <randy@…>, 16 years ago

Removed obsolete X Window components FTP download URL

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

  • Property mode set to 100644
File size: 6.3 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-download-ftp "ftp://ftp.x.org/pub/current/src/extras/libxcb-&libxcb-version;.tar.bz2"> -->
10 <!ENTITY libxcb-md5sum "0eb951fd0fa9542dbe4fc3530b81a3b6">
11 <!ENTITY libxcb-size "410 KB">
12 <!ENTITY libxcb-buildsize "15.0 MB">
13 <!ENTITY libxcb-time "0.4 SBU">
14]>
15
16<sect1 id="libxcb" xreflabel="libxcb-&libxcb-version;">
17 <?dbhtml filename="libxcb.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>libxcb-&libxcb-version;</title>
25
26 <indexterm zone="libxcb">
27 <primary sortas="a-libxcb">libxcb</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to libxcb</title>
32
33 <para>The <application>libxcb</application> package provides an interface
34 to 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.</para>
37
38 <bridgehead renderas="sect3">Package Information</bridgehead>
39 <itemizedlist spacing="compact">
40 <listitem>
41 <para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
42 </listitem>
43 <listitem>
44 <para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download MD5 sum: &libxcb-md5sum;</para>
48 </listitem>
49 <listitem>
50 <para>Download size: &libxcb-size;</para>
51 </listitem>
52 <listitem>
53 <para>Estimated disk space required: &libxcb-buildsize;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated build time: &libxcb-time;</para>
57 </listitem>
58 </itemizedlist>
59
60 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>Required patch to workaround X11 locking bugs in other
64 applications: <ulink
65 url="&patch-root;/libxcb-&libxcb-version;-sloppy_lock-1.patch"/></para>
66 </listitem>
67 </itemizedlist>
68
69 <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
70
71 <bridgehead renderas="sect4">Required</bridgehead>
72 <para role="required"><xref linkend="libXau"/>,
73 <xref linkend="libXdmcp"/>,
74 <xref linkend="libpthread-stubs"/>,
75 <xref linkend="xcb-proto"/>, and
76 <xref linkend="libxslt"/></para>
77
78 <bridgehead renderas="sect4">Optional</bridgehead>
79 <para role="optional"><xref linkend="doxygen"/> (to generate API
80 documentation) and <ulink url="http://check.sourceforge.net/">Check</ulink>
81 (to run tests)</para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libxcb"/></para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libxcb</title>
90
91 <para>Install <application>libxcb</application> by running the following
92 commands:</para>
93
94<screen><userinput>patch -Np1 -i ../libxcb-&libxcb-version;-sloppy_lock-1.patch &amp;&amp;
95./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
96make</userinput></screen>
97
98 <para>To test the results, issue: <command>make check</command>.</para>
99
100 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
101
102<screen role="root"><userinput>make install</userinput></screen>
103
104 </sect2>
105
106 <sect2 role="commands">
107 <title>Command Explanations</title>
108
109 <para><parameter>--docdir='${datadir}'/doc/libxcb-&libxcb-version;</parameter>:
110 This parameter ensures the <application>libxcb</application> documentation
111 is installed to a versioned directory.</para>
112
113 <para><parameter>--without-doxygen</parameter>: This switch can be used
114 to disable the API documentation if <xref linkend="doxygen"/> is
115 installed.</para>
116
117 </sect2>
118
119 <sect2 role="configuration">
120 <title>Configuring libxcb</title>
121
122 <sect3 id="libxcb-config">
123 <title>Configuration Information</title>
124
125 <para>The <application>libxcb</application> developers have decided
126 to be strict in asserting locking bugs in X11 applications. This is
127 different than the behavior of <application>libX11</application> when
128 used on its own, and it will cause some applications to crash when
129 they previously did not. When an application has these types of bugs,
130 it will crash with the following assertion:</para>
131
132<screen><literal>xcb_xlib_lock: Assertion `!c->xlib.lock' failed.</literal></screen>
133
134 <para>The patch applied above to <application>libxcb</application> adds
135 an environment variable, <envar>LIBXCB_ALLOW_SLOPPY_LOCK</envar>, to
136 be set which will allow the locking bugs to not crash the application.
137 It is a workaround that is known to be needed in a few cases. If it is
138 found that these bugs affect an application in use, add the following
139 to your system or personal profile:</para>
140
141<screen><literal>export LIBXCB_ALLOW_SLOPPY_LOCK=1</literal></screen>
142
143 </sect3>
144
145 </sect2>
146
147 <sect2 role="content">
148 <title>Contents</title>
149
150 <segmentedlist>
151 <segtitle>Installed Programs</segtitle>
152 <segtitle>Installed Libraries</segtitle>
153 <segtitle>Installed Directories</segtitle>
154
155 <seglistitem>
156 <seg>None</seg>
157 <seg>libxcb.{so,a} and libxcb-*.{so,a}</seg>
158 <seg><envar>$XORG_PREFIX</envar>/include/xcb and
159 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="libxcb-lib">
169 <term><filename class='libraryfile'>libxcb.{so,a}</filename></term>
170 <listitem>
171 <para>is an interface to the X Window System protocol.</para>
172 <indexterm zone="libxcb libxcb-lib">
173 <primary sortas="c-libxcb">libxcb.{so,a}</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 </variablelist>
179
180 </sect2>
181
182</sect1>
Note: See TracBrowser for help on using the repository browser.