Author: igor
Date: Tue Jun 14 01:08:06 2016
New Revision: 17493

Log:
fix xcb-proto and libxcb build with python3

Modified:
   trunk/BOOK/x/installing/libxcb.xml
   trunk/BOOK/x/installing/xcb-proto.xml

Modified: trunk/BOOK/x/installing/libxcb.xml
==============================================================================
--- trunk/BOOK/x/installing/libxcb.xml  Sun Jun 12 23:10:03 2016        (r17492)
+++ trunk/BOOK/x/installing/libxcb.xml  Tue Jun 14 01:08:06 2016        (r17493)
@@ -58,12 +58,21 @@
       </listitem>
     </itemizedlist>
 
+    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Required patch (for Python 3): <ulink
+          url="&patch-root;/libxcb-&libxcb-version;-python3-1.patch"/>
+        </para>
+      </listitem>
+    </itemizedlist>
+
     <bridgehead renderas="sect3">libxcb Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
     <para role="required">
-      <xref linkend="libXau"/>,
-      <xref linkend="python2"/>, and
+      <xref linkend="libXau"/> and
       <xref linkend="xcb-proto"/>
     </para>
 
@@ -87,6 +96,12 @@
   <sect2 role="installation">
     <title>Installation of libxcb</title>
 
+    <para>
+      If building with Python 3, issue the following command:
+    </para>
+
+<screen><userinput>patch -Np1 -i 
../libxcb-&libxcb-version;-python3-1.patch</userinput></screen>
+
     <para>Install <application>libxcb</application> by running the following
     commands:</para>
 

Modified: trunk/BOOK/x/installing/xcb-proto.xml
==============================================================================
--- trunk/BOOK/x/installing/xcb-proto.xml       Sun Jun 12 23:10:03 2016        
(r17492)
+++ trunk/BOOK/x/installing/xcb-proto.xml       Tue Jun 14 01:08:06 2016        
(r17493)
@@ -61,6 +61,12 @@
     <itemizedlist spacing="compact">
       <listitem>
         <para>
+          Required patch (for Python 3): <ulink
+          url="&patch-root;/xcb-proto-&xcb-proto-version;-python3-1.patch"/>
+        </para>
+      </listitem>
+      <listitem>
+        <para>
           Recommended patch:
           <ulink 
url="&patch-root;/xcb-proto-&xcb-proto-version;-schema-1.patch"/>
         </para>
@@ -93,6 +99,12 @@
 
 <screen><userinput>patch -Np1 -i 
../xcb-proto-&xcb-proto-version;-schema-1.patch</userinput></screen>
 
+    <para>
+      If building with Python 3, issue the following command:
+    </para>
+
+<screen><userinput>patch -Np1 -i 
../xcb-proto-&xcb-proto-version;-python3-1.patch</userinput></screen>
+
     <para>Install <application>xcb-proto</application> by running the following
     commands:</para>
 
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to