source: x/installing/libxcb.xml@ bd4fda83

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

Move old jpeg to archive.
Remove text generation from gperf.
LFS 7.3 tags.

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