source: x/installing/libxcb.xml@ 1ed7820

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 1ed7820 was 1ed7820, checked in by Bruce Dubbs <bdubbs@…>, 12 years ago

Update build validations

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

  • Property mode set to 100644
File size: 5.8 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 "925699df361b99491165ebc12068056b">
11 <!ENTITY libxcb-size "316 KB">
12 <!ENTITY libxcb-buildsize "20.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 &lfs70_checked;
39
40 <bridgehead renderas="sect3">Package Information</bridgehead>
41 <itemizedlist spacing="compact">
42 <listitem>
43 <para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
44 </listitem>
45 <listitem>
46 <para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
47 </listitem>
48 <listitem>
49 <para>Download MD5 sum: &libxcb-md5sum;</para>
50 </listitem>
51 <listitem>
52 <para>Download size: &libxcb-size;</para>
53 </listitem>
54 <listitem>
55 <para>Estimated disk space required: &libxcb-buildsize;</para>
56 </listitem>
57 <listitem>
58 <para>Estimated build time: &libxcb-time;</para>
59 </listitem>
60 </itemizedlist>
61
62 <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
63
64 <bridgehead renderas="sect4">Required</bridgehead>
65 <para role="required"><xref linkend="libXau"/>,
66 <xref linkend="libXdmcp"/>,
67 <xref linkend="libpthread-stubs"/>,
68 <xref linkend="libxslt"/>, and
69 <xref linkend="xcb-proto"/></para>
70
71 <bridgehead renderas="sect4">Optional</bridgehead>
72 <para role="optional"><xref linkend="doxygen"/> (to generate API
73 documentation) and <ulink url="http://check.sourceforge.net/">Check</ulink>
74 (to run tests)</para>
75
76 <para condition="html" role="usernotes">User Notes:
77 <ulink url="&blfs-wiki;/libxcb"/></para>
78
79 </sect2>
80
81 <sect2 role="installation">
82 <title>Installation of libxcb</title>
83
84 <para>Install <application>libxcb</application> by running the following
85 commands:</para>
86
87<screen><userinput>./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
88make</userinput></screen>
89
90 <para>To test the results, issue: <command>make check</command>.</para>
91
92 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
93
94<screen role="root"><userinput>make install</userinput></screen>
95
96 </sect2>
97
98 <sect2 role="commands">
99 <title>Command Explanations</title>
100
101 <para><parameter>--docdir='${datadir}'/doc/libxcb-&libxcb-version;</parameter>:
102 This parameter ensures the <application>libxcb</application> documentation
103 is installed to a versioned directory.</para>
104
105 <para><parameter>--without-doxygen</parameter>: This switch can be used
106 to disable the API documentation if <xref linkend="doxygen"/> is
107 installed.</para>
108
109 </sect2>
110
111 <sect2 role="configuration">
112 <title>Configuring libxcb</title>
113
114 <sect3 id="libxcb-config">
115 <title>Configuration Information</title>
116
117 <para>The <application>libxcb</application> developers have decided
118 to be strict in asserting locking bugs in X11 applications. This is
119 different than the behavior of <application>libX11</application> when
120 used on its own, and it will cause some applications to crash when
121 they previously did not. When an application has these types of bugs,
122 it will crash with the following assertion:</para>
123
124<screen><literal>xcb_xlib_lock: Assertion `!c->xlib.lock' failed.</literal></screen>
125
126 <para>An environment variable, <envar>LIBXCB_ALLOW_SLOPPY_LOCK</envar>,
127 can be set which will allow the locking bugs to not crash the
128 application. It is a workaround that is known to be needed in a few
129 cases. If it is found that these bugs affect an application in use, add
130 the following to your system or personal profile:</para>
131
132<screen><literal>export LIBXCB_ALLOW_SLOPPY_LOCK=1</literal></screen>
133
134 </sect3>
135
136 </sect2>
137
138 <sect2 role="content">
139 <title>Contents</title>
140
141 <segmentedlist>
142 <segtitle>Installed Programs</segtitle>
143 <segtitle>Installed Libraries</segtitle>
144 <segtitle>Installed Directories</segtitle>
145
146 <seglistitem>
147 <seg>None</seg>
148 <seg>libxcb.{so,a} and libxcb-*.{so,a}</seg>
149 <seg><envar>$XORG_PREFIX</envar>/include/xcb and
150 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</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,a}</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,a}</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.