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