source: xsoft/graphweb/seamonkey.xml@ f03e2e6c

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

Fix thunderbird and seamonkey for glibc-2.30, libreoffice fo JAVA 12, and
xscreensaver for elogind

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

  • Property mode set to 100644
File size: 16.3 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 " ">
[83dc192]9 <!ENTITY seamonkey-md5sum "5868179112ff4b2562f0ca22f4091bf0">
[9b98149]10 <!ENTITY seamonkey-size "221 MB">
[83dc192]11 <!ENTITY seamonkey-buildsize "5.3 GB (113 MB installed)">
[9b98149]12 <!ENTITY seamonkey-time "16 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
[3cdb31d]47 &lfs84_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">
[e0ba182]105 <xref linkend="autoconf213"/>,
[2245ae0]106 both <xref linkend="gtk2"/> and <xref linkend="gtk3"/>,
[01cd3461]107 <xref linkend="unzip"/>,
108 <xref linkend="yasm"/>, and
109 <xref linkend="zip"/>
[a0d389d]110 </para>
[b5eb704]111
112 <bridgehead renderas="sect4">Recommended</bridgehead>
[a0d389d]113 <para role="recommended">
[566fcae]114 <xref linkend="icu"/>,
115 <xref linkend="libevent"/>,
116 <xref linkend="libvpx"/>,
[2e3b77b]117 <xref linkend="nspr"/>,
[2c13ebe]118 <xref linkend="nss"/>,
119 <xref linkend="pulseaudio"/>, and
[2e3b77b]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>
[94b42903]136<!--
[566fcae]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>
[94b42903]151-->
[88dd2f52]152 <bridgehead renderas="sect4">Optional</bridgehead>
[a0d389d]153 <para role="optional">
[2c13ebe]154 <xref linkend="alsa-lib"/>,
[566fcae]155 <xref linkend="curl"/>,
[a0d389d]156 <xref linkend="dbus-glib"/>,
157 <xref linkend="doxygen"/>,
[89cdb63d]158 <xref linkend="GConf"/>,
[3a00b7b8]159 <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
[1c69133]160 <xref linkend="openjdk"/>,
[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
[2c13ebe]206# Uncomment the following option if you have not installed PulseAudio
207#ac_add_options --disable-pulseaudio
208# and uncomment this if you installed alsa-lib instead of PulseAudio
209#ac_add_options --enable-alsa
[89cdb63d]210
211# Comment out following option if you have gconf installed
212ac_add_options --disable-gconf
213
[566fcae]214# Comment out following options if you have not installed
215# recommended dependencies:
[2e3b77b]216ac_add_options --enable-system-sqlite
[566fcae]217ac_add_options --with-system-libevent
218ac_add_options --with-system-libvpx
219ac_add_options --with-system-nspr
220ac_add_options --with-system-nss
[b4201cc]221ac_add_options --with-system-icu
[2e3b77b]222
[b4201cc]223<!-- seems OK with icu-60, seamonkey-2.49
224# Use the internal version of icu due to execution problems-->
[566fcae]225
226# The BLFS editors recommend not changing anything below this line:
227ac_add_options --prefix=/usr
228ac_add_options --enable-application=suite
[d59969b]229
[a45062d]230ac_add_options --disable-crashreporter
231ac_add_options --disable-updater
[566fcae]232ac_add_options --disable-tests
233
[9a78b166]234ac_add_options --enable-optimize="-O2"
[566fcae]235ac_add_options --enable-strip
236ac_add_options --enable-install-strip
237
238ac_add_options --enable-gio
239ac_add_options --enable-official-branding
240ac_add_options --enable-safe-browsing
241ac_add_options --enable-url-classifier
242
[2c13ebe]243# From firefox-40 (and the corresponding version of seamonkey),
244# using system cairo caused seamonkey to crash
245# frequently when it was doing background rendering in a tab.
246# This appears to again work in seamonkey-2.49.2
247ac_add_options --enable-system-cairo
[a45062d]248ac_add_options --enable-system-ffi
[566fcae]249ac_add_options --enable-system-pixman
250
[a0ace670]251ac_add_options --with-pthreads
[566fcae]252
253ac_add_options --with-system-bz2
[a0ace670]254ac_add_options --with-system-jpeg
255ac_add_options --with-system-png
[2e3b77b]256ac_add_options --with-system-zlib</literal>
[2d237fa]257EOF</userinput></screen>
[d59969b]258
[566fcae]259 <note><para>
260 If you are compiling <application>SeaMonkey</application> in chroot, make
[637f310]261 sure you have the <envar>SHELL</envar> environment variable set or prepend
[566fcae]262 <envar>SHELL=/bin/sh</envar> to the first make command below.
263 </para></note>
264
[909e238]265 <para>
266 <application>GCC-9</application> generates some false positives with
[19eb87f]267 <command>-Werror=format</command>, which prevent building
[909e238]268 <application>SeaMonkey</application>. Remove this flag with the
269 following command:
270 </para>
271
[19eb87f]272<screen><userinput>grep -rl -- '-Werror=format' | xargs sed -i 's/error=format/no-&amp;/'</userinput></screen>
[909e238]273
[f03e2e6c]274 <para>
275 Remove a function definition, which is incompatible with the one in
276 glibc-2.30:
277 </para>
278
279<screen><userinput>sed -i -e '/pid_t gettid/s@^@//@' mozilla/tools/profiler/core/platform.h</userinput></screen>
280
[a0d389d]281 <para>
282 Compile <application>SeaMonkey</application> by running the following
[82a27795]283 commands:
[a0d389d]284 </para>
[b0ed6bdf]285
[909e238]286<screen><userinput>CC=gcc CXX=g++ make -f client.mk</userinput></screen>
[82a27795]287
[909e238]288 <note>
289 <para>
290 The CC and CXX variables above are only needed if
291 <xref linkend="llvm"/> is installed and you do not want to use clang.
292 </para>
293 </note>
[7f588e9a]294
[a0d389d]295 <para>
[72ac7f2]296 This package does not come with a test suite.
[a0d389d]297 </para>
[87c2868]298
[a0d389d]299 <para>
300 Install <application>SeaMonkey</application> by issuing the following
301 commands as the <systemitem class="username">root</systemitem> user:
302 </para>
[7f588e9a]303
[3cdb31d]304
[3551afa]305<screen role="root"><userinput>make -f client.mk install INSTALL_SDK= &amp;&amp;
306chown -R 0:0 /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
[2e3b77b]307
308cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
[909e238]309<!-- Not needed: see above
[3551afa]310 <para>
311 Set the compilation flags back to their original values:
312 </para>
313
314<screen><userinput>export CFLAGS=$CFLAGS_HOLD &amp;&amp;
[82a27795]315export CXXFLAGS=$CXXFLAGS_HOLD &amp;&amp;
316unset CFLAGS_HOLD CXXFLAGS_HOLD</userinput></screen>
[909e238]317-->
[b83d289]318 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
[2b89e0a]319 All the Development Libraries and Headers
320 </bridgehead>
[fc9245e]321
[7498751]322 <para>
[b83d289]323 If you want to install the full <application>SeaMonkey</application>
[495ebe07]324 development environment, as the
325 <systemitem class="username">root</systemitem> user:
[7498751]326 </para>
327
[fbbc908]328<screen role="nodump"><userinput>make -C obj* install</userinput></screen>
[2e3b77b]329
330 <note>
331 <para>
332 The build directory is set by the make procedure and is dependent on
[0639bb6]333 the system architecture, but the directory name starts with 'obj'.
[2e3b77b]334 </para>
335 </note>
336
[7f588e9a]337 </sect2>
338
339 <sect2 role="commands">
340 <title>Command Explanations</title>
[19eb87f]341<!--
[82a27795]342 <para>
343 <command>export CFLAGS= ... export CXXFLAGS= ...</command>: These
[a9c87c7]344 settings work around code which gcc6 and later would otherwise regard as
[82a27795]345 out-of-specification and allow it to produce a working program.
346 </para>
[19eb87f]347-->
[a0d389d]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
[88dd2f52]356 </sect2>
357
358 <sect2 role="configuration">
[d59969b]359 <title>Configuring SeaMonkey</title>
[2e3b77b]360
[a0d389d]361 <para>
362 For installing various <application>SeaMonkey</application> plugins, refer
363 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
364 Project</ulink>.
365 </para>
366
367 <para>
368 Along with using the <quote>Preferences</quote> menu to configure
369 <application>SeaMonkey</application>'s options and preferences to suit
370 individual tastes, finer grain control of many options is only available
371 using a tool not available from the general menu system. To access this
372 tool, you'll need to open a browser window and enter
373 <systemitem role="url">about:config</systemitem> in the address bar. This
374 will display a list of the configuration preferences and information
375 related to each one. You can use the <quote>Filter:</quote> bar to enter
376 search criteria and narrow down the listed items. Changing a preference
377 can be done using two methods. One, if the preference has a boolean value
378 (True/False), simply double-click on the preference to toggle the value
379 and two, for other preferences simply right-click on the desired line,
380 choose <quote>Modify</quote> from the menu and change the value. Creating
381 new preference items is accomplished in the same way, except choose
382 <quote>New</quote> from the menu and provide the desired data into the
383 fields when prompted.
384 </para>
[7f588e9a]385
386 <tip>
[a0d389d]387 <para>
388 There is a multitude of configuration parameters you can tweak to
389 customize <application>SeaMonkey</application>. A very extensive list of
390 these parameters can be found at
391 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
392 </para>
[7f588e9a]393 </tip>
394
[a0d389d]395 <para>
396 If you use a desktop environment like <application>Gnome</application> or
397 <application>KDE</application> you may wish to create a
398 <filename>seamonkey.desktop</filename> file so that
[b83d289]399 <application>SeaMonkey</application> appears in the panel's menus. If you
[a0d389d]400 didn't enable <application>Startup-Notification</application> in your
401 mozconfig change the StartupNotify line to false. As the
402 <systemitem class="username">root</systemitem> user:
403 </para>
[5e2fb70]404
[4520f55]405<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
[fc9245e]406
[f002c3c]407cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
[51dfb3e]408<literal>[Desktop Entry]
[5e2fb70]409Encoding=UTF-8
410Type=Application
[b83d289]411Name=SeaMonkey
[5e2fb70]412Comment=The Mozilla Suite
413Icon=seamonkey
414Exec=seamonkey
415Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
416StartupNotify=true
[51dfb3e]417Terminal=false</literal>
[5e2fb70]418EOF
[fc9245e]419
[6a79dc72]420ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
421 /usr/share/pixmaps</userinput></screen>
[88dd2f52]422 </sect2>
423
424 <sect2 role="content">
425 <title>Contents</title>
426
427 <segmentedlist>
[7f588e9a]428 <segtitle>Installed Programs</segtitle>
[88dd2f52]429 <segtitle>Installed Libraries</segtitle>
[c5f005b]430 <segtitle>Installed Directory</segtitle>
[88dd2f52]431
432 <seglistitem>
[88cec02]433 <seg>seamonkey</seg>
[a0d389d]434 <seg>
435 Numerous libraries, browser, and email/newsgroup components, plugins,
436 extensions, and helper modules installed in <filename
437 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
438 </seg>
[7498751]439 <seg>
[b4201cc]440 /usr/include/seamonkey-&seamonkey-version; (optional),
441 /usr/lib/seamonkey-&seamonkey-version;,
442 /usr/lib/seamonkey-devel-&seamonkey-version; (optional), and
443 /usr/share/idl/seamonkey-&seamonkey-version; (optional)
[7498751]444 </seg>
[88dd2f52]445 </seglistitem>
446 </segmentedlist>
447
448 <variablelist>
449 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
450 <?dbfo list-presentation="list"?>
451 <?dbhtml list-presentation="table"?>
452
[b5eb704]453 <varlistentry id="seamonkey-prog">
454 <term><command>seamonkey</command></term>
[88dd2f52]455 <listitem>
[a0d389d]456 <para>
[de930747]457 is the Mozilla browser/email/newsgroup/chat client suite.
[a0d389d]458 </para>
[b5eb704]459 <indexterm zone="seamonkey seamonkey-prog">
460 <primary sortas="b-seamonkey">seamonkey</primary>
[88dd2f52]461 </indexterm>
462 </listitem>
463 </varlistentry>
464 </variablelist>
465 </sect2>
[f45b1953]466</sect1>
Note: See TracBrowser for help on using the repository browser.