mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-27 18:02:12 +08:00
c1e0ed2ea4
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@2436 af4574ff-66df-0310-9fd7-8a98e5e911e0
99 lines
3.6 KiB
XML
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" &&
|
|
export BUILD_OFFICIAL="1" &&
|
|
export MOZ_PHOENIX="1" &&
|
|
./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 &&
|
|
make &&
|
|
make install &&
|
|
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-* &&
|
|
export LD_LIBRARY_PATH="$PWD" &&
|
|
export MOZILLA_FIVE_HOME="$PWD" &&
|
|
./regxpcom &&
|
|
./regchrome &&
|
|
touch `find $PWD -name *.rdf`</command></userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|
|
|