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 "9310b02433273d75d42f10da3c7455aa">
|
---|
11 | <!ENTITY libxcb-size "440 KB">
|
---|
12 | <!ENTITY libxcb-buildsize "28.0 MB">
|
---|
13 | <!ENTITY libxcb-time "0.5 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="libXau"/>,
|
---|
64 | <xref linkend="libXdmcp"/>,
|
---|
65 | <xref linkend="libpthread-stubs"/>,
|
---|
66 | <xref linkend="xcb-proto"/>, and
|
---|
67 | <xref linkend="libxslt"/></para>
|
---|
68 |
|
---|
69 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
70 | <para role="optional"><xref linkend="doxygen"/> (to generate API
|
---|
71 | documentation) and <ulink url="http://check.sourceforge.net/">Check</ulink>
|
---|
72 | (to run tests)</para>
|
---|
73 |
|
---|
74 | <para condition="html" role="usernotes">User Notes:
|
---|
75 | <ulink url="&blfs-wiki;/libxcb"/></para>
|
---|
76 |
|
---|
77 | </sect2>
|
---|
78 |
|
---|
79 | <sect2 role="installation">
|
---|
80 | <title>Installation of libxcb</title>
|
---|
81 |
|
---|
82 | <para>Install <application>libxcb</application> by running the following
|
---|
83 | commands:</para>
|
---|
84 |
|
---|
85 | <screen><userinput>patch -Np1 -i ../libxcb-&libxcb-version;-sloppy_lock-1.patch &&
|
---|
86 | ./configure $XORG_CONFIG --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
87 | make</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>The patch applied above to <application>libxcb</application> adds
|
---|
126 | an environment variable, <envar>LIBXCB_ALLOW_SLOPPY_LOCK</envar>, to
|
---|
127 | be set which will allow the locking bugs to not crash the application.
|
---|
128 | It is a workaround that is known to be needed in a few cases. If it is
|
---|
129 | found that these bugs affect an application in use, add the following
|
---|
130 | 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>
|
---|