source: xsoft/graphweb/seamonkey.xml@ 5c80fdc3

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

Update sed instructions in seamonkey

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

  • Property mode set to 100644
File size: 16.0 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 "cf9ccf46be9359bd82e1931e083e942f">
11 <!ENTITY seamonkey-size "210 MB">
12 <!ENTITY seamonkey-buildsize "4.4 GB (125 MB installed)">
13 <!ENTITY seamonkey-time "15 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 &lfs80_checked;
49 &gcc7_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">Additional Downloads</bridgehead>
86 <itemizedlist spacing="compact">
87 <listitem>
88 <para>
89 Required patch if using gcc-6 or later
90 <ulink url="&patch-root;/seamonkey-&seamonkey-version;-gcc6-1.patch"/>
91 </para>
92 </listitem>
93 </itemizedlist>
94-->
95 <note>
96 <para>
97 The tarball
98 <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
99 untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
100 </para>
101 </note>
102
103 <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
104
105 <bridgehead renderas="sect4">Required</bridgehead>
106 <para role="required">
107 <xref linkend="alsa-lib"/>,
108 <xref linkend="autoconf213"/>,
109 <xref linkend="gtk2"/>,
110 <xref linkend="unzip"/>,
111 <xref linkend="yasm"/>, and
112 <xref linkend="zip"/>
113 </para>
114
115 <bridgehead renderas="sect4">Recommended</bridgehead>
116 <para role="recommended">
117 <xref linkend="icu"/>,
118 <xref linkend="libevent"/>,
119 <xref linkend="libvpx"/>,
120 <xref linkend="nspr"/>,
121 <xref linkend="nss"/>, and
122 <xref linkend="sqlite"/>
123 </para>
124<!--
125 <bridgehead renderas="sect4">Optional</bridgehead>
126 <para role="optional">
127 <xref linkend="sqlite"/> (not recommended due to potential
128 security concerns)
129 </para>
130-->
131 <note>
132 <para>
133 If you don't install recommended dependencies, then internal copies of
134 those packages will be used. They might be tested to work, but they can
135 be out of date or contain security holes.
136 </para>
137 </note>
138
139 <note>
140 <para>
141 You must have installed <application>Openssl</application> before
142 <application>Python 2</application> or the build system will quickly
143 fail with output including "ImportError: cannot import name
144 HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
145 an older version of Seamonkey), check if
146 <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
147 exists. If it does not, reinstall <xref linkend="python2"/> (after
148 installing <xref linkend="openssl"/>. The latest version of any
149 <emphasis>currently maintained</emphasis> version of Openssl should be
150 satisfactory if already installed.
151 </para>
152 </note>
153
154 <bridgehead renderas="sect4">Optional</bridgehead>
155 <para role="optional">
156 <xref linkend="curl"/>,
157 <xref linkend="dbus-glib"/>,
158 <xref linkend="doxygen"/>,
159 <xref linkend="GConf"/>,
160 <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
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# Uncomment these lines if you have installed optional dependencies:
205#ac_add_options --enable-system-hunspell
206#ac_add_options --enable-startup-notification
207
208# Comment out the following option if you have PulseAudio installed
209ac_add_options --disable-pulseaudio
210
211# Comment out following option if you have gconf installed
212ac_add_options --disable-gconf
213
214# Comment out following options if you have not installed
215# recommended dependencies:
216ac_add_options --enable-system-sqlite
217ac_add_options --with-system-libevent
218ac_add_options --with-system-libvpx
219ac_add_options --with-system-nspr
220ac_add_options --with-system-nss
221
222# Us the internal version of icu due to execution problems
223#ac_add_options --with-system-icu
224
225# The BLFS editors recommend not changing anything below this line:
226ac_add_options --prefix=/usr
227ac_add_options --enable-application=suite
228
229ac_add_options --disable-crashreporter
230ac_add_options --disable-updater
231ac_add_options --disable-tests
232
233ac_add_options --enable-optimize="-O2"
234ac_add_options --enable-strip
235ac_add_options --enable-install-strip
236
237ac_add_options --enable-gio
238ac_add_options --enable-official-branding
239ac_add_options --enable-safe-browsing
240ac_add_options --enable-url-classifier
241
242# Use internal cairo due to reports of unstable execution with
243# system cairo
244#ac_add_options --enable-system-cairo
245ac_add_options --enable-system-ffi
246ac_add_options --enable-system-pixman
247
248ac_add_options --with-pthreads
249
250ac_add_options --with-system-bz2
251ac_add_options --with-system-jpeg
252ac_add_options --with-system-png
253ac_add_options --with-system-zlib</literal>
254EOF</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 Compile <application>SeaMonkey</application> by running the following
264 commands:
265 </para>
266
267<screen><userinput>CFLAGS_HOLD=$CFLAGS &amp;&amp;
268CXXFLAGS_HOLD=$CXXFLAGS &amp;&amp;
269EXTRA_FLAGS=" -fno-delete-null-pointer-checks -fno-lifetime-dse -fno-schedule-insns2" &amp;&amp;
270export CFLAGS+=$EXTRA_FLAGS &amp;&amp;
271export CXXFLAGS+=$EXTRA_FLAGS &amp;&amp;
272unset EXTRA_FLAGS &amp;&amp;
273
274sed -e /static_assert/s/_EVENT_SIZEOF/EVENT__SIZEOF/ \
275 -i mozilla/ipc/chromium/src/base/message_pump_libevent.cc
276
277make -f client.mk</userinput></screen>
278
279 <para>
280 This package does not come with a test suite.
281 </para>
282
283 <para>
284 Install <application>SeaMonkey</application> by issuing the following
285 commands as the <systemitem class="username">root</systemitem> user:
286 </para>
287
288<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
289chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
290
291cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
292
293 <para>
294 Set the compilation flags back to their original values:
295 </para>
296
297<screen><userinput>export CFLAGS=$CFLAGS_HOLD &amp;&amp;
298export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
299unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
300
301 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
302 All the Development Libraries and Headers
303 </bridgehead>
304
305 <para>
306 If you want to install the full <application>SeaMonkey</application>
307 development environment, as the
308 <systemitem class="username">root</systemitem> user:
309 </para>
310
311<screen role="root"><userinput>make -C obj* install</userinput></screen>
312
313 <note>
314 <para>
315 The build directory is set by the make procedure and is dependent on
316 the system architecture, but the directory name starts with 'obj'.
317 </para>
318 </note>
319
320 </sect2>
321
322 <sect2 role="commands">
323 <title>Command Explanations</title>
324
325 <para>
326 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
327 settings work around code which gcc6 would otherwise regard as
328 out-of-specification and allow it to produce a working program.
329 </para>
330
331 <para>
332 <command>sed -e 's/256/224/' ...</command>: Make the required key
333 length for ECDSA encryption compatible with RFC7540 9.2.1. Otherwise
334 some web sites cannot be accessed.
335 </para>
336
337 <para>
338 <command>sed ... icu.m4</command>: Fix an error identified by
339 sed-4.4 and later.
340 </para>
341
342 <para>
343 <command>sed ... message_pump_libevent.cc</command>: Fix an
344 error due to changes in libevent-2.1.8 and later.
345 </para>
346
347 <para>
348 <command>make -f client.mk</command>: Mozilla products are packaged to
349 allow the use of a configuration file which can be used to pass the
350 configuration settings to the <command>configure</command> command.
351 <command>make</command> uses the <filename>client.mk</filename> file to
352 get initial configuration and setup parameters.
353 </para>
354
355 </sect2>
356
357 <sect2 role="configuration">
358 <title>Configuring SeaMonkey</title>
359
360 <para>
361 For installing various <application>SeaMonkey</application> plugins, refer
362 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
363 Project</ulink>.
364 </para>
365
366 <para>
367 Along with using the <quote>Preferences</quote> menu to configure
368 <application>SeaMonkey</application>'s options and preferences to suit
369 individual tastes, finer grain control of many options is only available
370 using a tool not available from the general menu system. To access this
371 tool, you'll need to open a browser window and enter
372 <systemitem role="url">about:config</systemitem> in the address bar. This
373 will display a list of the configuration preferences and information
374 related to each one. You can use the <quote>Filter:</quote> bar to enter
375 search criteria and narrow down the listed items. Changing a preference
376 can be done using two methods. One, if the preference has a boolean value
377 (True/False), simply double-click on the preference to toggle the value
378 and two, for other preferences simply right-click on the desired line,
379 choose <quote>Modify</quote> from the menu and change the value. Creating
380 new preference items is accomplished in the same way, except choose
381 <quote>New</quote> from the menu and provide the desired data into the
382 fields when prompted.
383 </para>
384
385 <tip>
386 <para>
387 There is a multitude of configuration parameters you can tweak to
388 customize <application>SeaMonkey</application>. A very extensive list of
389 these parameters can be found at
390 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
391 </para>
392 </tip>
393
394 <para>
395 If you use a desktop environment like <application>Gnome</application> or
396 <application>KDE</application> you may wish to create a
397 <filename>seamonkey.desktop</filename> file so that
398 <application>SeaMonkey</application> appears in the panel's menus. If you
399 didn't enable <application>Startup-Notification</application> in your
400 mozconfig change the StartupNotify line to false. As the
401 <systemitem class="username">root</systemitem> user:
402 </para>
403
404<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
405
406cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
407[Desktop Entry]
408Encoding=UTF-8
409Type=Application
410Name=SeaMonkey
411Comment=The Mozilla Suite
412Icon=seamonkey
413Exec=seamonkey
414Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
415StartupNotify=true
416Terminal=false
417EOF
418
419ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
420 /usr/share/pixmaps</userinput></screen>
421 </sect2>
422
423 <sect2 role="content">
424 <title>Contents</title>
425
426 <segmentedlist>
427 <segtitle>Installed Programs</segtitle>
428 <segtitle>Installed Libraries</segtitle>
429 <segtitle>Installed Directory</segtitle>
430
431 <seglistitem>
432 <seg>seamonkey</seg>
433 <seg>
434 Numerous libraries, browser, and email/newsgroup components, plugins,
435 extensions, and helper modules installed in <filename
436 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
437 </seg>
438 <seg>
439 /usr/lib/seamonkey-&seamonkey-version;
440 </seg>
441 </seglistitem>
442 </segmentedlist>
443
444 <variablelist>
445 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
446 <?dbfo list-presentation="list"?>
447 <?dbhtml list-presentation="table"?>
448
449 <varlistentry id="seamonkey-prog">
450 <term><command>seamonkey</command></term>
451 <listitem>
452 <para>
453 is the Mozilla browser/email/newsgroup/chat client suite.
454 </para>
455 <indexterm zone="seamonkey seamonkey-prog">
456 <primary sortas="b-seamonkey">seamonkey</primary>
457 </indexterm>
458 </listitem>
459 </varlistentry>
460 </variablelist>
461 </sect2>
462</sect1>
Note: See TracBrowser for help on using the repository browser.