source: xsoft/graphweb/seamonkey.xml@ 36bbe491

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 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 36bbe491 was 36bbe491, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Finished Updating GNOME and completed GNOME Merge, as well as some tags and typo fixes.

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

  • Property mode set to 100644
File size: 16.8 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 "&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 "5789df8f96e14577c275f10fdf8462f3">
11 <!ENTITY seamonkey-size "185 MB">
12 <!ENTITY seamonkey-buildsize "4.3 GB (84 MB installed)">
13 <!ENTITY seamonkey-time "13 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 &lfs79_checked;&gcc6_checked;
49
50 <bridgehead renderas="sect3">Package Information</bridgehead>
51 <itemizedlist spacing="compact">
52 <listitem>
53 <para>
54 Download (HTTP): <ulink url="&seamonkey-download-http;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download MD5 sum: &seamonkey-md5sum;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Download size: &seamonkey-size;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated disk space required: &seamonkey-buildsize;
75 </para>
76 </listitem>
77 <listitem>
78 <para>
79 Estimated build time: &seamonkey-time;
80 </para>
81 </listitem>
82 </itemizedlist>
83
84 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
85 <itemizedlist spacing="compact">
86 <listitem>
87 <para>
88 Required patch if using gcc-6 or later
89 <ulink url="&patch-root;/seamonkey-&seamonkey-version;-gcc6-1.patch"/>
90 </para>
91 </listitem>
92 </itemizedlist>
93
94 <note>
95 <para>
96 The tarball
97 <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
98 untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
99 </para>
100 </note>
101
102 <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
103
104 <bridgehead renderas="sect4">Required</bridgehead>
105 <para role="required">
106 <xref linkend="alsa-lib"/>,
107 <xref linkend="gtk2"/>,
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"/>,
118 <xref linkend="nspr"/>, and
119 <xref linkend="nss"/><!--, and
120 <xref linkend="sqlite"/>-->
121 </para>
122
123 <bridgehead renderas="sect4">Optional</bridgehead>
124 <para role="optional">
125 <xref linkend="sqlite"/> (not recommended due to potential
126 security concerns)
127 </para>
128
129 <note>
130 <para>
131 If you don't install recommended dependencies, then internal copies of
132 those packages will be used. They might be tested to work, but they can
133 be out of date or contain security holes.
134 </para>
135 </note>
136
137 <note>
138 <para>
139 You must have installed <application>Openssl</application> before
140 <application>Python 2</application> or the build system will quickly
141 fail with output including "ImportError: cannot import name
142 HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
143 an older version of Seamonkey), check if
144 <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
145 exists. If it does not, reinstall <xref linkend="python2"/> (after
146 installing <xref linkend="openssl"/>. The latest version of any
147 <emphasis>currently maintained</emphasis> version of Openssl should be
148 satisfactory if already installed.
149 </para>
150 </note>
151
152 <bridgehead renderas="sect4">Optional</bridgehead>
153 <para role="optional">
154 <xref linkend="curl"/>,
155 <xref linkend="dbus-glib"/>,
156 <xref linkend="doxygen"/>,
157 <xref linkend="GConf"/>,
158 <xref linkend="gst10-plugins-base"/> (with
159 <xref linkend="gst10-plugins-good"/> and
160 <xref linkend="gst10-libav"/> at runtime),
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 &gt; mozconfig &lt;&lt; "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:
197ac_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
202ac_add_options --disable-necko-wifi
203
204# GStreamer is necessary for H.264 video playback in HTML5 Video Player;
205# to be enabled, also remember to set "media.gstreamer.enabled" to "true"
206# in about:config. If you have GStreamer 1.x.y, uncomment this line:
207#ac_add_options --enable-gstreamer=1.0
208
209# Uncomment these lines if you have installed optional dependencies:
210#ac_add_options --enable-system-hunspell
211#ac_add_options --enable-startup-notification
212
213# Comment out following option if you have PulseAudio installed
214ac_add_options --disable-pulseaudio
215
216# Comment out following option if you have gconf installed
217ac_add_options --disable-gconf
218
219# Comment out following options if you have not installed
220# recommended dependencies:
221# Do not use system SQLite for SeaMonkey based on XUL-47
222#ac_add_options --enable-system-sqlite
223ac_add_options --with-system-libevent
224ac_add_options --with-system-libvpx
225ac_add_options --with-system-nspr
226ac_add_options --with-system-nss
227ac_add_options --with-system-icu
228
229# The BLFS editors recommend not changing anything below this line:
230ac_add_options --prefix=/usr
231ac_add_options --enable-application=suite
232
233ac_add_options --disable-crashreporter
234ac_add_options --disable-updater
235ac_add_options --disable-tests
236
237ac_add_options --enable-optimize
238ac_add_options --enable-strip
239ac_add_options --enable-install-strip
240
241ac_add_options --enable-gio
242ac_add_options --enable-official-branding
243ac_add_options --enable-safe-browsing
244ac_add_options --enable-url-classifier
245
246# Use internal cairo due to reports of unstable execution with
247# system cairo
248#ac_add_options --enable-system-cairo
249ac_add_options --enable-system-ffi
250ac_add_options --enable-system-pixman
251
252ac_add_options --with-pthreads
253
254ac_add_options --with-system-bz2
255ac_add_options --with-system-jpeg
256ac_add_options --with-system-png
257ac_add_options --with-system-zlib
258
259mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
260EOF</userinput></screen>
261
262 <note><para>
263 If you are compiling <application>SeaMonkey</application> in chroot, make
264 sure you have the <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 commands:
278 </para>
279<!-- Should not be needed if Xorg setup instructions were followed
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 <para>
288 Fix an issue with GCC-6.0 and higher:
289 </para>
290
291<screen><userinput>patch -d mozilla/ -Np1 -i ../../seamonkey-&seamonkey-version;-gcc6-1.patch</userinput></screen>
292
293<screen><userinput>export CFLAGS_HOLD=$CFLAGS &amp;&amp;
294export CXXFLAGS_HOLD=$CXXFLAGS &amp;&amp;
295export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
296export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
297
298make -f client.mk</userinput></screen>
299
300 <para>
301 This package does not come with a test suite.
302 </para>
303
304 <para>
305 Install <application>SeaMonkey</application> by issuing the following
306 commands as the <systemitem class="username">root</systemitem> user:
307 </para>
308
309<screen role="root"><userinput>
310make -f client.mk install INSTALL_SDK= &amp;&amp;
311chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
312cp -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1 &amp;&amp;
313
314export CFLAGS=$CFLAGS_HOLD &amp;&amp;
315export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
316unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
317
318
319 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
320 All the Development Libraries and Headers
321 </bridgehead>
322
323 <para>
324 If you want to install the full <application>SeaMonkey</application>
325 development environment, as the
326 <systemitem class="username">root</systemitem> user:
327 </para>
328
329<screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
330 </sect2>
331
332 <sect2 role="commands">
333 <title>Command Explanations</title>
334
335 <para>
336 <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
337 of Makefile at the beginning of the build, where a file cannot be found.
338 </para>
339
340 <para>
341 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
342 settings work around code which gcc6 would otherwise regard as
343 out-of-specification and allow it to produce a working program.
344 </para>
345
346 <para>
347 <command>make -f client.mk</command>: Mozilla products are packaged to
348 allow the use of a configuration file which can be used to pass the
349 configuration settings to the <command>configure</command> command.
350 <command>make</command> uses the <filename>client.mk</filename> file to
351 get initial configuration and setup parameters.
352 </para>
353
354 </sect2>
355
356 <sect2 role="configuration">
357 <title>Configuring SeaMonkey</title>
358<!-- This worked for me without the extra configuration
359 <para>
360 If you did not add the <option>- -disable-webm</option> option to your
361 <filename>mozconfig</filename>, your <application>SeaMonkey</application>
362 can play most youtube videos without the need for the flash plugin. To
363 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
364 on 'Join the HTML5 Trial' (needs cookies enabled).
365 </para>
366-->
367 <para>
368 For installing various <application>SeaMonkey</application> plugins, refer
369 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
370 Project</ulink>.
371 </para>
372
373 <para>
374 Along with using the <quote>Preferences</quote> menu to configure
375 <application>SeaMonkey</application>'s options and preferences to suit
376 individual tastes, finer grain control of many options is only available
377 using a tool not available from the general menu system. To access this
378 tool, you'll need to open a browser window and enter
379 <systemitem role="url">about:config</systemitem> in the address bar. This
380 will display a list of the configuration preferences and information
381 related to each one. You can use the <quote>Filter:</quote> bar to enter
382 search criteria and narrow down the listed items. Changing a preference
383 can be done using two methods. One, if the preference has a boolean value
384 (True/False), simply double-click on the preference to toggle the value
385 and two, for other preferences simply right-click on the desired line,
386 choose <quote>Modify</quote> from the menu and change the value. Creating
387 new preference items is accomplished in the same way, except choose
388 <quote>New</quote> from the menu and provide the desired data into the
389 fields when prompted.
390 </para>
391
392 <tip>
393 <para>
394 There is a multitude of configuration parameters you can tweak to
395 customize <application>SeaMonkey</application>. A very extensive list of
396 these parameters can be found at
397 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
398 </para>
399 </tip>
400
401 <para>
402 If you use a desktop environment like <application>Gnome</application> or
403 <application>KDE</application> you may wish to create a
404 <filename>seamonkey.desktop</filename> file so that
405 <application>SeaMonkey</application> appears in the panel's menus. If you
406 didn't enable <application>Startup-Notification</application> in your
407 mozconfig change the StartupNotify line to false. As the
408 <systemitem class="username">root</systemitem> user:
409 </para>
410
411<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
412
413cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF" &amp;&amp;
414[Desktop Entry]
415Encoding=UTF-8
416Type=Application
417Name=SeaMonkey
418Comment=The Mozilla Suite
419Icon=seamonkey
420Exec=seamonkey
421Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
422StartupNotify=true
423Terminal=false
424EOF
425
426ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
427 /usr/share/pixmaps</userinput></screen>
428 </sect2>
429
430 <sect2 role="content">
431 <title>Contents</title>
432
433 <segmentedlist>
434 <segtitle>Installed Programs</segtitle>
435 <segtitle>Installed Libraries</segtitle>
436 <segtitle>Installed Directory</segtitle>
437
438 <seglistitem>
439 <seg>seamonkey</seg>
440 <seg>
441 Numerous libraries, browser, and email/newsgroup components, plugins,
442 extensions, and helper modules installed in <filename
443 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
444 </seg>
445 <seg>
446 /usr/lib/seamonkey-&seamonkey-version;
447 </seg>
448 </seglistitem>
449 </segmentedlist>
450
451 <variablelist>
452 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
453 <?dbfo list-presentation="list"?>
454 <?dbhtml list-presentation="table"?>
455
456 <varlistentry id="seamonkey-prog">
457 <term><command>seamonkey</command></term>
458 <listitem>
459 <para>
460 is the Mozilla browser/email/newsgroup/chat client suite.
461 </para>
462 <indexterm zone="seamonkey seamonkey-prog">
463 <primary sortas="b-seamonkey">seamonkey</primary>
464 </indexterm>
465 </listitem>
466 </varlistentry>
467 </variablelist>
468 </sect2>
469</sect1>
Note: See TracBrowser for help on using the repository browser.