source: xsoft/graphweb/seamonkey.xml@ 566fcae

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 566fcae was 566fcae, checked in by Fernando de Oliveira <fernando@…>, 9 years ago

Fixes to seamonkey-2.30: number of threads, optimization and dependencies.
Fixes to firefox-33.0.3: number of threads and optimization.

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

  • Property mode set to 100644
File size: 16.3 KB
Line 
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 "http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
9 <!ENTITY seamonkey-download-ftp
10 "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
11 <!ENTITY seamonkey-md5sum "831e91caf7036387f89b369c54250e75">
12 <!ENTITY seamonkey-size "171 MB">
13 <!ENTITY seamonkey-buildsize "2.6 GB (113 MB installed)">
14 <!ENTITY seamonkey-time "11 SBU (using parallelism=8)">
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 &lfs76_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"/>, and
92 <xref linkend="unzip"/>.
93 </para>
94
95 <bridgehead renderas="sect4">Recommended</bridgehead>
96 <para role="recommended">
97 <xref linkend="icu"/>,
98 <xref linkend="libevent"/>,
99 <xref linkend="libvpx"/>,
100 <xref linkend="nspr"/>,
101 <xref linkend="nss"/>,
102 <xref linkend="sqlite"/> and
103 <xref linkend="yasm"/>
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/python2.7/lib-dynload/_ssl.so</filename> exists. If
122 it does not, reinstall <xref linkend="python2"/> (after installing
123 <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 If you have not installed <xref linkend="wireless_tools"/>, apply the
161 patch or the installer will fail:
162 </para>
163
164<screen><userinput>patch -p1 &lt; ../seamonkey-&seamonkey-version;-necko-wifi-1.patch</userinput></screen>
165-->
166 <para>
167 The configuration of <application>SeaMonkey</application> is accomplished
168 by creating a <filename>mozconfig</filename> file containing the desired
169 configuration options. A default <filename>mozconfig</filename> file is
170 created below. To see the entire list of available configuration options
171 (and an abbreviated description of each one), issue
172 <command>./configure --help</command>. You may also wish to review the
173 entire file and uncomment any other desired options. Create the file by
174 issuing the following command:
175 </para>
176
177<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
178<literal># If you have a multicore machine, all cores will be used by default.
179# Exceptionally, you can reduce the number used of cores, e.g. to 1, by
180# uncommenting the next line and setting a valid number of CPU cores.
181#mk_add_options MOZ_MAKE_FLAGS="-j1"
182
183# If you have installed DBus-Glib comment out this line:
184ac_add_options --disable-dbus
185
186# If you have installed dbus-glib, and you have installed (or will install)
187# wireless-tools, and you wish to use geolocation web services, comment out
188# this line
189ac_add_options --disable-necko-wifi
190
191# If you have installed libnotify comment out this line:
192ac_add_options --disable-libnotify
193
194# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
195# to be enabled, also remember to set "media.gstreamer.enabled" to "true"
196# in about:config. If you do *not* have GStreamer 0.x.y, uncomment this line:
197#ac_add_options --disable-gstreamer
198# or uncomment this line, if you have GStreamer 1.x.y
199#ac_add_options --enable-gstreamer=1.0
200
201# Uncomment these lines if you have installed optional dependencies:
202#ac_add_options --enable-system-hunspell
203#ac_add_options --enable-startup-notification
204
205# Comment out following option if you have PulseAudio installed
206ac_add_options --disable-pulseaudio
207
208# If you have not installed Yasm then uncomment this line:
209#ac_add_options --disable-webm
210
211# Comment out following options if you have not installed
212# recommended dependencies:
213ac_add_options --enable-system-sqlite
214ac_add_options --with-system-libevent
215ac_add_options --with-system-libvpx
216ac_add_options --with-system-nspr
217ac_add_options --with-system-nss
218ac_add_options --with-system-icu
219
220# The BLFS editors recommend not changing anything below this line:
221ac_add_options --prefix=/usr
222ac_add_options --enable-application=suite
223
224ac_add_options --disable-crashreporter
225ac_add_options --disable-updater
226ac_add_options --disable-tests
227
228ac_add_options --enable-optimize
229ac_add_options --enable-strip
230ac_add_options --enable-install-strip
231
232ac_add_options --enable-gio
233ac_add_options --enable-official-branding
234ac_add_options --enable-safe-browsing
235ac_add_options --enable-url-classifier
236
237ac_add_options --enable-system-cairo
238ac_add_options --enable-system-ffi
239ac_add_options --enable-system-pixman
240
241ac_add_options --with-pthreads
242
243ac_add_options --with-system-bz2
244ac_add_options --with-system-jpeg
245ac_add_options --with-system-png
246ac_add_options --with-system-zlib
247
248mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
249EOF</userinput></screen>
250
251 <para>
252 There is a problem in i686 systems, when build with
253 <application>gcc</application> ranging from 4.8 to 4.9.1, and using the
254 switch <quote>--enable-optimize</quote>. You have two alternatives, best
255 one being the upgrade of <application>gcc</application> to version 4.9.2,
256 because that switch implies better perfomance and smaller binaries.
257 However, if you do not wish to upgrade gcc, disable the switch with:
258 </para>
259
260<screen><userinput>test $(uname -m) = "i686" &amp;&amp; sed -i 's/enable-optimize/disable-optimize/' mozconfig || true</userinput></screen>
261
262 <note><para>
263 If you are compiling <application>SeaMonkey</application> in chroot, make
264 sure you have <envar>$SHELL</envar> environment variable set or prepend
265 <envar>SHELL=/bin/sh</envar> to the first make command below.
266 </para></note>
267
268 <para>
269 The moz-build-dir directory needs to exist and match the value used in
270 mozconfig (above) for the object directory (MOZ_OBJDIR):
271 </para>
272
273<screen><userinput>mkdir -vp mozilla/moz-build-dir</userinput></screen>
274
275 <para>
276 Compile <application>SeaMonkey</application> by running the following
277 command:
278 </para>
279
280 <note><para>If you did not install Xorg in /usr, be sure to specify the
281 location with:</para>
282
283 <screen><userinput>export CPLUS_INCLUDE_PATH=$XORG_PREFIX/include
284export C_INCLUDE_PATH=$XORG_PREFIX/include</userinput></screen>
285 </note>
286
287<screen><userinput>make -f client.mk</userinput></screen>
288
289 <para>
290 This package does not come with a test suite.
291 </para>
292
293 <para>
294 Install <application>SeaMonkey</application> by issuing the following
295 commands as the <systemitem class="username">root</systemitem> user:
296 </para>
297
298<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
299
300cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
301
302 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
303 All the Development Libraries and Headers
304 </bridgehead>
305
306 <para>
307 If you want to install the full <application>SeaMonkey</application>
308 development environment, as the
309 <systemitem class="username">root</systemitem> user:
310 </para>
311
312<screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
313 </sect2>
314
315 <sect2 role="commands">
316 <title>Command Explanations</title>
317
318 <para>
319 <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>:
320 On this version of seamonkey, an old bug has reappeared in 32-bit builds.
321 With optimization, the install fails<!-- with a Python error-->. This
322 command will fix i686 builds and preserve the optimization on x86_64.
323 </para>
324
325 <para>
326 <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
327 of Makefile at the beginning of the build, where a file cannot be found.
328 </para>
329
330 <para>
331 <command>make -f client.mk</command>: Mozilla products are packaged to
332 allow the use of a configuration file which can be used to pass the
333 configuration settings to the <command>configure</command> command.
334 <command>make</command> uses the <filename>client.mk</filename> file to
335 get initial configuration and setup parameters.
336 </para>
337
338 </sect2>
339
340 <sect2 role="configuration">
341 <title>Configuring SeaMonkey</title>
342
343 <para>
344 If you deleted the <option>--disable-webm</option> option from your
345 <filename>mozconfig</filename>, your <application>SeaMonkey</application>
346 can play most youtube videos without the need for the flash plugin. To
347 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
348 on 'Join the HTML5 Trial' (needs cookies enabled).
349 </para>
350
351 <para>
352 For installing various <application>SeaMonkey</application> plugins, refer
353 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
354 Project</ulink>.
355 </para>
356
357 <para>
358 Along with using the <quote>Preferences</quote> menu to configure
359 <application>SeaMonkey</application>'s options and preferences to suit
360 individual tastes, finer grain control of many options is only available
361 using a tool not available from the general menu system. To access this
362 tool, you'll need to open a browser window and enter
363 <systemitem role="url">about:config</systemitem> in the address bar. This
364 will display a list of the configuration preferences and information
365 related to each one. You can use the <quote>Filter:</quote> bar to enter
366 search criteria and narrow down the listed items. Changing a preference
367 can be done using two methods. One, if the preference has a boolean value
368 (True/False), simply double-click on the preference to toggle the value
369 and two, for other preferences simply right-click on the desired line,
370 choose <quote>Modify</quote> from the menu and change the value. Creating
371 new preference items is accomplished in the same way, except choose
372 <quote>New</quote> from the menu and provide the desired data into the
373 fields when prompted.
374 </para>
375
376 <tip>
377 <para>
378 There is a multitude of configuration parameters you can tweak to
379 customize <application>SeaMonkey</application>. A very extensive list of
380 these parameters can be found at
381 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
382 </para>
383 </tip>
384
385 <para>
386 If you use a desktop environment like <application>Gnome</application> or
387 <application>KDE</application> you may wish to create a
388 <filename>seamonkey.desktop</filename> file so that
389 <application>SeaMonkey</application> appears in the panel's menus. If you
390 didn't enable <application>Startup-Notification</application> in your
391 mozconfig change the StartupNotify line to false. As the
392 <systemitem class="username">root</systemitem> user:
393 </para>
394
395<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
396
397cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF" &amp;&amp;
398[Desktop Entry]
399Encoding=UTF-8
400Type=Application
401Name=SeaMonkey
402Comment=The Mozilla Suite
403Icon=seamonkey
404Exec=seamonkey
405Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
406StartupNotify=true
407Terminal=false
408EOF
409
410ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
411 /usr/share/pixmaps</userinput></screen>
412 </sect2>
413
414 <sect2 role="content">
415 <title>Contents</title>
416
417 <segmentedlist>
418 <segtitle>Installed Programs</segtitle>
419 <segtitle>Installed Libraries</segtitle>
420 <segtitle>Installed Directory</segtitle>
421
422 <seglistitem>
423 <seg>seamonkey</seg>
424 <seg>
425 Numerous libraries, browser, and email/newsgroup components, plugins,
426 extensions, and helper modules installed in <filename
427 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
428 </seg>
429 <seg>
430 /usr/lib/seamonkey-&seamonkey-version;.
431 </seg>
432 </seglistitem>
433 </segmentedlist>
434
435 <variablelist>
436 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
437 <?dbfo list-presentation="list"?>
438 <?dbhtml list-presentation="table"?>
439
440 <varlistentry id="seamonkey-prog">
441 <term><command>seamonkey</command></term>
442 <listitem>
443 <para>
444 is the Mozilla browser/email/newsgroup/chat client suite.
445 </para>
446 <indexterm zone="seamonkey seamonkey-prog">
447 <primary sortas="b-seamonkey">seamonkey</primary>
448 </indexterm>
449 </listitem>
450 </varlistentry>
451 </variablelist>
452 </sect2>
453</sect1>
Note: See TracBrowser for help on using the repository browser.