source: xsoft/graphweb/seamonkey.xml@ 080b2f6

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 080b2f6 was 080b2f6, checked in by Pierre Labastie <pieere@…>, 7 years ago

seamonkey needs "--disable-gstreamer" when gstreamer is not installed.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17985 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 &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>
312make -f client.mk install INSTALL_SDK= &amp;&amp;
313chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
314cp -v moz-build-dir/dist/man/man1/seamonkey.1 /usr/share/man/man1 &amp;&amp;
315
316export CFLAGS=$CFLAGS_HOLD &amp;&amp;
317export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
318unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
319
320
321 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
322 All the Development Libraries and Headers
323 </bridgehead>
324
325 <para>
326 If you want to install the full <application>SeaMonkey</application>
327 development environment, as the
328 <systemitem class="username">root</systemitem> user:
329 </para>
330
331<screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
332 </sect2>
333
334 <sect2 role="commands">
335 <title>Command Explanations</title>
336
337 <para>
338 <command>mkdir -vp mozilla/moz-build-dir</command>: fixes a build failure
339 of Makefile at the beginning of the build, where a file cannot be found.
340 </para>
341
342 <para>
343 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
344 settings work around code which gcc6 would otherwise regard as
345 out-of-specification and allow it to produce a working program.
346 </para>
347
348 <para>
349 <command>make -f client.mk</command>: Mozilla products are packaged to
350 allow the use of a configuration file which can be used to pass the
351 configuration settings to the <command>configure</command> command.
352 <command>make</command> uses the <filename>client.mk</filename> file to
353 get initial configuration and setup parameters.
354 </para>
355
356 </sect2>
357
358 <sect2 role="configuration">
359 <title>Configuring SeaMonkey</title>
360<!-- This worked for me without the extra configuration
361 <para>
362 If you did not add the <option>- -disable-webm</option> option to your
363 <filename>mozconfig</filename>, your <application>SeaMonkey</application>
364 can play most youtube videos without the need for the flash plugin. To
365 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
366 on 'Join the HTML5 Trial' (needs cookies enabled).
367 </para>
368-->
369 <para>
370 For installing various <application>SeaMonkey</application> plugins, refer
371 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
372 Project</ulink>.
373 </para>
374
375 <para>
376 Along with using the <quote>Preferences</quote> menu to configure
377 <application>SeaMonkey</application>'s options and preferences to suit
378 individual tastes, finer grain control of many options is only available
379 using a tool not available from the general menu system. To access this
380 tool, you'll need to open a browser window and enter
381 <systemitem role="url">about:config</systemitem> in the address bar. This
382 will display a list of the configuration preferences and information
383 related to each one. You can use the <quote>Filter:</quote> bar to enter
384 search criteria and narrow down the listed items. Changing a preference
385 can be done using two methods. One, if the preference has a boolean value
386 (True/False), simply double-click on the preference to toggle the value
387 and two, for other preferences simply right-click on the desired line,
388 choose <quote>Modify</quote> from the menu and change the value. Creating
389 new preference items is accomplished in the same way, except choose
390 <quote>New</quote> from the menu and provide the desired data into the
391 fields when prompted.
392 </para>
393
394 <tip>
395 <para>
396 There is a multitude of configuration parameters you can tweak to
397 customize <application>SeaMonkey</application>. A very extensive list of
398 these parameters can be found at
399 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
400 </para>
401 </tip>
402
403 <para>
404 If you use a desktop environment like <application>Gnome</application> or
405 <application>KDE</application> you may wish to create a
406 <filename>seamonkey.desktop</filename> file so that
407 <application>SeaMonkey</application> appears in the panel's menus. If you
408 didn't enable <application>Startup-Notification</application> in your
409 mozconfig change the StartupNotify line to false. As the
410 <systemitem class="username">root</systemitem> user:
411 </para>
412
413<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
414
415cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
416[Desktop Entry]
417Encoding=UTF-8
418Type=Application
419Name=SeaMonkey
420Comment=The Mozilla Suite
421Icon=seamonkey
422Exec=seamonkey
423Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
424StartupNotify=true
425Terminal=false
426EOF
427
428ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
429 /usr/share/pixmaps</userinput></screen>
430 </sect2>
431
432 <sect2 role="content">
433 <title>Contents</title>
434
435 <segmentedlist>
436 <segtitle>Installed Programs</segtitle>
437 <segtitle>Installed Libraries</segtitle>
438 <segtitle>Installed Directory</segtitle>
439
440 <seglistitem>
441 <seg>seamonkey</seg>
442 <seg>
443 Numerous libraries, browser, and email/newsgroup components, plugins,
444 extensions, and helper modules installed in <filename
445 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
446 </seg>
447 <seg>
448 /usr/lib/seamonkey-&seamonkey-version;
449 </seg>
450 </seglistitem>
451 </segmentedlist>
452
453 <variablelist>
454 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
455 <?dbfo list-presentation="list"?>
456 <?dbhtml list-presentation="table"?>
457
458 <varlistentry id="seamonkey-prog">
459 <term><command>seamonkey</command></term>
460 <listitem>
461 <para>
462 is the Mozilla browser/email/newsgroup/chat client suite.
463 </para>
464 <indexterm zone="seamonkey seamonkey-prog">
465 <primary sortas="b-seamonkey">seamonkey</primary>
466 </indexterm>
467 </listitem>
468 </varlistentry>
469 </variablelist>
470 </sect2>
471</sect1>
Note: See TracBrowser for help on using the repository browser.