source: xsoft/graphweb/mozilla.xml@ 44a2b88

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 44a2b88 was 2ce558b1, checked in by Randy McMurchy <randy@…>, 19 years ago

Updated to Doxygen-1.4.1

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

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