source: xsoft/graphweb/firefox.xml@ 862f2e3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 862f2e3 was 4576a11, checked in by Richard Downing <richard@…>, 19 years ago

Updated to firefox-1.0.6 and added self to Co-Editors

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

  • Property mode set to 100644
File size: 9.3 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 "7b4c1d10d478dcb4c52fbbe3e41745d9">
10 <!ENTITY firefox-size "32.0 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 --enable-crypto \
102 --enable-xft \
103 --enable-xinerama \
104 --enable-optimize \
105 --enable-reorder \
106 --enable-strip \
107 --enable-cpp-rtti \
108 --enable-single-profile \
109 --disable-freetype2 \
110 --disable-accessibility \
111 --disable-debug \
112 --disable-tests \
113 --disable-logging \
114 --disable-pedantic \
115 --disable-installer \
116 --disable-mailnews \
117 --disable-ldap \
118 --disable-composer \
119 --disable-profilesharing &amp;&amp;
120make</userinput></screen>
121
122 <para>You should add the <option>--with-system-jpeg</option> switch
123 to the <command>configure</command> script if you have
124 <application>libjpeg</application> installed.</para>
125
126 <para>You should add <option>gnomevfs</option> to the list
127 in the <option>--enable-extensions</option> switch
128 if you have <application>libgnome</application> installed.</para>
129
130 <para>You should add <option>negotiateauth</option> to the list
131 in the <option>--enable-extensions</option> switch
132 if you have one of the <application>gssapi</application>
133 libraries installed.</para>
134
135 <para>This package does not come with a test suite.</para>
136
137 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
138
139<screen role="root"><userinput>make install &amp;&amp;
140install -d /usr/include/firefox-&firefox-version;/nss &amp;&amp;
141cp -Lf dist/private/nss/*.h dist/public/nss/*.h \
142 /usr/include/firefox-&firefox-version;/nss</userinput></screen>
143
144 <para>To enable multi-user operation, execute the following as the
145 <systemitem class="username">root</systemitem> user:</para>
146
147<screen role="root"><userinput>cd /usr/lib/firefox-&firefox-version; &amp;&amp;
148export LD_LIBRARY_PATH="$PWD" &amp;&amp;
149export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
150./regxpcom &amp;&amp;
151./regchrome &amp;&amp;
152touch `find . -name *.rdf`</userinput></screen>
153
154 <note>
155 <para>You should run <command>/usr/bin/firefox</command> once as the
156 <systemitem class="username">root</systemitem> user (or any user with
157 write privileges) to create some necessary additional files in the
158 <filename class='directory'>/usr</filename> hierarchy.</para>
159 </note>
160
161 <para>Lastly, unset the build variables from the unprivileged user's
162 environment:</para>
163
164<screen><userinput>unset MOZILLA_OFFICIAL &amp;&amp;
165unset BUILD_OFFICIAL &amp;&amp;
166unset MOZ_PHOENIX</userinput></screen>
167
168 </sect2>
169
170 <sect2 role="configuration">
171 <title>Configuring Firefox</title>
172
173 <para>No specific configuration is required as long as the
174 <command>firefox</command> script is in the user's path. If
175 <application>Firefox</application> is installed in a non-standard location,
176 then make a symlink to the <command>firefox</command> script from
177 <filename class="directory">/usr/bin</filename>.</para>
178
179 <para>Many applications look for <command>netscape</command> when they
180 need to open a browser. You may make the following symlink for convenience
181 (as the <systemitem class="username">root</systemitem> user).</para>
182
183<screen role="root"><userinput>ln -v -sf firefox /usr/bin/netscape</userinput></screen>
184
185 <para>For installing various <application>Firefox</application> plugins,
186 refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
187 PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already
188 installed, create the following link as the
189 <systemitem class="username">root</systemitem> user to utilize the
190 <application>JAVA</application> plugin: </para>
191
192<screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
193 /usr/lib/firefox-&firefox-version;/plugins</userinput></screen>
194
195 </sect2>
196
197 <sect2 role="content">
198 <title>Contents</title>
199
200 <segmentedlist>
201 <segtitle>Installed Programs</segtitle>
202 <segtitle>Installed Libraries</segtitle>
203 <segtitle>Installed Directories</segtitle>
204
205 <seglistitem>
206 <seg>firefox and firefox-config</seg>
207 <seg>Numerous libraries, browser components, plugins, extensions, and
208 helper modules installed in <filename
209 class='directory'>/usr/lib/firefox-&firefox-version;</filename></seg>
210 <seg>/usr/bin/defaults, /usr/include/firefox-&firefox-version;,
211 /usr/lib/firefox-&firefox-version;, and
212 /usr/share/idl/firefox-&firefox-version;</seg>
213 </seglistitem>
214 </segmentedlist>
215
216 <variablelist>
217 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
218 <?dbfo list-presentation="list"?>
219 <?dbhtml list-presentation="table"?>
220
221 <varlistentry id="firefox-prog">
222 <term><command>firefox</command></term>
223 <listitem>
224 <para>is the next-generation browser from Mozilla.</para>
225 <indexterm zone="firefox firefox-prog">
226 <primary sortas="b-firefox">firefox</primary>
227 </indexterm>
228 </listitem>
229 </varlistentry>
230
231 <varlistentry id="firefox-config">
232 <term><command>firefox-config</command></term>
233 <listitem>
234 <para>determines the compile and linker flags that should be
235 used to compile and link programs that use
236 <application>Firefox</application> libraries and browser
237 components.</para>
238 <indexterm zone="firefox firefox-config">
239 <primary sortas="b-firefox-config">firefox-config</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 </variablelist>
245
246 </sect2>
247
248</sect1>
Note: See TracBrowser for help on using the repository browser.