source: xsoft/graphweb/mozilla.xml@ a920045f

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.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 a920045f was b4647e21, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Typo fix. Xsoft.

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

  • Property mode set to 100644
File size: 17.8 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 mozilla-download-http "http://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla&mozilla-version;/source/mozilla-&mozilla-version;-source.tar.bz2">
8 <!ENTITY mozilla-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/mozilla/releases/mozilla&mozilla-version;/source/mozilla-&mozilla-version;-source.tar.bz2">
9 <!ENTITY mozilla-md5sum "ed54ad54b4b5de85c7916e7d1efa0ae3">
10 <!ENTITY mozilla-size "29 MB">
11 <!ENTITY mozilla-buildsize "620 MB">
12 <!ENTITY mozilla-time "12.8 SBU">
13
14 <!ENTITY mozilla-enigmail-version "0.92.0">
15 <!ENTITY mozilla-enigmail-md5sum "50c369ce6d6fcb2d275cd30319a601ff">
16 <!ENTITY mozilla-ipc-version "1.1.3">
17 <!ENTITY mozilla-ipc-md5sum "64ba4c6e3b52568468c4f6680ec7e679">
18]>
19
20<sect1 id="mozilla" xreflabel="Mozilla-&mozilla-version;">
21 <?dbhtml filename="mozilla.html" ?>
22
23 <sect1info>
24 <othername>$LastChangedBy$</othername>
25 <date>$Date$</date>
26 <keywordset>
27 <keyword role="package">mozilla-&mozilla-version;-source.tar</keyword>
28 <keyword role="ftpdir">mozilla</keyword>
29 </keywordset>
30 </sect1info>
31
32 <title>Mozilla-&mozilla-version;</title>
33
34 <indexterm zone="mozilla">
35 <primary sortas="a-Mozilla">Mozilla</primary>
36 </indexterm>
37
38 <sect2 role="package">
39 <title>Introduction to Mozilla</title>
40
41 <para><application>Mozilla</application> is a browser suite, the Open
42 Source sibling of <application>Netscape</application>. It includes the
43 browser, composer, mail and news clients, a calendar client and an
44 IRC client.</para>
45
46 <para>The <application>Mozilla</application> project also hosts two
47 subprojects that aim to satisfy the needs of users who don't need the
48 complete browser suite or prefer to have separate applications for
49 browsing and e-mail. These subprojects are <ulink
50 url="http://www.mozilla.org/products/firefox/">Mozilla Firefox</ulink>,
51 (a stand-alone browser based on the <application>Mozilla</application>
52 source code) and <ulink
53 url="http://www.mozilla.org/products/thunderbird/">Mozilla
54 Thunderbird</ulink>, (a stand-alone mail client based on the
55 <application>Mozilla</application> source code). The build instructions
56 for these two applications are discussed in separate sections:</para>
57
58 <itemizedlist>
59 <listitem>
60 <para><xref linkend="firefox"/></para>
61 </listitem>
62 <listitem>
63 <para><xref linkend="thunderbird"/></para>
64 </listitem>
65 </itemizedlist>
66
67 <bridgehead renderas="sect3">Package Information</bridgehead>
68 <itemizedlist spacing="compact">
69 <listitem>
70 <para>Download (HTTP): <ulink url="&mozilla-download-http;"/></para>
71 </listitem>
72 <listitem>
73 <para>Download (FTP): <ulink url="&mozilla-download-ftp;"/></para>
74 </listitem>
75 <listitem>
76 <para>Download MD5 sum: &mozilla-md5sum;</para>
77 </listitem>
78 <listitem>
79 <para>Download size: &mozilla-size;</para>
80 </listitem>
81 <listitem>
82 <para>Estimated disk space required: &mozilla-buildsize;</para>
83 </listitem>
84 <listitem>
85 <para>Estimated build time: &mozilla-time;</para>
86 </listitem>
87 </itemizedlist>
88
89 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
90 <itemizedlist spacing="compact">
91 <listitem>
92 <para>Required patch: <ulink
93 url="&patch-root;/mozilla-&mozilla-version;-gcc4-2.patch"/></para>
94 </listitem>
95 </itemizedlist>
96
97 <para>To enable the <application>Enigmail</application> extension to
98 the <application>Mozilla</application> mail client, you'll need to
99 download the two tarballs below. The <application>Enigmail</application>
100 extension allows users to access the authentication and encryption
101 features provided by the <application>GnuPG</application> package.</para>
102
103 <itemizedlist spacing='compact'>
104 <listitem>
105 <para><ulink
106 url="http://downloads.mozdev.org/enigmail/src/enigmail-&mozilla-enigmail-version;.tar.gz"/>
107 </para>
108 </listitem>
109 <listitem>
110 <para>Download MD5 sum (Enigmail): &mozilla-enigmail-md5sum;</para>
111 </listitem>
112 <listitem>
113 <para><ulink
114 url="http://downloads.mozdev.org/enigmail/src/ipc-&mozilla-ipc-version;.tar.gz"/>
115 </para>
116 </listitem>
117 <listitem>
118 <para>Download MD5 sum (IPC): &mozilla-ipc-md5sum;</para>
119 </listitem>
120 </itemizedlist>
121
122 <bridgehead renderas="sect3">Mozilla Dependencies</bridgehead>
123
124 <bridgehead renderas="sect4">Required</bridgehead>
125 <para role="required"><xref linkend="zip"/>,
126 <xref linkend="gtk2"/>,
127 <xref linkend="libidl"/></para>
128
129 <bridgehead renderas="sect4">Recommended</bridgehead>
130 <para role="recommended"><xref linkend="gnupg"/> (for the
131 <application>Enigmail</application> extension)</para>
132
133 <bridgehead renderas="sect4">Optional</bridgehead>
134 <para role="optional"><xref linkend="libjpeg"/>,
135 <xref linkend="unzip"/>,
136 <xref linkend="gnome-vfs"/> (to build the gnomevfs extension),
137 <xref linkend="libart_lgpl"/>,
138 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
139 (for the GSSAPI libraries to build the negotiateauth extension),
140 <xref linkend="doxygen"/>,
141 <ulink url="http://xprint.mozdev.org/">Xprint</ulink>,
142 <ulink url="http://perens.com/FreeSoftware/">Electric Fence</ulink></para>
143
144 </sect2>
145
146 <sect2 role="installation">
147 <title>Installation of Mozilla</title>
148
149 <para>Compile <application>Mozilla</application> by running the
150 following commands:</para>
151
152<screen><userinput>patch -Np1 -i ../mozilla-&mozilla-version;-gcc4-2.patch &amp;&amp;
153export MOZILLA_OFFICIAL="1" &amp;&amp;
154export BUILD_OFFICIAL="1" &amp;&amp;
155export MOZ_CO_PROJECT="suite" &amp;&amp;
156./configure --prefix=/usr \
157 --with-default-mozilla-five-home=/usr/lib/mozilla \
158 --with-system-zlib \
159 --with-system-png \
160 --enable-application=suite \
161 --enable-default-toolkit=gtk2 \
162 --enable-extensions=all \
163 --enable-crypto \
164 --enable-xft \
165 --enable-xinerama \
166 --enable-optimize \
167 --enable-reorder \
168 --enable-strip \
169 --enable-cpp-rtti \
170 --enable-calendar \
171 --disable-freetype2 \
172 --disable-accessibility \
173 --disable-debug \
174 --disable-tests \
175 --disable-logging \
176 --disable-pedantic \
177 --disable-installer &amp;&amp;
178make</userinput></screen>
179
180 <para>You should add the <option>--with-system-jpeg</option> switch
181 to the <command>configure</command> script if you have
182 <application>libjpeg</application> installed.</para>
183
184 <para>If you're building the <application>Mozilla</application> mail
185 and news clients and plan to install the <application>Enigmail</application>
186 extension, execute the following steps:</para>
187
188<screen><userinput>tar -xf ../enigmail-&mozilla-enigmail-version;.tar.gz -C extensions &amp;&amp;
189tar -xf ../ipc-&mozilla-ipc-version;.tar.gz -C extensions &amp;&amp;
190build/autoconf/make-makefile extensions/ipc extensions/enigmail &amp;&amp;
191make -C extensions/ipc &amp;&amp;
192make -C extensions/enigmail</userinput></screen>
193
194 <para>Install <application>Mozilla</application> (as the
195 <systemitem class="username">root user</systemitem>) as follows:</para>
196
197<screen role="root"><userinput>make install &amp;&amp;
198install -v -d -m755 /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
199cp -v -Lf dist/private/nss/*.h dist/public/nss/*.h \
200 /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
201ln -v -nsf mozilla-&mozilla-version; /usr/include/mozilla &amp;&amp;
202if [ -d /usr/lib/mozilla/plugins ]; then
203 mv -v /usr/lib/mozilla/plugins/* /usr/lib/mozilla-&mozilla-version;/plugins
204 rm -v -rf /usr/lib/mozilla
205fi &amp;&amp;
206ln -v -nsf mozilla-&mozilla-version; /usr/lib/mozilla</userinput></screen>
207
208 <para>If you're installing the <application>Enigmail</application>
209 extension, issue the following commands as the
210 <systemitem class="username">root</systemitem> user:</para>
211
212<screen role="root"><userinput>make -C extensions/ipc install &amp;&amp;
213make -C extensions/enigmail install</userinput></screen>
214
215 <para>Some libraries, including the Netscape Portable Runtime (NSPR) and
216 Network Security Services (NSS) libraries, installed by
217 <application>Mozilla</application> are also needed by other packages.
218 These libraries should be in <filename class="directory">/usr/lib</filename>
219 so that other packages can link against them. As the <systemitem
220 class="username">root</systemitem> user, move them as follows:</para>
221
222<screen role="root"><userinput>for i in \
223 lib{nspr4,plc4,plds4,nss3,smime3,softokn3,ssl3}.so libsoftokn3.chk
224do
225 mv -v /usr/lib/mozilla-&mozilla-version;/$i /usr/lib/
226 ln -v -sf ../$i /usr/lib/mozilla-&mozilla-version;/
227done</userinput></screen>
228
229 <para>Create the required component registries to enable multi-user
230 installs. These steps should be preformed by the <systemitem
231 class="username">root</systemitem> user each time a
232 <application>Mozilla</application> add-on is installed. This will allow
233 unprivileged users to run <command>mozilla</command>. Enable multi-user
234 operation by executing the following:</para>
235
236<screen role="root"><userinput>cd /usr/lib/mozilla-&mozilla-version; &amp;&amp;
237export LD_LIBRARY_PATH="$PWD" &amp;&amp;
238export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
239./regxpcom &amp;&amp;
240./regchrome &amp;&amp;
241touch `find . -name *.rdf`</userinput></screen>
242
243 <note>
244 <para>You should run <command>/usr/bin/mozilla</command> once as the
245 <systemitem class="username">root</systemitem> user (or any user with
246 write privileges) to create some necessary additional files in the
247 <filename class='directory'>/usr</filename> hierarchy.</para>
248 </note>
249
250 <para>Lastly, unset the build variables from the unprivileged user's
251 environment:</para>
252
253<screen><userinput>unset MOZILLA_OFFICIAL &amp;&amp;
254unset BUILD_OFFICIAL &amp;&amp;
255unset MOZ_CO_PROJECT</userinput></screen>
256
257 </sect2>
258
259 <sect2 role="commands">
260 <title>Optional Extra Switches</title>
261
262 <para>You may wish to run <command>./configure --help</command> and review
263 each of the listed options to discover what affect they have on the build.
264 Feel free to add or remove options to tailor the build to your desires.
265 Listed below are some common options not listed above but can be added to
266 the <command>configure</command> command in order to have the described
267 effect on the <application>Mozilla</application> compile.</para>
268
269 <para><option>--with-system-jpeg</option>: Uses the system-installed copy
270 of <application>libjpeg</application> instead of the bundled copy.</para>
271
272 <para><option>--enable-elf-dynstr-gc</option>: Removes un-referenced
273 strings from ELF shared objects generated during the build. Note that this
274 option breaks the build on alpha.</para>
275
276 <para><option>--disable-mailnews</option>: Disables the mail and news
277 clients.</para>
278
279 <para><option>--disable-ldap</option>: Disables LDAP support, recommended
280 if mail is disabled.</para>
281
282 <para><option>--enable-xterm-updates</option>: Displays the current command
283 in the <command>xterm</command> window title during the compilation.</para>
284
285 <para><option>--enable-plaintext-editor-only</option>: Disables support
286 for HTML editing. Do not use this switch if you are building the mail-news
287 component.</para>
288
289 </sect2>
290
291 <sect2 role="commands">
292 <title>Command Explanations</title>
293
294 <para><command>export MOZILLA_OFFICIAL="1";
295 export BUILD_OFFICIAL="1"</command>: Set some variables that affect what and
296 how the package is built. These two exports specify a distribution is being
297 built.</para>
298
299 <para><parameter>--with-default-mozilla-five-home=/usr/lib/mozilla</parameter>:
300 Sets the default value for <envar>MOZILLA_FIVE_HOME</envar>.</para>
301
302 <para><parameter>--with-system-zlib --with-system-png </parameter>: Use the
303 system-installed versions of these packages.</para>
304
305 <para><parameter>--enable-application=suite</parameter>: Identifies the build
306 as a <application>Mozilla</application> suite build.</para>
307
308 <para><parameter>--enable-default-toolkit=gtk2</parameter>: Use the
309 GTK2 toolkit for graphics rendering.</para>
310
311 <para><parameter>--enable-extensions=all</parameter>: Enables all available
312 extensions. If you want, you can disable any or all extensions other than the
313 browser by changing this switch to
314 <option>--enable-extensions="default,-venkman,-inspector,..."</option>.
315 For a short description of the various extensions available with the
316 <application>Mozilla</application> source, see
317 <ulink
318 url="http://linuxfromscratch.org/~tushar/downloads/mozilla-extensions.txt"/>.
319 </para>
320
321 <para><parameter>--enable-crypto</parameter>: Enable the Personal
322 Security Manager to enable SSL connections.</para>
323
324 <para><parameter>--enable-calendar</parameter>: Builds the calendar
325 application. Removed this parameter if you don't wish to build it.</para>
326
327 <para><parameter>--enable-xft; --disable-freetype2</parameter>: Enable Xft
328 support which automatically pulls in the <application>FreeType</application>
329 libraries.</para>
330
331 <para><parameter>--enable-xinerama; --enable-optimize; --enable-reorder;
332 --enable-strip; --enable-cpp-rtti --disable-accessibility; --disable-debug;
333 --disable-tests; --disable-logging; --disable-pedantic;
334 --disable-installer</parameter>: Various options that affect what components
335 are built and some optimization options. You can pick and choose from these
336 options. More information on them, and many other available options, can be
337 found by running <command>./configure --help</command>.</para>
338
339 <para><command>install -d /usr/include/mozilla-&mozilla-version;/nss;
340 cp -Lf ...</command>: Copy the NSS interface headers that
341 are not copied by <command>make install</command>.</para>
342
343 <para><command>if [ -d /usr/lib/mozilla/plugins ] ... fi</command>: Some
344 applications may have already installed <application>Mozilla</application>
345 plugins. This set of commands move any existing plugins to the newly created
346 plugin directory, then removes the existing
347 <filename class='directory'>/usr/lib/mozilla</filename> directory.</para>
348
349 <para><command>ln -nsf mozilla-&mozilla-version; ...</command>:
350 <application>Mozilla</application> installs headers and libraries in version
351 specific directories. These commands makes symbolic links so that
352 applications depending on <application>Mozilla</application> (such as
353 <application>OpenOffice</application>, <application>Galeon</application>,
354 etc.) don't need to know which version of <application>Mozilla</application>
355 is installed.</para>
356
357 </sect2>
358
359 <sect2 role="configuration">
360 <title>Configuring Mozilla</title>
361
362 <para>No specific configuration is required as long as the
363 <command>mozilla</command> script is in the user's path. If
364 <application>Mozilla</application> is installed in a non-standard location,
365 then make a symlink to the <command>mozilla</command> script from
366 <filename class="directory">/usr/bin</filename>.</para>
367
368 <para>Many applications look for <command>netscape</command> when they need
369 to open a browser. You may make the following symlink for convenience (as
370 the <systemitem class="username">root</systemitem> user).</para>
371
372<screen role="root"><userinput>ln -v -sf mozilla /usr/bin/netscape</userinput></screen>
373
374 <para>For installing various <application>Mozilla</application> plugins,
375 refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
376 PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already
377 installed, create the following link as the
378 <systemitem class="username">root</systemitem> user to utilize the
379 <application>JAVA</application> plugin: </para>
380
381<screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
382 /usr/lib/mozilla-&mozilla-version;/plugins</userinput></screen>
383
384 </sect2>
385
386 <sect2 role="content">
387 <title>Contents</title>
388
389 <segmentedlist>
390 <segtitle>Installed Program</segtitle>
391 <segtitle>Installed Libraries</segtitle>
392 <segtitle>Installed Directories</segtitle>
393
394 <seglistitem>
395 <seg>mozilla</seg>
396 <seg>Numerous libraries, browser, and email/newsgroup components,
397 plugins, extensions, and helper modules installed in <filename
398 class='directory'>/usr/lib/mozilla-&mozilla-version;</filename></seg>
399 <seg>/usr/include/mozilla-&mozilla-version;,
400 /usr/lib/mozilla-&mozilla-version;, and
401 /usr/share/idl/mozilla-&mozilla-version;</seg>
402 </seglistitem>
403 </segmentedlist>
404
405 <variablelist>
406 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
407 <?dbfo list-presentation="list"?>
408 <?dbhtml list-presentation="table"?>
409
410 <varlistentry id="mozilla-prog">
411 <term><command>mozilla</command></term>
412 <listitem>
413 <para>is a browser/email/newsgroup/calendar/chat client suite. The
414 various components such as the Composer, mail-news client, calendar,
415 IRC chat client and address book can be accessed from the menu after
416 <command>mozilla</command> starts or via command-line switches to
417 the <command>mozilla</command> script. Issue
418 <command>man mozilla</command> for additional information.</para>
419 <indexterm zone="mozilla mozilla-prog">
420 <primary sortas="b-mozilla">mozilla</primary>
421 </indexterm>
422 </listitem>
423 </varlistentry>
424
425 </variablelist>
426
427 </sect2>
428
429</sect1>
Note: See TracBrowser for help on using the repository browser.