Update to Libxml2-2.9.3

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@16680 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Pierre Labastie 2015-11-22 13:33:16 +00:00
parent 66dadf9a9e
commit ec91d9f2cd
4 changed files with 25 additions and 24 deletions

View File

@ -1,12 +1,12 @@
<!-- $LastChangedBy$ $Date$ -->
<!ENTITY day "21"> <!-- Always 2 digits -->
<!ENTITY day "22"> <!-- Always 2 digits -->
<!ENTITY month "11"> <!-- Always 2 digits -->
<!ENTITY year "2015">
<!ENTITY copyrightdate "2001-&year;">
<!ENTITY copyholder "The BLFS Development Team">
<!ENTITY version "&year;-&month;-&day;">
<!ENTITY releasedate "November 21st &year;">
<!ENTITY releasedate "November 22nd &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "svn"> <!-- svn|[release #] -->
<!ENTITY lfs-version "development"> <!-- x.y|development] -->

View File

@ -6,9 +6,9 @@
<!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 "9e6a9aca9d155737868b3dc5fd82f788">
<!ENTITY libxml2-md5sum "daece17e045f1c107610e137ab50c179">
<!ENTITY libxml2-size "5.2 MB">
<!ENTITY libxml2-buildsize "77 MB (additional 18 MB for tests)">
<!ENTITY libxml2-buildsize "95 MB (additional 20 MB for tests)">
<!ENTITY libxml2-time "0.5 SBU (additional 0.2 SBU for tests)">
<!ENTITY testsuite-version "20130923">
]>
@ -101,6 +101,10 @@
</para>
</note>
<para role="optional">
<xref linkend="valgrind"/> (may be used in the tests)
</para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/libxml2"/>
</para>
@ -109,23 +113,6 @@
<sect2 role="installation">
<title>Installation of libxml2</title>
<para>
Apply three upstream fixes, which correct bugs in
<command>xmlcatalog</command>, in the entity substitution
mechanism, and in entity checking:
</para>
<screen><userinput>sed -e /xmlInitializeCatalog/d \
-e 's/((ent->checked =.*&amp;&amp;/(((ent->checked == 0) ||\
((ent->children == NULL) \&amp;\&amp; (ctxt->options \&amp; XML_PARSE_NOENT))) \&amp;\&amp;/' \
-i parser.c &amp;&amp;
sed -e "/The id is/{N;
a if (ctxt != NULL)
}" \
-i valid.c</userinput></screen>
<para>
Install <application>libxml2</application> by running the following
commands:
@ -141,7 +128,10 @@ make</userinput></screen>
<para>
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>.
<command>grep -E '^Total|expected' ../check.log</command>. If
<xref linkend="valgrind"/> is installed and you want to check memory
leaks, replace <command>check</command> with
<command>check-valgrind</command>.
</para>
<para>
@ -188,8 +178,9 @@ make</userinput></screen>
</seg>
<seg>
/usr/include/libxml2,
/usr/lib/cmake/libxml2,
/usr/share/doc/libxml2-&libxml2-version;,
/usr/share/doc/libxml2-python-&libxml2-version; and
/usr/share/doc/libxml2-python-&libxml2-version;, and
/usr/share/gtk-doc/html/libxml2
</seg>
</seglistitem>

View File

@ -44,6 +44,16 @@
-->
<listitem>
<para>November 22nd, 2015</para>
<itemizedlist>
<listitem>
<para>[pierre] - Update to Libxml2-2.9.3. Fixes
<ulink url="&blfs-ticket-root;7152">#7152</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>November 21st, 2015</para>
<itemizedlist>

View File

@ -134,7 +134,7 @@
<!ENTITY libusb-version "1.0.20">
<!ENTITY libusb-compat-version "0.1.5">
<!ENTITY libxkbcommon-version "0.5.0">
<!ENTITY libxml2-version "2.9.2">
<!ENTITY libxml2-version "2.9.3">
<!ENTITY libxslt-version "1.1.28">
<!ENTITY libzeitgeist-version "0.3.18">
<!ENTITY lzo-version "2.09">