source: x/installing/libxcb.xml@ a3cbbb8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 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 a3cbbb8 was a3cbbb8, checked in by Krejzi <krejzi@…>, 10 years ago

xkb is enabled by default.

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

  • Property mode set to 100644
File size: 5.0 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 "074c335cc4453467eeb234e3dadda700">
10 <!ENTITY libxcb-size "468 KB">
11 <!ENTITY libxcb-buildsize "42 MB (124 MB with doxygen
12 generated documentation)">
13 <!ENTITY libxcb-time "0.3 SBU (additional 0.1 to generate
14 API documentation)">
15]>
16
17<sect1 id="libxcb" xreflabel="libxcb-&libxcb-version;">
18 <?dbhtml filename="libxcb.html"?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>libxcb-&libxcb-version;</title>
26
27 <indexterm zone="libxcb">
28 <primary sortas="a-libxcb">libxcb</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to libxcb</title>
33
34 <para>The <application>libxcb</application> package provides an interface
35 to the X Window System protocol, which replaces the current Xlib interface.
36 Xlib can also use XCB as a transport layer, allowing software to make
37 requests and receive responses with both.</para>
38
39 &lfs75_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
45 </listitem>
46 <listitem>
47 <para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
48 </listitem>
49 <listitem>
50 <para>Download MD5 sum: &libxcb-md5sum;</para>
51 </listitem>
52 <listitem>
53 <para>Download size: &libxcb-size;</para>
54 </listitem>
55 <listitem>
56 <para>Estimated disk space required: &libxcb-buildsize;</para>
57 </listitem>
58 <listitem>
59 <para>Estimated build time: &libxcb-time;</para>
60 </listitem>
61 </itemizedlist>
62
63 <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
64
65 <bridgehead renderas="sect4">Required</bridgehead>
66 <para role="required">
67 <xref linkend="libXau"/> and
68 <xref linkend="xcb-proto"/>
69 </para>
70
71 <bridgehead renderas="sect4">Recommended</bridgehead>
72 <para role="recommended">
73 <xref linkend="libXdmcp"/>
74 </para>
75
76 <bridgehead renderas="sect4">Optional</bridgehead>
77 <para role="optional">
78 <xref linkend="doxygen"/> (to generate API documentation)
79 <xref linkend="check"/> (to run tests) and
80 <xref linkend="libxslt"/>
81 </para>
82
83 <para condition="html" role="usernotes">User Notes:
84 <ulink url="&blfs-wiki;/libxcb"/></para>
85
86 </sect2>
87
88 <sect2 role="installation">
89 <title>Installation of libxcb</title>
90
91 <para>Install <application>libxcb</application> by running the following
92 commands:</para>
93
94<screen><userinput>sed "s/pthread-stubs//" -i configure &amp;&amp;
95./configure $XORG_CONFIG \
96 --enable-xinput \
97 --docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
98make</userinput></screen>
99
100 <para>To test the results, issue: <command>make check</command>.</para>
101
102 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
103
104<screen role="root"><userinput>make install</userinput></screen>
105
106 </sect2>
107
108 <sect2 role="commands">
109 <title>Command Explanations</title>
110
111 <para><command>sed "s/pthread-stubs//" -i configure</command>: This
112 sed removes dependency on libpthread-stubs package which is useless on
113 Linux.</para>
114
115 <para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
116 extension.</para>
117
118 <para><option>--without-doxygen</option>: This switch can be used
119 to disable the API documentation if <xref linkend="doxygen"/> is
120 installed.</para>
121
122 </sect2>
123
124 <sect2 role="content">
125 <title>Contents</title>
126
127 <segmentedlist>
128 <segtitle>Installed Programs</segtitle>
129 <segtitle>Installed Libraries</segtitle>
130 <segtitle>Installed Directories</segtitle>
131
132 <seglistitem>
133 <seg>None</seg>
134 <seg>libxcb.so and libxcb-*.so</seg>
135 <seg><envar>$XORG_PREFIX</envar>/include/xcb and
136 <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
137 </seglistitem>
138 </segmentedlist>
139
140 <variablelist>
141 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
142 <?dbfo list-presentation="list"?>
143 <?dbhtml list-presentation="table"?>
144
145 <varlistentry id="libxcb-lib">
146 <term><filename class="libraryfile">libxcb.so</filename></term>
147 <listitem>
148 <para>is an interface to the X Window System protocol.</para>
149 <indexterm zone="libxcb libxcb-lib">
150 <primary sortas="c-libxcb">libxcb.so</primary>
151 </indexterm>
152 </listitem>
153 </varlistentry>
154
155 </variablelist>
156
157 </sect2>
158
159</sect1>
Note: See TracBrowser for help on using the repository browser.