2004-06-14 04:45:42 +08:00
|
|
|
<?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;
|
|
|
|
|
2004-12-08 11:46:21 +08:00
|
|
|
<!ENTITY firefox-download-http "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
|
|
|
|
<!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
|
2004-12-14 14:07:48 +08:00
|
|
|
<!ENTITY firefox-md5sum "49c16a71f4de014ea471be81e46b1da8">
|
2004-10-31 02:22:20 +08:00
|
|
|
<!ENTITY firefox-size "32 MB">
|
2004-12-14 14:07:48 +08:00
|
|
|
<!ENTITY firefox-buildsize "564 MB">
|
|
|
|
<!ENTITY firefox-time "11.3 SBU">
|
2004-06-14 04:45:42 +08:00
|
|
|
]>
|
|
|
|
|
2004-07-15 19:52:34 +08:00
|
|
|
<sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
|
2004-08-10 12:23:09 +08:00
|
|
|
<sect1info>
|
2004-08-10 12:25:57 +08:00
|
|
|
<othername>$LastChangedBy$</othername>
|
|
|
|
<date>$Date$</date>
|
2004-08-10 12:23:09 +08:00
|
|
|
</sect1info>
|
2004-04-14 09:29:04 +08:00
|
|
|
<?dbhtml filename="firefox.html" ?>
|
2004-07-15 19:52:34 +08:00
|
|
|
<title>Firefox-&firefox-version;</title>
|
2004-02-23 09:29:29 +08:00
|
|
|
|
2004-06-14 04:45:42 +08:00
|
|
|
<sect2>
|
2004-07-15 19:52:34 +08:00
|
|
|
<title>Introduction to <application>Firefox</application></title>
|
2004-06-14 04:45:42 +08:00
|
|
|
|
2004-07-15 19:52:34 +08:00
|
|
|
<para><application>Firefox</application> is a stand-alone browser
|
2004-06-14 04:45:42 +08:00
|
|
|
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>
|
2004-12-14 14:07:48 +08:00
|
|
|
<listitem><para>Download MD5 sum: &firefox-md5sum;</para></listitem>
|
2004-06-14 04:45:42 +08:00
|
|
|
<listitem><para>Download size: &firefox-size;</para></listitem>
|
2004-10-15 21:16:28 +08:00
|
|
|
<listitem><para>Estimated disk space required:
|
2004-06-14 04:45:42 +08:00
|
|
|
&firefox-buildsize;</para></listitem>
|
|
|
|
<listitem><para>Estimated build time:
|
|
|
|
&firefox-time;</para></listitem></itemizedlist>
|
|
|
|
</sect3>
|
|
|
|
|
2004-07-15 19:52:34 +08:00
|
|
|
<sect3><title><application>Firefox</application> dependencies</title>
|
2004-06-14 04:45:42 +08:00
|
|
|
<sect4><title>Required</title>
|
2005-01-06 00:56:45 +08:00
|
|
|
<para><xref linkend="gtk2"/>,
|
2004-12-14 14:07:48 +08:00
|
|
|
<xref linkend="libIDL"/> and
|
|
|
|
<xref linkend="zip"/></para>
|
|
|
|
</sect4>
|
|
|
|
|
2004-07-07 04:58:04 +08:00
|
|
|
<sect4><title>Optional</title>
|
2004-12-14 14:07:48 +08:00
|
|
|
<para><xref linkend="libjpeg"/>,
|
|
|
|
<xref linkend="unzip"/>,
|
|
|
|
<xref linkend="gnome-vfs"/>,
|
|
|
|
<xref linkend="libgnome"/>,
|
|
|
|
<xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
|
|
|
|
(for the GSSAPI libraries),
|
2005-01-26 00:02:00 +08:00
|
|
|
<xref linkend="doxygen"/>,
|
2004-12-14 14:07:48 +08:00
|
|
|
<ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
|
2004-10-31 08:03:02 +08:00
|
|
|
<ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
|
2004-12-14 14:07:48 +08:00
|
|
|
<ulink url="http://cairographics.org/">Cairo</ulink></para>
|
|
|
|
</sect4>
|
2004-06-14 04:45:42 +08:00
|
|
|
</sect3>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
2004-07-15 19:52:34 +08:00
|
|
|
<title>Installation of <application>Firefox</application></title>
|
2004-06-14 04:45:42 +08:00
|
|
|
|
2004-09-20 09:13:34 +08:00
|
|
|
<para>The configuration of <application>Firefox</application> is very similar
|
|
|
|
to <xref linkend="mozilla"/> and hence the options are not discussed. Refer to
|
|
|
|
the <xref linkend="mozilla"/> instructions for explanations and additional
|
|
|
|
configuration information.</para>
|
2004-06-14 04:45:42 +08:00
|
|
|
|
2004-07-15 19:52:34 +08:00
|
|
|
<para>Compile and install <application>Firefox</application> by
|
2004-06-14 04:45:42 +08:00
|
|
|
running the following commands:</para>
|
|
|
|
|
|
|
|
<screen><userinput><command>export MOZILLA_OFFICIAL="1" &&
|
|
|
|
export BUILD_OFFICIAL="1" &&
|
|
|
|
export MOZ_PHOENIX="1" &&
|
2004-10-15 21:16:28 +08:00
|
|
|
./configure --prefix=/usr \
|
2004-12-18 03:21:18 +08:00
|
|
|
--with-default-mozilla-five-home=/usr/lib/firefox-1.0 \
|
2004-12-14 14:07:48 +08:00
|
|
|
--with-user-appdir=.firefox \
|
2004-07-15 19:52:34 +08:00
|
|
|
--with-system-zlib \
|
|
|
|
--with-system-png \
|
2004-12-14 14:07:48 +08:00
|
|
|
--enable-application=browser \
|
2004-06-14 04:45:42 +08:00
|
|
|
--enable-default-toolkit=gtk2 \
|
2004-12-14 14:07:48 +08:00
|
|
|
--enable-extensions=all,-typeaheadfind \
|
2004-07-15 19:52:34 +08:00
|
|
|
--enable-crypto \
|
2004-12-14 14:07:48 +08:00
|
|
|
--enable-xft \
|
2004-07-15 19:52:34 +08:00
|
|
|
--enable-xinerama \
|
|
|
|
--enable-optimize \
|
|
|
|
--enable-reorder \
|
|
|
|
--enable-strip \
|
|
|
|
--enable-cpp-rtti \
|
2004-12-14 14:07:48 +08:00
|
|
|
--enable-single-profile \
|
|
|
|
--disable-freetype2 \
|
|
|
|
--disable-accessibility \
|
|
|
|
--disable-debug \
|
|
|
|
--disable-tests \
|
|
|
|
--disable-logging \
|
|
|
|
--disable-pedantic \
|
|
|
|
--disable-installer \
|
|
|
|
--disable-mailnews \
|
|
|
|
--disable-ldap \
|
|
|
|
--disable-composer \
|
2004-07-15 19:52:34 +08:00
|
|
|
--disable-profilesharing &&
|
2004-06-14 04:45:42 +08:00
|
|
|
make &&
|
2004-09-20 09:13:34 +08:00
|
|
|
make install &&
|
2004-11-16 13:57:34 +08:00
|
|
|
install -d /usr/include/firefox-&firefox-version;/nss &&
|
2004-09-20 09:13:34 +08:00
|
|
|
cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
|
2004-12-14 14:07:48 +08:00
|
|
|
/usr/include/firefox-&firefox-version;/nss</command></userinput></screen>
|
2004-07-15 19:52:34 +08:00
|
|
|
|
2004-12-14 14:07:48 +08:00
|
|
|
<para>You should add the <option>--with-system-jpeg</option> switch to the
|
|
|
|
<command>configure</command> script if you have
|
2004-07-15 19:52:34 +08:00
|
|
|
<application>libjpeg</application> installed.</para>
|
2004-06-14 04:45:42 +08:00
|
|
|
|
|
|
|
<para>To enable multi-user operation, execute the following:</para>
|
|
|
|
|
2004-11-16 13:57:34 +08:00
|
|
|
<screen><userinput><command>cd /usr/lib/firefox-&firefox-version; &&
|
2004-06-14 04:45:42 +08:00
|
|
|
export LD_LIBRARY_PATH="$PWD" &&
|
|
|
|
export MOZILLA_FIVE_HOME="$PWD" &&
|
|
|
|
./regxpcom &&
|
|
|
|
./regchrome &&
|
2004-09-20 09:13:34 +08:00
|
|
|
touch `find . -name *.rdf`</command></userinput></screen>
|
2004-06-14 04:45:42 +08:00
|
|
|
|
2004-12-14 14:07:48 +08:00
|
|
|
<note><para>You should run <command>/usr/bin/firefox</command> once as the
|
|
|
|
root user (or any user with write privileges) to create some necessary
|
|
|
|
additional files in the <filename class='directory'>/usr</filename>
|
2004-09-20 09:13:34 +08:00
|
|
|
hierarchy.</para></note>
|
2004-09-14 00:12:40 +08:00
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2>
|
|
|
|
<title>Contents</title>
|
|
|
|
|
|
|
|
<para>The <application>Firefox</application> package contains
|
|
|
|
<command>firefox</command> and numerous browser components, plugins and
|
|
|
|
extensions.</para>
|
|
|
|
|
|
|
|
</sect2>
|
|
|
|
|
|
|
|
<sect2><title>Description</title>
|
|
|
|
|
|
|
|
<sect3><title>firefox</title>
|
2004-10-31 02:22:20 +08:00
|
|
|
<para><command>firefox</command> is the
|
2004-09-14 00:12:40 +08:00
|
|
|
next-generation browser from Mozilla.</para></sect3>
|
|
|
|
|
2004-06-14 04:45:42 +08:00
|
|
|
</sect2>
|
2004-02-23 09:29:29 +08:00
|
|
|
|
|
|
|
</sect1>
|