source: xsoft/graphweb/firefox.xml@ f72040eb

10.0 10.1 11.0 11.1 6.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since f72040eb was f72040eb, checked in by Bruce Dubbs <bdubbs@…>, 17 years ago

Update firefox to 1.0.4

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4469 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 8.9 KB
Line 
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 "0f5d0586750fde79ba98ecf3ee4425a7">
10 <!ENTITY firefox-size "31.2 MB">
11 <!ENTITY firefox-buildsize "545 MB">
12 <!ENTITY firefox-time "10.3 SBU">
13]>
14
15<sect1 id="firefox" xreflabel="Firefox-&firefox-version;">
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" &amp;&amp;
90export BUILD_OFFICIAL="1" &amp;&amp;
91export MOZ_PHOENIX="1" &amp;&amp;
92./configure --prefix=/usr \
93 --with-default-mozilla-five-home=/usr/lib/firefox-1.0 \
94 --with-user-appdir=.firefox \
95 --with-system-zlib \
96 --with-system-png \
97 --enable-application=browser \
98 --enable-default-toolkit=gtk2 \
99 --enable-extensions=cookie,xml-rpc,xmlextras,pref,\
100 transformiix,universalchardet,webservices,inspector,\
101 gnomevfs,negotiateauth \
102 --enable-crypto \
103 --enable-xft \
104 --enable-xinerama \
105 --enable-optimize \
106 --enable-reorder \
107 --enable-strip \
108 --enable-cpp-rtti \
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 \
120 --disable-profilesharing &amp;&amp;
121make</userinput></screen>
122
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>
126
127 <para>This package does not come with a test suite.</para>
128
129 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
130
131<screen role="root"><userinput>make install &amp;&amp;
132install -d /usr/include/firefox-&firefox-version;/nss &amp;&amp;
133cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
134 /usr/include/firefox-&firefox-version;/nss</userinput></screen>
135
136 <para>To enable multi-user operation, execute the following as the
137 <systemitem class="username">root</systemitem> user:</para>
138
139<screen role="root"><userinput>cd /usr/lib/firefox-&firefox-version; &amp;&amp;
140export LD_LIBRARY_PATH="$PWD" &amp;&amp;
141export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
142./regxpcom &amp;&amp;
143./regchrome &amp;&amp;
144touch `find . -name *.rdf`</userinput></screen>
145
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>
152
153 <para>Lastly, unset the build variables from the unprivileged user's
154 environment:</para>
155
156<screen><userinput>unset MOZILLA_OFFICIAL &amp;&amp;
157unset BUILD_OFFICIAL &amp;&amp;
158unset 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>
239
240</sect1>
Note: See TracBrowser for help on using the repository browser.