[2626874] | 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 |
|
---|
[21755bc] | 7 | <!ENTITY xcb-proto-download-http "http://xcb.freedesktop.org/dist/xcb-proto-&xcb-proto-version;.tar.bz2">
|
---|
[8e8f8980] | 8 | <!ENTITY xcb-proto-download-ftp " ">
|
---|
[9377577] | 9 | <!ENTITY xcb-proto-md5sum "14e60919f859560f28426a685a555962">
|
---|
| 10 | <!ENTITY xcb-proto-size "152 KB">
|
---|
| 11 | <!ENTITY xcb-proto-buildsize "1.2 MB">
|
---|
[863f350] | 12 | <!ENTITY xcb-proto-time "less than 0.1 SBU">
|
---|
[2626874] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="xcb-proto" xreflabel="xcb-proto-&xcb-proto-version;">
|
---|
| 16 | <?dbhtml filename="xcb-proto.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>xcb-proto-&xcb-proto-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="xcb-proto">
|
---|
| 26 | <primary sortas="a-xcb-proto">xcb-proto</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to xcb-proto</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>xcb-proto</application> package provides the
|
---|
| 33 | XML-XCB protocol descriptions that <application>libxcb</application>
|
---|
| 34 | uses to generate the majority of its code and API.</para>
|
---|
| 35 |
|
---|
[00610e5] | 36 | &lfs7a_checked;
|
---|
[1ed7820] | 37 |
|
---|
[2626874] | 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (HTTP): <ulink url="&xcb-proto-download-http;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (FTP): <ulink url="&xcb-proto-download-ftp;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download MD5 sum: &xcb-proto-md5sum;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download size: &xcb-proto-size;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated disk space required: &xcb-proto-buildsize;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated build time: &xcb-proto-time;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | </itemizedlist>
|
---|
| 59 |
|
---|
[9377577] | 60 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 61 | <itemizedlist spacing="compact">
|
---|
[5159bc2] | 62 | <listitem>
|
---|
| 63 | <para>
|
---|
| 64 | Required patch (for Python 3): <ulink
|
---|
| 65 | url="&patch-root;/xcb-proto-&xcb-proto-version;-python3-1.patch"/>
|
---|
| 66 | </para>
|
---|
| 67 | </listitem>
|
---|
[9377577] | 68 | <listitem>
|
---|
| 69 | <para>
|
---|
| 70 | Recommended patch:
|
---|
| 71 | <ulink url="&patch-root;/xcb-proto-&xcb-proto-version;-schema-1.patch"/>
|
---|
| 72 | </para>
|
---|
| 73 | </listitem>
|
---|
| 74 | </itemizedlist>
|
---|
| 75 |
|
---|
[2626874] | 76 | <bridgehead renderas="sect3">xcb-proto Dependencies</bridgehead>
|
---|
| 77 |
|
---|
[56e7f4e] | 78 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[3a0de718] | 79 | <para role="required">
|
---|
| 80 | <xref linkend="python2"/> or
|
---|
[12710915] | 81 | <xref linkend="python3"/>, and
|
---|
| 82 | <xref linkend="xorg-env"/> (should be set for the following instructions
|
---|
| 83 | to work)
|
---|
[3a0de718] | 84 | </para>
|
---|
[56e7f4e] | 85 |
|
---|
[2626874] | 86 | <bridgehead renderas="sect4">Optional (required to run the
|
---|
| 87 | tests)</bridgehead>
|
---|
| 88 | <para role="optional"><xref linkend="libxml2"/></para>
|
---|
| 89 |
|
---|
| 90 | <para condition="html" role="usernotes">User Notes:
|
---|
| 91 | <ulink url="&blfs-wiki;/xcb-proto"/></para>
|
---|
| 92 |
|
---|
| 93 | </sect2>
|
---|
| 94 |
|
---|
| 95 | <sect2 role="installation">
|
---|
| 96 | <title>Installation of xcb-proto</title>
|
---|
| 97 |
|
---|
[9377577] | 98 | <para>First, fix a file that allows the checks to run properly:</para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>patch -Np1 -i ../xcb-proto-&xcb-proto-version;-schema-1.patch</userinput></screen>
|
---|
[5159bc2] | 101 |
|
---|
| 102 | <para>
|
---|
| 103 | If building with Python 3, issue the following command:
|
---|
| 104 | </para>
|
---|
| 105 |
|
---|
| 106 | <screen><userinput>patch -Np1 -i ../xcb-proto-&xcb-proto-version;-python3-1.patch</userinput></screen>
|
---|
[2ee3191] | 107 |
|
---|
[2626874] | 108 | <para>Install <application>xcb-proto</application> by running the following
|
---|
| 109 | commands:</para>
|
---|
| 110 |
|
---|
[ce666ab] | 111 | <screen><userinput>./configure $XORG_CONFIG</userinput></screen>
|
---|
[2626874] | 112 |
|
---|
| 113 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 114 |
|
---|
| 115 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 116 |
|
---|
[bb7f58e] | 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[2626874] | 118 |
|
---|
| 119 | </sect2>
|
---|
| 120 |
|
---|
| 121 | <sect2 role="content">
|
---|
| 122 | <title>Contents</title>
|
---|
| 123 |
|
---|
| 124 | <segmentedlist>
|
---|
[244e6e56] | 125 | <segtitle>Installed Programs</segtitle>
|
---|
| 126 | <segtitle>Installed Libraries</segtitle>
|
---|
| 127 | <segtitle>Installed Directory</segtitle>
|
---|
[2626874] | 128 |
|
---|
| 129 | <seglistitem>
|
---|
[244e6e56] | 130 | <seg>None</seg>
|
---|
| 131 | <seg>None</seg>
|
---|
[4a60a42] | 132 | <seg><envar>$XORG_PREFIX</envar>/share/xcb and
|
---|
| 133 | <envar>$XORG_PREFIX</envar>/lib/python&python2-majorver;/site-packages/xcbgen or
|
---|
| 134 | <envar>$XORG_PREFIX</envar>/lib/python&python3-majorver;/site-packages/xcbgen</seg>
|
---|
[2626874] | 135 | </seglistitem>
|
---|
| 136 | </segmentedlist>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | </sect1>
|
---|