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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 7c7a1aa was 7c7a1aa, checked in by DJ Lucas <dj@…>, 15 years ago

Added Python to deps for libxcb, and removed xkb data move to /etc/X11.

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

  • Property mode set to 100644
File size: 5.9 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 "b00fd506c717dea01f595e8da31f6914">
11 <!ENTITY libxcb-size "304 KB">
12 <!ENTITY libxcb-buildsize "19.8 MB">
13 <!ENTITY libxcb-time "0.3 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">libxcb Dependencies</bridgehead>
61
62 <bridgehead renderas="sect4">Required</bridgehead>
63 <para role="required"><xref linkend="python"/>,
64 <xref linkend="libXau"/>,
65 <xref linkend="libXdmcp"/>,
66 <xref linkend="libpthread-stubs"/>,
67 <xref linkend="libxslt"/>, and
68 <xref linkend="xcb-proto"/></para>
69
70 <bridgehead renderas="sect4">Optional</bridgehead>
71 <para role="optional"><xref linkend="doxygen"/> (to generate API
72 documentation) and <ulink url="http://check.sourceforge.net/">Check</ulink>
73 (to run tests)</para>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/libxcb"/></para>
77
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of libxcb</title>
82
83 <para>Install <application>libxcb</application> by running the following
84 commands:</para>
85
86<screen><userinput>./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
87make</userinput></screen>
88
89 <para>To test the results, issue: <command>make check</command>.</para>
90
91 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
92
93<screen role="root"><userinput>make install</userinput></screen>
94
95 </sect2>
96
97 <sect2 role="commands">
98 <title>Command Explanations</title>
99
100 <para><parameter>--docdir='${datadir}'/doc/libxcb-&libxcb-version;</parameter>:
101 This parameter ensures the <application>libxcb</application> documentation
102 is installed to a versioned directory.</para>
103
104 <para><parameter>--without-doxygen</parameter>: This switch can be used
105 to disable the API documentation if <xref linkend="doxygen"/> is
106 installed.</para>
107
108 </sect2>
109
110 <sect2 role="configuration">
111 <title>Configuring libxcb</title>
112
113 <sect3 id="libxcb-config">
114 <title>Configuration Information</title>
115
116 <para>The <application>libxcb</application> developers have decided
117 to be strict in asserting locking bugs in X11 applications. This is
118 different than the behavior of <application>libX11</application> when
119 used on its own, and it will cause some applications to crash when
120 they previously did not. When an application has these types of bugs,
121 it will crash with the following assertion:</para>
122
123<screen><literal>xcb_xlib_lock: Assertion `!c->xlib.lock' failed.</literal></screen>
124
125 <para>An environment variable, <envar>LIBXCB_ALLOW_SLOPPY_LOCK</envar>,
126 can be set which will allow the locking bugs to not crash the
127 application. It is a workaround that is known to be needed in a few
128 cases. If it is found that these bugs affect an application in use, add
129 the following to your system or personal profile:</para>
130
131<screen><literal>export LIBXCB_ALLOW_SLOPPY_LOCK=1</literal></screen>
132
133 </sect3>
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>None</seg>
147 <seg>libxcb.{so,a} and libxcb-*.{so,a}</seg>
148 <seg><envar>$XORG_PREFIX</envar>/include/xcb and
149 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
150 </seglistitem>
151 </segmentedlist>
152
153 <variablelist>
154 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
155 <?dbfo list-presentation="list"?>
156 <?dbhtml list-presentation="table"?>
157
158 <varlistentry id="libxcb-lib">
159 <term><filename class='libraryfile'>libxcb.{so,a}</filename></term>
160 <listitem>
161 <para>is an interface to the X Window System protocol.</para>
162 <indexterm zone="libxcb libxcb-lib">
163 <primary sortas="c-libxcb">libxcb.{so,a}</primary>
164 </indexterm>
165 </listitem>
166 </varlistentry>
167
168 </variablelist>
169
170 </sect2>
171
172</sect1>
Note: See TracBrowser for help on using the repository browser.