source: xsoft/graphweb/seamonkey.xml@ 3551afa

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 3551afa was 3551afa, checked in by Pierre Labastie <pieere@…>, 7 years ago

Compilation flags should be set back to their orignal values in the user shell,
not as root

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

  • Property mode set to 100644
File size: 16.9 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 &lfs7a_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, comment out this line and
207# uncomment the following one:
208ac_add_options --disable-gstreamer
209#ac_add_options --enable-gstreamer=1.0
210
211# Uncomment these lines if you have installed optional dependencies:
212#ac_add_options --enable-system-hunspell
213#ac_add_options --enable-startup-notification
214
215# Comment out following option if you have PulseAudio installed
216ac_add_options --disable-pulseaudio
217
218# Comment out following option if you have gconf installed
219ac_add_options --disable-gconf
220
221# Comment out following options if you have not installed
222# recommended dependencies:
223# Do not use system SQLite for SeaMonkey based on XUL-47
224#ac_add_options --enable-system-sqlite
225ac_add_options --with-system-libevent
226ac_add_options --with-system-libvpx
227ac_add_options --with-system-nspr
228ac_add_options --with-system-nss
229ac_add_options --with-system-icu
230
231# The BLFS editors recommend not changing anything below this line:
232ac_add_options --prefix=/usr
233ac_add_options --enable-application=suite
234
235ac_add_options --disable-crashreporter
236ac_add_options --disable-updater
237ac_add_options --disable-tests
238
239ac_add_options --enable-optimize
240ac_add_options --enable-strip
241ac_add_options --enable-install-strip
242
243ac_add_options --enable-gio
244ac_add_options --enable-official-branding
245ac_add_options --enable-safe-browsing
246ac_add_options --enable-url-classifier
247
248# Use internal cairo due to reports of unstable execution with
249# system cairo
250#ac_add_options --enable-system-cairo
251ac_add_options --enable-system-ffi
252ac_add_options --enable-system-pixman
253
254ac_add_options --with-pthreads
255
256ac_add_options --with-system-bz2
257ac_add_options --with-system-jpeg
258ac_add_options --with-system-png
259ac_add_options --with-system-zlib
260
261mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir</literal>
262EOF</userinput></screen>
263
264 <note><para>
265 If you are compiling <application>SeaMonkey</application> in chroot, make
266 sure you have the <envar>SHELL</envar> environment variable set or prepend
267 <envar>SHELL=/bin/sh</envar> to the first make command below.
268 </para></note>
269
270 <para>
271 The moz-build-dir directory needs to exist and match the value used in
272 mozconfig (above) for the object directory (MOZ_OBJDIR):
273 </para>
274
275<screen><userinput>mkdir -vp mozilla/moz-build-dir</userinput></screen>
276
277 <para>
278 Compile <application>SeaMonkey</application> by running the following
279 commands:
280 </para>
281<!-- Should not be needed if Xorg setup instructions were followed
282 <note><para>If you did not install Xorg in /usr, be sure to specify the
283 location with:</para>
284
285 <screen><userinput>export CPLUS_INCLUDE_PATH=$XORG_PREFIX/include
286export C_INCLUDE_PATH=$XORG_PREFIX/include</userinput></screen>
287 </note>
288-->
289 <para>
290 Fix an issue with GCC-6.0 and higher:
291 </para>
292
293<screen><userinput>patch -d mozilla/ -Np1 -i ../../seamonkey-&seamonkey-version;-gcc6-1.patch</userinput></screen>
294
295<screen><userinput>export CFLAGS_HOLD=$CFLAGS &amp;&amp;
296export CXXFLAGS_HOLD=$CXXFLAGS &amp;&amp;
297export CFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
298export CXXFLAGS+=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
299
300make -f client.mk</userinput></screen>
301
302 <para>
303 This package does not come with a test suite.
304 </para>
305
306 <para>
307 Install <application>SeaMonkey</application> by issuing the following
308 commands as the <systemitem class="username">root</systemitem> user:
309 </para>
310
311<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
312chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
313cp -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
314
315 <para>
316 Set the compilation flags back to their original values:
317 </para>
318
319<screen><userinput>export CFLAGS=$CFLAGS_HOLD &amp;&amp;
320export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
321unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
322
323
324 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
325 All the Development Libraries and Headers
326 </bridgehead>
327
328 <para>
329 If you want to install the full <application>SeaMonkey</application>
330 development environment, as the
331 <systemitem class="username">root</systemitem> user:
332 </para>
333
334<screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
335 </sect2>
336
337 <sect2 role="commands">
338 <title>Command Explanations</title>
339
340 <para>
341 <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
342 of Makefile at the beginning of the build, where a file cannot be found.
343 </para>
344
345 <para>
346 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
347 settings work around code which gcc6 would otherwise regard as
348 out-of-specification and allow it to produce a working program.
349 </para>
350
351 <para>
352 <command>make -f client.mk</command>: Mozilla products are packaged to
353 allow the use of a configuration file which can be used to pass the
354 configuration settings to the <command>configure</command> command.
355 <command>make</command> uses the <filename>client.mk</filename> file to
356 get initial configuration and setup parameters.
357 </para>
358
359 </sect2>
360
361 <sect2 role="configuration">
362 <title>Configuring SeaMonkey</title>
363<!-- This worked for me without the extra configuration
364 <para>
365 If you did not add the <option>- -disable-webm</option> option to your
366 <filename>mozconfig</filename>, your <application>SeaMonkey</application>
367 can play most youtube videos without the need for the flash plugin. To
368 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
369 on 'Join the HTML5 Trial' (needs cookies enabled).
370 </para>
371-->
372 <para>
373 For installing various <application>SeaMonkey</application> plugins, refer
374 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
375 Project</ulink>.
376 </para>
377
378 <para>
379 Along with using the <quote>Preferences</quote> menu to configure
380 <application>SeaMonkey</application>'s options and preferences to suit
381 individual tastes, finer grain control of many options is only available
382 using a tool not available from the general menu system. To access this
383 tool, you'll need to open a browser window and enter
384 <systemitem role="url">about:config</systemitem> in the address bar. This
385 will display a list of the configuration preferences and information
386 related to each one. You can use the <quote>Filter:</quote> bar to enter
387 search criteria and narrow down the listed items. Changing a preference
388 can be done using two methods. One, if the preference has a boolean value
389 (True/False), simply double-click on the preference to toggle the value
390 and two, for other preferences simply right-click on the desired line,
391 choose <quote>Modify</quote> from the menu and change the value. Creating
392 new preference items is accomplished in the same way, except choose
393 <quote>New</quote> from the menu and provide the desired data into the
394 fields when prompted.
395 </para>
396
397 <tip>
398 <para>
399 There is a multitude of configuration parameters you can tweak to
400 customize <application>SeaMonkey</application>. A very extensive list of
401 these parameters can be found at
402 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
403 </para>
404 </tip>
405
406 <para>
407 If you use a desktop environment like <application>Gnome</application> or
408 <application>KDE</application> you may wish to create a
409 <filename>seamonkey.desktop</filename> file so that
410 <application>SeaMonkey</application> appears in the panel's menus. If you
411 didn't enable <application>Startup-Notification</application> in your
412 mozconfig change the StartupNotify line to false. As the
413 <systemitem class="username">root</systemitem> user:
414 </para>
415
416<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
417
418cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
419[Desktop Entry]
420Encoding=UTF-8
421Type=Application
422Name=SeaMonkey
423Comment=The Mozilla Suite
424Icon=seamonkey
425Exec=seamonkey
426Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
427StartupNotify=true
428Terminal=false
429EOF
430
431ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
432 /usr/share/pixmaps</userinput></screen>
433 </sect2>
434
435 <sect2 role="content">
436 <title>Contents</title>
437
438 <segmentedlist>
439 <segtitle>Installed Programs</segtitle>
440 <segtitle>Installed Libraries</segtitle>
441 <segtitle>Installed Directory</segtitle>
442
443 <seglistitem>
444 <seg>seamonkey</seg>
445 <seg>
446 Numerous libraries, browser, and email/newsgroup components, plugins,
447 extensions, and helper modules installed in <filename
448 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
449 </seg>
450 <seg>
451 /usr/lib/seamonkey-&seamonkey-version;
452 </seg>
453 </seglistitem>
454 </segmentedlist>
455
456 <variablelist>
457 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
458 <?dbfo list-presentation="list"?>
459 <?dbhtml list-presentation="table"?>
460
461 <varlistentry id="seamonkey-prog">
462 <term><command>seamonkey</command></term>
463 <listitem>
464 <para>
465 is the Mozilla browser/email/newsgroup/chat client suite.
466 </para>
467 <indexterm zone="seamonkey seamonkey-prog">
468 <primary sortas="b-seamonkey">seamonkey</primary>
469 </indexterm>
470 </listitem>
471 </varlistentry>
472 </variablelist>
473 </sect2>
474</sect1>
Note: See TracBrowser for help on using the repository browser.