[f939f05] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[f939f05] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[3f810bf2] | 7 | <!ENTITY firefox-download-http "http://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
|
---|
| 8 | <!ENTITY firefox-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/firefox/releases/&firefox-version;/source/firefox-&firefox-version;-source.tar.bz2">
|
---|
[f72040eb] | 9 | <!ENTITY firefox-md5sum "0f5d0586750fde79ba98ecf3ee4425a7">
|
---|
| 10 | <!ENTITY firefox-size "31.2 MB">
|
---|
| 11 | <!ENTITY firefox-buildsize "545 MB">
|
---|
| 12 | <!ENTITY firefox-time "10.3 SBU">
|
---|
[f939f05] | 13 | ]>
|
---|
| 14 |
|
---|
[ffe47ca2] | 15 | <sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
|
---|
[b81991e1] | 16 | <?dbhtml filename="firefox.html" ?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Firefox-&firefox-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="firefox">
|
---|
| 26 | <primary sortas="a-Firefox">Firefox</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Firefox</title>
|
---|
| 31 |
|
---|
| 32 | <para><application>Firefox</application> is a stand-alone browser
|
---|
| 33 | based on the <application>Mozilla</application> codebase.</para>
|
---|
| 34 |
|
---|
| 35 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 36 | <itemizedlist spacing="compact">
|
---|
| 37 | <listitem>
|
---|
| 38 | <para>Download (HTTP): <ulink url="&firefox-download-http;"/></para>
|
---|
| 39 | </listitem>
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>Download (FTP): <ulink url="&firefox-download-ftp;"/></para>
|
---|
| 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download MD5 sum: &firefox-md5sum;</para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download size: &firefox-size;</para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Estimated disk space required: &firefox-buildsize;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Estimated build time: &firefox-time;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | </itemizedlist>
|
---|
| 56 |
|
---|
| 57 | <bridgehead renderas="sect3">Firefox Dependencies</bridgehead>
|
---|
| 58 |
|
---|
| 59 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 60 | <para><xref linkend="gtk2"/>,
|
---|
| 61 | <xref linkend="libidl"/> and
|
---|
| 62 | <xref linkend="zip"/></para>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 65 | <para><xref linkend="libjpeg"/>,
|
---|
| 66 | <xref linkend="unzip"/>,
|
---|
| 67 | <xref linkend="gnome-vfs"/> and
|
---|
| 68 | <xref linkend="libgnome"/> (to build the gnomevfs extension),
|
---|
| 69 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
|
---|
| 70 | (for the GSSAPI libraries to build the negotiateauth extension),
|
---|
| 71 | <xref linkend="doxygen"/>,
|
---|
| 72 | <ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
|
---|
| 73 | <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
|
---|
| 74 | <ulink url="http://cairographics.org/">Cairo</ulink></para>
|
---|
| 75 |
|
---|
| 76 | </sect2>
|
---|
| 77 |
|
---|
| 78 | <sect2 role="installation">
|
---|
| 79 | <title>Installation of Firefox</title>
|
---|
| 80 |
|
---|
| 81 | <para>The configuration of <application>Firefox</application> is very
|
---|
| 82 | similar to <xref linkend="mozilla"/> and hence the options are not
|
---|
| 83 | discussed. Refer to the <xref linkend="mozilla"/> instructions for
|
---|
| 84 | explanations and additional configuration information.</para>
|
---|
| 85 |
|
---|
| 86 | <para>Compile and install <application>Firefox</application> by
|
---|
| 87 | running the following commands:</para>
|
---|
| 88 |
|
---|
| 89 | <screen><userinput>export MOZILLA_OFFICIAL="1" &&
|
---|
[f939f05] | 90 | export BUILD_OFFICIAL="1" &&
|
---|
| 91 | export MOZ_PHOENIX="1" &&
|
---|
[3e602d7a] | 92 | ./configure --prefix=/usr \
|
---|
[0683349d] | 93 | --with-default-mozilla-five-home=/usr/lib/firefox-1.0 \
|
---|
[d1981e0] | 94 | --with-user-appdir=.firefox \
|
---|
[ffe47ca2] | 95 | --with-system-zlib \
|
---|
| 96 | --with-system-png \
|
---|
[d1981e0] | 97 | --enable-application=browser \
|
---|
[f939f05] | 98 | --enable-default-toolkit=gtk2 \
|
---|
[b94212a] | 99 | --enable-extensions=cookie,xml-rpc,xmlextras,pref,\
|
---|
| 100 | transformiix,universalchardet,webservices,inspector,\
|
---|
| 101 | gnomevfs,negotiateauth \
|
---|
[ffe47ca2] | 102 | --enable-crypto \
|
---|
[d1981e0] | 103 | --enable-xft \
|
---|
[ffe47ca2] | 104 | --enable-xinerama \
|
---|
| 105 | --enable-optimize \
|
---|
| 106 | --enable-reorder \
|
---|
| 107 | --enable-strip \
|
---|
| 108 | --enable-cpp-rtti \
|
---|
[d1981e0] | 109 | --enable-single-profile \
|
---|
| 110 | --disable-freetype2 \
|
---|
| 111 | --disable-accessibility \
|
---|
| 112 | --disable-debug \
|
---|
| 113 | --disable-tests \
|
---|
| 114 | --disable-logging \
|
---|
| 115 | --disable-pedantic \
|
---|
| 116 | --disable-installer \
|
---|
| 117 | --disable-mailnews \
|
---|
| 118 | --disable-ldap \
|
---|
| 119 | --disable-composer \
|
---|
[ffe47ca2] | 120 | --disable-profilesharing &&
|
---|
[b81991e1] | 121 | make</userinput></screen>
|
---|
[e3c939cc] | 122 |
|
---|
[b81991e1] | 123 | <para>You should add the <option>--with-system-jpeg</option> switch
|
---|
| 124 | to the <command>configure</command> script if you have
|
---|
| 125 | <application>libjpeg</application> installed.</para>
|
---|
[b4b7337e] | 126 |
|
---|
[b81991e1] | 127 | <para>This package does not come with a test suite.</para>
|
---|
[4a8e9f7] | 128 |
|
---|
[b81991e1] | 129 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[e3c939cc] | 130 |
|
---|
[b81991e1] | 131 | <screen role="root"><userinput>make install &&
|
---|
[59daef29] | 132 | install -d /usr/include/firefox-&firefox-version;/nss &&
|
---|
[488b6a53] | 133 | cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
|
---|
[b81991e1] | 134 | /usr/include/firefox-&firefox-version;/nss</userinput></screen>
|
---|
[ffe47ca2] | 135 |
|
---|
[b81991e1] | 136 | <para>To enable multi-user operation, execute the following as the
|
---|
| 137 | <systemitem class="username">root</systemitem> user:</para>
|
---|
[f939f05] | 138 |
|
---|
[b81991e1] | 139 | <screen role="root"><userinput>cd /usr/lib/firefox-&firefox-version; &&
|
---|
[f939f05] | 140 | export LD_LIBRARY_PATH="$PWD" &&
|
---|
| 141 | export MOZILLA_FIVE_HOME="$PWD" &&
|
---|
| 142 | ./regxpcom &&
|
---|
| 143 | ./regchrome &&
|
---|
[b81991e1] | 144 | touch `find . -name *.rdf`</userinput></screen>
|
---|
[f939f05] | 145 |
|
---|
[b81991e1] | 146 | <note>
|
---|
| 147 | <para>You should run <command>/usr/bin/firefox</command> once as the
|
---|
| 148 | <systemitem class="username">root</systemitem> user (or any user with
|
---|
| 149 | write privileges) to create some necessary additional files in the
|
---|
| 150 | <filename class='directory'>/usr</filename> hierarchy.</para>
|
---|
| 151 | </note>
|
---|
[82539b8b] | 152 |
|
---|
[b81991e1] | 153 | <para>Lastly, unset the build variables from the unprivileged user's
|
---|
| 154 | environment:</para>
|
---|
[b94212a] | 155 |
|
---|
[b81991e1] | 156 | <screen><userinput>unset MOZILLA_OFFICIAL &&
|
---|
[b94212a] | 157 | unset BUILD_OFFICIAL &&
|
---|
[b81991e1] | 158 | unset MOZ_PHOENIX</userinput></screen>
|
---|
| 159 |
|
---|
| 160 | </sect2>
|
---|
| 161 |
|
---|
| 162 | <sect2 role="configuration">
|
---|
| 163 | <title>Configuring Firefox</title>
|
---|
| 164 |
|
---|
| 165 | <para>No specific configuration is required as long as the
|
---|
| 166 | <command>firefox</command> script is in the user's path. If
|
---|
| 167 | <application>Firefox</application> is installed in a non-standard location,
|
---|
| 168 | then make a symlink to the <command>firefox</command> script from
|
---|
| 169 | <filename class="directory">/usr/bin</filename>.</para>
|
---|
| 170 |
|
---|
| 171 | <para>Many applications look for <command>netscape</command> when they
|
---|
| 172 | need to open a browser. You may make the following symlink for convenience
|
---|
| 173 | (as the <systemitem class="username">root</systemitem> user).</para>
|
---|
| 174 |
|
---|
| 175 | <screen role="root"><userinput>ln -v -sf firefox /usr/bin/netscape</userinput></screen>
|
---|
| 176 |
|
---|
| 177 | <para>For installing various <application>Firefox</application> plugins,
|
---|
| 178 | refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
|
---|
| 179 | PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already
|
---|
| 180 | installed, create the following link as the
|
---|
| 181 | <systemitem class="username">root</systemitem> user to utilize the
|
---|
| 182 | <application>JAVA</application> plugin: </para>
|
---|
| 183 |
|
---|
| 184 | <screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
|
---|
| 185 | /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
|
---|
| 186 |
|
---|
| 187 | </sect2>
|
---|
| 188 |
|
---|
| 189 | <sect2 role="content">
|
---|
| 190 | <title>Contents</title>
|
---|
| 191 |
|
---|
| 192 | <segmentedlist>
|
---|
| 193 | <segtitle>Installed Programs</segtitle>
|
---|
| 194 | <segtitle>Installed Libraries</segtitle>
|
---|
| 195 | <segtitle>Installed Directories</segtitle>
|
---|
| 196 |
|
---|
| 197 | <seglistitem>
|
---|
| 198 | <seg>firefox and firefox-config</seg>
|
---|
| 199 | <seg>Numerous libraries, browser components, plugins, extensions, and
|
---|
| 200 | helper modules installed in <filename
|
---|
| 201 | class='directory'>/usr/lib/firefox-&firefox-version;</filename></seg>
|
---|
| 202 | <seg>/usr/bin/defaults, /usr/include/firefox-&firefox-version;,
|
---|
| 203 | /usr/lib/firefox-&firefox-version;, and
|
---|
| 204 | /usr/share/idl/firefox-&firefox-version;</seg>
|
---|
| 205 | </seglistitem>
|
---|
| 206 | </segmentedlist>
|
---|
| 207 |
|
---|
| 208 | <variablelist>
|
---|
| 209 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 210 | <?dbfo list-presentation="list"?>
|
---|
| 211 | <?dbhtml list-presentation="table"?>
|
---|
| 212 |
|
---|
| 213 | <varlistentry id="firefox-prog">
|
---|
| 214 | <term><command>firefox</command></term>
|
---|
| 215 | <listitem>
|
---|
| 216 | <para>is the next-generation browser from Mozilla.</para>
|
---|
| 217 | <indexterm zone="firefox firefox-prog">
|
---|
| 218 | <primary sortas="b-firefox">firefox</primary>
|
---|
| 219 | </indexterm>
|
---|
| 220 | </listitem>
|
---|
| 221 | </varlistentry>
|
---|
| 222 |
|
---|
| 223 | <varlistentry id="firefox-config">
|
---|
| 224 | <term><command>firefox-config</command></term>
|
---|
| 225 | <listitem>
|
---|
| 226 | <para>determines the compile and linker flags that should be
|
---|
| 227 | used to compile and link programs that use
|
---|
| 228 | <application>Firefox</application> libraries and browser
|
---|
| 229 | components.</para>
|
---|
| 230 | <indexterm zone="firefox firefox-config">
|
---|
| 231 | <primary sortas="b-firefox-config">firefox-config</primary>
|
---|
| 232 | </indexterm>
|
---|
| 233 | </listitem>
|
---|
| 234 | </varlistentry>
|
---|
| 235 |
|
---|
| 236 | </variablelist>
|
---|
| 237 |
|
---|
| 238 | </sect2>
|
---|
[4d37129] | 239 |
|
---|
| 240 | </sect1>
|
---|