source: xsoft/graphweb/mozilla.xml@ a2fe5b7f

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

Temporary intentional patch name error

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

  • Property mode set to 100644
File size: 30.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 "f1ad6adbbc0510eb76d352c94c801fac">
10 <!ENTITY mozilla-size "30.4 MB">
11 <!ENTITY mozilla-buildsize "575 MB">
12 <!ENTITY mozilla-time "9.4 SBU">
13
14 <!--
15
16 BLFS Devs:
17
18 The information below is for the Enigmail and IPC downloads. Additionally,
19 a makemake file is download because we cannot build Enigmail using an
20 object directory without it. Informaiton about the Enigmail source to
21 check for updates is located at http://enigmail.mozdev.org/source.html.
22
23 The link to the makemake file is near the end of the page in the section
24 titled "Using OBJDIR when building Enigmail". Ensure you check the rev
25 level of the link and update the "enigmail-makemake-version" entitity
26 if necessary. In case you are wondering why the version has the question
27 mark and "rev=" in it, it is because the complete URL is used in a command
28 and it would extend past the 71 characters that PDF render is limited to.
29 It should make sense after you see it rendered in the wget command.
30
31 -->
32
33 <!ENTITY mozilla-enigmail-version "0.93.0">
34 <!ENTITY mozilla-ipc-version "1.1.3">
35 <!ENTITY enigmail-makemake-version "?rev=1.3">
36 <!ENTITY mozilla-enigmail-download "http://www.mozilla-enigmail.org/downloads/src/enigmail-&mozilla-enigmail-version;.tar.gz">
37 <!ENTITY mozilla-ipc-download "http://www.mozilla-enigmail.org/downloads/src/ipc-&mozilla-ipc-version;.tar.gz">
38 <!ENTITY enigmail-makemake-download "http://www.mozdev.org/source/browse/~checkout~/enigmail/src/makemake">
39 <!ENTITY mozilla-enigmail-md5sum "cb7126705924cb7f0de205b4ff4e28b4">
40 <!ENTITY mozilla-ipc-md5sum "64ba4c6e3b52568468c4f6680ec7e679">
41]>
42
43<sect1 id="mozilla" xreflabel="Mozilla-&mozilla-version;">
44 <?dbhtml filename="mozilla.html" ?>
45
46 <sect1info>
47 <othername>$LastChangedBy$</othername>
48 <date>$Date$</date>
49 <keywordset>
50 <keyword role="package">mozilla-&mozilla-version;-source.tar</keyword>
51 <keyword role="ftpdir">mozilla</keyword>
52 </keywordset>
53 </sect1info>
54
55 <title>Mozilla-&mozilla-version;</title>
56
57 <indexterm zone="mozilla">
58 <primary sortas="a-Mozilla">Mozilla</primary>
59 </indexterm>
60
61 <sect2 role="package">
62 <title>Introduction to Mozilla</title>
63
64 <para><application>Mozilla</application> is a browser suite, the Open
65 Source sibling of <application>Netscape</application>. It includes the
66 browser, composer, mail and news clients, a calendar client and an
67 IRC client.</para>
68
69 <para>The <application>Mozilla</application> project also hosts two
70 subprojects that aim to satisfy the needs of users who don't need the
71 complete browser suite or prefer to have separate applications for
72 browsing and e-mail. These subprojects are <ulink
73 url="http://www.mozilla.com/firefox/">Mozilla Firefox</ulink>,
74 (a stand-alone browser based on the <application>Mozilla</application>
75 source code) and <ulink
76 url="http://www.mozilla.com/thunderbird/">Mozilla Thunderbird</ulink>,
77 (a stand-alone mail/newsgroup client based on the
78 <application>Mozilla</application> source code). The build instructions
79 for these two applications are discussed in separate sections:</para>
80
81 <itemizedlist>
82 <listitem>
83 <para><xref linkend="firefox"/></para>
84 </listitem>
85 <listitem>
86 <para><xref linkend="thunderbird"/></para>
87 </listitem>
88 </itemizedlist>
89
90 <bridgehead renderas="sect3">Package Information</bridgehead>
91 <itemizedlist spacing="compact">
92 <listitem>
93 <para>Download (HTTP): <ulink url="&mozilla-download-http;"/></para>
94 </listitem>
95 <listitem>
96 <para>Download (FTP): <ulink url="&mozilla-download-ftp;"/></para>
97 </listitem>
98 <listitem>
99 <para>Download MD5 sum: &mozilla-md5sum;</para>
100 </listitem>
101 <listitem>
102 <para>Download size: &mozilla-size;</para>
103 </listitem>
104 <listitem>
105 <para>Estimated disk space required: &mozilla-buildsize;</para>
106 </listitem>
107 <listitem>
108 <para>Estimated build time: &mozilla-time;</para>
109 </listitem>
110 </itemizedlist>
111
112 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
113 <itemizedlist spacing="compact">
114 <listitem>
115 <para>Required patch: <ulink
116 url="&patch-root;/mozilla-&mozilla-version;-gcc4-1.patch"/></para>
117 </listitem>
118 <listitem>
119 <para>Required patch: <ulink
120 url="&patch-root;/mozilla-&mozilla-version;-gfx_fixes.patch"/></para>
121 <!-- url="&patch-root;/mozilla-&mozilla-version;-gfx_fixes-1.patch"/></para> -->
122 </listitem>
123 <listitem>
124 <para>Required patch (if using system-installed versions of
125 <application>NSS</application> and <application>NSPR</application>):
126 <ulink
127 url="&patch-root;/mozilla-&mozilla-version;-system_nss-1.patch"/>
128 </para>
129 </listitem>
130 </itemizedlist>
131
132 <para>To enable the <application>Enigmail</application> extension to
133 the <application>Mozilla</application> mail client, you'll need to
134 download the two tarballs and <command>makemake</command> file listed
135 below. The <application>Enigmail</application> extension allows users to
136 access the authentication and encryption features provided by the
137 <application>GnuPG</application> package. The
138 <application>Enigmail</application> extension will not operate correctly
139 unless you have <xref linkend="gnupg"/> installed.</para>
140
141 <itemizedlist spacing='compact'>
142 <listitem>
143 <para><ulink url="&mozilla-enigmail-download;"/></para>
144 </listitem>
145 <listitem>
146 <para>Download MD5 sum (Enigmail): &mozilla-enigmail-md5sum;</para>
147 </listitem>
148 <listitem>
149 <para><ulink url="&mozilla-ipc-download;"/></para>
150 </listitem>
151 <listitem>
152 <para>Download MD5 sum (IPC): &mozilla-ipc-md5sum;</para>
153 </listitem>
154 <listitem>
155 <para><ulink
156 url="&enigmail-makemake-download;&enigmail-makemake-version;"/></para>
157 </listitem>
158 </itemizedlist>
159
160 <para>The <command>makemake</command> file is an enhanced version that will
161 be copied into the source tree to replace an existing file during the
162 installation instructions. The instructions expect the file to be named
163 <filename>mozilla-&mozilla-version;-enigmail_makemake</filename>. If you
164 have <xref linkend="wget"/> installed, you can download and rename the file
165 in one step using the following command:</para>
166
167<screen><userinput>wget -O mozilla-&mozilla-version;-enigmail_makemake \
168&enigmail-makemake-download;\
169&enigmail-makemake-version;</userinput></screen>
170
171 <bridgehead renderas="sect3">Mozilla Dependencies</bridgehead>
172
173 <bridgehead renderas="sect4">Required</bridgehead>
174 <para role="required"><xref linkend="gtk2"/>,
175 <xref linkend="libidl"/>, and
176 <xref linkend="zip"/></para>
177
178 <para>Note: <application>libjpeg</application> should have been installed
179 before <application>GTK+</application> and should exist on your system. If
180 for some reason you haven't installed <application>libjpeg</application>,
181 you should remove the <option>--with-system-jpeg</option> option from the
182 <filename>.mozconfig</filename> file created below.</para>
183
184 <bridgehead renderas="sect4">Recommended (if you will be installing any
185 other package that utilizes NSS/NSPR, such as
186 <application>Firefox</application> or
187 <application>Thunderbird</application>)</bridgehead>
188 <para role="recommended"><xref linkend="nss"/></para>
189
190 <bridgehead renderas="sect4">Optional</bridgehead>
191 <para role="optional"><xref linkend="unzip"/>,
192 <xref linkend="gnome-vfs"/> (to build the gnomevfs extension),
193 <xref linkend="libart_lgpl"/>, and
194 <xref linkend="heimdal"/> or <xref linkend="mitkrb"/>
195 (for the GSSAPI libraries to build the negotiateauth extension)</para>
196
197 </sect2>
198
199 <sect2 role="installation">
200 <title>Installation of Mozilla</title>
201
202 <para>The configuration of <application>Mozilla</application> is
203 accomplished by creating a <filename>.mozconfig</filename> file containing
204 the desired configuration options. A default <filename>.mozconfig</filename>
205 file is created below. To see the entire list of available configuration
206 options (and an abbreviated description of each one), issue
207 <command>./configure --help</command>. Additional information can also be
208 found below in the section titled <xref linkend="add-mozconfig"/>. If you
209 are going to use system-installed versions of the
210 <application>NSS</application> and <application>NSPR</application>
211 libraries, ensure you uncomment the two lines at the bottom of the file. If
212 you would prefer to download the file instead of creating it by typing or
213 cut-and-pasting, you can find it at <ulink
214 url="http://anduin.linuxfromscratch.org/files/BLFS/mozilla-&mozilla-version;-mozconfig"/>
215 (the file must be installed in the root of the source tree
216 <filename class='directory'>mozilla</filename> directory, and named
217 <filename>.mozconfig</filename>). Create the file by issuing the following
218 command:</para>
219
220<screen><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
221<literal># Options for client.mk
222
223mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../mozilla-build
224
225# Options for 'configure' (same as command-line options)
226
227# Mandatory options
228ac_add_options --enable-application=suite
229ac_add_options --prefix=/usr
230
231# Options for system-installed software
232ac_add_options --with-system-zlib
233ac_add_options --with-system-png
234ac_add_options --with-system-jpeg
235
236# Options in all Mozilla-family builds
237ac_add_options --enable-official-branding
238ac_add_options --enable-strip
239ac_add_options --disable-tests
240ac_add_options --disable-installer
241ac_add_options --disable-accessibility
242
243# Options used for graphics settings in Mozilla Suite (Not Seamonkey)
244ac_add_options --enable-default-toolkit=gtk2
245ac_add_options --enable-xft
246ac_add_options --disable-freetype2
247
248# Options used just for Mozilla Suite (Not Seamonkey)
249ac_add_options --enable-optimize
250ac_add_options --disable-debug
251ac_add_options --disable-logging
252ac_add_options --enable-crypto
253ac_add_options --enable-extensions=all
254
255# Options used just for Mozilla Suite
256ac_add_options --enable-ldap
257ac_add_options --enable-calendar
258
259# Options used for system-installed NSS/NSPR
260#ac_add_options --with-system-nspr
261#ac_add_options --with-system-nss</literal>
262
263EOF</userinput></screen>
264
265 <para>If you have system-installed Network Security Services (NSS) and
266 Netscape Portable Runtime (NSPR) libraries and you uncommented the
267 appropriate lines in the <filename>.mozconfig</filename> file to utilize
268 them, apply the following patch:</para>
269
270<screen><userinput>patch -Np1 -i ../mozilla-&mozilla-version;-system_nss-1.patch</userinput></screen>
271
272 <para>Compile <application>Mozilla</application> by running the
273 following commands:</para>
274
275<screen><userinput>export MOZILLA_OFFICIAL="1" &amp;&amp;
276export BUILD_OFFICIAL="1" &amp;&amp;
277
278patch -Np1 -i ../mozilla-&mozilla-version;-gfx_fixes-1.patch &amp;&amp;
279patch -Np1 -i ../mozilla-&mozilla-version;-gcc4-1.patch &amp;&amp;
280
281make -f client.mk build</userinput></screen>
282
283 <para>If you're building the <application>Mozilla</application>
284 mail/newsgroup client and plan to install the
285 <application>Enigmail</application> extension, issue the following
286 commands:</para>
287
288<screen><userinput>tar -xf ../enigmail-&mozilla-enigmail-version;.tar.gz -C extensions &amp;&amp;
289tar -xf ../ipc-&mozilla-ipc-version;.tar.gz -C extensions &amp;&amp;
290
291install -v -m755 -b ../mozilla-&mozilla-version;-enigmail_makemake \
292 extensions/ipc/makemake &amp;&amp;
293install -v -m755 -b ../mozilla-&mozilla-version;-enigmail_makemake \
294 extensions/enigmail/makemake &amp;&amp;
295
296cd extensions/ipc &amp;&amp;
297./makemake -r &amp;&amp;
298
299cd ../enigmail &amp;&amp;
300./makemake -r &amp;&amp;
301
302cd ../.. &amp;&amp;
303make -C ../mozilla-build/extensions/ipc &amp;&amp;
304make -C ../mozilla-build/extensions/enigmail &amp;&amp;
305make -C ../mozilla-build/extensions/enigmail xpi</userinput></screen>
306
307 <para>Install <application>Mozilla</application> by issuing the following
308 commands as the <systemitem class="username">root</systemitem> user:</para>
309
310<screen role="root"><userinput>make -f client.mk install &amp;&amp;
311
312install -v -m644 ../mozilla-build/dist/public/ldap-private/* \
313 /usr/include/mozilla-&mozilla-version;/ldap &amp;&amp;
314
315install -v -m755 -d /usr/lib/mozilla-&mozilla-version;/defaults/isp/US &amp;&amp;
316install -v -m644 mailnews/base/ispdata/movemail.rdf \
317 /usr/lib/mozilla-&mozilla-version;/defaults/isp &amp;&amp;
318ln -v -s ../movemail.rdf /usr/lib/mozilla-&mozilla-version;/defaults/isp/US &amp;&amp;
319
320if [ -d /usr/lib/mozilla/plugins ]; then
321 if [ -f /usr/lib/mozilla/plugins/libnullplugin.so ]; then
322 rm -vf /usr/lib/mozilla/plugins/libnullplugin.so
323 fi
324 mv -v /usr/lib/mozilla/plugins/* /usr/lib/mozilla-&mozilla-version;/plugins
325 rm -v -rf /usr/lib/mozilla
326fi &amp;&amp;
327
328ln -v -nsf mozilla-&mozilla-version; /usr/lib/mozilla &amp;&amp;
329ln -v -nsf mozilla-&mozilla-version; /usr/include/mozilla</userinput></screen>
330
331 <para>If you built <application>Mozilla</application> utilizing
332 system-installed NSS and NSPR libraries, the
333 <filename>mozilla-ns*.pc</filename> <application>pkgconfig</application>
334 files need to be modified. Issue the following command as the
335 <systemitem class="username">root</systemitem> user:</para>
336
337<screen role="root"><userinput>sed -i 's|/mozilla-&mozilla-version;||' /usr/lib/pkgconfig/mozilla-ns*.pc</userinput></screen>
338
339 <para>If you did <emphasis role="strong">NOT</emphasis> build
340 <application>Mozilla</application> utilizing system-installed NSS and
341 NSPR libraries, issue the following commands as the
342 <systemitem class="username">root</systemitem> user to install the NSS
343 interface headers:</para>
344
345<screen role="root"><userinput>install -v -m755 -d /usr/include/mozilla-&mozilla-version;/nss &amp;&amp;
346cp -v -Lf ../mozilla-build/dist/{private,public}/nss/*.h \
347 /usr/include/mozilla-&mozilla-version;/nss</userinput></screen>
348
349 <para>If you built the <application>Enigmail</application> extension,
350 issue the following commands as the <systemitem
351 class="username">root</systemitem> user to install the
352 <filename>.xpi</filename> file into the
353 <filename class='directory'>/usr/lib/mozilla-&mozilla-version;</filename>
354 directory:</para>
355
356<screen role="root"><userinput>install -v -m755 -d /usr/lib/mozilla-&mozilla-version;/xpi_store &amp;&amp;
357install -v -m644 ../mozilla-build/dist/bin/enigmail-&mozilla-enigmail-version;-*.xpi \
358 /usr/lib/mozilla-&mozilla-version;/xpi_store</userinput></screen>
359
360 <para>There are two methods you can use to install the
361 <application>Enigmail</application> extension. Both are shown here and
362 provide the same functionality. The first method must be accomplished
363 now (before the object directory is removed) and uses the conventional
364 <command>make install</command> command to install the
365 <application>Enigmail</application> files straight from the distribution
366 directory of the object directory. An alternate method is shown as it
367 installs using the <filename class='extension'>.xpi</filename> file
368 created earlier and can be done later (at any time you desire) as the
369 file used to install <application>Enigmail</application> was copied into
370 <filename
371 class='directory'>/usr/lib/mozilla-&mozilla-version;/xpi_store</filename>
372 in the previous step. This method can be used to install any
373 downloaded <application>Mozilla</application> extension distributed in a
374 <filename class='extension'>.xpi</filename> file. There are many
375 extensions available for <application>Mozilla</application>. A list
376 containing many of them can be found at
377 <ulink url="http://extensionroom.mozdev.org/"/>.</para>
378
379 <para>If you want to install the <application>Enigmail</application>
380 extension now, issue the following commands as the
381 <systemitem class="username">root</systemitem> user:</para>
382
383<screen role="root"><userinput>make -C ../mozilla-build/extensions/ipc install &amp;&amp;
384make -C ../mozilla-build/extensions/enigmail install</userinput></screen>
385
386 <para>To install an extension from a created or download
387 <filename class='extension'>.xpi</filename> file, you simply need to
388 <quote>open</quote> the <filename class='extension'>.xpi</filename> file
389 using the <quote>Open File</quote> option of the <quote>File</quote>
390 menu of the Navigator window. You can browse to find the file (for example,
391 the <application>Enigmail</application>
392 <filename class='extension'>.xpi</filename> file is located in
393 <filename
394 class='directory'>/usr/lib/mozilla-&mozilla-version;/xpi_store</filename>,
395 select it, then follow the prompts to install the extension.</para>
396
397 <!-- Commenting this out as there really is no need to put the Mozilla
398 Suite versions of NSS/NSPR in a system-wide location when there
399 is now a BLFS package that does this.
400
401 <para>Some libraries, including the Netscape Portable Runtime (NSPR) and
402 Network Security Services (NSS) libraries, installed by
403 <application>Mozilla</application> are also needed by other packages.
404 These libraries should be in <filename class="directory">/usr/lib</filename>
405 so that other packages can link against them. As the <systemitem
406 class="username">root</systemitem> user, move them as follows:</para>
407
408<screen role="root"><userinput>for i in \
409 lib{nspr4,plc4,plds4,nss3,smime3,softokn3,ssl3}.so libsoftokn3.chk
410do
411 mv -v /usr/lib/mozilla-&mozilla-version;/$i /usr/lib/
412 ln -v -sf ../$i /usr/lib/mozilla-&mozilla-version;/
413done</userinput></screen>
414
415 -->
416
417 <!-- Commenting this out for now, as I believe this is only necessary
418 for the binary versions of Mozilla. I've built this and had many
419 system users access Mozilla simultaneously without having to do
420 the steps shown here.
421
422 <para>Create the required component registries to enable multi-user
423 installs. These steps should be preformed by the <systemitem
424 class="username">root</systemitem> user each time a
425 <application>Mozilla</application> add-on is installed. This will allow
426 unprivileged users to run <command>mozilla</command>. Enable multi-user
427 operation by executing the following:</para>
428
429<screen role="root"><userinput>cd /usr/lib/mozilla-&mozilla-version; &amp;&amp;
430export LD_LIBRARY_PATH="$PWD" &amp;&amp;
431export MOZILLA_FIVE_HOME="$PWD" &amp;&amp;
432./regxpcom &amp;&amp;
433./regchrome &amp;&amp;
434touch `find . -name *.rdf`</userinput></screen>
435
436 -->
437
438 <para>Unset the build variables from the unprivileged user's
439 environment:</para>
440
441<screen><userinput>unset MOZILLA_OFFICIAL &amp;&amp;
442unset BUILD_OFFICIAL</userinput></screen>
443
444 <note>
445 <para>You should run <command>/usr/bin/mozilla</command> once as the
446 <systemitem class="username">root</systemitem> user (or any user with
447 write privileges) to create some necessary additional files in the
448 <filename class='directory'>/usr</filename> hierarchy. Also do this
449 each time you install additional extensions.</para>
450 </note>
451
452 </sect2>
453
454 <sect2 role="commands" id="add-mozconfig"
455 xreflabel="Additional .mozconfig Options">
456
457 <title>Additional .mozconfig Options</title>
458
459 <para>Information about some of the additional options which can be added
460 to the <filename>.mozconfig</filename> configuration file is shown below.
461 Note that this is just a few of the options. You may wish to run
462 <command>./configure --help</command> and review each of the listed options
463 to discover what affect they have on the build. Feel free to add or remove
464 options to tailor the build to your desires. Listed below are some common
465 options not in the default <filename>.mozconfig</filename> file but can be
466 added in order to have the described effect on the Mozilla compile.</para>
467
468 <para><option>ac_add_options --enable-elf-dynstr-gc</option>: Removes
469 un-referenced strings from ELF shared objects generated during the build.
470 Note that this option breaks the build on alpha.</para>
471
472 <para><option>ac_add_options --disable-mailnews</option>: Disables the mail
473 and news clients.</para>
474
475 <para><option>ac_add_options --disable-ldap</option>: Disables LDAP support,
476 recommended if mail is disabled.</para>
477
478 <para><option>ac_add_options --enable-xterm-updates</option>: Displays the
479 current command in the <command>xterm</command> window title during the
480 compilation.</para>
481
482 <para><option>ac_add_options --enable-plaintext-editor-only</option>:
483 Disables support for HTML editing. Do not use this switch if you are
484 building the mail-news component.</para>
485
486 </sect2>
487
488 <sect2 role="commands">
489 <title>.mozconfig Option Explanations</title>
490
491 <para>To simplify reading the options below, they are labeled without
492 <parameter>ac_add_options</parameter> inserted at the beginning of the
493 option.</para>
494
495 <para><parameter>mk_add_options
496 MOZ_OBJDIR=@TOPSRCDIR@/../mozilla-build</parameter>: Creates an object
497 directory and specifies to build the package in that directory. If desired,
498 modify the location of the object directory to a directory inside the
499 source tree by removing <quote>../</quote> from the line.</para>
500
501 <para><parameter>--enable-application=suite</parameter>: Identifies the
502 build as a <application>Mozilla</application> suite build.</para>
503
504 <para><parameter>--with-system-zlib --with-system-png
505 --with-system-jpeg</parameter>: Uses the system-installed versions of these
506 packages.</para>
507
508 <para><parameter>--enable-official-branding</parameter>: Uses the official
509 Mozilla logos and icons in the built binaries. Due to license restrictions,
510 you may not distribute binaries created using this option.</para>
511
512 <para><parameter>--enable-default-toolkit=gtk2 --enable-xft
513 --disable-freetype2</parameter>: Use the GTK2 toolkit for graphics
514 rendering and XFT (automatically pulls in the
515 <application>FreeType</application> libraries) for font rendering.</para>
516
517 <para><parameter>--enable-extensions=all</parameter>: Enables all available
518 extensions. If you want, you can disable any or all extensions other than
519 the browser by changing this switch to
520 <option>--enable-extensions="default,-venkman,-inspector,..."</option>.
521 For a short description of the various extensions available with the
522 <application>Mozilla</application> source, see <ulink
523 url="http://linuxfromscratch.org/~tushar/downloads/mozilla-extensions.txt"/>.
524 </para>
525
526 <para><parameter>--enable-crypto</parameter>: Enable the Personal
527 Security Manager to enable SSL connections.</para>
528
529 <para><parameter>--enable-calendar</parameter>: Builds the calendar
530 application. Remove this parameter if you don't wish to build it.</para>
531
532 <para><parameter>--enable-xinerama; --enable-optimize; --enable-reorder;
533 --enable-strip; --enable-cpp-rtti --disable-accessibility; --disable-debug;
534 --disable-tests; --disable-logging; --disable-pedantic;
535 --disable-installer</parameter>: Various options that affect what components
536 are built and some optimization options. You can pick and choose from these
537 options. More information on them, and many other available options, can be
538 found by running <command>./configure --help</command>.</para>
539
540 </sect2>
541
542 <sect2 role="commands">
543 <title>Command Explanations</title>
544
545 <para><command>export MOZILLA_OFFICIAL="1"
546 export BUILD_OFFICIAL="1"</command>: Sets some variables that affect what
547 and how the package is built. These two exports specify a distribution is
548 being built.</para>
549
550 <para><command>make -f client.mk ...</command>: Mozilla products are
551 packaged to allow the use of a configuration file which can be used to
552 pass the configuration settings to the <command>configure</command>
553 command. <command>make</command> uses the <filename>client.mk</filename>
554 file to get initial configuration and setup parameters, then depending on
555 the target parameter (<parameter>build</parameter> or
556 <parameter>install</parameter>), either runs the
557 <command>configure</command> script and compiles the package or installs
558 the package.</para>
559
560 <para><command>./makemake -r</command>: This command is used to recursively
561 create <filename>Makefile</filename>s in the current directory.</para>
562
563 <para><command>make -C ... xpi</command>: This command builds the
564 <application>Enigmail</application>
565 <filename class='extension'>.xpi</filename> file which can be used to
566 install <application>Enigmail</application>.</para>
567
568 <para><command>install .../movemail.rdf ...</command>: This
569 command is used to install a file inadvertently left out of the
570 installation script.</para>
571
572 <para><command>if [ -d /usr/lib/mozilla/plugins ] ... fi</command>: Some
573 applications may have already installed <application>Mozilla</application>
574 plugins. This set of commands moves any existing plugins to the newly
575 created plugin directory, then removes the existing
576 <filename class='directory'>/usr/lib/mozilla</filename> directory.</para>
577
578 <para><command>ln -nsf mozilla-&mozilla-version; ...</command>:
579 <application>Mozilla</application> installs headers and libraries in
580 version specific directories. These commands makes symbolic links so that
581 applications depending on <application>Mozilla</application> (such as
582 <application>OpenOffice</application>, <application>Galeon</application>,
583 etc.) don't need to know which version of <application>Mozilla</application>
584 is installed.</para>
585
586 </sect2>
587
588 <sect2 role="configuration">
589 <title>Configuring Mozilla</title>
590
591 <para>No specific configuration is required as long as the
592 <command>mozilla</command> script is in the user's path. If
593 <application>Mozilla</application> is installed in a non-standard location,
594 then make a symlink to the <command>mozilla</command> script in the
595 <filename class="directory">/usr/bin</filename> directory.</para>
596
597 <para>Many applications look for <command>netscape</command> when they need
598 to open a browser. You may make the following symlink for convenience (as
599 the <systemitem class="username">root</systemitem> user).</para>
600
601<screen role="root"><userinput>ln -v -sf mozilla /usr/bin/netscape</userinput></screen>
602
603 <para>For installing various <application>Mozilla</application> plugins,
604 refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
605 PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already
606 installed, create the following link as the
607 <systemitem class="username">root</systemitem> user to utilize the
608 <application>JAVA</application> plugin: </para>
609
610<screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
611 /usr/lib/mozilla-&mozilla-version;/plugins</userinput></screen>
612
613 <para>Along with using the <quote>Preferences</quote> menu to configure
614 <application>Mozilla</application>'s options and preferences to suit
615 individual tastes, finer grain control of many options is only available
616 using a tool not available from the general menu system. To access this
617 tool, you'll need to open a Navigator window and enter
618 <systemitem role='url'>about:config</systemitem> in the
619 address bar. This will display a list of the configuration preferences and
620 information related to each one. You can use the <quote>Filter:</quote> bar
621 to enter search criteria and narrow down the listed items. Changing a
622 preference can be done using two methods. One, if the preference has a
623 boolean value (True/False), simply double-click on the preference to toggle
624 the value and two, for other preferences simply right-click on the desired
625 line, choose <quote>Modify</quote> from the menu and change the value.
626 Creating new preference items is accomplished in the same way, except
627 choose <quote>New</quote> from the menu and provide the desired data into
628 the fields when prompted.</para>
629
630 <tip>
631 <para>There is a multitude of configuration parameters you can tweak to
632 customize <application>Mozilla</application>. A very extensive and
633 up-to-date list of these parameters can be found at <ulink
634 url="http://preferential.mozdev.org/preferences.html"/>.</para>
635 </tip>
636
637 </sect2>
638
639 <sect2 role="content">
640 <title>Contents</title>
641
642 <segmentedlist>
643 <segtitle>Installed Programs</segtitle>
644 <segtitle>Installed Libraries</segtitle>
645 <segtitle>Installed Directories</segtitle>
646
647 <seglistitem>
648 <seg>mozilla and mozilla-config</seg>
649 <seg>Numerous libraries, browser, and email/newsgroup components,
650 plugins, extensions, and helper modules installed in <filename
651 class='directory'>/usr/lib/mozilla-&mozilla-version;</filename></seg>
652 <seg>/usr/include/mozilla-&mozilla-version;,
653 /usr/lib/mozilla-&mozilla-version;, and
654 /usr/share/idl/mozilla-&mozilla-version;</seg>
655 </seglistitem>
656 </segmentedlist>
657
658 <variablelist>
659 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
660 <?dbfo list-presentation="list"?>
661 <?dbhtml list-presentation="table"?>
662
663 <varlistentry id="mozilla-prog">
664 <term><command>mozilla</command></term>
665 <listitem>
666 <para>is a browser/email/newsgroup/calendar/chat client suite. The
667 various components such as the Composer, mail-news client, calendar,
668 IRC chat client and address book can be accessed from the menu after
669 <command>mozilla</command> starts or via command-line switches to
670 the <command>mozilla</command> script. Issue
671 <command>man mozilla</command> for additional information.</para>
672 <indexterm zone="mozilla mozilla-prog">
673 <primary sortas="b-mozilla">mozilla</primary>
674 </indexterm>
675 </listitem>
676 </varlistentry>
677
678 </variablelist>
679
680 </sect2>
681
682</sect1>
Note: See TracBrowser for help on using the repository browser.