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 " ">
|
---|
9 | <!ENTITY seamonkey-md5sum "3cba72ec6a37f7c68fac48876a3a5f8f">
|
---|
10 | <!ENTITY seamonkey-size "271 MB">
|
---|
11 | <!ENTITY seamonkey-buildsize "6.1 GB (159 MB installed)">
|
---|
12 | <!ENTITY seamonkey-time "20 SBU (on a 4-core machine)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
|
---|
16 | <?dbhtml filename="seamonkey.html" ?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <date>$Date$</date>
|
---|
20 | </sect1info>
|
---|
21 |
|
---|
22 | <title>SeaMonkey-&seamonkey-version;</title>
|
---|
23 |
|
---|
24 | <indexterm zone="seamonkey">
|
---|
25 | <primary sortas="a-SeaMonkey">SeaMonkey</primary>
|
---|
26 | </indexterm>
|
---|
27 |
|
---|
28 | <sect2 role="package">
|
---|
29 | <title>Introduction to SeaMonkey</title>
|
---|
30 |
|
---|
31 | <para>
|
---|
32 | <application>SeaMonkey</application> is a browser suite, the Open Source
|
---|
33 | sibling of <application>Netscape</application>. It includes the browser,
|
---|
34 | composer, mail and news clients, and an IRC client. It is the follow-on
|
---|
35 | to the Mozilla browser suite.
|
---|
36 | </para>
|
---|
37 |
|
---|
38 | <para>
|
---|
39 | The Mozilla project also hosts two subprojects that aim to satisfy the
|
---|
40 | needs of users who don't need the complete browser suite or prefer to have
|
---|
41 | separate applications for browsing and e-mail. These subprojects are
|
---|
42 | <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
|
---|
43 | based on the <application>Mozilla</application> source code.
|
---|
44 | </para>
|
---|
45 |
|
---|
46 | &lfs110_checked;
|
---|
47 |
|
---|
48 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
49 | <itemizedlist spacing="compact">
|
---|
50 | <listitem>
|
---|
51 | <para>
|
---|
52 | Download (HTTP): <ulink url="&seamonkey-download-http;"/>
|
---|
53 | </para>
|
---|
54 | </listitem>
|
---|
55 | <listitem>
|
---|
56 | <para>
|
---|
57 | Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
|
---|
58 | </para>
|
---|
59 | </listitem>
|
---|
60 | <listitem>
|
---|
61 | <para>
|
---|
62 | Download MD5 sum: &seamonkey-md5sum;
|
---|
63 | </para>
|
---|
64 | </listitem>
|
---|
65 | <listitem>
|
---|
66 | <para>
|
---|
67 | Download size: &seamonkey-size;
|
---|
68 | </para>
|
---|
69 | </listitem>
|
---|
70 | <listitem>
|
---|
71 | <para>
|
---|
72 | Estimated disk space required: &seamonkey-buildsize;
|
---|
73 | </para>
|
---|
74 | </listitem>
|
---|
75 | <listitem>
|
---|
76 | <para>
|
---|
77 | Estimated build time: &seamonkey-time;
|
---|
78 | </para>
|
---|
79 | </listitem>
|
---|
80 | </itemizedlist>
|
---|
81 |
|
---|
82 | <!--<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
83 | <itemizedlist spacing="compact">
|
---|
84 | <listitem>
|
---|
85 | <para>
|
---|
86 | Required patch:
|
---|
87 | <ulink url="&patch-root;/seamonkey-&seamonkey-version;-security_fixes-1.patch"/>
|
---|
88 | </para>
|
---|
89 | </listitem>
|
---|
90 | </itemizedlist>-->
|
---|
91 |
|
---|
92 | <note>
|
---|
93 | <para>
|
---|
94 | The tarball
|
---|
95 | <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
|
---|
96 | untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
|
---|
97 | </para>
|
---|
98 | </note>
|
---|
99 |
|
---|
100 | <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
|
---|
101 |
|
---|
102 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
103 | <para role="required">
|
---|
104 | <xref linkend="autoconf213"/>,
|
---|
105 | both <xref linkend="gtk2"/> and <xref linkend="gtk3"/>,
|
---|
106 | <xref linkend="python2"/>,
|
---|
107 | <xref linkend="rust"/>,
|
---|
108 | <xref linkend="unzip"/>,
|
---|
109 | <xref linkend="yasm"/>, and
|
---|
110 | <xref linkend="zip"/>
|
---|
111 | </para>
|
---|
112 |
|
---|
113 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
114 | <para role="recommended">
|
---|
115 | <xref linkend="icu"/>,
|
---|
116 | <xref linkend="libevent"/>,
|
---|
117 | <!--<xref linkend="libvpx"/>, Causes build failures similar to Firefox -->
|
---|
118 | <xref linkend="libwebp"/>
|
---|
119 | <xref linkend="nasm"/>,
|
---|
120 | <xref linkend="nspr"/>,
|
---|
121 | <xref linkend="nss"/>, and
|
---|
122 | <xref linkend="pulseaudio"/>
|
---|
123 | <!-- <xref linkend="sqlite"/> system version no longer supported -->
|
---|
124 | </para>
|
---|
125 | <!--
|
---|
126 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
127 | <para role="optional">
|
---|
128 | <xref linkend="sqlite"/> (not recommended due to potential
|
---|
129 | security concerns)
|
---|
130 | </para>
|
---|
131 | -->
|
---|
132 | <note>
|
---|
133 | <para>
|
---|
134 | If you don't install recommended dependencies, then internal copies of
|
---|
135 | those packages will be used. They might be tested to work, but they can
|
---|
136 | be out of date or contain security holes.
|
---|
137 | </para>
|
---|
138 | </note>
|
---|
139 | <!--
|
---|
140 | <note>
|
---|
141 | <para>
|
---|
142 | You must have installed <application>Openssl</application> before
|
---|
143 | <application>Python 2</application> or the build system will quickly
|
---|
144 | fail with output including "ImportError: cannot import name
|
---|
145 | HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
|
---|
146 | an older version of Seamonkey), check if
|
---|
147 | <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
|
---|
148 | exists. If it does not, reinstall <xref linkend="python2"/> (after
|
---|
149 | installing <xref linkend="openssl"/>. The latest version of any
|
---|
150 | <emphasis>currently maintained</emphasis> version of Openssl should be
|
---|
151 | satisfactory if already installed.
|
---|
152 | </para>
|
---|
153 | </note>
|
---|
154 | -->
|
---|
155 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
156 | <para role="optional">
|
---|
157 | <xref linkend="alsa-lib"/>,
|
---|
158 | <xref linkend="curl"/>,
|
---|
159 | <xref linkend="dbus-glib"/>,
|
---|
160 | <xref linkend="doxygen"/>,
|
---|
161 | <xref linkend="GConf"/>,
|
---|
162 | <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
|
---|
163 | <xref linkend="openjdk"/>,
|
---|
164 | <xref linkend="startup-notification"/>,
|
---|
165 | <xref linkend="valgrind"/>,
|
---|
166 | <xref linkend="wget"/>,
|
---|
167 | <xref linkend="wireless_tools"/>,
|
---|
168 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, and
|
---|
169 | <ulink url="https://facebook.github.io/watchman/">Watchman</ulink>
|
---|
170 | </para>
|
---|
171 |
|
---|
172 | <para condition="html" role="usernotes">
|
---|
173 | User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
|
---|
174 | </para>
|
---|
175 |
|
---|
176 | </sect2>
|
---|
177 |
|
---|
178 | <sect2 role="installation">
|
---|
179 | <title>Installation of SeaMonkey</title>
|
---|
180 |
|
---|
181 | <para>
|
---|
182 | The configuration of <application>SeaMonkey</application> is accomplished
|
---|
183 | by creating a <filename>mozconfig</filename> file containing the desired
|
---|
184 | configuration options. A default <filename>mozconfig</filename> file is
|
---|
185 | created below. To see the entire list of available configuration options
|
---|
186 | (and an abbreviated description of each one), issue
|
---|
187 | <command>./configure --help</command>. You may also wish to review the
|
---|
188 | entire file and uncomment any other desired options. Create the file by
|
---|
189 | issuing the following command:
|
---|
190 | </para>
|
---|
191 |
|
---|
192 | <screen><?dbfo keep-together="auto"?><userinput>cat > mozconfig << "EOF"
|
---|
193 | <literal># If you have a multicore machine, all cores will be used by default.
|
---|
194 | # If desired, you can reduce the number of cores used, e.g. to 1, by
|
---|
195 | # uncommenting the next line and setting a valid number of CPU cores.
|
---|
196 | #mk_add_options MOZ_MAKE_FLAGS="-j1"
|
---|
197 |
|
---|
198 | # If you have installed DBus-Glib comment out this line:
|
---|
199 | ac_add_options --disable-dbus
|
---|
200 |
|
---|
201 | # If you have installed dbus-glib, and you have installed (or will install)
|
---|
202 | # wireless-tools, and you wish to use geolocation web services, comment out
|
---|
203 | # this line
|
---|
204 | ac_add_options --disable-necko-wifi
|
---|
205 |
|
---|
206 | # Uncomment these lines if you have installed optional dependencies:
|
---|
207 | #ac_add_options --enable-system-hunspell
|
---|
208 | #ac_add_options --enable-startup-notification
|
---|
209 |
|
---|
210 | # Uncomment the following option if you have not installed PulseAudio
|
---|
211 | #ac_add_options --disable-pulseaudio
|
---|
212 | # and uncomment this if you installed alsa-lib instead of PulseAudio
|
---|
213 | #ac_add_options --enable-alsa
|
---|
214 |
|
---|
215 | # Comment out following option if you have gconf installed
|
---|
216 | ac_add_options --disable-gconf
|
---|
217 | <!-- comments cause a blank line, following was for icu in the past
|
---|
218 | seems OK with icu-60, seamonkey-2.49
|
---|
219 | line below was with comment and explanation
|
---|
220 | # Use the internal version of icu due to execution problems-->
|
---|
221 | # Comment out following options if you have not installed
|
---|
222 | # recommended dependencies:
|
---|
223 | ac_add_options --with-system-icu
|
---|
224 | ac_add_options --with-system-libevent
|
---|
225 | ac_add_options --with-system-nspr
|
---|
226 | # nss-3.65 broke the build of seamonkey, use the shipped version
|
---|
227 | # Fixed with 2.53.8
|
---|
228 | ac_add_options --with-system-nss
|
---|
229 | ac_add_options --with-system-webp
|
---|
230 |
|
---|
231 | # The elf-hack is reported to cause failed installs (after successful builds)
|
---|
232 | # on some machines. It is supposed to improve startup time and it shrinks
|
---|
233 | # libxul.so by a few MB - comment this if you know your machine is not affected.
|
---|
234 | ac_add_options --disable-elf-hack
|
---|
235 |
|
---|
236 | # Seamonkey has some additional features that are not turned on by default,
|
---|
237 | # such as an IRC client, calendar, and DOM Inspector. The DOM Inspector
|
---|
238 | # aids with designing web pages. Comment these options if you do not
|
---|
239 | # desire these features.
|
---|
240 | ac_add_options --enable-calendar
|
---|
241 | ac_add_options --enable-dominspector
|
---|
242 | ac_add_options --enable-irc
|
---|
243 |
|
---|
244 | # The BLFS editors recommend not changing anything below this line:
|
---|
245 | ac_add_options --prefix=/usr
|
---|
246 | ac_add_options --enable-application=comm/suite
|
---|
247 |
|
---|
248 | ac_add_options --disable-crashreporter
|
---|
249 | ac_add_options --disable-updater
|
---|
250 | ac_add_options --disable-tests
|
---|
251 |
|
---|
252 | ac_add_options --enable-optimize="-O2"
|
---|
253 | ac_add_options --enable-strip
|
---|
254 | ac_add_options --enable-install-strip
|
---|
255 | ac_add_options --enable-official-branding
|
---|
256 |
|
---|
257 | # From firefox-40 (and the corresponding version of seamonkey),
|
---|
258 | # using system cairo caused seamonkey to crash
|
---|
259 | # frequently when it was doing background rendering in a tab.
|
---|
260 | # This appears to again work in seamonkey-2.49.2
|
---|
261 | ac_add_options --enable-system-cairo
|
---|
262 | ac_add_options --enable-system-ffi
|
---|
263 | ac_add_options --enable-system-pixman
|
---|
264 |
|
---|
265 | ac_add_options --with-system-bz2
|
---|
266 | ac_add_options --with-system-jpeg
|
---|
267 | ac_add_options --with-system-png
|
---|
268 | ac_add_options --with-system-zlib</literal>
|
---|
269 | EOF</userinput></screen>
|
---|
270 |
|
---|
271 | <note>
|
---|
272 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
273 | href="../../xincludes/mozshm.xml"/>
|
---|
274 | <!-- if this package switches to using ./mach, replace the
|
---|
275 | folliowing by including mozmach.xml -->
|
---|
276 | <para>
|
---|
277 | Second, either as the <systemitem class="username">root</systemitem>
|
---|
278 | user export the <envar>$SHELL</envar> environment variable using
|
---|
279 | <command>export SHELL=/bin/sh</command> or else prepend
|
---|
280 | <envar>SHELL=/bin/sh</envar> when running the first
|
---|
281 | <command>make</command> command.
|
---|
282 | </para>
|
---|
283 | </note>
|
---|
284 |
|
---|
285 | <!--<para>
|
---|
286 | Apply a patch to fix a 0day vulnerability in Seamonkey:
|
---|
287 | </para>
|
---|
288 |
|
---|
289 |
|
---|
290 | <screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-security_fixes-1.patch</userinput></screen>
|
---|
291 |
|
---|
292 |
|
---|
293 | <para>
|
---|
294 | Remove a deprecated include which breaks the build with glibc-2.32:
|
---|
295 | </para>
|
---|
296 |
|
---|
297 | <screen><userinput>sed /sysctl/d -i mozilla/memory/build/mozjemalloc.cpp</userinput></screen>-->
|
---|
298 |
|
---|
299 | <para>
|
---|
300 | Compile <application>SeaMonkey</application> by running the following
|
---|
301 | commands:
|
---|
302 | </para>
|
---|
303 |
|
---|
304 | <screen><userinput>CC=gcc CXX=g++ ./mach build</userinput></screen>
|
---|
305 |
|
---|
306 | <note>
|
---|
307 | <para>
|
---|
308 | The CC and CXX variables above are only needed if
|
---|
309 | <xref linkend="llvm"/> is installed and you do not want to use clang.
|
---|
310 | </para>
|
---|
311 | </note>
|
---|
312 |
|
---|
313 | <para>
|
---|
314 | This package does not come with a test suite.
|
---|
315 | </para>
|
---|
316 |
|
---|
317 | <para>
|
---|
318 | Install <application>SeaMonkey</application> by issuing the following
|
---|
319 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
320 | </para>
|
---|
321 |
|
---|
322 |
|
---|
323 | <screen role="root"><userinput>./mach install &&
|
---|
324 | chown -R 0:0 /usr/lib/seamonkey &&
|
---|
325 |
|
---|
326 | cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
|
---|
327 |
|
---|
328 | </sect2>
|
---|
329 |
|
---|
330 | <sect2 role="commands">
|
---|
331 | <title>Command Explanations</title>
|
---|
332 |
|
---|
333 | <para>
|
---|
334 | <command>./mach build</command>: <application>Seamonkey</application>
|
---|
335 | now uses this <application>python</application> script to run the
|
---|
336 | build and install.
|
---|
337 | </para>
|
---|
338 |
|
---|
339 | </sect2>
|
---|
340 |
|
---|
341 | <sect2 role="configuration">
|
---|
342 | <title>Configuring SeaMonkey</title>
|
---|
343 |
|
---|
344 | <para>
|
---|
345 | For installing various <application>SeaMonkey</application> add-ons, refer
|
---|
346 | to <ulink url="https://addons.thunderbird.net/en-US/seamonkey/">Add-ons
|
---|
347 | for Seamonkey</ulink>.
|
---|
348 | </para>
|
---|
349 |
|
---|
350 | <para>
|
---|
351 | Along with using the <quote>Preferences</quote> menu to configure
|
---|
352 | <application>SeaMonkey</application>'s options and preferences to suit
|
---|
353 | individual tastes, finer grain control of many options is only available
|
---|
354 | using a tool not available from the general menu system. To access this
|
---|
355 | tool, you'll need to open a browser window and enter
|
---|
356 | <systemitem role="url">about:config</systemitem> in the address bar. This
|
---|
357 | will display a list of the configuration preferences and information
|
---|
358 | related to each one. You can use the <quote>Search:</quote> bar to enter
|
---|
359 | search criteria and narrow down the listed items. Changing a preference
|
---|
360 | can be done using two methods. One, if the preference has a boolean value
|
---|
361 | (True/False), simply double-click on the preference to toggle the value
|
---|
362 | and two, for other preferences simply right-click on the desired line,
|
---|
363 | choose <quote>Modify</quote> from the menu and change the value. Creating
|
---|
364 | new preference items is accomplished in the same way, except choose
|
---|
365 | <quote>New</quote> from the menu and provide the desired data into the
|
---|
366 | fields when prompted.
|
---|
367 | </para>
|
---|
368 |
|
---|
369 | <!-- The URL no longer exists.
|
---|
370 | <tip>
|
---|
371 | <para>
|
---|
372 | There is a multitude of configuration parameters you can tweak to
|
---|
373 | customize <application>SeaMonkey</application>. A very extensive list of
|
---|
374 | these parameters can be found at
|
---|
375 | <ulink url="http://preferential.mozdev.org/preferences.html"/>.
|
---|
376 | </para>
|
---|
377 | </tip>
|
---|
378 | -->
|
---|
379 | <para>
|
---|
380 | If you use a desktop environment like <application>Gnome</application> or
|
---|
381 | <application>KDE</application> you may wish to create a
|
---|
382 | <filename>seamonkey.desktop</filename> file so that
|
---|
383 | <application>SeaMonkey</application> appears in the panel's menus. If you
|
---|
384 | didn't enable <application>Startup-Notification</application> in your
|
---|
385 | mozconfig change the StartupNotify line to false. As the
|
---|
386 | <systemitem class="username">root</systemitem> user:
|
---|
387 | </para>
|
---|
388 |
|
---|
389 | <screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &&
|
---|
390 |
|
---|
391 | cat > /usr/share/applications/seamonkey.desktop << "EOF"
|
---|
392 | <literal>[Desktop Entry]
|
---|
393 | Encoding=UTF-8
|
---|
394 | Type=Application
|
---|
395 | Name=SeaMonkey
|
---|
396 | Comment=The Mozilla Suite
|
---|
397 | Icon=seamonkey
|
---|
398 | Exec=seamonkey
|
---|
399 | Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
|
---|
400 | StartupNotify=true
|
---|
401 | Terminal=false</literal>
|
---|
402 | EOF
|
---|
403 |
|
---|
404 | ln -sfv /usr/lib/seamonkey/chrome/icons/default/default128.png \
|
---|
405 | /usr/share/pixmaps/seamonkey.png</userinput></screen>
|
---|
406 | </sect2>
|
---|
407 |
|
---|
408 | <sect2 role="content">
|
---|
409 | <title>Contents</title>
|
---|
410 |
|
---|
411 | <segmentedlist>
|
---|
412 | <segtitle>Installed Programs</segtitle>
|
---|
413 | <segtitle>Installed Libraries</segtitle>
|
---|
414 | <segtitle>Installed Directory</segtitle>
|
---|
415 |
|
---|
416 | <seglistitem>
|
---|
417 | <seg>seamonkey</seg>
|
---|
418 | <seg>
|
---|
419 | Numerous libraries, browser, and email/newsgroup components, plugins,
|
---|
420 | extensions, and helper modules installed in
|
---|
421 | <filename class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
|
---|
422 | </seg>
|
---|
423 | <seg>
|
---|
424 | /usr/lib/seamonkey
|
---|
425 | </seg>
|
---|
426 | </seglistitem>
|
---|
427 | </segmentedlist>
|
---|
428 |
|
---|
429 | <variablelist>
|
---|
430 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
431 | <?dbfo list-presentation="list"?>
|
---|
432 | <?dbhtml list-presentation="table"?>
|
---|
433 |
|
---|
434 | <varlistentry id="seamonkey-prog">
|
---|
435 | <term><command>seamonkey</command></term>
|
---|
436 | <listitem>
|
---|
437 | <para>
|
---|
438 | is the Mozilla browser/email/newsgroup/chat client suite
|
---|
439 | </para>
|
---|
440 | <indexterm zone="seamonkey seamonkey-prog">
|
---|
441 | <primary sortas="b-seamonkey">seamonkey</primary>
|
---|
442 | </indexterm>
|
---|
443 | </listitem>
|
---|
444 | </varlistentry>
|
---|
445 | </variablelist>
|
---|
446 | </sect2>
|
---|
447 |
|
---|
448 | </sect1>
|
---|