glfs/x/installing/libxcb.xml
Pierre Labastie 59d9079775 Tags for X
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@14240 af4574ff-66df-0310-9fd7-8a98e5e911e0
2014-09-10 13:19:10 +00:00

160 lines
5.0 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY libxcb-download-http "http://xcb.freedesktop.org/dist/libxcb-&libxcb-version;.tar.bz2">
<!ENTITY libxcb-download-ftp " ">
<!ENTITY libxcb-md5sum "5a873ebd383d1a60612dd6ec6b42c781">
<!ENTITY libxcb-size "506 KB">
<!ENTITY libxcb-buildsize "41 MB (124 MB with doxygen
generated documentation)">
<!ENTITY libxcb-time "0.2 SBU (additional 0.1 to generate
API documentation)">
]>
<sect1 id="libxcb" xreflabel="libxcb-&libxcb-version;">
<?dbhtml filename="libxcb.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>libxcb-&libxcb-version;</title>
<indexterm zone="libxcb">
<primary sortas="a-libxcb">libxcb</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to libxcb</title>
<para>The <application>libxcb</application> package provides an interface
to the X Window System protocol, which replaces the current Xlib interface.
Xlib can also use XCB as a transport layer, allowing software to make
requests and receive responses with both.</para>
&lfs76_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&libxcb-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&libxcb-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &libxcb-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &libxcb-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &libxcb-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &libxcb-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="libXau"/> and
<xref linkend="xcb-proto"/>
</para>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended">
<xref linkend="libXdmcp"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="doxygen"/> (to generate API documentation)
<xref linkend="check"/> (to run tests) and
<xref linkend="libxslt"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/libxcb"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of libxcb</title>
<para>Install <application>libxcb</application> by running the following
commands:</para>
<screen><userinput>sed "s/pthread-stubs//" -i configure &amp;&amp;
./configure $XORG_CONFIG \
--enable-xinput \
--docdir='${datadir}'/doc/libxcb-&libxcb-version; &amp;&amp;
make</userinput></screen>
<para>To test the results, issue: <command>make check</command>.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed "s/pthread-stubs//" -i configure</command>: This
sed removes dependency on libpthread-stubs package which is useless on
Linux.</para>
<para><parameter>--enable-xinput</parameter>: This switch enables XCB Xinput
extension.</para>
<para><option>--without-doxygen</option>: This switch can be used
to disable the API documentation if <xref linkend="doxygen"/> is
installed.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>None</seg>
<seg>libxcb.so and libxcb-*.so</seg>
<seg><envar>$XORG_PREFIX</envar>/include/xcb and
<envar>$XORG_PREFIX</envar>/share/doc/libxcb-&libxcb-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="libxcb-lib">
<term><filename class="libraryfile">libxcb.so</filename></term>
<listitem>
<para>is an interface to the X Window System protocol.</para>
<indexterm zone="libxcb libxcb-lib">
<primary sortas="c-libxcb">libxcb.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>