mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-02 22:07:15 +08:00
Added new package PyXML-0.8.4 to support the installation of Epiphany
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5227 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
b3f6146c1a
commit
872db717fe
@ -155,6 +155,7 @@
|
||||
<!ENTITY pdl-version "2.4.2">
|
||||
<!ENTITY php-version "5.0.5">
|
||||
<!ENTITY Python-version "2.4.2">
|
||||
<!ENTITY pyxml-version "0.8.4">
|
||||
<!ENTITY ruby-version "1.8.2">
|
||||
<!ENTITY tcl-version "8.4.11">
|
||||
<!ENTITY tk-version "8.4.11">
|
||||
|
@ -30,6 +30,7 @@
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="perl-modules.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="php.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="python.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="pyxml.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ruby.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tcl.xml"/>
|
||||
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tk.xml"/>
|
||||
|
149
general/prog/pyxml.xml
Normal file
149
general/prog/pyxml.xml
Normal file
@ -0,0 +1,149 @@
|
||||
<?xml version="1.0" encoding="ISO-8859-1"?>
|
||||
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
||||
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY pyxml-download-http "http://prdownloads.sourceforge.net/pyxml/PyXML-&pyxml-version;.tar.gz">
|
||||
<!ENTITY pyxml-download-ftp "ftp://ftp.fu-berlin.de/unix/linux/mirrors/gentoo/distfiles/PyXML-&pyxml-version;.tar.gz">
|
||||
<!ENTITY pyxml-md5sum "1f7655050cebbb664db976405fdba209">
|
||||
<!ENTITY pyxml-size "734 KB">
|
||||
<!ENTITY pyxml-buildsize "14.6 MB">
|
||||
<!ENTITY pyxml-time "less than 0.1 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="pyxml" xreflabel="PyXML-&pyxml-version;">
|
||||
<?dbhtml filename="pyxml.html"?>
|
||||
|
||||
<sect1info>
|
||||
<othername>$LastChangedBy:$</othername>
|
||||
<date>$Date:$</date>
|
||||
</sect1info>
|
||||
|
||||
<title>PyXML-&pyxml-version;</title>
|
||||
|
||||
<indexterm zone="pyxml">
|
||||
<primary sortas="a-PyXML">PyXML</primary>
|
||||
</indexterm>
|
||||
|
||||
<sect2 role="package">
|
||||
<title>Introduction to PyXML</title>
|
||||
|
||||
<para>The <application>PyXML</application> package contains a validating
|
||||
XML parser, an implementation of the SAX and DOM programming interfaces,
|
||||
an interface to the Expat parser, and a C helper module that can speed up
|
||||
<filename>xmllib.py</filename> by a factor of five. This is useful for
|
||||
validating, parsing and manipulating XML files using Python
|
||||
programs.</para>
|
||||
|
||||
<bridgehead renderas="sect3">Package Information</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Download (HTTP): <ulink url="&pyxml-download-http;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download (FTP): <ulink url="&pyxml-download-ftp;"/></para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download MD5 sum: &pyxml-md5sum;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Download size: &pyxml-size;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated disk space required: &pyxml-buildsize;</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>Estimated build time: &pyxml-time;</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">PyXML Dependencies</bridgehead>
|
||||
|
||||
<bridgehead renderas="sect4">Required</bridgehead>
|
||||
<para><xref linkend="python"/></para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="installation">
|
||||
<title>Installation of PyXML</title>
|
||||
|
||||
<para>Install <application>PyXML</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>python setup.py build</userinput></screen>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
<screen role="root"><userinput>python setup.py install &&
|
||||
install -v -m644 doc/man/xmlproc_*.1 /usr/share/man/man1 &&
|
||||
install -v -m755 -d /usr/share/doc/PyXML-&pyxml-version; &&
|
||||
cp -v -R doc demo test /usr/share/doc/PyXML-&pyxml-version; &&
|
||||
install -v -m644 README* /usr/share/doc/PyXML-&pyxml-version;</userinput></screen>
|
||||
|
||||
<para>To run the regression tests, the package must first be installed.
|
||||
Then, as an unprivileged user, issue the following commands:</para>
|
||||
|
||||
<screen><userinput>cd test &&
|
||||
python regrtest.py &&
|
||||
cd ..</userinput></screen>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>python setup.py build</command>: This command copies the
|
||||
<filename>*.py</filename> files to a staging area and compiles the C
|
||||
extensions.</para>
|
||||
|
||||
<para><command>python setup.py install</command>: This command installs
|
||||
the package.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
<title>Contents</title>
|
||||
|
||||
<segmentedlist>
|
||||
<segtitle>Installed Programs</segtitle>
|
||||
<segtitle>Installed Libraries</segtitle>
|
||||
<segtitle>Installed Directories</segtitle>
|
||||
|
||||
<seglistitem>
|
||||
<seg>xmlproc_parse and xmlproc_val</seg>
|
||||
<seg>PyXML Python library modules</seg>
|
||||
<seg>/usr/lib/python2.4/site-packages/_xmlplus and
|
||||
/usr/share/doc/PyXML-&pyxml-version;</seg>
|
||||
</seglistitem>
|
||||
</segmentedlist>
|
||||
|
||||
<variablelist>
|
||||
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
||||
<?dbfo list-presentation="list"?>
|
||||
<?dbhtml list-presentation="table"?>
|
||||
|
||||
<varlistentry id="xmlproc_parse">
|
||||
<term><command>xmlproc_parse</command></term>
|
||||
<listitem>
|
||||
<para>is a simple XML file parser using the xmlproc parser.</para>
|
||||
<indexterm zone="pyxml xmlproc_parse">
|
||||
<primary sortas="b-xmlproc_parse">xmlproc_parse</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
|
||||
<varlistentry id="xmlproc_val">
|
||||
<term><command>xmlproc_val</command></term>
|
||||
<listitem>
|
||||
<para>is a validating XML file parser using the xmlproc parser.</para>
|
||||
<indexterm zone="pyxml xmlproc_val">
|
||||
<primary sortas="b-xmlproc_val">xmlproc_val</primary>
|
||||
</indexterm>
|
||||
</listitem>
|
||||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
</sect2>
|
||||
|
||||
</sect1>
|
@ -63,7 +63,7 @@
|
||||
<xref linkend="dbus"/>,
|
||||
<xref linkend="which"/>,
|
||||
<ulink url="http://ftp.debian.org/debian/pool/main/i/iso-codes/">iso-codes</ulink>
|
||||
(which requires <ulink url="http://sourceforge.net/projects/pyxml">PyXML</ulink>)
|
||||
(which requires <xref linkend="pyxml"/>)
|
||||
and <xref linkend="mozilla"/> or
|
||||
<xref linkend="firefox"/> or
|
||||
<xref linkend="thunderbird"/></para>
|
||||
|
@ -44,6 +44,9 @@
|
||||
<listitem>
|
||||
<para>October 19th, 2005</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[randy] - Added new package PyXML-0.8.4.</para>
|
||||
</listitem>
|
||||
<listitem>
|
||||
<para>[randy] - Added category headers to the GNOME Add-on packages
|
||||
Table-of-Contents. Many thanks to Manuel Canales Esparcia for the
|
||||
|
@ -222,7 +222,7 @@
|
||||
GNOME Doc Utils, GnuCash (many additions), HAL, Heimdal, HTML Tidy,
|
||||
JadeTeX, Java Access Bridge, LessTif (rewrite), libexif, libgail-gnome,
|
||||
libgnomecups, MPlayer (extensive overhaul), Other Programming Tools,
|
||||
PDL, Perl Modules, pilot-link, Samba 3 (many additions), Shadow
|
||||
PDL, Perl Modules, pilot-link, PyXML, Samba 3 (many additions), Shadow
|
||||
(rewrite), SANE (original instructions by Alex Kloss), SLIB, Stunnel,
|
||||
Sysstat, system-tools-backends and unixODBC:
|
||||
<emphasis>Randy McMurchy</emphasis></para>
|
||||
|
Loading…
Reference in New Issue
Block a user