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
|
---|
8 | "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
|
---|
9 | <!ENTITY seamonkey-download-ftp
|
---|
10 | "&mozilla-ftp;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
|
---|
11 | <!ENTITY seamonkey-md5sum "d9b1f863cb8808ca92a2d9ac004ae5ee">
|
---|
12 | <!ENTITY seamonkey-size "194 MB">
|
---|
13 | <!ENTITY seamonkey-buildsize "3.6 GB (72 MB installed)">
|
---|
14 | <!ENTITY seamonkey-time "7.6 SBU (using parallelism=4)">
|
---|
15 | ]>
|
---|
16 |
|
---|
17 | <sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
|
---|
18 | <?dbhtml filename="seamonkey.html" ?>
|
---|
19 |
|
---|
20 | <sect1info>
|
---|
21 | <othername>$LastChangedBy$</othername>
|
---|
22 | <date>$Date$</date>
|
---|
23 | </sect1info>
|
---|
24 |
|
---|
25 | <title>SeaMonkey-&seamonkey-version;</title>
|
---|
26 |
|
---|
27 | <indexterm zone="seamonkey">
|
---|
28 | <primary sortas="a-SeaMonkey">SeaMonkey</primary>
|
---|
29 | </indexterm>
|
---|
30 |
|
---|
31 | <sect2 role="package">
|
---|
32 | <title>Introduction to SeaMonkey</title>
|
---|
33 |
|
---|
34 | <para>
|
---|
35 | <application>SeaMonkey</application> is a browser suite, the Open Source
|
---|
36 | sibling of <application>Netscape</application>. It includes the browser,
|
---|
37 | composer, mail and news clients, and an IRC client. It is the follow-on
|
---|
38 | to the Mozilla browser suite.
|
---|
39 | </para>
|
---|
40 |
|
---|
41 | <para>
|
---|
42 | The Mozilla project also hosts two subprojects that aim to satisfy the
|
---|
43 | needs of users who don't need the complete browser suite or prefer to have
|
---|
44 | separate applications for browsing and e-mail. These subprojects are
|
---|
45 | <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
|
---|
46 | based on the <application>Mozilla</application> source code.
|
---|
47 | </para>
|
---|
48 |
|
---|
49 | &lfs77_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">SeaMonkey Dependencies</bridgehead>
|
---|
86 |
|
---|
87 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
88 | <para role="required">
|
---|
89 | <xref linkend="alsa-lib"/>,
|
---|
90 | <xref linkend="gtk2"/>,
|
---|
91 | <xref linkend="zip"/>,
|
---|
92 | <xref linkend="unzip"/>, and
|
---|
93 | <xref linkend="yasm"/>
|
---|
94 | </para>
|
---|
95 |
|
---|
96 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
97 | <para role="recommended">
|
---|
98 | <xref linkend="icu"/>,
|
---|
99 | <xref linkend="libevent"/>,
|
---|
100 | <xref linkend="libvpx"/>,
|
---|
101 | <xref linkend="nspr"/>,
|
---|
102 | <xref linkend="nss"/>, and
|
---|
103 | <xref linkend="sqlite"/>
|
---|
104 | </para>
|
---|
105 |
|
---|
106 | <note>
|
---|
107 | <para>
|
---|
108 | If you don't install recommended dependencies, then internal copies of
|
---|
109 | those packages will be used. They might be tested to work, but they can
|
---|
110 | be out of date or contain security holes.
|
---|
111 | </para>
|
---|
112 | </note>
|
---|
113 |
|
---|
114 | <note>
|
---|
115 | <para>
|
---|
116 | You must have installed <application>Openssl</application> before
|
---|
117 | <application>Python 2</application> or the build system will quickly
|
---|
118 | fail with output including "ImportError: cannot import name
|
---|
119 | HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
|
---|
120 | an older version of Seamonkey), check if
|
---|
121 | <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
|
---|
122 | exists. If it does not, reinstall <xref linkend="python2"/> (after
|
---|
123 | installing <xref linkend="openssl"/>. The latest version of any
|
---|
124 | <emphasis>currently maintained</emphasis> version of Openssl should be
|
---|
125 | satisfactory if already installed.
|
---|
126 | </para>
|
---|
127 | </note>
|
---|
128 |
|
---|
129 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
130 | <para role="optional">
|
---|
131 | <xref linkend="curl"/>,
|
---|
132 | <xref linkend="dbus-glib"/>,
|
---|
133 | <xref linkend="doxygen"/>,
|
---|
134 | <xref linkend="gst-plugins-base"/> (with
|
---|
135 | <xref linkend="gst-plugins-good"/> and
|
---|
136 | <xref linkend="gst-ffmpeg"/> at runtime), or
|
---|
137 | <xref linkend="gst10-plugins-base"/> (with
|
---|
138 | <xref linkend="gst10-plugins-good"/> and
|
---|
139 | <xref linkend="gst10-libav"/> at runtime),
|
---|
140 | <xref linkend="libnotify"/>,
|
---|
141 | <xref linkend="openjdk"/>,
|
---|
142 | <xref linkend="pulseaudio"/>,
|
---|
143 | <xref linkend="startup-notification"/>,
|
---|
144 | <xref linkend="valgrind"/>,
|
---|
145 | <xref linkend="wget"/>,
|
---|
146 | <xref linkend="wireless_tools"/>, and
|
---|
147 | <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
|
---|
148 | </para>
|
---|
149 |
|
---|
150 | <para condition="html" role="usernotes">
|
---|
151 | User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
|
---|
152 | </para>
|
---|
153 |
|
---|
154 | </sect2>
|
---|
155 |
|
---|
156 | <sect2 role="installation">
|
---|
157 | <title>Installation of SeaMonkey</title>
|
---|
158 |
|
---|
159 | <para>
|
---|
160 | The configuration of <application>SeaMonkey</application> is accomplished
|
---|
161 | by creating a <filename>mozconfig</filename> file containing the desired
|
---|
162 | configuration options. A default <filename>mozconfig</filename> file is
|
---|
163 | created below. To see the entire list of available configuration options
|
---|
164 | (and an abbreviated description of each one), issue
|
---|
165 | <command>./configure --help</command>. You may also wish to review the
|
---|
166 | entire file and uncomment any other desired options. Create the file by
|
---|
167 | issuing the following command:
|
---|
168 | </para>
|
---|
169 |
|
---|
170 | <screen><?dbfo keep-together="auto"?><userinput>cat > mozconfig << "EOF"
|
---|
171 | <literal># If you have a multicore machine, all cores will be used by default.
|
---|
172 | # If desired, you can reduce the number of cores used, e.g. to 1, by
|
---|
173 | # uncommenting the next line and setting a valid number of CPU cores.
|
---|
174 | #mk_add_options MOZ_MAKE_FLAGS="-j1"
|
---|
175 |
|
---|
176 | # If you have installed DBus-Glib comment out this line:
|
---|
177 | ac_add_options --disable-dbus
|
---|
178 |
|
---|
179 | # If you have installed dbus-glib, and you have installed (or will install)
|
---|
180 | # wireless-tools, and you wish to use geolocation web services, comment out
|
---|
181 | # this line
|
---|
182 | ac_add_options --disable-necko-wifi
|
---|
183 |
|
---|
184 | # If you have installed libnotify comment out this line:
|
---|
185 | ac_add_options --disable-libnotify
|
---|
186 |
|
---|
187 | # GStreamer is necessary for H.264 video playback in HTML5 Video Player;
|
---|
188 | # to be enabled, also remember to set "media.gstreamer.enabled" to "true"
|
---|
189 | # in about:config. If you do *not* have GStreamer 0.x.y, uncomment this line:
|
---|
190 | ac_add_options --disable-gstreamer
|
---|
191 | # or uncomment this line, if you have GStreamer 1.x.y
|
---|
192 | #ac_add_options --enable-gstreamer=1.0
|
---|
193 |
|
---|
194 | # Uncomment these lines if you have installed optional dependencies:
|
---|
195 | #ac_add_options --enable-system-hunspell
|
---|
196 | #ac_add_options --enable-startup-notification
|
---|
197 |
|
---|
198 | # Comment out following option if you have PulseAudio installed
|
---|
199 | ac_add_options --disable-pulseaudio
|
---|
200 | <!-- Does not work
|
---|
201 | # If you have not installed Yasm then uncomment this line:
|
---|
202 | #ac_add_options - -disable-webm
|
---|
203 | -->
|
---|
204 | # Comment out following options if you have not installed
|
---|
205 | # recommended dependencies:
|
---|
206 | ac_add_options --enable-system-sqlite
|
---|
207 | ac_add_options --with-system-libevent
|
---|
208 | ac_add_options --with-system-libvpx
|
---|
209 | ac_add_options --with-system-nspr
|
---|
210 | ac_add_options --with-system-nss
|
---|
211 | ac_add_options --with-system-icu
|
---|
212 |
|
---|
213 | # The BLFS editors recommend not changing anything below this line:
|
---|
214 | ac_add_options --prefix=/usr
|
---|
215 | ac_add_options --enable-application=suite
|
---|
216 |
|
---|
217 | ac_add_options --disable-crashreporter
|
---|
218 | ac_add_options --disable-updater
|
---|
219 | ac_add_options --disable-tests
|
---|
220 |
|
---|
221 | ac_add_options --enable-optimize
|
---|
222 | ac_add_options --enable-strip
|
---|
223 | ac_add_options --enable-install-strip
|
---|
224 |
|
---|
225 | ac_add_options --enable-gio
|
---|
226 | ac_add_options --enable-official-branding
|
---|
227 | ac_add_options --enable-safe-browsing
|
---|
228 | ac_add_options --enable-url-classifier
|
---|
229 |
|
---|
230 | ac_add_options --enable-system-cairo
|
---|
231 | ac_add_options --enable-system-ffi
|
---|
232 | ac_add_options --enable-system-pixman
|
---|
233 |
|
---|
234 | ac_add_options --with-pthreads
|
---|
235 |
|
---|
236 | ac_add_options --with-system-bz2
|
---|
237 | ac_add_options --with-system-jpeg
|
---|
238 | ac_add_options --with-system-png
|
---|
239 | ac_add_options --with-system-zlib
|
---|
240 |
|
---|
241 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
|
---|
242 | EOF</userinput></screen>
|
---|
243 |
|
---|
244 | <note><para>
|
---|
245 | There is a problem on i686 systems when building
|
---|
246 | <application>SeaMonkey</application> with <application>gcc</application>
|
---|
247 | versions ranging from 4.8 to 4.9.1 and using the switch
|
---|
248 | <quote>--enable-optimize</quote>. There are two alternatives. The best
|
---|
249 | one is to upgrade <application>gcc</application> to version 4.9.2 or later
|
---|
250 | because it will give better perfomance and smaller binaries. However, if
|
---|
251 | you do not wish to upgrade gcc, reduce the level of optimization with:
|
---|
252 | </para>
|
---|
253 |
|
---|
254 | <screen><userinput>test $(uname -m) = "i686" && sed -i 's/enable-optimize/&=-O2/' mozconfig || true</userinput></screen>
|
---|
255 | </note>
|
---|
256 |
|
---|
257 | <note><para>
|
---|
258 | If you are compiling <application>SeaMonkey</application> in chroot, make
|
---|
259 | sure you have the <envar>SHELL</envar> environment variable set or prepend
|
---|
260 | <envar>SHELL=/bin/sh</envar> to the first make command below.
|
---|
261 | </para></note>
|
---|
262 |
|
---|
263 | <para>
|
---|
264 | The moz-build-dir directory needs to exist and match the value used in
|
---|
265 | mozconfig (above) for the object directory (MOZ_OBJDIR):
|
---|
266 | </para>
|
---|
267 |
|
---|
268 | <screen><userinput>mkdir -vp mozilla/moz-build-dir</userinput></screen>
|
---|
269 |
|
---|
270 | <para>
|
---|
271 | Compile <application>SeaMonkey</application> by running the following
|
---|
272 | command:
|
---|
273 | </para>
|
---|
274 | <!-- Should not be needed if Xorg setup instructions were followed
|
---|
275 | <note><para>If you did not install Xorg in /usr, be sure to specify the
|
---|
276 | location with:</para>
|
---|
277 |
|
---|
278 | <screen><userinput>export CPLUS_INCLUDE_PATH=$XORG_PREFIX/include
|
---|
279 | export C_INCLUDE_PATH=$XORG_PREFIX/include</userinput></screen>
|
---|
280 | </note>
|
---|
281 | -->
|
---|
282 | <screen><userinput>make -f client.mk</userinput></screen>
|
---|
283 |
|
---|
284 | <para>
|
---|
285 | This package does not come with a test suite.
|
---|
286 | </para>
|
---|
287 |
|
---|
288 | <para>
|
---|
289 | Install <application>SeaMonkey</application> by issuing the following
|
---|
290 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
291 | </para>
|
---|
292 |
|
---|
293 | <screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &&
|
---|
294 |
|
---|
295 | chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &&
|
---|
296 | cp -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
|
---|
297 |
|
---|
298 | <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
|
---|
299 | All the Development Libraries and Headers
|
---|
300 | </bridgehead>
|
---|
301 |
|
---|
302 | <para>
|
---|
303 | If you want to install the full <application>SeaMonkey</application>
|
---|
304 | development environment, as the
|
---|
305 | <systemitem class="username">root</systemitem> user:
|
---|
306 | </para>
|
---|
307 |
|
---|
308 | <screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
|
---|
309 | </sect2>
|
---|
310 |
|
---|
311 | <sect2 role="commands">
|
---|
312 | <title>Command Explanations</title>
|
---|
313 |
|
---|
314 | <para>
|
---|
315 | <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
|
---|
316 | of Makefile at the beginning of the build, where a file cannot be found.
|
---|
317 | </para>
|
---|
318 |
|
---|
319 | <para>
|
---|
320 | <command>make -f client.mk</command>: Mozilla products are packaged to
|
---|
321 | allow the use of a configuration file which can be used to pass the
|
---|
322 | configuration settings to the <command>configure</command> command.
|
---|
323 | <command>make</command> uses the <filename>client.mk</filename> file to
|
---|
324 | get initial configuration and setup parameters.
|
---|
325 | </para>
|
---|
326 |
|
---|
327 | </sect2>
|
---|
328 |
|
---|
329 | <sect2 role="configuration">
|
---|
330 | <title>Configuring SeaMonkey</title>
|
---|
331 | <!-- This worked for me without the extra configuration
|
---|
332 | <para>
|
---|
333 | If you did not add the <option>- -disable-webm</option> option to your
|
---|
334 | <filename>mozconfig</filename>, your <application>SeaMonkey</application>
|
---|
335 | can play most youtube videos without the need for the flash plugin. To
|
---|
336 | enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
|
---|
337 | on 'Join the HTML5 Trial' (needs cookies enabled).
|
---|
338 | </para>
|
---|
339 | -->
|
---|
340 | <para>
|
---|
341 | For installing various <application>SeaMonkey</application> plugins, refer
|
---|
342 | to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
|
---|
343 | Project</ulink>.
|
---|
344 | </para>
|
---|
345 |
|
---|
346 | <para>
|
---|
347 | Along with using the <quote>Preferences</quote> menu to configure
|
---|
348 | <application>SeaMonkey</application>'s options and preferences to suit
|
---|
349 | individual tastes, finer grain control of many options is only available
|
---|
350 | using a tool not available from the general menu system. To access this
|
---|
351 | tool, you'll need to open a browser window and enter
|
---|
352 | <systemitem role="url">about:config</systemitem> in the address bar. This
|
---|
353 | will display a list of the configuration preferences and information
|
---|
354 | related to each one. You can use the <quote>Filter:</quote> bar to enter
|
---|
355 | search criteria and narrow down the listed items. Changing a preference
|
---|
356 | can be done using two methods. One, if the preference has a boolean value
|
---|
357 | (True/False), simply double-click on the preference to toggle the value
|
---|
358 | and two, for other preferences simply right-click on the desired line,
|
---|
359 | choose <quote>Modify</quote> from the menu and change the value. Creating
|
---|
360 | new preference items is accomplished in the same way, except choose
|
---|
361 | <quote>New</quote> from the menu and provide the desired data into the
|
---|
362 | fields when prompted.
|
---|
363 | </para>
|
---|
364 |
|
---|
365 | <tip>
|
---|
366 | <para>
|
---|
367 | There is a multitude of configuration parameters you can tweak to
|
---|
368 | customize <application>SeaMonkey</application>. A very extensive list of
|
---|
369 | these parameters can be found at
|
---|
370 | <ulink url="http://preferential.mozdev.org/preferences.html"/>.
|
---|
371 | </para>
|
---|
372 | </tip>
|
---|
373 |
|
---|
374 | <para>
|
---|
375 | If you use a desktop environment like <application>Gnome</application> or
|
---|
376 | <application>KDE</application> you may wish to create a
|
---|
377 | <filename>seamonkey.desktop</filename> file so that
|
---|
378 | <application>SeaMonkey</application> appears in the panel's menus. If you
|
---|
379 | didn't enable <application>Startup-Notification</application> in your
|
---|
380 | mozconfig change the StartupNotify line to false. As the
|
---|
381 | <systemitem class="username">root</systemitem> user:
|
---|
382 | </para>
|
---|
383 |
|
---|
384 | <screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &&
|
---|
385 |
|
---|
386 | cat > /usr/share/applications/seamonkey.desktop << "EOF" &&
|
---|
387 | [Desktop Entry]
|
---|
388 | Encoding=UTF-8
|
---|
389 | Type=Application
|
---|
390 | Name=SeaMonkey
|
---|
391 | Comment=The Mozilla Suite
|
---|
392 | Icon=seamonkey
|
---|
393 | Exec=seamonkey
|
---|
394 | Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
|
---|
395 | StartupNotify=true
|
---|
396 | Terminal=false
|
---|
397 | EOF
|
---|
398 |
|
---|
399 | ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
|
---|
400 | /usr/share/pixmaps</userinput></screen>
|
---|
401 | </sect2>
|
---|
402 |
|
---|
403 | <sect2 role="content">
|
---|
404 | <title>Contents</title>
|
---|
405 |
|
---|
406 | <segmentedlist>
|
---|
407 | <segtitle>Installed Programs</segtitle>
|
---|
408 | <segtitle>Installed Libraries</segtitle>
|
---|
409 | <segtitle>Installed Directory</segtitle>
|
---|
410 |
|
---|
411 | <seglistitem>
|
---|
412 | <seg>seamonkey</seg>
|
---|
413 | <seg>
|
---|
414 | Numerous libraries, browser, and email/newsgroup components, plugins,
|
---|
415 | extensions, and helper modules installed in <filename
|
---|
416 | class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
|
---|
417 | </seg>
|
---|
418 | <seg>
|
---|
419 | /usr/lib/seamonkey-&seamonkey-version;.
|
---|
420 | </seg>
|
---|
421 | </seglistitem>
|
---|
422 | </segmentedlist>
|
---|
423 |
|
---|
424 | <variablelist>
|
---|
425 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
426 | <?dbfo list-presentation="list"?>
|
---|
427 | <?dbhtml list-presentation="table"?>
|
---|
428 |
|
---|
429 | <varlistentry id="seamonkey-prog">
|
---|
430 | <term><command>seamonkey</command></term>
|
---|
431 | <listitem>
|
---|
432 | <para>
|
---|
433 | is the Mozilla browser/email/newsgroup/chat client suite.
|
---|
434 | </para>
|
---|
435 | <indexterm zone="seamonkey seamonkey-prog">
|
---|
436 | <primary sortas="b-seamonkey">seamonkey</primary>
|
---|
437 | </indexterm>
|
---|
438 | </listitem>
|
---|
439 | </varlistentry>
|
---|
440 | </variablelist>
|
---|
441 | </sect2>
|
---|
442 | </sect1>
|
---|