source: xsoft/graphweb/seamonkey.xml@ 89df86e

10.1 11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt 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 89df86e was bf5fb94, checked in by Ken Moffat <ken@…>, 3 years ago

Update to llvm-11.0.0 and rustc-1.47.0.

Patch firefox and thunderbird for this version of rust.
Remeasure all packages which use rust -
I think I used an out of date mozconfig when I updated thunderbird.
In general, builds are slower and slightly larger, but installs are marginally smaller.

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

  • Property mode set to 100644
File size: 15.3 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 " ">
9 <!ENTITY seamonkey-md5sum "bbf02af3586f1d488e77517f8cd9f439">
10 <!ENTITY seamonkey-size "281 MB">
11 <!ENTITY seamonkey-buildsize "6.8 GB (145 MB installed)">
12 <!ENTITY seamonkey-time "18 SBU (on a 4-core machine)">
13]>
14
15<sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
16 <?dbhtml filename="seamonkey.html" ?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>SeaMonkey-&seamonkey-version;</title>
24
25 <indexterm zone="seamonkey">
26 <primary sortas="a-SeaMonkey">SeaMonkey</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to SeaMonkey</title>
31
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>
46
47 &lfs10_checked;
48
49 <bridgehead renderas="sect3">Package Information</bridgehead>
50 <itemizedlist spacing="compact">
51 <listitem>
52 <para>
53 Download (HTTP): <ulink url="&seamonkey-download-http;"/>
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Download MD5 sum: &seamonkey-md5sum;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Download size: &seamonkey-size;
69 </para>
70 </listitem>
71 <listitem>
72 <para>
73 Estimated disk space required: &seamonkey-buildsize;
74 </para>
75 </listitem>
76 <listitem>
77 <para>
78 Estimated build time: &seamonkey-time;
79 </para>
80 </listitem>
81 </itemizedlist>
82
83<!-- Applied in seamonkey-2.53.2
84 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
85 <itemizedlist spacing="compact">
86 <listitem>
87 <para>
88 Required patch for building with rustc &gt;= 1.41
89 <ulink url="&patch-root;/seamonkey-&seamonkey-version;-rust_fixes-1.patch"/>
90 </para>
91 </listitem>
92 </itemizedlist>
93-->
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="autoconf213"/>,
108 both <xref linkend="gtk2"/> and <xref linkend="gtk3"/>,
109 <xref linkend="python2"/>,
110 <xref linkend="rust"/>,
111 <xref linkend="unzip"/>,
112 <xref linkend="yasm"/>, and
113 <xref linkend="zip"/>
114 </para>
115
116 <bridgehead renderas="sect4">Recommended</bridgehead>
117 <para role="recommended">
118 <xref linkend="icu"/>,
119 <xref linkend="libevent"/>,
120 <!--<xref linkend="libvpx"/>, Causes build failures similar to Firefox -->
121 <xref linkend="nspr"/>,
122 <xref linkend="nss"/>,
123 <xref linkend="pulseaudio"/>, and
124 <xref linkend="sqlite"/>
125 </para>
126<!--
127 <bridgehead renderas="sect4">Optional</bridgehead>
128 <para role="optional">
129 <xref linkend="sqlite"/> (not recommended due to potential
130 security concerns)
131 </para>
132-->
133 <note>
134 <para>
135 If you don't install recommended dependencies, then internal copies of
136 those packages will be used. They might be tested to work, but they can
137 be out of date or contain security holes.
138 </para>
139 </note>
140<!--
141 <note>
142 <para>
143 You must have installed <application>Openssl</application> before
144 <application>Python 2</application> or the build system will quickly
145 fail with output including "ImportError: cannot import name
146 HTTPSHandler". If you are in any doubt about this (e.g. upgrading from
147 an older version of Seamonkey), check if
148 <filename>/usr/lib/python&python2-majorver;/lib-dynload/_ssl.so</filename>
149 exists. If it does not, reinstall <xref linkend="python2"/> (after
150 installing <xref linkend="openssl"/>. The latest version of any
151 <emphasis>currently maintained</emphasis> version of Openssl should be
152 satisfactory if already installed.
153 </para>
154 </note>
155-->
156 <bridgehead renderas="sect4">Optional</bridgehead>
157 <para role="optional">
158 <xref linkend="alsa-lib"/>,
159 <xref linkend="curl"/>,
160 <xref linkend="dbus-glib"/>,
161 <xref linkend="doxygen"/>,
162 <xref linkend="GConf"/>,
163 <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
164 <xref linkend="openjdk"/>,
165 <xref linkend="startup-notification"/>,
166 <xref linkend="valgrind"/>,
167 <xref linkend="wget"/>,
168 <xref linkend="wireless_tools"/>, and
169 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>
170 </para>
171
172 <para condition="html" role="usernotes">
173 User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
174 </para>
175
176 </sect2>
177
178 <sect2 role="installation">
179 <title>Installation of SeaMonkey</title>
180
181 <para>
182 The configuration of <application>SeaMonkey</application> is accomplished
183 by creating a <filename>mozconfig</filename> file containing the desired
184 configuration options. A default <filename>mozconfig</filename> file is
185 created below. To see the entire list of available configuration options
186 (and an abbreviated description of each one), issue
187 <command>./configure --help</command>. You may also wish to review the
188 entire file and uncomment any other desired options. Create the file by
189 issuing the following command:
190 </para>
191
192<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
193<literal># If you have a multicore machine, all cores will be used by default.
194# If desired, you can reduce the number of cores used, e.g. to 1, by
195# uncommenting the next line and setting a valid number of CPU cores.
196#mk_add_options MOZ_MAKE_FLAGS="-j1"
197
198# If you have installed DBus-Glib comment out this line:
199ac_add_options --disable-dbus
200
201# If you have installed dbus-glib, and you have installed (or will install)
202# wireless-tools, and you wish to use geolocation web services, comment out
203# this line
204ac_add_options --disable-necko-wifi
205
206# Uncomment these lines if you have installed optional dependencies:
207#ac_add_options --enable-system-hunspell
208#ac_add_options --enable-startup-notification
209
210# Uncomment the following option if you have not installed PulseAudio
211#ac_add_options --disable-pulseaudio
212# and uncomment this if you installed alsa-lib instead of PulseAudio
213#ac_add_options --enable-alsa
214
215# Comment out following option if you have gconf installed
216ac_add_options --disable-gconf
217
218# Comment out following options if you have not installed
219# recommended dependencies:
220ac_add_options --enable-system-sqlite
221ac_add_options --with-system-libevent
222ac_add_options --with-system-nspr
223ac_add_options --with-system-nss
224ac_add_options --with-system-icu
225<!-- seems OK with icu-60, seamonkey-2.49
226# Use the internal version of icu due to execution problems-->
227
228# The BLFS editors recommend not changing anything below this line:
229ac_add_options --prefix=/usr
230ac_add_options --enable-application=suite
231
232ac_add_options --disable-crashreporter
233ac_add_options --disable-updater
234ac_add_options --disable-tests
235
236ac_add_options --enable-optimize="-O2"
237ac_add_options --enable-strip
238ac_add_options --enable-install-strip
239
240# not recognized since 2.53.1 - ac_add_options --enable-gio
241ac_add_options --enable-official-branding
242# not recognized since 2.53.1 - ac_add_options --enable-safe-browsing
243# not recognized since 2.53.1 - ac_add_options --enable-url-classifier
244
245# From firefox-40 (and the corresponding version of seamonkey),
246# using system cairo caused seamonkey to crash
247# frequently when it was doing background rendering in a tab.
248# This appears to again work in seamonkey-2.49.2
249ac_add_options --enable-system-cairo
250ac_add_options --enable-system-ffi
251ac_add_options --enable-system-pixman
252
253ac_add_options --with-pthreads
254
255ac_add_options --with-system-bz2
256ac_add_options --with-system-jpeg
257ac_add_options --with-system-png
258ac_add_options --with-system-zlib</literal>
259EOF</userinput></screen>
260
261 <note>
262 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
263 href="../../xincludes/mozshm.xml"/>
264 <!-- if this package switches to using ./mach, replace the
265 folliowing by including mozmach.xml -->
266 <para>
267 Second, either as the <systemitem class="username">root</systemitem>
268 user export the <envar>$SHELL</envar> environment variable using
269 <command>export SHELL=/bin/sh</command> or else prepend
270 <envar>SHELL=/bin/sh</envar> when running the first
271 <command>make</command> command.
272 </para>
273 </note>
274
275<!-- Applied in Seamonkey-2.53.2
276 <para>
277 Apply the patch to allow seamonkey to build with the current version of
278 <command>rustc</command>:
279 </para>
280
281
282<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-rust_fixes-1.patch</userinput></screen>
283-->
284
285 <para>
286 Remove a deprecated include which breaks the build with glibc-2.32:
287 </para>
288
289<screen><userinput>sed /sysctl/d -i mozilla/memory/build/mozjemalloc.cpp</userinput></screen>
290
291 <para>
292 Compile <application>SeaMonkey</application> by running the following
293 commands:
294 </para>
295
296<screen><userinput>CC=gcc CXX=g++ make -f client.mk</userinput></screen>
297
298 <note>
299 <para>
300 The CC and CXX variables above are only needed if
301 <xref linkend="llvm"/> is installed and you do not want to use clang.
302 </para>
303 </note>
304
305 <para>
306 This package does not come with a test suite.
307 </para>
308
309 <para>
310 Install <application>SeaMonkey</application> by issuing the following
311 commands as the <systemitem class="username">root</systemitem> user:
312 </para>
313
314
315<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
316chown -R 0:0 /usr/lib/seamonkey &amp;&amp;
317
318cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
319
320 </sect2>
321
322 <sect2 role="commands">
323 <title>Command Explanations</title>
324
325 <para>
326 <command>make -f client.mk</command>: Mozilla products are packaged to
327 allow the use of a configuration file which can be used to pass the
328 configuration settings to the <command>configure</command> command.
329 <command>make</command> uses the <filename>client.mk</filename> file to
330 get initial configuration and setup parameters.
331 </para>
332
333 </sect2>
334
335 <sect2 role="configuration">
336 <title>Configuring SeaMonkey</title>
337
338 <para>
339 For installing various <application>SeaMonkey</application> plugins, refer
340 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
341 Project</ulink>.
342 </para>
343
344 <para>
345 Along with using the <quote>Preferences</quote> menu to configure
346 <application>SeaMonkey</application>'s options and preferences to suit
347 individual tastes, finer grain control of many options is only available
348 using a tool not available from the general menu system. To access this
349 tool, you'll need to open a browser window and enter
350 <systemitem role="url">about:config</systemitem> in the address bar. This
351 will display a list of the configuration preferences and information
352 related to each one. You can use the <quote>Filter:</quote> bar to enter
353 search criteria and narrow down the listed items. Changing a preference
354 can be done using two methods. One, if the preference has a boolean value
355 (True/False), simply double-click on the preference to toggle the value
356 and two, for other preferences simply right-click on the desired line,
357 choose <quote>Modify</quote> from the menu and change the value. Creating
358 new preference items is accomplished in the same way, except choose
359 <quote>New</quote> from the menu and provide the desired data into the
360 fields when prompted.
361 </para>
362
363 <tip>
364 <para>
365 There is a multitude of configuration parameters you can tweak to
366 customize <application>SeaMonkey</application>. A very extensive list of
367 these parameters can be found at
368 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
369 </para>
370 </tip>
371
372 <para>
373 If you use a desktop environment like <application>Gnome</application> or
374 <application>KDE</application> you may wish to create a
375 <filename>seamonkey.desktop</filename> file so that
376 <application>SeaMonkey</application> appears in the panel's menus. If you
377 didn't enable <application>Startup-Notification</application> in your
378 mozconfig change the StartupNotify line to false. As the
379 <systemitem class="username">root</systemitem> user:
380 </para>
381
382<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
383
384cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
385<literal>[Desktop Entry]
386Encoding=UTF-8
387Type=Application
388Name=SeaMonkey
389Comment=The Mozilla Suite
390Icon=seamonkey
391Exec=seamonkey
392Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
393StartupNotify=true
394Terminal=false</literal>
395EOF
396
397ln -sfv /usr/lib/seamonkey/chrome/icons/default/default128.png \
398 /usr/share/pixmaps/seamonkey.png</userinput></screen>
399 </sect2>
400
401 <sect2 role="content">
402 <title>Contents</title>
403
404 <segmentedlist>
405 <segtitle>Installed Programs</segtitle>
406 <segtitle>Installed Libraries</segtitle>
407 <segtitle>Installed Directory</segtitle>
408
409 <seglistitem>
410 <seg>seamonkey</seg>
411 <seg>
412 Numerous libraries, browser, and email/newsgroup components, plugins,
413 extensions, and helper modules installed in <filename
414 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
415 </seg>
416 <seg>
417 /usr/lib/seamonkey-&seamonkey-version;
418 </seg>
419 </seglistitem>
420 </segmentedlist>
421
422 <variablelist>
423 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
424 <?dbfo list-presentation="list"?>
425 <?dbhtml list-presentation="table"?>
426
427 <varlistentry id="seamonkey-prog">
428 <term><command>seamonkey</command></term>
429 <listitem>
430 <para>
431 is the Mozilla browser/email/newsgroup/chat client suite.
432 </para>
433 <indexterm zone="seamonkey seamonkey-prog">
434 <primary sortas="b-seamonkey">seamonkey</primary>
435 </indexterm>
436 </listitem>
437 </varlistentry>
438 </variablelist>
439 </sect2>
440</sect1>
Note: See TracBrowser for help on using the repository browser.