glfs/xsoft/graphweb/firefox.xml
Igor Živković c1e0ed2ea4 Corrected Firefox dependencies
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2436 af4574ff-66df-0310-9fd7-8a98e5e911e0
2004-07-10 16:19:57 +00:00

99 lines
3.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
"http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY firefox-download-http "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/firefox-source-&firefox-version;.tar.bz2">
<!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/firefox-source-&firefox-version;.tar.bz2">
<!ENTITY firefox-size "30 MB">
<!ENTITY firefox-buildsize "550 MB">
<!ENTITY firefox-time "10.14 SBU">
]>
<sect1 id="firefox" xreflabel="Mozilla Firefox-&firefox-version;">
<?dbhtml filename="firefox.html" ?>
<title>Mozilla Firefox-&firefox-version;</title>
<sect2>
<title>Introduction to <application>Mozilla Firefox</application></title>
<para><application>Mozilla Firefox</application> is a stand-alone browser
based on the <application>Mozilla</application> codebase.</para>
<sect3><title>Package information</title>
<itemizedlist spacing='compact'>
<listitem><para>Download (HTTP): <ulink
url="&firefox-download-http;"/></para></listitem>
<listitem><para>Download (FTP): <ulink
url="&firefox-download-ftp;"/></para></listitem>
<listitem><para>Download size: &firefox-size;</para></listitem>
<listitem><para>Estimated Disk space required:
&firefox-buildsize;</para></listitem>
<listitem><para>Estimated build time:
&firefox-time;</para></listitem></itemizedlist>
</sect3>
<sect3><title><application>Mozilla Firefox</application> dependencies</title>
<sect4><title>Required</title>
<para>
<xref linkend="GTK2"/>,
<xref linkend="libIDL"/> and
<xref linkend="zip"/>
</para></sect4>
<sect4><title>Optional</title>
<para>
<xref linkend="unzip"/> and
<ulink url="http://www.stack.nl/~dimitri/doxygen/">doxygen</ulink>
<!-- Add these on 0.9.2 update
<xref linkend="gnome-vfs"/>
<xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
-->
</para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Mozilla Firefox</application></title>
<para>The configuration of <application>Mozilla Firefox</application> is
very similar to <xref linkend="mozilla"/> and hence the options
will not be discussed. Refer to the <xref linkend="mozilla"/> for
explanations and additional configuration information.</para>
<para>Compile and install <application>Mozilla Firefox</application> by
running the following commands:</para>
<screen><userinput><command>export MOZILLA_OFFICIAL="1" &amp;&amp;
export BUILD_OFFICIAL="1" &amp;&amp;
export MOZ_PHOENIX="1" &amp;&amp;
./configure --prefix=/opt/firefox-&firefox-version; \
--enable-default-toolkit=gtk2 \
--with-x --with-system-zlib \
--with-system-jpeg --with-system-png \
--enable-xft --enable-crypto \
--disable-accessibility \
--disable-tests --disable-debug \
--disable-logging --enable-reorder \
--enable-strip --disable-pedantic \
--enable-cpp-rtti --enable-extensions=all \
--disable-calendar --disable-mailnews &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
ln -sf /opt/firefox-&firefox-version;/bin/firefox /usr/bin/MozillaFirefox</command></userinput></screen>
<para>To enable multi-user operation, execute the following:</para>
<screen><userinput><command>cd /opt/firefox-&firefox-version;/lib/mozilla-* &amp;&amp;
export LD_LIBRARY_PATH="$PWD" &amp;&amp;
export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
./regxpcom &amp;&amp;
./regchrome &amp;&amp;
touch `find $PWD -name *.rdf`</command></userinput></screen>
</sect2>
</sect1>