1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
5 | %general-entities;
|
---|
6 |
|
---|
7 | <!ENTITY seamonkey-download-http "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz">
|
---|
8 | <!-- <!ENTITY seamonkey-download-ftp "&mozilla-ftp;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">-->
|
---|
9 | <!ENTITY seamonkey-download-ftp " ">
|
---|
10 | <!ENTITY seamonkey-md5sum "cf9ccf46be9359bd82e1931e083e942f">
|
---|
11 | <!ENTITY seamonkey-size "210 MB">
|
---|
12 | <!ENTITY seamonkey-buildsize "4.4 GB (125 MB installed)">
|
---|
13 | <!ENTITY seamonkey-time "15 SBU (using parallelism=4)">
|
---|
14 | ]>
|
---|
15 |
|
---|
16 | <sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
|
---|
17 | <?dbhtml filename="seamonkey.html" ?>
|
---|
18 |
|
---|
19 | <sect1info>
|
---|
20 | <othername>$LastChangedBy$</othername>
|
---|
21 | <date>$Date$</date>
|
---|
22 | </sect1info>
|
---|
23 |
|
---|
24 | <title>SeaMonkey-&seamonkey-version;</title>
|
---|
25 |
|
---|
26 | <indexterm zone="seamonkey">
|
---|
27 | <primary sortas="a-SeaMonkey">SeaMonkey</primary>
|
---|
28 | </indexterm>
|
---|
29 |
|
---|
30 | <sect2 role="package">
|
---|
31 | <title>Introduction to SeaMonkey</title>
|
---|
32 |
|
---|
33 | <para>
|
---|
34 | <application>SeaMonkey</application> is a browser suite, the Open Source
|
---|
35 | sibling of <application>Netscape</application>. It includes the browser,
|
---|
36 | composer, mail and news clients, and an IRC client. It is the follow-on
|
---|
37 | to the Mozilla browser suite.
|
---|
38 | </para>
|
---|
39 |
|
---|
40 | <para>
|
---|
41 | The Mozilla project also hosts two subprojects that aim to satisfy the
|
---|
42 | needs of users who don't need the complete browser suite or prefer to have
|
---|
43 | separate applications for browsing and e-mail. These subprojects are
|
---|
44 | <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
|
---|
45 | based on the <application>Mozilla</application> source code.
|
---|
46 | </para>
|
---|
47 |
|
---|
48 | &lfs80_checked;
|
---|
49 | &gcc7_checked;
|
---|
50 |
|
---|
51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
52 | <itemizedlist spacing="compact">
|
---|
53 | <listitem>
|
---|
54 | <para>
|
---|
55 | Download (HTTP): <ulink url="&seamonkey-download-http;"/>
|
---|
56 | </para>
|
---|
57 | </listitem>
|
---|
58 | <listitem>
|
---|
59 | <para>
|
---|
60 | Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
|
---|
61 | </para>
|
---|
62 | </listitem>
|
---|
63 | <listitem>
|
---|
64 | <para>
|
---|
65 | Download MD5 sum: &seamonkey-md5sum;
|
---|
66 | </para>
|
---|
67 | </listitem>
|
---|
68 | <listitem>
|
---|
69 | <para>
|
---|
70 | Download size: &seamonkey-size;
|
---|
71 | </para>
|
---|
72 | </listitem>
|
---|
73 | <listitem>
|
---|
74 | <para>
|
---|
75 | Estimated disk space required: &seamonkey-buildsize;
|
---|
76 | </para>
|
---|
77 | </listitem>
|
---|
78 | <listitem>
|
---|
79 | <para>
|
---|
80 | Estimated build time: &seamonkey-time;
|
---|
81 | </para>
|
---|
82 | </listitem>
|
---|
83 | </itemizedlist>
|
---|
84 | <!--
|
---|
85 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
86 | <itemizedlist spacing="compact">
|
---|
87 | <listitem>
|
---|
88 | <para>
|
---|
89 | Required patch if using gcc-6 or later
|
---|
90 | <ulink url="&patch-root;/seamonkey-&seamonkey-version;-gcc6-1.patch"/>
|
---|
91 | </para>
|
---|
92 | </listitem>
|
---|
93 | </itemizedlist>
|
---|
94 | -->
|
---|
95 | <note>
|
---|
96 | <para>
|
---|
97 | The tarball
|
---|
98 | <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
|
---|
99 | untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
|
---|
100 | </para>
|
---|
101 | </note>
|
---|
102 |
|
---|
103 | <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
|
---|
104 |
|
---|
105 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
106 | <para role="required">
|
---|
107 | <xref linkend="alsa-lib"/>,
|
---|
108 | <xref linkend="autoconf213"/>,
|
---|
109 | <xref linkend="gtk2"/>,
|
---|
110 | <xref linkend="unzip"/>,
|
---|
111 | <xref linkend="yasm"/>, and
|
---|
112 | <xref linkend="zip"/>
|
---|
113 | </para>
|
---|
114 |
|
---|
115 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
116 | <para role="recommended">
|
---|
117 | <xref linkend="icu"/>,
|
---|
118 | <xref linkend="libevent"/>,
|
---|
119 | <xref linkend="libvpx"/>,
|
---|
120 | <xref linkend="nspr"/>,
|
---|
121 | <xref linkend="nss"/>, and
|
---|
122 | <xref linkend="sqlite"/>
|
---|
123 | </para>
|
---|
124 | <!--
|
---|
125 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
126 | <para role="optional">
|
---|
127 | <xref linkend="sqlite"/> (not recommended due to potential
|
---|
128 | security concerns)
|
---|
129 | </para>
|
---|
130 | -->
|
---|
131 | <note>
|
---|
132 | <para>
|
---|
133 | If you don't install recommended dependencies, then internal copies of
|
---|
134 | those packages will be used. They might be tested to work, but they can
|
---|
135 | be out of date or contain security holes.
|
---|
136 | </para>
|
---|
137 | </note>
|
---|
138 |
|
---|
139 | <note>
|
---|
140 | <para>
|
---|
141 | You must have installed <application>Openssl</application> before
|
---|
142 | <application>Python 2</application> or the build system will quickly
|
---|
143 | fail with output including "ImportError: cannot import name
|
---|
144 | HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
|
---|
145 | an older version of Seamonkey), check if
|
---|
146 | <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
|
---|
147 | exists. If it does not, reinstall <xref linkend="python2"/> (after
|
---|
148 | installing <xref linkend="openssl"/>. The latest version of any
|
---|
149 | <emphasis>currently maintained</emphasis> version of Openssl should be
|
---|
150 | satisfactory if already installed.
|
---|
151 | </para>
|
---|
152 | </note>
|
---|
153 |
|
---|
154 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
155 | <para role="optional">
|
---|
156 | <xref linkend="curl"/>,
|
---|
157 | <xref linkend="dbus-glib"/>,
|
---|
158 | <xref linkend="doxygen"/>,
|
---|
159 | <xref linkend="GConf"/>,
|
---|
160 | <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
|
---|
161 | <xref linkend="openjdk"/>,
|
---|
162 | <xref linkend="pulseaudio"/>,
|
---|
163 | <xref linkend="startup-notification"/>,
|
---|
164 | <xref linkend="valgrind"/>,
|
---|
165 | <xref linkend="wget"/>,
|
---|
166 | <xref linkend="wireless_tools"/>, and
|
---|
167 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
|
---|
168 | </para>
|
---|
169 |
|
---|
170 | <para condition="html" role="usernotes">
|
---|
171 | User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
|
---|
172 | </para>
|
---|
173 |
|
---|
174 | </sect2>
|
---|
175 |
|
---|
176 | <sect2 role="installation">
|
---|
177 | <title>Installation of SeaMonkey</title>
|
---|
178 |
|
---|
179 | <para>
|
---|
180 | The configuration of <application>SeaMonkey</application> is accomplished
|
---|
181 | by creating a <filename>mozconfig</filename> file containing the desired
|
---|
182 | configuration options. A default <filename>mozconfig</filename> file is
|
---|
183 | created below. To see the entire list of available configuration options
|
---|
184 | (and an abbreviated description of each one), issue
|
---|
185 | <command>./configure --help</command>. You may also wish to review the
|
---|
186 | entire file and uncomment any other desired options. Create the file by
|
---|
187 | issuing the following command:
|
---|
188 | </para>
|
---|
189 |
|
---|
190 | <screen><?dbfo keep-together="auto"?><userinput>cat > mozconfig << "EOF"
|
---|
191 | <literal># If you have a multicore machine, all cores will be used by default.
|
---|
192 | # If desired, you can reduce the number of cores used, e.g. to 1, by
|
---|
193 | # uncommenting the next line and setting a valid number of CPU cores.
|
---|
194 | #mk_add_options MOZ_MAKE_FLAGS="-j1"
|
---|
195 |
|
---|
196 | # If you have installed DBus-Glib comment out this line:
|
---|
197 | ac_add_options --disable-dbus
|
---|
198 |
|
---|
199 | # If you have installed dbus-glib, and you have installed (or will install)
|
---|
200 | # wireless-tools, and you wish to use geolocation web services, comment out
|
---|
201 | # this line
|
---|
202 | ac_add_options --disable-necko-wifi
|
---|
203 |
|
---|
204 | # Uncomment these lines if you have installed optional dependencies:
|
---|
205 | #ac_add_options --enable-system-hunspell
|
---|
206 | #ac_add_options --enable-startup-notification
|
---|
207 |
|
---|
208 | # Comment out the following option if you have PulseAudio installed
|
---|
209 | ac_add_options --disable-pulseaudio
|
---|
210 |
|
---|
211 | # Comment out following option if you have gconf installed
|
---|
212 | ac_add_options --disable-gconf
|
---|
213 |
|
---|
214 | # Comment out following options if you have not installed
|
---|
215 | # recommended dependencies:
|
---|
216 | ac_add_options --enable-system-sqlite
|
---|
217 | ac_add_options --with-system-libevent
|
---|
218 | ac_add_options --with-system-libvpx
|
---|
219 | ac_add_options --with-system-nspr
|
---|
220 | ac_add_options --with-system-nss
|
---|
221 |
|
---|
222 | # Us the internal version of icu due to execution problems
|
---|
223 | #ac_add_options --with-system-icu
|
---|
224 |
|
---|
225 | # The BLFS editors recommend not changing anything below this line:
|
---|
226 | ac_add_options --prefix=/usr
|
---|
227 | ac_add_options --enable-application=suite
|
---|
228 |
|
---|
229 | ac_add_options --disable-crashreporter
|
---|
230 | ac_add_options --disable-updater
|
---|
231 | ac_add_options --disable-tests
|
---|
232 |
|
---|
233 | ac_add_options --enable-optimize="-O2"
|
---|
234 | ac_add_options --enable-strip
|
---|
235 | ac_add_options --enable-install-strip
|
---|
236 |
|
---|
237 | ac_add_options --enable-gio
|
---|
238 | ac_add_options --enable-official-branding
|
---|
239 | ac_add_options --enable-safe-browsing
|
---|
240 | ac_add_options --enable-url-classifier
|
---|
241 |
|
---|
242 | # Use internal cairo due to reports of unstable execution with
|
---|
243 | # system cairo
|
---|
244 | #ac_add_options --enable-system-cairo
|
---|
245 | ac_add_options --enable-system-ffi
|
---|
246 | ac_add_options --enable-system-pixman
|
---|
247 |
|
---|
248 | ac_add_options --with-pthreads
|
---|
249 |
|
---|
250 | ac_add_options --with-system-bz2
|
---|
251 | ac_add_options --with-system-jpeg
|
---|
252 | ac_add_options --with-system-png
|
---|
253 | ac_add_options --with-system-zlib</literal>
|
---|
254 | EOF</userinput></screen>
|
---|
255 |
|
---|
256 | <note><para>
|
---|
257 | If you are compiling <application>SeaMonkey</application> in chroot, make
|
---|
258 | sure you have the <envar>SHELL</envar> environment variable set or prepend
|
---|
259 | <envar>SHELL=/bin/sh</envar> to the first make command below.
|
---|
260 | </para></note>
|
---|
261 |
|
---|
262 | <para>
|
---|
263 | Compile <application>SeaMonkey</application> by running the following
|
---|
264 | commands:
|
---|
265 | </para>
|
---|
266 |
|
---|
267 | <screen><userinput>CFLAGS_HOLD=$CFLAGS &&
|
---|
268 | CXXFLAGS_HOLD=$CXXFLAGS &&
|
---|
269 | EXTRA_FLAGS=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &&
|
---|
270 | export CFLAGS+=$EXTRA_FLAGS &&
|
---|
271 | export CXXFLAGS+=$EXTRA_FLAGS &&
|
---|
272 | unset EXTRA_FLAGS &&
|
---|
273 |
|
---|
274 | sed -e 's/256/224/' \
|
---|
275 | -i mozilla/netwerk/protocol/http/Http2Session.cpp &&
|
---|
276 |
|
---|
277 | sed -e '/version=/s/:space:/[&]/' \
|
---|
278 | -i ./mozilla/build/autoconf/icu.m4 &&
|
---|
279 |
|
---|
280 | sed -e s/_EVENT_SIZEOF/EVENT__SIZEOF/ \
|
---|
281 | -i mozilla/ipc/chromium/src/base/message_pump_libevent.cc
|
---|
282 |
|
---|
283 | make -f client.mk</userinput></screen>
|
---|
284 |
|
---|
285 | <para>
|
---|
286 | This package does not come with a test suite.
|
---|
287 | </para>
|
---|
288 |
|
---|
289 | <para>
|
---|
290 | Install <application>SeaMonkey</application> by issuing the following
|
---|
291 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
292 | </para>
|
---|
293 |
|
---|
294 | <screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &&
|
---|
295 | chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &&
|
---|
296 |
|
---|
297 | cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
|
---|
298 |
|
---|
299 | <para>
|
---|
300 | Set the compilation flags back to their original values:
|
---|
301 | </para>
|
---|
302 |
|
---|
303 | <screen><userinput>export CFLAGS=$CFLAGS_HOLD &&
|
---|
304 | export CXXFLAGS=$CXXFLAGS_HOLD &&
|
---|
305 | unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
|
---|
306 |
|
---|
307 | <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
|
---|
308 | All the Development Libraries and Headers
|
---|
309 | </bridgehead>
|
---|
310 |
|
---|
311 | <para>
|
---|
312 | If you want to install the full <application>SeaMonkey</application>
|
---|
313 | development environment, as the
|
---|
314 | <systemitem class="username">root</systemitem> user:
|
---|
315 | </para>
|
---|
316 |
|
---|
317 | <screen role="root"><userinput>make -C obj* install</userinput></screen>
|
---|
318 |
|
---|
319 | <note>
|
---|
320 | <para>
|
---|
321 | The build directory is set by the make procedure and is dependent on
|
---|
322 | the system architecture, but the directory name starts with 'obj'.
|
---|
323 | </para>
|
---|
324 | </note>
|
---|
325 |
|
---|
326 | </sect2>
|
---|
327 |
|
---|
328 | <sect2 role="commands">
|
---|
329 | <title>Command Explanations</title>
|
---|
330 |
|
---|
331 | <para>
|
---|
332 | <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
|
---|
333 | settings work around code which gcc6 would otherwise regard as
|
---|
334 | out-of-specification and allow it to produce a working program.
|
---|
335 | </para>
|
---|
336 |
|
---|
337 | <para>
|
---|
338 | <command>sed -e 's/256/224/' ...</command>: Make the required key
|
---|
339 | length for ECDSA encryption compatible with RFC7540 9.2.1. Otherwise
|
---|
340 | some web sites cannot be accessed.
|
---|
341 | </para>
|
---|
342 |
|
---|
343 | <para>
|
---|
344 | <command>sed ... icu.m4</command>: Fix an error identified by
|
---|
345 | sed-4.4 and later.
|
---|
346 | </para>
|
---|
347 |
|
---|
348 | <para>
|
---|
349 | <command>sed ... message_pump_libevent.cc</command>: Fix an
|
---|
350 | error due to changes in libevent-2.1.8 and later.
|
---|
351 | </para>
|
---|
352 |
|
---|
353 | <para>
|
---|
354 | <command>make -f client.mk</command>: Mozilla products are packaged to
|
---|
355 | allow the use of a configuration file which can be used to pass the
|
---|
356 | configuration settings to the <command>configure</command> command.
|
---|
357 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
358 | get initial configuration and setup parameters.
|
---|
359 | </para>
|
---|
360 |
|
---|
361 | </sect2>
|
---|
362 |
|
---|
363 | <sect2 role="configuration">
|
---|
364 | <title>Configuring SeaMonkey</title>
|
---|
365 |
|
---|
366 | <para>
|
---|
367 | For installing various <application>SeaMonkey</application> plugins, refer
|
---|
368 | to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
|
---|
369 | Project</ulink>.
|
---|
370 | </para>
|
---|
371 |
|
---|
372 | <para>
|
---|
373 | Along with using the <quote>Preferences</quote> menu to configure
|
---|
374 | <application>SeaMonkey</application>'s options and preferences to suit
|
---|
375 | individual tastes, finer grain control of many options is only available
|
---|
376 | using a tool not available from the general menu system. To access this
|
---|
377 | tool, you'll need to open a browser window and enter
|
---|
378 | <systemitem role="url">about:config</systemitem> in the address bar. This
|
---|
379 | will display a list of the configuration preferences and information
|
---|
380 | related to each one. You can use the <quote>Filter:</quote> bar to enter
|
---|
381 | search criteria and narrow down the listed items. Changing a preference
|
---|
382 | can be done using two methods. One, if the preference has a boolean value
|
---|
383 | (True/False), simply double-click on the preference to toggle the value
|
---|
384 | and two, for other preferences simply right-click on the desired line,
|
---|
385 | choose <quote>Modify</quote> from the menu and change the value. Creating
|
---|
386 | new preference items is accomplished in the same way, except choose
|
---|
387 | <quote>New</quote> from the menu and provide the desired data into the
|
---|
388 | fields when prompted.
|
---|
389 | </para>
|
---|
390 |
|
---|
391 | <tip>
|
---|
392 | <para>
|
---|
393 | There is a multitude of configuration parameters you can tweak to
|
---|
394 | customize <application>SeaMonkey</application>. A very extensive list of
|
---|
395 | these parameters can be found at
|
---|
396 | <ulink url="http://preferential.mozdev.org/preferences.html"/>.
|
---|
397 | </para>
|
---|
398 | </tip>
|
---|
399 |
|
---|
400 | <para>
|
---|
401 | If you use a desktop environment like <application>Gnome</application> or
|
---|
402 | <application>KDE</application> you may wish to create a
|
---|
403 | <filename>seamonkey.desktop</filename> file so that
|
---|
404 | <application>SeaMonkey</application> appears in the panel's menus. If you
|
---|
405 | didn't enable <application>Startup-Notification</application> in your
|
---|
406 | mozconfig change the StartupNotify line to false. As the
|
---|
407 | <systemitem class="username">root</systemitem> user:
|
---|
408 | </para>
|
---|
409 |
|
---|
410 | <screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &&
|
---|
411 |
|
---|
412 | cat > /usr/share/applications/seamonkey.desktop << "EOF"
|
---|
413 | [Desktop Entry]
|
---|
414 | Encoding=UTF-8
|
---|
415 | Type=Application
|
---|
416 | Name=SeaMonkey
|
---|
417 | Comment=The Mozilla Suite
|
---|
418 | Icon=seamonkey
|
---|
419 | Exec=seamonkey
|
---|
420 | Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
|
---|
421 | StartupNotify=true
|
---|
422 | Terminal=false
|
---|
423 | EOF
|
---|
424 |
|
---|
425 | ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
|
---|
426 | /usr/share/pixmaps</userinput></screen>
|
---|
427 | </sect2>
|
---|
428 |
|
---|
429 | <sect2 role="content">
|
---|
430 | <title>Contents</title>
|
---|
431 |
|
---|
432 | <segmentedlist>
|
---|
433 | <segtitle>Installed Programs</segtitle>
|
---|
434 | <segtitle>Installed Libraries</segtitle>
|
---|
435 | <segtitle>Installed Directory</segtitle>
|
---|
436 |
|
---|
437 | <seglistitem>
|
---|
438 | <seg>seamonkey</seg>
|
---|
439 | <seg>
|
---|
440 | Numerous libraries, browser, and email/newsgroup components, plugins,
|
---|
441 | extensions, and helper modules installed in <filename
|
---|
442 | class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
|
---|
443 | </seg>
|
---|
444 | <seg>
|
---|
445 | /usr/lib/seamonkey-&seamonkey-version;
|
---|
446 | </seg>
|
---|
447 | </seglistitem>
|
---|
448 | </segmentedlist>
|
---|
449 |
|
---|
450 | <variablelist>
|
---|
451 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
452 | <?dbfo list-presentation="list"?>
|
---|
453 | <?dbhtml list-presentation="table"?>
|
---|
454 |
|
---|
455 | <varlistentry id="seamonkey-prog">
|
---|
456 | <term><command>seamonkey</command></term>
|
---|
457 | <listitem>
|
---|
458 | <para>
|
---|
459 | is the Mozilla browser/email/newsgroup/chat client suite.
|
---|
460 | </para>
|
---|
461 | <indexterm zone="seamonkey seamonkey-prog">
|
---|
462 | <primary sortas="b-seamonkey">seamonkey</primary>
|
---|
463 | </indexterm>
|
---|
464 | </listitem>
|
---|
465 | </varlistentry>
|
---|
466 | </variablelist>
|
---|
467 | </sect2>
|
---|
468 | </sect1>
|
---|