glfs/archive/expat.xml

149 lines
4.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY expat-download-http "&sourceforge-repo;/expat/expat-&expat-version;.tar.gz">
<!ENTITY expat-download-ftp " ">
<!ENTITY expat-md5sum "dd7dab7a5fea97d2a6a43f511449b7cd">
<!ENTITY expat-size "552 KB">
<!ENTITY expat-buildsize "6.0 MB">
<!ENTITY expat-time "0.1 SBU">
]>
<sect1 id="expat" xreflabel="expat-&expat-version;">
<?dbhtml filename="expat.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Expat-&expat-version;</title>
<indexterm zone="expat">
<primary sortas="a-Expat">Expat</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Expat</title>
<para>The <application>Expat</application> package contains a stream oriented
C library for parsing XML.</para>
&lfs75_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&expat-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&expat-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &expat-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &expat-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &expat-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &expat-time;</para>
</listitem>
</itemizedlist>
<!--
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required patch: <ulink
url="&patch-root;/expat-&expat-version;-fixes-3.patch"/></para>
</listitem>
</itemizedlist>
-->
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/expat"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Expat</title>
<para>Install <application>Expat</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
make</userinput></screen>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m755 -d /usr/share/doc/expat-&expat-version; &amp;&amp;
install -v -m644 doc/*.{html,png,css} /usr/share/doc/expat-&expat-version;</userinput></screen>
<para>To test the results, issue: <command>make check</command> as an
unprivileged user. Note this must be done after the package is
installed.</para>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
href="../../xincludes/static-libraries.xml"/>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Library</segtitle>
<segtitle>Installed Directory</segtitle>
<seglistitem>
<seg>xmlwf</seg>
<seg>libexpat.so</seg>
<seg>/usr/share/doc/expat-&expat-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="xmlwf">
<term><command>xmlwf</command></term>
<listitem>
<para>is a non-validating utility to check whether or not
XML documents are well formed.</para>
<indexterm zone="expat xmlwf">
<primary sortas="b-xmlwf">xmlwf</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libexpat">
<term><filename class='libraryfile'>libexpat.so</filename></term>
<listitem>
<para>contains API functions for parsing XML.</para>
<indexterm zone="expat libexpat">
<primary sortas="c-libexpat">libexpat.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>