source: xsoft/graphweb/seamonkey.xml@ 637f310

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 637f310 was 637f310, checked in by Bruce Dubbs <bdubbs@…>, 9 years ago

Clarify wording in SeaMonkey about optimization.
Add note to libjpeg-turbo about installing over older versions of jpeg.

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

  • Property mode set to 100644
File size: 16.1 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 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 &gt; mozconfig &lt;&lt; "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:
177ac_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
182ac_add_options --disable-necko-wifi
183
184# If you have installed libnotify comment out this line:
185ac_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
199ac_add_options --disable-pulseaudio
200
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:
206ac_add_options --enable-system-sqlite
207ac_add_options --with-system-libevent
208ac_add_options --with-system-libvpx
209ac_add_options --with-system-nspr
210ac_add_options --with-system-nss
211ac_add_options --with-system-icu
212
213# The BLFS editors recommend not changing anything below this line:
214ac_add_options --prefix=/usr
215ac_add_options --enable-application=suite
216
217ac_add_options --disable-crashreporter
218ac_add_options --disable-updater
219ac_add_options --disable-tests
220
221ac_add_options --enable-optimize
222ac_add_options --enable-strip
223ac_add_options --enable-install-strip
224
225ac_add_options --enable-gio
226ac_add_options --enable-official-branding
227ac_add_options --enable-safe-browsing
228ac_add_options --enable-url-classifier
229
230ac_add_options --enable-system-cairo
231ac_add_options --enable-system-ffi
232ac_add_options --enable-system-pixman
233
234ac_add_options --with-pthreads
235
236ac_add_options --with-system-bz2
237ac_add_options --with-system-jpeg
238ac_add_options --with-system-png
239ac_add_options --with-system-zlib
240
241mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
242EOF</userinput></screen>
243
244 <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" &amp;&amp; sed -i 's/enable-optimize/&amp;=-O2/' mozconfig || true</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 The moz-build-dir directory needs to exist and match the value used in
264 mozconfig (above) for the object directory (MOZ_OBJDIR):
265 </para>
266
267<screen><userinput>mkdir -vp mozilla/moz-build-dir</userinput></screen>
268
269 <para>
270 Compile <application>SeaMonkey</application> by running the following
271 command:
272 </para>
273
274 <note><para>If you did not install Xorg in /usr, be sure to specify the
275 location with:</para>
276
277 <screen><userinput>export CPLUS_INCLUDE_PATH=$XORG_PREFIX/include
278export C_INCLUDE_PATH=$XORG_PREFIX/include</userinput></screen>
279 </note>
280
281<screen><userinput>make -f client.mk</userinput></screen>
282
283 <para>
284 This package does not come with a test suite.
285 </para>
286
287 <para>
288 Install <application>SeaMonkey</application> by issuing the following
289 commands as the <systemitem class="username">root</systemitem> user:
290 </para>
291
292<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
293cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
294
295 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
296 All the Development Libraries and Headers
297 </bridgehead>
298
299 <para>
300 If you want to install the full <application>SeaMonkey</application>
301 development environment, as the
302 <systemitem class="username">root</systemitem> user:
303 </para>
304
305<screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
306 </sect2>
307
308 <sect2 role="commands">
309 <title>Command Explanations</title>
310
311 <para>
312 <command>test $(uname -m) = "i686" &amp;&amp; sed ...</command>:
313 On this version of seamonkey, an old bug has reappeared in 32-bit builds.
314 With optimization, the install fails<!-- with a Python error-->. This
315 command will fix i686 builds and preserve the optimization on x86_64.
316 </para>
317
318 <para>
319 <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
320 of Makefile at the beginning of the build, where a file cannot be found.
321 </para>
322
323 <para>
324 <command>make -f client.mk</command>: Mozilla products are packaged to
325 allow the use of a configuration file which can be used to pass the
326 configuration settings to the <command>configure</command> command.
327 <command>make</command> uses the <filename>client.mk</filename> file to
328 get initial configuration and setup parameters.
329 </para>
330
331 </sect2>
332
333 <sect2 role="configuration">
334 <title>Configuring SeaMonkey</title>
335
336 <para>
337 If you deleted the <option>--disable-webm</option> option from your
338 <filename>mozconfig</filename>, your <application>SeaMonkey</application>
339 can play most youtube videos without the need for the flash plugin. To
340 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
341 on 'Join the HTML5 Trial' (needs cookies enabled).
342 </para>
343
344 <para>
345 For installing various <application>SeaMonkey</application> plugins, refer
346 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
347 Project</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>Filter:</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 <tip>
370 <para>
371 There is a multitude of configuration parameters you can tweak to
372 customize <application>SeaMonkey</application>. A very extensive list of
373 these parameters can be found at
374 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
375 </para>
376 </tip>
377
378 <para>
379 If you use a desktop environment like <application>Gnome</application> or
380 <application>KDE</application> you may wish to create a
381 <filename>seamonkey.desktop</filename> file so that
382 <application>SeaMonkey</application> appears in the panel's menus. If you
383 didn't enable <application>Startup-Notification</application> in your
384 mozconfig change the StartupNotify line to false. As the
385 <systemitem class="username">root</systemitem> user:
386 </para>
387
388<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
389
390cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF" &amp;&amp;
391[Desktop Entry]
392Encoding=UTF-8
393Type=Application
394Name=SeaMonkey
395Comment=The Mozilla Suite
396Icon=seamonkey
397Exec=seamonkey
398Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
399StartupNotify=true
400Terminal=false
401EOF
402
403ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
404 /usr/share/pixmaps</userinput></screen>
405 </sect2>
406
407 <sect2 role="content">
408 <title>Contents</title>
409
410 <segmentedlist>
411 <segtitle>Installed Programs</segtitle>
412 <segtitle>Installed Libraries</segtitle>
413 <segtitle>Installed Directory</segtitle>
414
415 <seglistitem>
416 <seg>seamonkey</seg>
417 <seg>
418 Numerous libraries, browser, and email/newsgroup components, plugins,
419 extensions, and helper modules installed in <filename
420 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
421 </seg>
422 <seg>
423 /usr/lib/seamonkey-&seamonkey-version;.
424 </seg>
425 </seglistitem>
426 </segmentedlist>
427
428 <variablelist>
429 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
430 <?dbfo list-presentation="list"?>
431 <?dbhtml list-presentation="table"?>
432
433 <varlistentry id="seamonkey-prog">
434 <term><command>seamonkey</command></term>
435 <listitem>
436 <para>
437 is the Mozilla browser/email/newsgroup/chat client suite.
438 </para>
439 <indexterm zone="seamonkey seamonkey-prog">
440 <primary sortas="b-seamonkey">seamonkey</primary>
441 </indexterm>
442 </listitem>
443 </varlistentry>
444 </variablelist>
445 </sect2>
446</sect1>
Note: See TracBrowser for help on using the repository browser.