1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
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">
|
---|
9 | <!ENTITY firefox-md5sum "fd1a0dec3e763e93eb45c0c34b399712">
|
---|
10 | <!ENTITY firefox-size "32 MB">
|
---|
11 | <!ENTITY firefox-buildsize "564 MB">
|
---|
12 | <!ENTITY firefox-time "10.9 SBU">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
|
---|
16 | <sect1info>
|
---|
17 | <othername>$LastChangedBy$</othername>
|
---|
18 | <date>$Date$</date>
|
---|
19 | </sect1info>
|
---|
20 | <?dbhtml filename="firefox.html" ?>
|
---|
21 | <title>Firefox-&firefox-version;</title>
|
---|
22 | <indexterm zone="firefox">
|
---|
23 | <primary sortas="a-Firefox">Firefox</primary></indexterm>
|
---|
24 |
|
---|
25 | <sect2>
|
---|
26 | <title>Introduction to <application>Firefox</application></title>
|
---|
27 |
|
---|
28 | <para><application>Firefox</application> is a stand-alone browser
|
---|
29 | based on the <application>Mozilla</application> codebase.</para>
|
---|
30 |
|
---|
31 | <sect3><title>Package information</title>
|
---|
32 | <itemizedlist spacing='compact'>
|
---|
33 | <listitem><para>Download (HTTP): <ulink
|
---|
34 | url="&firefox-download-http;"/></para></listitem>
|
---|
35 | <listitem><para>Download (FTP): <ulink
|
---|
36 | url="&firefox-download-ftp;"/></para></listitem>
|
---|
37 | <listitem><para>Download MD5 sum: &firefox-md5sum;</para></listitem>
|
---|
38 | <listitem><para>Download size: &firefox-size;</para></listitem>
|
---|
39 | <listitem><para>Estimated disk space required:
|
---|
40 | &firefox-buildsize;</para></listitem>
|
---|
41 | <listitem><para>Estimated build time:
|
---|
42 | &firefox-time;</para></listitem></itemizedlist>
|
---|
43 | </sect3>
|
---|
44 |
|
---|
45 | <sect3><title><application>Firefox</application> dependencies</title>
|
---|
46 | <sect4><title>Required</title>
|
---|
47 | <para><xref linkend="gtk2"/>,
|
---|
48 | <xref linkend="libidl"/> and
|
---|
49 | <xref linkend="zip"/></para>
|
---|
50 | </sect4>
|
---|
51 |
|
---|
52 | <sect4><title>Optional</title>
|
---|
53 | <para><xref linkend="libjpeg"/>,
|
---|
54 | <xref linkend="unzip"/>,
|
---|
55 | <xref linkend="gnome-vfs"/>,
|
---|
56 | <xref linkend="libgnome"/>,
|
---|
57 | <xref linkend="mitkrb"/> or <xref linkend="heimdal"/>
|
---|
58 | (for the GSSAPI libraries),
|
---|
59 | <xref linkend="doxygen"/>,
|
---|
60 | <ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
|
---|
61 | <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink> and
|
---|
62 | <ulink url="http://cairographics.org/">Cairo</ulink></para>
|
---|
63 | </sect4>
|
---|
64 | </sect3>
|
---|
65 |
|
---|
66 | </sect2>
|
---|
67 |
|
---|
68 | <sect2>
|
---|
69 | <title>Installation of <application>Firefox</application></title>
|
---|
70 |
|
---|
71 | <para>The configuration of <application>Firefox</application> is very similar
|
---|
72 | to <xref linkend="mozilla"/> and hence the options are not discussed. Refer to
|
---|
73 | the <xref linkend="mozilla"/> instructions for explanations and additional
|
---|
74 | configuration information.</para>
|
---|
75 |
|
---|
76 | <para>Compile and install <application>Firefox</application> by
|
---|
77 | running the following commands:</para>
|
---|
78 |
|
---|
79 | <screen><userinput><command>export MOZILLA_OFFICIAL="1" &&
|
---|
80 | export BUILD_OFFICIAL="1" &&
|
---|
81 | export MOZ_PHOENIX="1" &&
|
---|
82 | ./configure --prefix=/usr \
|
---|
83 | --with-default-mozilla-five-home=/usr/lib/firefox-1.0 \
|
---|
84 | --with-user-appdir=.firefox \
|
---|
85 | --with-system-zlib \
|
---|
86 | --with-system-png \
|
---|
87 | --enable-application=browser \
|
---|
88 | --enable-default-toolkit=gtk2 \
|
---|
89 | --enable-extensions=all,-typeaheadfind \
|
---|
90 | --enable-crypto \
|
---|
91 | --enable-xft \
|
---|
92 | --enable-xinerama \
|
---|
93 | --enable-optimize \
|
---|
94 | --enable-reorder \
|
---|
95 | --enable-strip \
|
---|
96 | --enable-cpp-rtti \
|
---|
97 | --enable-single-profile \
|
---|
98 | --disable-freetype2 \
|
---|
99 | --disable-accessibility \
|
---|
100 | --disable-debug \
|
---|
101 | --disable-tests \
|
---|
102 | --disable-logging \
|
---|
103 | --disable-pedantic \
|
---|
104 | --disable-installer \
|
---|
105 | --disable-mailnews \
|
---|
106 | --disable-ldap \
|
---|
107 | --disable-composer \
|
---|
108 | --disable-profilesharing &&
|
---|
109 | make</command></userinput></screen>
|
---|
110 |
|
---|
111 | <para>You should add the <option>--with-system-jpeg</option> switch to the
|
---|
112 | <command>configure</command> script if you have
|
---|
113 | <application>libjpeg</application> installed.</para>
|
---|
114 |
|
---|
115 | <para>This package does not come with a test suite.</para>
|
---|
116 |
|
---|
117 | <para>Now, as the root user:</para>
|
---|
118 |
|
---|
119 | <screen><userinput role='root'><command>make install &&
|
---|
120 | install -d /usr/include/firefox-&firefox-version;/nss &&
|
---|
121 | cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
|
---|
122 | /usr/include/firefox-&firefox-version;/nss</command></userinput></screen>
|
---|
123 |
|
---|
124 | <para>To enable multi-user operation, execute the following as the root
|
---|
125 | user:</para>
|
---|
126 |
|
---|
127 | <screen><userinput><command>cd /usr/lib/firefox-&firefox-version; &&
|
---|
128 | export LD_LIBRARY_PATH="$PWD" &&
|
---|
129 | export MOZILLA_FIVE_HOME="$PWD" &&
|
---|
130 | ./regxpcom &&
|
---|
131 | ./regchrome &&
|
---|
132 | touch `find . -name *.rdf`</command></userinput></screen>
|
---|
133 |
|
---|
134 | <note><para>You should run <command>/usr/bin/firefox</command> once as the
|
---|
135 | root user (or any user with write privileges) to create some necessary
|
---|
136 | additional files in the <filename class='directory'>/usr</filename>
|
---|
137 | hierarchy.</para></note>
|
---|
138 |
|
---|
139 | </sect2>
|
---|
140 |
|
---|
141 | <sect2>
|
---|
142 | <title>Contents</title>
|
---|
143 |
|
---|
144 | <segmentedlist>
|
---|
145 | <segtitle>Installed Programs</segtitle>
|
---|
146 | <segtitle>Installed Libraries</segtitle>
|
---|
147 | <segtitle>Installed Directories</segtitle>
|
---|
148 |
|
---|
149 | <seglistitem>
|
---|
150 | <seg>firefox and firefox-config</seg>
|
---|
151 | <seg>Numerous libraries, browser components, plugins, extensions and helper
|
---|
152 | modules installed in
|
---|
153 | <filename class='directory'>/usr/lib/firefox-&firefox-version;</filename></seg>
|
---|
154 | <seg>/usr/bin/defaults, /usr/include/firefox-&firefox-version;,
|
---|
155 | /usr/lib/firefox-&firefox-version; and
|
---|
156 | /usr/share/idl/firefox-&firefox-version;</seg>
|
---|
157 | </seglistitem>
|
---|
158 | </segmentedlist>
|
---|
159 |
|
---|
160 | <variablelist>
|
---|
161 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
162 | <?dbfo list-presentation="list"?>
|
---|
163 |
|
---|
164 | <varlistentry id="firefox-prog">
|
---|
165 | <term><command>firefox</command></term>
|
---|
166 | <listitem><para>is the next-generation browser from Mozilla.</para>
|
---|
167 | <indexterm zone="firefox firefox-prog">
|
---|
168 | <primary sortas="b-firefox">firefox</primary>
|
---|
169 | </indexterm></listitem>
|
---|
170 | </varlistentry>
|
---|
171 | </variablelist>
|
---|
172 |
|
---|
173 | <varlistentry id="firefox-config">
|
---|
174 | <term><command>firefox-config</command></term>
|
---|
175 | <listitem><para>determines the compile and linker flags that should be
|
---|
176 | used to compile and link programs that use
|
---|
177 | <application>Firefox</application> libraries and browser
|
---|
178 | components.</para>
|
---|
179 | <indexterm zone="firefox firefox-config">
|
---|
180 | <primary sortas="b-firefox-config">firefox-config</primary>
|
---|
181 | </indexterm></listitem>
|
---|
182 | </varlistentry>
|
---|
183 | </variablelist>
|
---|
184 |
|
---|
185 | </sect2>
|
---|
186 |
|
---|
187 | </sect1>
|
---|