glfs/gnome/otherlibs/gtkhtml1.xml
Randy McMurchy 4b50f39f72 Added a sed command to the GtkHTML-1 instructions to fix a GCC-4.0.x build problem
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5134 af4574ff-66df-0310-9fd7-8a98e5e911e0
2005-10-04 19:31:21 +00:00

136 lines
4.5 KiB
XML

<?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 gtkhtml1-download-http "http://ftp.gnome.org/pub/GNOME/sources/gtkhtml/1.1/gtkhtml-&gtkhtml1-version;.tar.bz2">
<!ENTITY gtkhtml1-download-ftp "ftp://ftp.gnome.org/pub/GNOME/sources/gtkhtml/1.1/gtkhtml-&gtkhtml1-version;.tar.bz2">
<!ENTITY gtkhtml1-md5sum "83cd60ab9a108d2a0d65b3bf760affa4">
<!ENTITY gtkhtml1-size "1.0 MB">
<!ENTITY gtkhtml1-buildsize "36 MB">
<!ENTITY gtkhtml1-time "1.4 SBU">
]>
<sect1 id="gtkhtml1" xreflabel="GtkHTML-&gtkhtml1-version;">
<?dbhtml filename="gtkhtml1.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>GtkHTML-&gtkhtml1-version;</title>
<indexterm zone="gtkhtml1">
<primary sortas="a-GtkHTML-1">GtkHTML-1</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to GtkHTML</title>
<para>The <application>GtkHTML</application> package contains a
lightweight HTML rendering/printing/editing engine.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&gtkhtml1-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&gtkhtml1-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &gtkhtml1-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &gtkhtml1-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &gtkhtml1-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &gtkhtml1-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Required Patch: <ulink
url="&patch-root;/gtkhtml-&gtkhtml1-version;-gcc34-1.patch"/></para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">GtkHTML Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para><xref linkend="gal1"/> and <xref linkend="libcapplet"/></para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para><xref linkend="GConf1"/>,
<xref linkend="soup"/>,
<xref linkend="bonobo14"/>,
<xref linkend="libghttp"/> and
<xref linkend="gtk-doc"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of GtkHTML</title>
<para>Install <application>GtkHTML</application> by
running the following commands:</para>
<screen><userinput>patch -Np1 -i ../gtkhtml-&gtkhtml1-version;-gcc34-1.patch &amp;&amp;
sed -i 's/static \(HTMLClueAlignedClass\)/\1/' src/htmlcluealigned.c &amp;&amp;
./configure --prefix=/opt/gnome-1.4 --disable-gtk-doc &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role='root'><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i '...' src/htmlcluealigned.c</command>: This command
fixes a build problem when compiling with
<application>GCC</application>-4.0.x.</para>
<para><parameter>--prefix=/opt/gnome-1.4</parameter>: Install
<application>GtkHTML</application> in the
<application>GNOME</application> 1.4 directory structure.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>ebrowser, gnome-gtkhtml-editor-1.1 and
gtkhtml-properties-capplet</seg>
<seg>libgtkhtml-1.1.[so,a], <application>Bonobo</application>
plugin modules and <application>Glade</application> rendering
components</seg>
<seg>/opt/gnome-1.4/include/gtkhtml-1.1,
/opt/gnome-1.4/share/control-center,
/opt/gnome-1.4/share/gnome/apps,
/opt/gnome-1.4/share/gnome/html/gtkhtml and
/opt/gnome-1.4/share/gtkhtml-1.1</seg>
</seglistitem>
</segmentedlist>
</sect2>
</sect1>