Author: renodr
Date: Thu Apr  1 14:35:29 2021
New Revision: 24425

Log:
Python2: Remove extra newline before the patch is applied
Hexchat: Fix python plugin and temporarily disable lua plugin

Modified:
   trunk/BOOK/general/prog/python2.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/xsoft/other/hexchat.xml

Modified: trunk/BOOK/general/prog/python2.xml
==============================================================================
--- trunk/BOOK/general/prog/python2.xml Thu Apr  1 10:11:09 2021        (r24424)
+++ trunk/BOOK/general/prog/python2.xml Thu Apr  1 14:35:29 2021        (r24425)
@@ -158,8 +158,7 @@
       commands:
     </para>
 
-<screen><userinput>
-patch -Np1 -i ../Python-&python2-version;-security_fixes-1.patch &amp;&amp;
+<screen><userinput>patch -Np1 -i 
../Python-&python2-version;-security_fixes-1.patch &amp;&amp;
 ./configure --prefix=/usr                              \
             --enable-shared                            \
             --with-system-expat                        \

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Thu Apr  1 10:11:09 
2021        (r24424)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Thu Apr  1 14:35:29 
2021        (r24425)
@@ -45,6 +45,10 @@
       <para>April 1st, 2021</para>
       <itemizedlist>
         <listitem>
+          <para>[renodr] - Fix Hexchat to work with Python-3.8+ and fix a crash
+          that occurs when Lua-5.4.3 is installed.</para>
+        </listitem>
+        <listitem>
           <para>[renodr] - Update to Seamonkey-2.53.7 (Security Update). Fixes
           <ulink url="&blfs-ticket-root;14840">#14840</ulink>.</para>
         </listitem>

Modified: trunk/BOOK/xsoft/other/hexchat.xml
==============================================================================
--- trunk/BOOK/xsoft/other/hexchat.xml  Thu Apr  1 10:11:09 2021        (r24424)
+++ trunk/BOOK/xsoft/other/hexchat.xml  Thu Apr  1 14:35:29 2021        (r24425)
@@ -84,9 +84,12 @@
 
     <bridgehead renderas="sect4">Recommended</bridgehead>
     <para role="recommended">
-      <xref linkend="gtk2"/>,
-      <xref linkend="libcanberra"/>, and
-      <xref linkend="lua"/>
+      <xref linkend="gtk2"/> and
+      <xref linkend="libcanberra"/>
+      <!--<xref linkend="lua"/> -->
+      <!-- Lua plugin support is currently broken and causes Hexchat to crash
+           upon startup.
+           FIXME: Check upstream in a few days.-->
     </para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
@@ -109,6 +112,12 @@
     <title>Installation of HexChat</title>
 
     <para>
+      First, fix the python plugin:
+    </para>
+
+<screen><userinput remap="pre">sed -i "s/(python_opt/&amp; + '-embed'/" 
plugins/python/meson.build</userinput></screen>
+
+    <para>
       Install <application>HexChat</application> by running the following
       commands:
     </para>
@@ -116,7 +125,7 @@
 <screen><userinput>mkdir build &amp;&amp;
 cd    build &amp;&amp;
 
-meson --prefix=/usr -Dwith-libproxy=false -Dwith-lua=lua .. &amp;&amp;
+meson --prefix=/usr -Dwith-libproxy=false -Dwith-lua=false .. &amp;&amp;
 ninja</userinput></screen>
 
     <para>
@@ -134,10 +143,18 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
+    <!--
     <para>
       <parameter>-Dwith-lua=lua</parameter>: By default, this package 
       will look for luajit. Use the normal lua instead.
     </para>
+    -->
+
+    <para>
+      <parameter>-Dwith-lua=false</parameter>: By default, this package will
+      look for luajit. However, the Lua plugin support is currently broken
+      and will cause the application to crash on startup.
+    </para>
 
     <para>
       <option>-Dwith-libcanberra=false</option>: Use this switch if you have
-- 
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