source: xsoft/graphweb/seamonkey.xml@ 601e298

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 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 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 601e298 was d6c6562, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Remove gcc7 entity

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

  • Property mode set to 100644
File size: 15.5 KB
RevLine 
[f939f05]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[f939f05]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[c9b986ed]7 <!ENTITY seamonkey-download-http "&mozilla-http;/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz">
[74887424]8 <!ENTITY seamonkey-download-ftp " ">
[9a78b166]9 <!ENTITY seamonkey-md5sum "cf9ccf46be9359bd82e1931e083e942f">
10 <!ENTITY seamonkey-size "210 MB">
11 <!ENTITY seamonkey-buildsize "4.4 GB (125 MB installed)">
12 <!ENTITY seamonkey-time "15 SBU (using parallelism=4)">
[a41f643]13]>
[f939f05]14
[d59969b]15<sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
[b5eb704]16 <?dbhtml filename="seamonkey.html" ?>
[88dd2f52]17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
[d59969b]23 <title>SeaMonkey-&seamonkey-version;</title>
[88dd2f52]24
[b5eb704]25 <indexterm zone="seamonkey">
[d59969b]26 <primary sortas="a-SeaMonkey">SeaMonkey</primary>
[88dd2f52]27 </indexterm>
28
29 <sect2 role="package">
[d59969b]30 <title>Introduction to SeaMonkey</title>
[88dd2f52]31
[a0d389d]32 <para>
33 <application>SeaMonkey</application> is a browser suite, the Open Source
34 sibling of <application>Netscape</application>. It includes the browser,
35 composer, mail and news clients, and an IRC client. It is the follow-on
36 to the Mozilla browser suite.
37 </para>
38
39 <para>
40 The Mozilla project also hosts two subprojects that aim to satisfy the
41 needs of users who don't need the complete browser suite or prefer to have
42 separate applications for browsing and e-mail. These subprojects are
43 <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
44 based on the <application>Mozilla</application> source code.
45 </para>
[88cec02]46
[3fd9e8eb]47 &lfs80_checked;
[88dd2f52]48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
[d2e21cb0]51 <listitem>
[a0d389d]52 <para>
53 Download (HTTP): <ulink url="&seamonkey-download-http;"/>
54 </para>
[d2e21cb0]55 </listitem>
[88dd2f52]56 <listitem>
[a0d389d]57 <para>
58 Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
59 </para>
[88dd2f52]60 </listitem>
61 <listitem>
[a0d389d]62 <para>
63 Download MD5 sum: &seamonkey-md5sum;
64 </para>
[88dd2f52]65 </listitem>
66 <listitem>
[a0d389d]67 <para>
68 Download size: &seamonkey-size;
69 </para>
[88dd2f52]70 </listitem>
71 <listitem>
[a0d389d]72 <para>
73 Estimated disk space required: &seamonkey-buildsize;
74 </para>
[88dd2f52]75 </listitem>
76 <listitem>
[a0d389d]77 <para>
78 Estimated build time: &seamonkey-time;
79 </para>
[88dd2f52]80 </listitem>
81 </itemizedlist>
[52519fdd]82<!--
[82a27795]83 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
84 <itemizedlist spacing="compact">
85 <listitem>
86 <para>
87 Required patch if using gcc-6 or later
88 <ulink url="&patch-root;/seamonkey-&seamonkey-version;-gcc6-1.patch"/>
89 </para>
90 </listitem>
91 </itemizedlist>
[52519fdd]92-->
[f06c692]93 <note>
94 <para>
95 The tarball
96 <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
97 untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
98 </para>
99 </note>
100
[d59969b]101 <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
[88dd2f52]102
103 <bridgehead renderas="sect4">Required</bridgehead>
[a0d389d]104 <para role="required">
105 <xref linkend="alsa-lib"/>,
[e0ba182]106 <xref linkend="autoconf213"/>,
[a0d389d]107 <xref linkend="gtk2"/>,
[01cd3461]108 <xref linkend="unzip"/>,
109 <xref linkend="yasm"/>, and
110 <xref linkend="zip"/>
[a0d389d]111 </para>
[b5eb704]112
113 <bridgehead renderas="sect4">Recommended</bridgehead>
[a0d389d]114 <para role="recommended">
[566fcae]115 <xref linkend="icu"/>,
116 <xref linkend="libevent"/>,
117 <xref linkend="libvpx"/>,
[2e3b77b]118 <xref linkend="nspr"/>,
119 <xref linkend="nss"/>, and
120 <xref linkend="sqlite"/>
[82a27795]121 </para>
[3a00b7b8]122<!--
[82a27795]123 <bridgehead renderas="sect4">Optional</bridgehead>
124 <para role="optional">
125 <xref linkend="sqlite"/> (not recommended due to potential
126 security concerns)
[a0d389d]127 </para>
[3a00b7b8]128-->
[316d9591]129 <note>
130 <para>
[566fcae]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
[0c3e9be8]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
[566fcae]147 <emphasis>currently maintained</emphasis> version of Openssl should be
[58b7101]148 satisfactory if already installed.
[566fcae]149 </para>
150 </note>
151
[88dd2f52]152 <bridgehead renderas="sect4">Optional</bridgehead>
[a0d389d]153 <para role="optional">
[566fcae]154 <xref linkend="curl"/>,
[a0d389d]155 <xref linkend="dbus-glib"/>,
156 <xref linkend="doxygen"/>,
[89cdb63d]157 <xref linkend="GConf"/>,
[3a00b7b8]158 <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
[1c69133]159 <xref linkend="openjdk"/>,
160 <xref linkend="pulseaudio"/>,
[566fcae]161 <xref linkend="startup-notification"/>,
162 <xref linkend="valgrind"/>,
163 <xref linkend="wget"/>,
164 <xref linkend="wireless_tools"/>, and
[16890f2]165 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
[a0d389d]166 </para>
167
168 <para condition="html" role="usernotes">
169 User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
170 </para>
[566fcae]171
[88dd2f52]172 </sect2>
173
174 <sect2 role="installation">
[d59969b]175 <title>Installation of SeaMonkey</title>
[6a79dc72]176
[a0d389d]177 <para>
178 The configuration of <application>SeaMonkey</application> is accomplished
179 by creating a <filename>mozconfig</filename> file containing the desired
180 configuration options. A default <filename>mozconfig</filename> file is
181 created below. To see the entire list of available configuration options
182 (and an abbreviated description of each one), issue
183 <command>./configure --help</command>. You may also wish to review the
184 entire file and uncomment any other desired options. Create the file by
185 issuing the following command:
186 </para>
[7f588e9a]187
[4def8b6]188<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
[566fcae]189<literal># If you have a multicore machine, all cores will be used by default.
[637f310]190# If desired, you can reduce the number of cores used, e.g. to 1, by
[566fcae]191# uncommenting the next line and setting a valid number of CPU cores.
192#mk_add_options MOZ_MAKE_FLAGS="-j1"
[d59969b]193
[566fcae]194# If you have installed DBus-Glib comment out this line:
[88cec02]195ac_add_options --disable-dbus
[7f588e9a]196
[566fcae]197# If you have installed dbus-glib, and you have installed (or will install)
198# wireless-tools, and you wish to use geolocation web services, comment out
199# this line
[88cec02]200ac_add_options --disable-necko-wifi
[d59969b]201
[566fcae]202# Uncomment these lines if you have installed optional dependencies:
203#ac_add_options --enable-system-hunspell
204#ac_add_options --enable-startup-notification
205
[3a00b7b8]206# Comment out the following option if you have PulseAudio installed
207ac_add_options --disable-pulseaudio
[89cdb63d]208
209# Comment out following option if you have gconf installed
210ac_add_options --disable-gconf
211
[566fcae]212# Comment out following options if you have not installed
213# recommended dependencies:
[2e3b77b]214ac_add_options --enable-system-sqlite
[566fcae]215ac_add_options --with-system-libevent
216ac_add_options --with-system-libvpx
217ac_add_options --with-system-nspr
218ac_add_options --with-system-nss
[2e3b77b]219
220# Us the internal version of icu due to execution problems
221#ac_add_options --with-system-icu
[566fcae]222
223# The BLFS editors recommend not changing anything below this line:
224ac_add_options --prefix=/usr
225ac_add_options --enable-application=suite
[d59969b]226
[a45062d]227ac_add_options --disable-crashreporter
228ac_add_options --disable-updater
[566fcae]229ac_add_options --disable-tests
230
[9a78b166]231ac_add_options --enable-optimize="-O2"
[566fcae]232ac_add_options --enable-strip
233ac_add_options --enable-install-strip
234
235ac_add_options --enable-gio
236ac_add_options --enable-official-branding
237ac_add_options --enable-safe-browsing
238ac_add_options --enable-url-classifier
239
[a7035bb]240# Use internal cairo due to reports of unstable execution with
241# system cairo
242#ac_add_options --enable-system-cairo
[a45062d]243ac_add_options --enable-system-ffi
[566fcae]244ac_add_options --enable-system-pixman
245
[a0ace670]246ac_add_options --with-pthreads
[566fcae]247
248ac_add_options --with-system-bz2
[a0ace670]249ac_add_options --with-system-jpeg
250ac_add_options --with-system-png
[2e3b77b]251ac_add_options --with-system-zlib</literal>
[2d237fa]252EOF</userinput></screen>
[d59969b]253
[566fcae]254 <note><para>
255 If you are compiling <application>SeaMonkey</application> in chroot, make
[637f310]256 sure you have the <envar>SHELL</envar> environment variable set or prepend
[566fcae]257 <envar>SHELL=/bin/sh</envar> to the first make command below.
258 </para></note>
259
[a0d389d]260 <para>
261 Compile <application>SeaMonkey</application> by running the following
[82a27795]262 commands:
[a0d389d]263 </para>
[b0ed6bdf]264
[2e3b77b]265<screen><userinput>CFLAGS_HOLD=$CFLAGS &amp;&amp;
266CXXFLAGS_HOLD=$CXXFLAGS &amp;&amp;
267EXTRA_FLAGS=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
268export CFLAGS+=$EXTRA_FLAGS &amp;&amp;
269export CXXFLAGS+=$EXTRA_FLAGS &amp;&amp;
270unset EXTRA_FLAGS &amp;&amp;
[82a27795]271
[5c80fdc3]272sed -e /static_assert/s/_EVENT_SIZEOF/EVENT__SIZEOF/ \
[3fd9e8eb]273 -i mozilla/ipc/chromium/src/base/message_pump_libevent.cc
274
[82a27795]275make -f client.mk</userinput></screen>
[7f588e9a]276
[a0d389d]277 <para>
[72ac7f2]278 This package does not come with a test suite.
[a0d389d]279 </para>
[87c2868]280
[a0d389d]281 <para>
282 Install <application>SeaMonkey</application> by issuing the following
283 commands as the <systemitem class="username">root</systemitem> user:
284 </para>
[7f588e9a]285
[3551afa]286<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
287chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
[2e3b77b]288
289cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
[82a27795]290
[3551afa]291 <para>
292 Set the compilation flags back to their original values:
293 </para>
294
295<screen><userinput>export CFLAGS=$CFLAGS_HOLD &amp;&amp;
[82a27795]296export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
297unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
298
[b83d289]299 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
[2b89e0a]300 All the Development Libraries and Headers
301 </bridgehead>
[fc9245e]302
[7498751]303 <para>
[b83d289]304 If you want to install the full <application>SeaMonkey</application>
[495ebe07]305 development environment, as the
306 <systemitem class="username">root</systemitem> user:
[7498751]307 </para>
308
[2e3b77b]309<screen role="root"><userinput>make -C obj* install</userinput></screen>
310
311 <note>
312 <para>
313 The build directory is set by the make procedure and is dependent on
[0639bb6]314 the system architecture, but the directory name starts with 'obj'.
[2e3b77b]315 </para>
316 </note>
317
[7f588e9a]318 </sect2>
319
320 <sect2 role="commands">
321 <title>Command Explanations</title>
[88cec02]322
[82a27795]323 <para>
324 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
[a9c87c7]325 settings work around code which gcc6 and later would otherwise regard as
[82a27795]326 out-of-specification and allow it to produce a working program.
327 </para>
328
[3fd9e8eb]329 <para>
330 <command>sed ... message_pump_libevent.cc</command>: Fix an
331 error due to changes in libevent-2.1.8 and later.
332 </para>
333
[a0d389d]334 <para>
335 <command>make -f client.mk</command>: Mozilla products are packaged to
336 allow the use of a configuration file which can be used to pass the
337 configuration settings to the <command>configure</command> command.
338 <command>make</command> uses the <filename>client.mk</filename> file to
339 get initial configuration and setup parameters.
340 </para>
341
[88dd2f52]342 </sect2>
343
344 <sect2 role="configuration">
[d59969b]345 <title>Configuring SeaMonkey</title>
[2e3b77b]346
[a0d389d]347 <para>
348 For installing various <application>SeaMonkey</application> plugins, refer
349 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
350 Project</ulink>.
351 </para>
352
353 <para>
354 Along with using the <quote>Preferences</quote> menu to configure
355 <application>SeaMonkey</application>'s options and preferences to suit
356 individual tastes, finer grain control of many options is only available
357 using a tool not available from the general menu system. To access this
358 tool, you'll need to open a browser window and enter
359 <systemitem role="url">about:config</systemitem> in the address bar. This
360 will display a list of the configuration preferences and information
361 related to each one. You can use the <quote>Filter:</quote> bar to enter
362 search criteria and narrow down the listed items. Changing a preference
363 can be done using two methods. One, if the preference has a boolean value
364 (True/False), simply double-click on the preference to toggle the value
365 and two, for other preferences simply right-click on the desired line,
366 choose <quote>Modify</quote> from the menu and change the value. Creating
367 new preference items is accomplished in the same way, except choose
368 <quote>New</quote> from the menu and provide the desired data into the
369 fields when prompted.
370 </para>
[7f588e9a]371
372 <tip>
[a0d389d]373 <para>
374 There is a multitude of configuration parameters you can tweak to
375 customize <application>SeaMonkey</application>. A very extensive list of
376 these parameters can be found at
377 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
378 </para>
[7f588e9a]379 </tip>
380
[a0d389d]381 <para>
382 If you use a desktop environment like <application>Gnome</application> or
383 <application>KDE</application> you may wish to create a
384 <filename>seamonkey.desktop</filename> file so that
[b83d289]385 <application>SeaMonkey</application> appears in the panel's menus. If you
[a0d389d]386 didn't enable <application>Startup-Notification</application> in your
387 mozconfig change the StartupNotify line to false. As the
388 <systemitem class="username">root</systemitem> user:
389 </para>
[5e2fb70]390
[4520f55]391<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
[fc9245e]392
[f002c3c]393cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
[5e2fb70]394[Desktop Entry]
395Encoding=UTF-8
396Type=Application
[b83d289]397Name=SeaMonkey
[5e2fb70]398Comment=The Mozilla Suite
399Icon=seamonkey
400Exec=seamonkey
401Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
402StartupNotify=true
403Terminal=false
404EOF
[fc9245e]405
[6a79dc72]406ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
407 /usr/share/pixmaps</userinput></screen>
[88dd2f52]408 </sect2>
409
410 <sect2 role="content">
411 <title>Contents</title>
412
413 <segmentedlist>
[7f588e9a]414 <segtitle>Installed Programs</segtitle>
[88dd2f52]415 <segtitle>Installed Libraries</segtitle>
[c5f005b]416 <segtitle>Installed Directory</segtitle>
[88dd2f52]417
418 <seglistitem>
[88cec02]419 <seg>seamonkey</seg>
[a0d389d]420 <seg>
421 Numerous libraries, browser, and email/newsgroup components, plugins,
422 extensions, and helper modules installed in <filename
423 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
424 </seg>
[7498751]425 <seg>
[316d9591]426 /usr/lib/seamonkey-&seamonkey-version;
[7498751]427 </seg>
[88dd2f52]428 </seglistitem>
429 </segmentedlist>
430
431 <variablelist>
432 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
433 <?dbfo list-presentation="list"?>
434 <?dbhtml list-presentation="table"?>
435
[b5eb704]436 <varlistentry id="seamonkey-prog">
437 <term><command>seamonkey</command></term>
[88dd2f52]438 <listitem>
[a0d389d]439 <para>
[de930747]440 is the Mozilla browser/email/newsgroup/chat client suite.
[a0d389d]441 </para>
[b5eb704]442 <indexterm zone="seamonkey seamonkey-prog">
443 <primary sortas="b-seamonkey">seamonkey</primary>
[88dd2f52]444 </indexterm>
445 </listitem>
446 </varlistentry>
447 </variablelist>
448 </sect2>
[f45b1953]449</sect1>
Note: See TracBrowser for help on using the repository browser.