glfs/xsoft/graphweb/firefox.xml

147 lines
4.9 KiB
XML
Raw Normal View History

<?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-1.0PR-source.tar.bz2">
<!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/firefox-1.0PR-source.tar.bz2">
<!ENTITY firefox-size "32 MB">
<!ENTITY firefox-buildsize "575 MB">
<!ENTITY firefox-time "11.1 SBU">
]>
<sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<?dbhtml filename="firefox.html" ?>
<title>Firefox-&firefox-version;</title>
<sect2>
<title>Introduction to <application>Firefox</application></title>
<para><application>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>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="libjpeg"/>,
<xref linkend="unzip"/>,
<xref linkend="gnome-vfs"/>,
<xref linkend="mitkrb"/> or <xref linkend="heimdal"/>,
<xref linkend="doxygen"/>,
<ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
<ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
<ulink url="http://cairographics.org/">Cairo</ulink>
</para></sect4>
</sect3>
</sect2>
<sect2>
<title>Installation of <application>Firefox</application></title>
<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>
<para>Compile and install <application>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=/usr \
--with-system-zlib \
--with-system-png \
--enable-default-toolkit=gtk2 \
--disable-mailnews \
--disable-ldap \
--enable-xft \
--disable-freetype2 \
--enable-crypto \
--enable-xinerama \
--enable-single-profile \
--disable-composer \
--enable-extensions=all,-typeaheadfind \
--disable-installer \
--disable-tests \
--disable-debug \
--enable-optimize \
--disable-logging \
--enable-reorder \
--enable-strip \
--disable-pedantic \
--enable-cpp-rtti \
--disable-profilesharing &amp;&amp;
make &amp;&amp;
make install &amp;&amp;
install -d /usr/include/firefox-1.0/nss &amp;&amp;
cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
/usr/include/firefox-1.0/nss &amp;&amp;
chown -R root:root /usr/include/firefox-1.0/nss</command></userinput></screen>
<para>You might want to add the <option>--with-system-jpeg</option>
switch to the <command>configure</command> script if you have
<application>libjpeg</application> installed.</para>
<para>To enable multi-user operation, execute the following:</para>
<screen><userinput><command>cd /usr/lib/firefox-1.0 &amp;&amp;
export LD_LIBRARY_PATH="$PWD" &amp;&amp;
export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
./regxpcom &amp;&amp;
./regchrome &amp;&amp;
touch `find . -name *.rdf`</command></userinput></screen>
<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>
hierarchy.</para></note>
</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>
<para><command>firefox</command> is the
next-generation browser from Mozilla.</para></sect3>
</sect2>
</sect1>