source: xsoft/graphweb/seamonkey.xml@ 532e5c9

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 xry111/llvm18 xry111/soup3 xry111/xf86-video-removal
Last change on this file since 532e5c9 was 532e5c9, checked in by Ken Moffat <ken@…>, 22 months ago

SeaMonkey - use clang instead of gcc.

  • Property mode set to 100644
File size: 15.7 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">
[6968e3cb]8 <!ENTITY seamonkey-download-ftp " ">
[9e86338]9 <!ENTITY seamonkey-md5sum "173512018674c9036cb54d35ded4a23f">
[cf31c27]10 <!ENTITY seamonkey-size "275 MB">
[532e5c9]11 <!ENTITY seamonkey-buildsize "4.5 GB (155 MB installed)">
12 <!ENTITY seamonkey-time "13 SBU (with 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 <date>$Date$</date>
20 </sect1info>
21
[d59969b]22 <title>SeaMonkey-&seamonkey-version;</title>
[88dd2f52]23
[b5eb704]24 <indexterm zone="seamonkey">
[d59969b]25 <primary sortas="a-SeaMonkey">SeaMonkey</primary>
[88dd2f52]26 </indexterm>
27
28 <sect2 role="package">
[d59969b]29 <title>Introduction to SeaMonkey</title>
[88dd2f52]30
[a0d389d]31 <para>
[99fede1f]32 <application>SeaMonkey</application> is a browser suite, a descendant
33 of <application>Netscape</application>. It includes the browser,
34 composer, mail and news clients, and an IRC client.
[a0d389d]35 </para>
36
37 <para>
[99fede1f]38 It is the community-driven follow-on to the Mozilla Application Suite,
39 created after Mozilla decided to focus on separate applications for
40 browsing and e-mail. Those applications are
41 <xref linkend="firefox"/> and <xref linkend="thunderbird"/>.
[a0d389d]42 </para>
[88cec02]43
[fb8f00e]44 &lfs111_checked;
[88dd2f52]45
46 <bridgehead renderas="sect3">Package Information</bridgehead>
47 <itemizedlist spacing="compact">
[d2e21cb0]48 <listitem>
[a0d389d]49 <para>
50 Download (HTTP): <ulink url="&seamonkey-download-http;"/>
51 </para>
[d2e21cb0]52 </listitem>
[88dd2f52]53 <listitem>
[a0d389d]54 <para>
55 Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
56 </para>
[88dd2f52]57 </listitem>
58 <listitem>
[a0d389d]59 <para>
60 Download MD5 sum: &seamonkey-md5sum;
61 </para>
[88dd2f52]62 </listitem>
63 <listitem>
[a0d389d]64 <para>
65 Download size: &seamonkey-size;
66 </para>
[88dd2f52]67 </listitem>
68 <listitem>
[a0d389d]69 <para>
70 Estimated disk space required: &seamonkey-buildsize;
71 </para>
[88dd2f52]72 </listitem>
73 <listitem>
[a0d389d]74 <para>
75 Estimated build time: &seamonkey-time;
76 </para>
[88dd2f52]77 </listitem>
78 </itemizedlist>
[b74c79f]79
[0fc5bfd7]80 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
[82a27795]81 <itemizedlist spacing="compact">
82 <listitem>
83 <para>
[3b3720a8]84 Required patch:
[0fc5bfd7]85 <ulink url="&patch-root;/seamonkey-&seamonkey-version;-security_fix-1.patch"/>
[82a27795]86 </para>
87 </listitem>
[0fc5bfd7]88 </itemizedlist>
[b74c79f]89
[f06c692]90 <note>
91 <para>
92 The tarball
93 <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
94 untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
95 </para>
96 </note>
97
[d59969b]98 <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
[88dd2f52]99
100 <bridgehead renderas="sect4">Required</bridgehead>
[a0d389d]101 <para role="required">
[e0ba182]102 <xref linkend="autoconf213"/>,
[2245ae0]103 both <xref linkend="gtk2"/> and <xref linkend="gtk3"/>,
[bf5fb94]104 <xref linkend="python2"/>,
[57daeab9]105 <xref linkend="rust"/>,
[8558044]106 <xref linkend="unzip"/>,
107 <xref linkend="yasm"/>, and
[01cd3461]108 <xref linkend="zip"/>
[a0d389d]109 </para>
[b5eb704]110
111 <bridgehead renderas="sect4">Recommended</bridgehead>
[a0d389d]112 <para role="recommended">
[566fcae]113 <xref linkend="icu"/>,
114 <xref linkend="libevent"/>,
[57daeab9]115 <!--<xref linkend="libvpx"/>, Causes build failures similar to Firefox -->
[3bf5de79]116 <xref linkend="libwebp"/>
117 <xref linkend="nasm"/>,
[8558044]118 <xref linkend="nspr"/>,
[3bf5de79]119 <xref linkend="nss"/>, and
120 <xref linkend="pulseaudio"/>
121 <!-- <xref linkend="sqlite"/> system version no longer supported -->
[82a27795]122 </para>
[3a00b7b8]123<!--
[82a27795]124 <bridgehead renderas="sect4">Optional</bridgehead>
125 <para role="optional">
126 <xref linkend="sqlite"/> (not recommended due to potential
127 security concerns)
[a0d389d]128 </para>
[3a00b7b8]129-->
[316d9591]130 <note>
131 <para>
[566fcae]132 If you don't install recommended dependencies, then internal copies of
133 those packages will be used. They might be tested to work, but they can
134 be out of date or contain security holes.
135 </para>
136 </note>
[0a675f98]137
[88dd2f52]138 <bridgehead renderas="sect4">Optional</bridgehead>
[a0d389d]139 <para role="optional">
[2c13ebe]140 <xref linkend="alsa-lib"/>,
[566fcae]141 <xref linkend="curl"/>,
[a0d389d]142 <xref linkend="dbus-glib"/>,
143 <xref linkend="doxygen"/>,
[89cdb63d]144 <xref linkend="GConf"/>,
[3a00b7b8]145 <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
[b47d633]146 <!--<xref linkend="openjdk"/>, Not seen in logs -->
[566fcae]147 <xref linkend="startup-notification"/>,
148 <xref linkend="valgrind"/>,
149 <xref linkend="wget"/>,
[33befb9]150 <xref linkend="wireless_tools"/>,
151 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, and
152 <ulink url="https://facebook.github.io/watchman/">Watchman</ulink>
[a0d389d]153 </para>
154
155 <para condition="html" role="usernotes">
156 User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
157 </para>
[566fcae]158
[88dd2f52]159 </sect2>
160
161 <sect2 role="installation">
[d59969b]162 <title>Installation of SeaMonkey</title>
[6a79dc72]163
[a0d389d]164 <para>
165 The configuration of <application>SeaMonkey</application> is accomplished
166 by creating a <filename>mozconfig</filename> file containing the desired
167 configuration options. A default <filename>mozconfig</filename> file is
168 created below. To see the entire list of available configuration options
169 (and an abbreviated description of each one), issue
170 <command>./configure --help</command>. You may also wish to review the
171 entire file and uncomment any other desired options. Create the file by
172 issuing the following command:
173 </para>
[7f588e9a]174
[4def8b6]175<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
[0a675f98]176<literal># If you have a multicore machine, all cores will be used
[d59969b]177
[566fcae]178# If you have installed DBus-Glib comment out this line:
[88cec02]179ac_add_options --disable-dbus
[7f588e9a]180
[566fcae]181# If you have installed dbus-glib, and you have installed (or will install)
182# wireless-tools, and you wish to use geolocation web services, comment out
183# this line
[88cec02]184ac_add_options --disable-necko-wifi
[d59969b]185
[566fcae]186# Uncomment these lines if you have installed optional dependencies:
187#ac_add_options --enable-system-hunspell
188#ac_add_options --enable-startup-notification
189
[2c13ebe]190# Uncomment the following option if you have not installed PulseAudio
191#ac_add_options --disable-pulseaudio
192# and uncomment this if you installed alsa-lib instead of PulseAudio
193#ac_add_options --enable-alsa
[89cdb63d]194
195# Comment out following option if you have gconf installed
196ac_add_options --disable-gconf
[3bf5de79]197<!-- comments cause a blank line, following was for icu in the past
198 seems OK with icu-60, seamonkey-2.49
199 line below was with comment and explanation
200# Use the internal version of icu due to execution problems-->
[566fcae]201# Comment out following options if you have not installed
202# recommended dependencies:
[3bf5de79]203ac_add_options --with-system-icu
[566fcae]204ac_add_options --with-system-libevent
205ac_add_options --with-system-nspr
[257c1bf]206ac_add_options --with-system-nss
[3bf5de79]207ac_add_options --with-system-webp
[566fcae]208
[0c3d3e5]209# The elf-hack is reported to cause failed installs (after successful builds)
210# on some machines. It is supposed to improve startup time and it shrinks
211# libxul.so by a few MB - comment this if you know your machine is not affected.
212ac_add_options --disable-elf-hack
213
[257c1bf]214# Seamonkey has some additional features that are not turned on by default,
215# such as an IRC client, calendar, and DOM Inspector. The DOM Inspector
216# aids with designing web pages. Comment these options if you do not
217# desire these features.
218ac_add_options --enable-calendar
[6852cb9]219ac_add_options --enable-dominspector
[257c1bf]220ac_add_options --enable-irc
221
[566fcae]222# The BLFS editors recommend not changing anything below this line:
223ac_add_options --prefix=/usr
[33befb9]224ac_add_options --enable-application=comm/suite
[d59969b]225
[a45062d]226ac_add_options --disable-crashreporter
227ac_add_options --disable-updater
[566fcae]228ac_add_options --disable-tests
229
[3e8c126]230# rust-simd does not compile with recent versions of rust.
231# It is disabled in recent versions of firefox
232ac_add_options --disable-rust-simd
233
[9a78b166]234ac_add_options --enable-optimize="-O2"
[566fcae]235ac_add_options --enable-strip
236ac_add_options --enable-install-strip
237ac_add_options --enable-official-branding
238
[0a675f98]239# The option to use system cairo was removed in 2.53.9.
[a45062d]240ac_add_options --enable-system-ffi
[566fcae]241ac_add_options --enable-system-pixman
242
243ac_add_options --with-system-bz2
[a0ace670]244ac_add_options --with-system-jpeg
245ac_add_options --with-system-png
[2e3b77b]246ac_add_options --with-system-zlib</literal>
[2d237fa]247EOF</userinput></screen>
[d59969b]248
[5b0a978e]249 <note>
250 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
251 href="../../xincludes/mozshm.xml"/>
[cf31c27]252 <!--<para>
[5b0a978e]253 Second, either as the <systemitem class="username">root</systemitem>
254 user export the <envar>$SHELL</envar> environment variable using
255 <command>export SHELL=/bin/sh</command> or else prepend
256 <envar>SHELL=/bin/sh</envar> when running the first
257 <command>make</command> command.
[cf31c27]258 </para>-->
259 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
260 href="../../xincludes/mozmach.xml"/>
[5b0a978e]261 </note>
[b74c79f]262
[f03e2e6c]263 <para>
[0fc5bfd7]264 Apply a patch to fix a critical security vulnerability in Seamonkey:
[f03e2e6c]265 </para>
266
[0fc5bfd7]267<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-security_fix-1.patch</userinput></screen>
[b74c79f]268
[a0d389d]269 <para>
270 Compile <application>SeaMonkey</application> by running the following
[82a27795]271 commands:
[a0d389d]272 </para>
[b0ed6bdf]273
[532e5c9]274<screen><userinput>export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm RANLIB=llvm-ranlib &amp;&amp;
[1eb967d9]275./mach configure &amp;&amp;
[0a675f98]276./mach build</userinput></screen>
[82a27795]277
[0a675f98]278
279 <!-- comment this since llvm must have been installed for rust
[909e238]280 <note>
281 <para>
[8558044]282 The CC and CXX variables above are only needed if
[909e238]283 <xref linkend="llvm"/> is installed and you do not want to use clang.
284 </para>
[0a675f98]285 </note>-->
[7f588e9a]286
[a0d389d]287 <para>
[72ac7f2]288 This package does not come with a test suite.
[a0d389d]289 </para>
[87c2868]290
[a0d389d]291 <para>
292 Install <application>SeaMonkey</application> by issuing the following
293 commands as the <systemitem class="username">root</systemitem> user:
294 </para>
[7f588e9a]295
[3cdb31d]296
[1eb967d9]297<screen role="root"><userinput>./mach install &amp;&amp;
298chown -R 0:0 /usr/lib/seamonkey &amp;&amp;
[2e3b77b]299
300cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
[3551afa]301
[7f588e9a]302 </sect2>
303
304 <sect2 role="commands">
305 <title>Command Explanations</title>
[8a89491]306
[ce960d7]307 <para>
[532e5c9]308 <command>export CC=clang CXX=clang++ AR=llvm-ar NM=llvm-nm
309 RANLIB=llvm-ranlib</command>:
310 With the introduction of <application>gcc-12</application>, many
311 more warnings are generated when compiling mozilla applications
312 and that results in a much slower, and slightly larger, build.
313 Although upstream mozilla code defaults to using
314 <application>llvm</application> unless overridden, the older configure
315 code in <application>SeaMonkey</application> defaults to gcc and needs
316 to have the programs all specified.
317 <!-- ken: I checked without specifying and it used gcc, g++ so I added all as
318 had been necessary in the past. Perhaps only CC and CXX are really needed, -->
[0a675f98]319 </para>
320
321 <para>
322 <command>./mach configure</command>: This validates the supplied
323 dependencies and the <filename>mozconfig</filename>.
324 </para>
325
326 <para>
327 <option>./mach build --verbose</option>: Use this alternative if you
328 need details of which files are being compiled, together with any C or
329 C++ flags being used. But do not add '--verbose' to the install command,
330 it is not accepted there.
331 </para>
332
333 <para>
334 <option>./mach build -jN</option>: The build should, by default, use
335 all the online CPU cores. If using all the cores causes the build to swap
336 because you have insufficient memory, using fewer cores can be faster.
[a0d389d]337 </para>
338
[88dd2f52]339 </sect2>
340
341 <sect2 role="configuration">
[d59969b]342 <title>Configuring SeaMonkey</title>
[2e3b77b]343
[a0d389d]344 <para>
[33befb9]345 For installing various <application>SeaMonkey</application> add-ons, refer
[8558044]346 to <ulink url="https://addons.thunderbird.net/en-US/seamonkey/">Add-ons
[33befb9]347 for Seamonkey</ulink>.
[a0d389d]348 </para>
349
350 <para>
351 Along with using the <quote>Preferences</quote> menu to configure
352 <application>SeaMonkey</application>'s options and preferences to suit
353 individual tastes, finer grain control of many options is only available
354 using a tool not available from the general menu system. To access this
355 tool, you'll need to open a browser window and enter
356 <systemitem role="url">about:config</systemitem> in the address bar. This
357 will display a list of the configuration preferences and information
[33befb9]358 related to each one. You can use the <quote>Search:</quote> bar to enter
[a0d389d]359 search criteria and narrow down the listed items. Changing a preference
360 can be done using two methods. One, if the preference has a boolean value
361 (True/False), simply double-click on the preference to toggle the value
362 and two, for other preferences simply right-click on the desired line,
363 choose <quote>Modify</quote> from the menu and change the value. Creating
364 new preference items is accomplished in the same way, except choose
365 <quote>New</quote> from the menu and provide the desired data into the
366 fields when prompted.
367 </para>
[7f588e9a]368
[33befb9]369<!-- The URL no longer exists.
[7f588e9a]370 <tip>
[a0d389d]371 <para>
372 There is a multitude of configuration parameters you can tweak to
373 customize <application>SeaMonkey</application>. A very extensive list of
374 these parameters can be found at
375 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
376 </para>
[7f588e9a]377 </tip>
[33befb9]378-->
[a0d389d]379 <para>
380 If you use a desktop environment like <application>Gnome</application> or
381 <application>KDE</application> you may wish to create a
382 <filename>seamonkey.desktop</filename> file so that
[b83d289]383 <application>SeaMonkey</application> appears in the panel's menus. If you
[a0d389d]384 didn't enable <application>Startup-Notification</application> in your
385 mozconfig change the StartupNotify line to false. As the
386 <systemitem class="username">root</systemitem> user:
387 </para>
[5e2fb70]388
[4520f55]389<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
[fc9245e]390
[f002c3c]391cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
[51dfb3e]392<literal>[Desktop Entry]
[5e2fb70]393Encoding=UTF-8
394Type=Application
[b83d289]395Name=SeaMonkey
[5e2fb70]396Comment=The Mozilla Suite
397Icon=seamonkey
398Exec=seamonkey
399Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
400StartupNotify=true
[51dfb3e]401Terminal=false</literal>
[5e2fb70]402EOF
[fc9245e]403
[5dde2656]404ln -sfv /usr/lib/seamonkey/chrome/icons/default/default128.png \
[7226770c]405 /usr/share/pixmaps/seamonkey.png</userinput></screen>
[88dd2f52]406 </sect2>
407
408 <sect2 role="content">
409 <title>Contents</title>
410
411 <segmentedlist>
[7f588e9a]412 <segtitle>Installed Programs</segtitle>
[88dd2f52]413 <segtitle>Installed Libraries</segtitle>
[c5f005b]414 <segtitle>Installed Directory</segtitle>
[88dd2f52]415
416 <seglistitem>
[88cec02]417 <seg>seamonkey</seg>
[a0d389d]418 <seg>
419 Numerous libraries, browser, and email/newsgroup components, plugins,
[4c24eb0a]420 extensions, and helper modules installed in
[4483a9a]421 <filename class="directory">/usr/lib/seamonkey</filename>
[a0d389d]422 </seg>
[7498751]423 <seg>
[33befb9]424 /usr/lib/seamonkey
[7498751]425 </seg>
[88dd2f52]426 </seglistitem>
427 </segmentedlist>
428
429 <variablelist>
430 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
431 <?dbfo list-presentation="list"?>
432 <?dbhtml list-presentation="table"?>
433
[b5eb704]434 <varlistentry id="seamonkey-prog">
435 <term><command>seamonkey</command></term>
[88dd2f52]436 <listitem>
[a0d389d]437 <para>
[4c24eb0a]438 is the Mozilla browser/email/newsgroup/chat client suite
[a0d389d]439 </para>
[b5eb704]440 <indexterm zone="seamonkey seamonkey-prog">
441 <primary sortas="b-seamonkey">seamonkey</primary>
[88dd2f52]442 </indexterm>
443 </listitem>
444 </varlistentry>
445 </variablelist>
446 </sect2>
[4c24eb0a]447
[f45b1953]448</sect1>
Note: See TracBrowser for help on using the repository browser.