[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 |
|
---|
[8dfc5c3] | 7 | <!ENTITY xcb-proto-download-http "https://xcb.freedesktop.org/dist/xcb-proto-&xcb-proto-version;.tar.bz2">
|
---|
[8e8f8980] | 8 | <!ENTITY xcb-proto-download-ftp " ">
|
---|
[49df687a] | 9 | <!ENTITY xcb-proto-md5sum "abe9aa4886138150bbc04ae4f29b90e3">
|
---|
| 10 | <!ENTITY xcb-proto-size "148 KB">
|
---|
| 11 | <!ENTITY xcb-proto-buildsize "2.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 |
|
---|
[82bdecf] | 36 | &lfs90_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 |
|
---|
[49df687a] | 60 | <!--
|
---|
[9377577] | 61 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 62 | <itemizedlist spacing="compact">
|
---|
[5159bc2] | 63 | <listitem>
|
---|
| 64 | <para>
|
---|
| 65 | Required patch (for Python 3): <ulink
|
---|
| 66 | url="&patch-root;/xcb-proto-&xcb-proto-version;-python3-1.patch"/>
|
---|
| 67 | </para>
|
---|
| 68 | </listitem>
|
---|
[9377577] | 69 | <listitem>
|
---|
| 70 | <para>
|
---|
| 71 | Recommended patch:
|
---|
| 72 | <ulink url="&patch-root;/xcb-proto-&xcb-proto-version;-schema-1.patch"/>
|
---|
| 73 | </para>
|
---|
| 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
[49df687a] | 76 | -->
|
---|
[9377577] | 77 |
|
---|
[2626874] | 78 | <bridgehead renderas="sect3">xcb-proto Dependencies</bridgehead>
|
---|
[ec77633] | 79 | <!-- the first package in the chapter, util-macros, already requires these
|
---|
| 80 | to be defined.
|
---|
[56e7f4e] | 81 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[3a0de718] | 82 | <para role="required">
|
---|
[12710915] | 83 | <xref linkend="xorg-env"/> (should be set for the following instructions
|
---|
| 84 | to work)
|
---|
[3a0de718] | 85 | </para>
|
---|
[ec77633] | 86 | -->
|
---|
[56e7f4e] | 87 |
|
---|
[60ddbaf] | 88 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 89 | <para role="optional">
|
---|
| 90 | <xref linkend="libxml2"/> (required to run the tests)
|
---|
[1f435a6] | 91 | </para>
|
---|
[2626874] | 92 |
|
---|
| 93 | <para condition="html" role="usernotes">User Notes:
|
---|
| 94 | <ulink url="&blfs-wiki;/xcb-proto"/></para>
|
---|
| 95 |
|
---|
| 96 | </sect2>
|
---|
| 97 |
|
---|
| 98 | <sect2 role="installation">
|
---|
| 99 | <title>Installation of xcb-proto</title>
|
---|
| 100 |
|
---|
[49df687a] | 101 | <!--
|
---|
[9377577] | 102 | <para>First, fix a file that allows the checks to run properly:</para>
|
---|
| 103 |
|
---|
| 104 | <screen><userinput>patch -Np1 -i ../xcb-proto-&xcb-proto-version;-schema-1.patch</userinput></screen>
|
---|
[5159bc2] | 105 |
|
---|
| 106 | <para>
|
---|
| 107 | If building with Python 3, issue the following command:
|
---|
| 108 | </para>
|
---|
| 109 |
|
---|
| 110 | <screen><userinput>patch -Np1 -i ../xcb-proto-&xcb-proto-version;-python3-1.patch</userinput></screen>
|
---|
[49df687a] | 111 | -->
|
---|
[2626874] | 112 | <para>Install <application>xcb-proto</application> by running the following
|
---|
| 113 | commands:</para>
|
---|
| 114 |
|
---|
[ce666ab] | 115 | <screen><userinput>./configure $XORG_CONFIG</userinput></screen>
|
---|
[2626874] | 116 |
|
---|
| 117 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 118 |
|
---|
| 119 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 120 |
|
---|
[bb7f58e] | 121 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
[2626874] | 122 |
|
---|
| 123 | </sect2>
|
---|
| 124 |
|
---|
| 125 | <sect2 role="content">
|
---|
| 126 | <title>Contents</title>
|
---|
| 127 |
|
---|
| 128 | <segmentedlist>
|
---|
[244e6e56] | 129 | <segtitle>Installed Programs</segtitle>
|
---|
| 130 | <segtitle>Installed Libraries</segtitle>
|
---|
| 131 | <segtitle>Installed Directory</segtitle>
|
---|
[2626874] | 132 |
|
---|
| 133 | <seglistitem>
|
---|
[244e6e56] | 134 | <seg>None</seg>
|
---|
| 135 | <seg>None</seg>
|
---|
[4a60a42] | 136 | <seg><envar>$XORG_PREFIX</envar>/share/xcb and
|
---|
| 137 | <envar>$XORG_PREFIX</envar>/lib/python&python2-majorver;/site-packages/xcbgen or
|
---|
| 138 | <envar>$XORG_PREFIX</envar>/lib/python&python3-majorver;/site-packages/xcbgen</seg>
|
---|
[2626874] | 139 | </seglistitem>
|
---|
| 140 | </segmentedlist>
|
---|
| 141 |
|
---|
| 142 | </sect2>
|
---|
| 143 |
|
---|
| 144 | </sect1>
|
---|