source: x/installing/libxcb.xml@ d7513fd

systemd-11177
Last change on this file since d7513fd was d7513fd, checked in by Krejzi <krejzi@…>, 11 years ago

Merge trunk and systemd branch, part 2.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/systemd@11406 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-md5sum "ed632cb0dc31b6fbd7ea5c0f931cf5a4">
10 <!ENTITY libxcb-size "365 KB">
11 <!ENTITY libxcb-buildsize "39 MB">
12 <!ENTITY libxcb-time "0.3 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 &lfs73_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">Additional Downloads</bridgehead>
62 <itemizedlist spacing='compact'>
63 <listitem>
64 <para>Required patch: <ulink
65 url="&patch-root;/libxcb-&libxcb-version;-automake_bug-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">
73 <xref linkend="libXau"/>,
74 <xref linkend="libXdmcp"/>,
75 <xref linkend="libxslt"/>, and
76 <xref linkend="xcb-proto"/>
77 </para>
78
79 <bridgehead renderas="sect4">Optional</bridgehead>
80 <para role="optional">
81 <xref linkend="doxygen"/> (to generate API documentation) and
82 <xref linkend="check"/> (to run tests)
83 </para>
84
85 <para condition="html" role="usernotes">User Notes:
86 <ulink url="&blfs-wiki;/libxcb"/></para>
87
88 </sect2>
89
90 <sect2 role="installation">
91 <title>Installation of libxcb</title>
92
93 <para>Install <application>libxcb</application> by running the following
94 commands:</para>
95
96<screen><userinput>patch -Np1 -i ../libxcb-&libxcb-version;-automake_bug-1.patch &amp;&amp;
97sed -e "s/pthread-stubs//" -i configure.ac &amp;&amp;
98autoreconf -fi &amp;&amp;
99./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; \
100 --enable-xinput --enable-xkb &amp;&amp;
101make</userinput></screen>
102
103 <para>To test the results, issue: <command>make check</command>.</para>
104
105 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
106
107<screen role="root"><userinput>make install</userinput></screen>
108
109 </sect2>
110
111 <sect2 role="commands">
112 <title>Command Explanations</title>
113
114 <para><command>sed -e "s/pthread-stubs//" -i configure.ac</command>: This
115 sed removes dependency on libpthread-stubs package which is useless on
116 Linux.</para>
117
118 <para><option>--enable-xinput</option>: This switch enables XCB Xinput
119 extension.</para>
120
121 <para><option>--enable-xkb</option>: This switch enables XCB XKB
122 extension.</para>
123
124 <para><parameter>--without-doxygen</parameter>: This switch can be used
125 to disable the API documentation if <xref linkend="doxygen"/> is
126 installed.</para>
127
128 </sect2>
129<!--
130 <sect2 role="configuration">
131 <title>Configuring libxcb</title>
132
133 <sect3 id="libxcb-config">
134 <title>Configuration Information</title>
135
136 <para>The <application>libxcb</application> developers have decided
137 to be strict in asserting locking bugs in X11 applications. This is
138 different than the behavior of <application>libX11</application> when
139 used on its own, and it will cause some applications to crash when
140 they previously did not. When an application has these types of bugs,
141 it will crash with the following assertion:</para>
142
143<screen><literal>xcb_xlib_lock: Assertion `!c->xlib.lock' failed.</literal></screen>
144
145 <para>An environment variable, <envar>LIBXCB_ALLOW_SLOPPY_LOCK</envar>,
146 can be set which will allow the locking bugs to not crash the
147 application. It is a workaround that is known to be needed in a few
148 cases. If it is found that these bugs affect an application in use, add
149 the following to your system or personal profile:</para>
150
151<screen><literal>export LIBXCB_ALLOW_SLOPPY_LOCK=1</literal></screen>
152
153 </sect3>
154
155 </sect2>
156-->
157 <sect2 role="content">
158 <title>Contents</title>
159
160 <segmentedlist>
161 <segtitle>Installed Programs</segtitle>
162 <segtitle>Installed Libraries</segtitle>
163 <segtitle>Installed Directories</segtitle>
164
165 <seglistitem>
166 <seg>None</seg>
167 <seg>libxcb.so and libxcb-*.so</seg>
168 <seg><envar>$XORG_PREFIX</envar>/include/xcb and
169 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
170 </seglistitem>
171 </segmentedlist>
172
173 <variablelist>
174 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
175 <?dbfo list-presentation="list"?>
176 <?dbhtml list-presentation="table"?>
177
178 <varlistentry id="libxcb-lib">
179 <term><filename class="libraryfile">libxcb.so</filename></term>
180 <listitem>
181 <para>is an interface to the X Window System protocol.</para>
182 <indexterm zone="libxcb libxcb-lib">
183 <primary sortas="c-libxcb">libxcb.so</primary>
184 </indexterm>
185 </listitem>
186 </varlistentry>
187
188 </variablelist>
189
190 </sect2>
191
192</sect1>
Note: See TracBrowser for help on using the repository browser.