Update to libxml2-2.9.12

This commit is contained in:
Bruce Dubbs 2021-05-16 18:14:04 -05:00
parent fb79d0a41b
commit cbb1dd2891
3 changed files with 9 additions and 41 deletions

View File

@ -7,10 +7,10 @@
<!-- Also update the download, md5, size entities in libxml2py2.xml -->
<!ENTITY libxml2-download-http "http://xmlsoft.org/sources/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-download-ftp "ftp://xmlsoft.org/libxml2/libxml2-&libxml2-version;.tar.gz">
<!ENTITY libxml2-md5sum "10942a1dc23137a8aa07f0639cbfece5">
<!ENTITY libxml2-md5sum "f433a39be087a9f0b197eb2307ad9f75">
<!ENTITY libxml2-size "5.4 MB">
<!ENTITY libxml2-buildsize "87 MB (add 15 MB for tests)">
<!ENTITY libxml2-time "0.2 SBU (add 0.3 SBU for tests)">
<!ENTITY libxml2-buildsize "116 MB (with tests)">
<!ENTITY libxml2-time "0.4 SBU (with tests)">
<!ENTITY testsuite-version "20130923">
]>
@ -102,15 +102,6 @@
</para>
<note>
<!-- python3 is always available now
<para>
Some packages which utilize <application>libxml2</application> (such as
<application>GNOME Doc Utils</application>) need the
<application>Python3</application> module installed to function properly
and some packages will not build properly if the
<application>Python3</application> module is not available.
</para>
-->
<para>
The old <application>Python2</application> module can be built after
<filename class="libraryfile">libxml2.so</filename> has been installed,
@ -126,33 +117,6 @@
<sect2 role="installation">
<title>Installation of libxml2</title>
<para>
Apply a patch to fix various errors:
</para>
<screen><userinput remap="pre">patch -p1 -i ../libxml2-&libxml2-version;-security_fixes-1.patch</userinput></screen>
<para>
Fix a problem generating the Python3 module with Python-3.9.0 and
later:
</para>
<screen><userinput>sed -i '/if Py/{s/Py/(Py/;s/)/))/}' python/{types.c,libxml.c}</userinput></screen>
<para>
If you are going to run the tests, disable one test that causes the Python
tests to terminate early with an error:
</para>
<screen><userinput>sed -i 's/test.test/#&amp;/' python/tests/tstLastError.py</userinput></screen>
<para>
If, and only if, you are using <xref linkend="icu"/>, fix a
build breakage caused by that version by running the following command:
</para>
<screen><userinput>sed -i 's/ TRUE/ true/' encoding.c</userinput></screen>
<para>
Install <application>libxml2</application> by running the following
commands:
@ -174,7 +138,7 @@ make</userinput></screen>
To test the results, issue: <command>make check &gt; check.log</command>.
A summary of the results can be obtained with <command>grep -E
'^Total|expected' check.log</command>. If <xref linkend="valgrind"/> is
installed and you want to check memory leaks, replace
installed and you want to check for memory leaks, replace
<command>check</command> with <command>check-valgrind</command>.
</para>

View File

@ -45,6 +45,10 @@
<listitem>
<para>May 16th, 2021</para>
<itemizedlist>
<listitem>
<para>[bdubbs] - Update to libxml2-2.9.12. Fixes
<ulink url="&blfs-ticket-root;15039">#15039</ulink>.</para>
</listitem>
<listitem>
<para>[renodr] - Restore the ICU-69 patch in node.js.</para>
</listitem>

View File

@ -173,7 +173,7 @@
<!-- the libxml2-version is also used for the python2 module,
which is built separately after libxml2.so has been installed,
to avoid building libxml2 twice, which is slow with all deps -->
<!ENTITY libxml2-version "2.9.10">
<!ENTITY libxml2-version "2.9.12">
<!ENTITY libxslt-version "1.1.34">
<!ENTITY libwacom-version "1.10">
<!ENTITY lzo-version "2.10">