glfs/x/installing/xcb-proto.xml
Douglas R. Reno e3dacb9637 xcb-proto: Force the usage of python3, otherwise it will use python2 if installed.
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24265 af4574ff-66df-0310-9fd7-8a98e5e911e0
2021-02-22 17:40:13 +00:00

129 lines
3.5 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 xcb-proto-download-http "https://xorg.freedesktop.org/archive/individual/proto/xcb-proto-&xcb-proto-version;.tar.xz">
<!ENTITY xcb-proto-download-ftp " ">
<!ENTITY xcb-proto-md5sum "ecd6955dab1a7b9ba9756a11b8bdb48f">
<!ENTITY xcb-proto-size "144 KB">
<!ENTITY xcb-proto-buildsize "1.2 MB">
<!ENTITY xcb-proto-time "less than 0.1 SBU">
]>
<sect1 id="xcb-proto" xreflabel="xcb-proto-&xcb-proto-version;">
<?dbhtml filename="xcb-proto.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>xcb-proto-&xcb-proto-version;</title>
<indexterm zone="xcb-proto">
<primary sortas="a-xcb-proto">xcb-proto</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to xcb-proto</title>
<para>
The <application>xcb-proto</application> package provides the
XML-XCB protocol descriptions that <application>libxcb</application>
uses to generate the majority of its code and API.
</para>
&lfs101_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Download (HTTP): <ulink url="&xcb-proto-download-http;"/>
</para>
</listitem>
<listitem>
<para>
Download (FTP): <ulink url="&xcb-proto-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>
Download MD5 sum: &xcb-proto-md5sum;
</para>
</listitem>
<listitem>
<para>
Download size: &xcb-proto-size;
</para>
</listitem>
<listitem>
<para>
Estimated disk space required: &xcb-proto-buildsize;
</para>
</listitem>
<listitem>
<para>
Estimated build time: &xcb-proto-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">xcb-proto Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="libxml2"/> (required to run the tests)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/xcb-proto"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of xcb-proto</title>
<para>
Install <application>xcb-proto</application> by running the following
commands:
</para>
<screen><userinput>PYTHON=python3 ./configure $XORG_CONFIG</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="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>None</seg>
<seg>None</seg>
<seg><envar>$XORG_PREFIX</envar>/share/xcb and
<envar>$XORG_PREFIX</envar>/lib/python&python2-majorver;/site-packages/xcbgen or
<envar>$XORG_PREFIX</envar>/lib/python&python3-majorver;/site-packages/xcbgen</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>