source: x/installing/xcb-proto.xml@ 20f032af

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 20f032af was eb750e5, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

xcb-proto-1.9: fix build with Python3 - part 2. Thanks Wayne

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@12283 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 3.9 KB
Line 
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 xcb-proto-download-http "http://xcb.freedesktop.org/dist/xcb-proto-&xcb-proto-version;.tar.bz2">
8 <!ENTITY xcb-proto-download-ftp " ">
9 <!ENTITY xcb-proto-md5sum "311817f844c45c0c3d76dd72e6560c10">
10 <!ENTITY xcb-proto-size "134 KB">
11 <!ENTITY xcb-proto-buildsize "2.1 MB">
12 <!ENTITY xcb-proto-time "0.1 SBU">
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
36 &lfs74_checked;
37
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
60 <bridgehead renderas="sect3">xcb-proto Dependencies</bridgehead>
61
62 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
63 <itemizedlist spacing="compact">
64 <listitem>
65 <para>
66 Required patch (if compiling against <xref linkend="python3"/>):
67 <ulink url="&patch-root;/xcb-proto-&xcb-proto-version;-py_compile_python3-1.patch"/>
68 </para>
69 </listitem>
70 </itemizedlist>
71
72 <bridgehead renderas="sect4">Required</bridgehead>
73 <para role="required">
74 <xref linkend="python2"/> or
75 <xref linkend="python3"/>
76 </para>
77
78 <bridgehead renderas="sect4">Optional (required to run the
79 tests)</bridgehead>
80 <para role="optional"><xref linkend="libxml2"/></para>
81
82 <para condition="html" role="usernotes">User Notes:
83 <ulink url="&blfs-wiki;/xcb-proto"/></para>
84
85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of xcb-proto</title>
89
90 <para>If you are compiling against <xref linkend="python3"/>, use the
91 following commands:</para>
92
93<screen><userinput>patch -Np1 -i ../xcb-proto-&xcb-proto-version;-py_compile_python3-1.patch &amp;&amp;
94sed -i -e 's/\t/ /' xcbgen/xtypes.py</userinput></screen>
95
96 <para>Install <application>xcb-proto</application> by running the following
97 commands:</para>
98
99<screen><userinput>./configure $XORG_CONFIG</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="content">
110 <title>Contents</title>
111
112 <segmentedlist>
113 <segtitle>Installed Programs</segtitle>
114 <segtitle>Installed Libraries</segtitle>
115 <segtitle>Installed Directory</segtitle>
116
117 <seglistitem>
118 <seg>None</seg>
119 <seg>None</seg>
120 <seg><envar>$XORG_PREFIX</envar>/share/xcb</seg>
121 </seglistitem>
122 </segmentedlist>
123
124 </sect2>
125
126</sect1>
Note: See TracBrowser for help on using the repository browser.