source: xsoft/graphweb/seamonkey.xml@ 88dd6e72

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 r11.2
Last change on this file since 88dd6e72 was 88dd6e72, checked in by Pierre Labastie <pierre.labastie@…>, 20 months ago

Disable debug symbols for seamonkey

There are some reasons for this:

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