source: xsoft/graphweb/mozilla.xml@ 5283eda

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 5283eda was 5283eda, checked in by Bruce Dubbs <bdubbs@…>, 19 years ago

Update to mozilla-1.7.11

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

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