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 "5a873ebd383d1a60612dd6ec6b42c781">
|
---|
10 | <!ENTITY libxcb-size "506 KB">
|
---|
11 | <!ENTITY libxcb-buildsize "41 MB (124 MB with doxygen
|
---|
12 | generated documentation)">
|
---|
13 | <!ENTITY libxcb-time "0.2 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 | &lfs77_checked; &gcc5_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 -i "s/pthread-stubs//" configure &&
|
---|
95 |
|
---|
96 | ./configure $XORG_CONFIG \
|
---|
97 | --enable-xinput \
|
---|
98 | --docdir='${datadir}'/doc/libxcb-&libxcb-version; &&
|
---|
99 | make</userinput></screen>
|
---|
100 |
|
---|
101 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
102 |
|
---|
103 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
104 |
|
---|
105 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
106 |
|
---|
107 | </sect2>
|
---|
108 |
|
---|
109 | <sect2 role="commands">
|
---|
110 | <title>Command Explanations</title>
|
---|
111 |
|
---|
112 | <para><command>sed "s/pthread-stubs//" -i configure</command>: This
|
---|
113 | sed removes dependency on libpthread-stubs package which is useless on
|
---|
114 | Linux.</para>
|
---|
115 |
|
---|
116 | <para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
|
---|
117 | extension.</para>
|
---|
118 |
|
---|
119 | <para><option>--without-doxygen</option>: This switch can be used
|
---|
120 | to disable the API documentation if <xref linkend="doxygen"/> is
|
---|
121 | installed.</para>
|
---|
122 |
|
---|
123 | </sect2>
|
---|
124 |
|
---|
125 | <sect2 role="content">
|
---|
126 | <title>Contents</title>
|
---|
127 |
|
---|
128 | <segmentedlist>
|
---|
129 | <segtitle>Installed Programs</segtitle>
|
---|
130 | <segtitle>Installed Libraries</segtitle>
|
---|
131 | <segtitle>Installed Directories</segtitle>
|
---|
132 |
|
---|
133 | <seglistitem>
|
---|
134 | <seg>None</seg>
|
---|
135 | <seg>libxcb.so and libxcb-*.so</seg>
|
---|
136 | <seg><envar>$XORG_PREFIX</envar>/include/xcb and
|
---|
137 | <envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
|
---|
138 | </seglistitem>
|
---|
139 | </segmentedlist>
|
---|
140 |
|
---|
141 | <variablelist>
|
---|
142 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
143 | <?dbfo list-presentation="list"?>
|
---|
144 | <?dbhtml list-presentation="table"?>
|
---|
145 |
|
---|
146 | <varlistentry id="libxcb-lib">
|
---|
147 | <term><filename class="libraryfile">libxcb.so</filename></term>
|
---|
148 | <listitem>
|
---|
149 | <para>is an interface to the X Window System protocol.</para>
|
---|
150 | <indexterm zone="libxcb libxcb-lib">
|
---|
151 | <primary sortas="c-libxcb">libxcb.so</primary>
|
---|
152 | </indexterm>
|
---|
153 | </listitem>
|
---|
154 | </varlistentry>
|
---|
155 |
|
---|
156 | </variablelist>
|
---|
157 |
|
---|
158 | </sect2>
|
---|
159 |
|
---|
160 | </sect1>
|
---|