source: x/installing/libxcb.xml@ 2626874

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 2626874 was 2626874, checked in by Dan Nichilson <dnicholson@…>, 17 years ago

Added libxcb and its dependencies for Xorg-7

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