source: xsoft/graphweb/seamonkey.xml@ 3e8c126

11.1 11.2 11.3 12.0 12.1 12.2 gimp3 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/for-12.3 xry111/intltool xry111/llvm18 xry111/soup3 xry111/spidermonkey128 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3e8c126 was 3e8c126, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Updates and a fix:

Update to LLVM-13.0.0
Update to rustc-1.56.0
Fix Seamonkey to build with the new version of rust

  • Property mode set to 100644
File size: 15.6 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 "70e06d388eb796dc0f8b847794eabea0">
10 <!ENTITY seamonkey-size "272 MB">
11 <!ENTITY seamonkey-buildsize "6.1 GB (161 MB installed)">
12 <!ENTITY seamonkey-time "19 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, the Open Source
33 sibling of <application>Netscape</application>. It includes the browser,
34 composer, mail and news clients, and an IRC client. It is the follow-on
35 to the Mozilla browser suite.
36 </para>
37
38 <para>
39 The Mozilla project also hosts two subprojects that aim to satisfy the
40 needs of users who don't need the complete browser suite or prefer to have
41 separate applications for browsing and e-mail. These subprojects are
42 <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
43 based on the <application>Mozilla</application> source code.
44 </para>
45
46 &lfs110a_checked;
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>
52 Download (HTTP): <ulink url="&seamonkey-download-http;"/>
53 </para>
54 </listitem>
55 <listitem>
56 <para>
57 Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
58 </para>
59 </listitem>
60 <listitem>
61 <para>
62 Download MD5 sum: &seamonkey-md5sum;
63 </para>
64 </listitem>
65 <listitem>
66 <para>
67 Download size: &seamonkey-size;
68 </para>
69 </listitem>
70 <listitem>
71 <para>
72 Estimated disk space required: &seamonkey-buildsize;
73 </para>
74 </listitem>
75 <listitem>
76 <para>
77 Estimated build time: &seamonkey-time;
78 </para>
79 </listitem>
80 </itemizedlist>
81
82<!--<bridgehead renderas="sect3">Additional Downloads</bridgehead>
83 <itemizedlist spacing="compact">
84 <listitem>
85 <para>
86 Required patch:
87 <ulink url="&patch-root;/seamonkey-&seamonkey-version;-security_fixes-1.patch"/>
88 </para>
89 </listitem>
90 </itemizedlist>-->
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="nasm"/>,
120 <xref linkend="nspr"/>,
121 <xref linkend="nss"/>, and
122 <xref linkend="pulseaudio"/>
123 <!-- <xref linkend="sqlite"/> system version no longer supported -->
124 </para>
125<!--
126 <bridgehead renderas="sect4">Optional</bridgehead>
127 <para role="optional">
128 <xref linkend="sqlite"/> (not recommended due to potential
129 security concerns)
130 </para>
131-->
132 <note>
133 <para>
134 If you don't install recommended dependencies, then internal copies of
135 those packages will be used. They might be tested to work, but they can
136 be out of date or contain security holes.
137 </para>
138 </note>
139
140 <bridgehead renderas="sect4">Optional</bridgehead>
141 <para role="optional">
142 <xref linkend="alsa-lib"/>,
143 <xref linkend="curl"/>,
144 <xref linkend="dbus-glib"/>,
145 <xref linkend="doxygen"/>,
146 <xref linkend="GConf"/>,
147 <xref linkend="gst10-plugins-base"/> (and other plugins, only for tests),
148 <xref linkend="openjdk"/>,
149 <xref linkend="startup-notification"/>,
150 <xref linkend="valgrind"/>,
151 <xref linkend="wget"/>,
152 <xref linkend="wireless_tools"/>,
153 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>, and
154 <ulink url="https://facebook.github.io/watchman/">Watchman</ulink>
155 </para>
156
157 <para condition="html" role="usernotes">
158 User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
159 </para>
160
161 </sect2>
162
163 <sect2 role="installation">
164 <title>Installation of SeaMonkey</title>
165
166 <para>
167 The configuration of <application>SeaMonkey</application> is accomplished
168 by creating a <filename>mozconfig</filename> file containing the desired
169 configuration options. A default <filename>mozconfig</filename> file is
170 created below. To see the entire list of available configuration options
171 (and an abbreviated description of each one), issue
172 <command>./configure --help</command>. You may also wish to review the
173 entire file and uncomment any other desired options. Create the file by
174 issuing the following command:
175 </para>
176
177<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; "EOF"
178<literal># If you have a multicore machine, all cores will be used
179# unless you pass -jN to ./mach build
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# The elf-hack is reported to cause failed installs (after successful builds)
213# on some machines. It is supposed to improve startup time and it shrinks
214# libxul.so by a few MB - comment this if you know your machine is not affected.
215ac_add_options --disable-elf-hack
216
217# Seamonkey has some additional features that are not turned on by default,
218# such as an IRC client, calendar, and DOM Inspector. The DOM Inspector
219# aids with designing web pages. Comment these options if you do not
220# desire these features.
221ac_add_options --enable-calendar
222ac_add_options --enable-dominspector
223ac_add_options --enable-irc
224
225# The BLFS editors recommend not changing anything below this line:
226ac_add_options --prefix=/usr
227ac_add_options --enable-application=comm/suite
228
229ac_add_options --disable-crashreporter
230ac_add_options --disable-updater
231ac_add_options --disable-tests
232
233# rust-simd does not compile with recent versions of rust.
234# It is disabled in recent versions of firefox
235ac_add_options --disable-rust-simd
236
237ac_add_options --enable-optimize="-O2"
238ac_add_options --enable-strip
239ac_add_options --enable-install-strip
240ac_add_options --enable-official-branding
241
242# The option to use system cairo was removed in 2.53.9.
243ac_add_options --enable-system-ffi
244ac_add_options --enable-system-pixman
245
246ac_add_options --with-system-bz2
247ac_add_options --with-system-jpeg
248ac_add_options --with-system-png
249ac_add_options --with-system-zlib</literal>
250EOF</userinput></screen>
251
252 <note>
253 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
254 href="../../xincludes/mozshm.xml"/>
255 <!-- if this package switches to using ./mach, replace the
256 folliowing by including mozmach.xml -->
257 <para>
258 Second, either as the <systemitem class="username">root</systemitem>
259 user export the <envar>$SHELL</envar> environment variable using
260 <command>export SHELL=/bin/sh</command> or else prepend
261 <envar>SHELL=/bin/sh</envar> when running the first
262 <command>make</command> command.
263 </para>
264 </note>
265
266<!--<para>
267 Apply a patch to fix a 0day vulnerability in Seamonkey:
268 </para>
269
270
271<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-security_fixes-1.patch</userinput></screen>
272
273
274 <para>
275 Remove a deprecated include which breaks the build with glibc-2.32:
276 </para>
277
278<screen><userinput>sed /sysctl/d -i mozilla/memory/build/mozjemalloc.cpp</userinput></screen>-->
279
280 <para>
281 Compile <application>SeaMonkey</application> by running the following
282 commands:
283 </para>
284
285<screen><userinput>export CC=gcc CXX=g++ &amp;&amp;
286./mach configure &amp;&amp;
287./mach build</userinput></screen>
288
289
290 <!-- comment this since llvm must have been installed for rust
291 <note>
292 <para>
293 The CC and CXX variables above are only needed if
294 <xref linkend="llvm"/> is installed and you do not want to use clang.
295 </para>
296 </note>-->
297
298 <para>
299 This package does not come with a test suite.
300 </para>
301
302 <para>
303 Install <application>SeaMonkey</application> by issuing the following
304 commands as the <systemitem class="username">root</systemitem> user:
305 </para>
306
307
308<screen role="root"><userinput>./mach install &amp;&amp;
309chown -R 0:0 /usr/lib/seamonkey &amp;&amp;
310
311cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
312
313 </sect2>
314
315 <sect2 role="commands">
316 <title>Command Explanations</title>
317
318 <para>
319 <command>export CC=gcc CXX=g++ ...</command>: Upstream now prefer
320 <application>clang</application> so that they can use one compiler
321 everywhere. On the X86 architectures <application>clang</application>
322 takes a little longer than gcc to compile mozilla applications.
323 </para>
324
325 <para>
326 <command>./mach configure</command>: This validates the supplied
327 dependencies and the <filename>mozconfig</filename>.
328 </para>
329
330 <para>
331 <option>./mach build --verbose</option>: Use this alternative if you
332 need details of which files are being compiled, together with any C or
333 C++ flags being used. But do not add '--verbose' to the install command,
334 it is not accepted there.
335 </para>
336
337 <para>
338 <option>./mach build -jN</option>: The build should, by default, use
339 all the online CPU cores. If using all the cores causes the build to swap
340 because you have insufficient memory, using fewer cores can be faster.
341 </para>
342
343 </sect2>
344
345 <sect2 role="configuration">
346 <title>Configuring SeaMonkey</title>
347
348 <para>
349 For installing various <application>SeaMonkey</application> add-ons, refer
350 to <ulink url="https://addons.thunderbird.net/en-US/seamonkey/">Add-ons
351 for Seamonkey</ulink>.
352 </para>
353
354 <para>
355 Along with using the <quote>Preferences</quote> menu to configure
356 <application>SeaMonkey</application>'s options and preferences to suit
357 individual tastes, finer grain control of many options is only available
358 using a tool not available from the general menu system. To access this
359 tool, you'll need to open a browser window and enter
360 <systemitem role="url">about:config</systemitem> in the address bar. This
361 will display a list of the configuration preferences and information
362 related to each one. You can use the <quote>Search:</quote> bar to enter
363 search criteria and narrow down the listed items. Changing a preference
364 can be done using two methods. One, if the preference has a boolean value
365 (True/False), simply double-click on the preference to toggle the value
366 and two, for other preferences simply right-click on the desired line,
367 choose <quote>Modify</quote> from the menu and change the value. Creating
368 new preference items is accomplished in the same way, except choose
369 <quote>New</quote> from the menu and provide the desired data into the
370 fields when prompted.
371 </para>
372
373<!-- The URL no longer exists.
374 <tip>
375 <para>
376 There is a multitude of configuration parameters you can tweak to
377 customize <application>SeaMonkey</application>. A very extensive list of
378 these parameters can be found at
379 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
380 </para>
381 </tip>
382-->
383 <para>
384 If you use a desktop environment like <application>Gnome</application> or
385 <application>KDE</application> you may wish to create a
386 <filename>seamonkey.desktop</filename> file so that
387 <application>SeaMonkey</application> appears in the panel's menus. If you
388 didn't enable <application>Startup-Notification</application> in your
389 mozconfig change the StartupNotify line to false. As the
390 <systemitem class="username">root</systemitem> user:
391 </para>
392
393<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
394
395cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
396<literal>[Desktop Entry]
397Encoding=UTF-8
398Type=Application
399Name=SeaMonkey
400Comment=The Mozilla Suite
401Icon=seamonkey
402Exec=seamonkey
403Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
404StartupNotify=true
405Terminal=false</literal>
406EOF
407
408ln -sfv /usr/lib/seamonkey/chrome/icons/default/default128.png \
409 /usr/share/pixmaps/seamonkey.png</userinput></screen>
410 </sect2>
411
412 <sect2 role="content">
413 <title>Contents</title>
414
415 <segmentedlist>
416 <segtitle>Installed Programs</segtitle>
417 <segtitle>Installed Libraries</segtitle>
418 <segtitle>Installed Directory</segtitle>
419
420 <seglistitem>
421 <seg>seamonkey</seg>
422 <seg>
423 Numerous libraries, browser, and email/newsgroup components, plugins,
424 extensions, and helper modules installed in
425 <filename class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
426 </seg>
427 <seg>
428 /usr/lib/seamonkey
429 </seg>
430 </seglistitem>
431 </segmentedlist>
432
433 <variablelist>
434 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
435 <?dbfo list-presentation="list"?>
436 <?dbhtml list-presentation="table"?>
437
438 <varlistentry id="seamonkey-prog">
439 <term><command>seamonkey</command></term>
440 <listitem>
441 <para>
442 is the Mozilla browser/email/newsgroup/chat client suite
443 </para>
444 <indexterm zone="seamonkey seamonkey-prog">
445 <primary sortas="b-seamonkey">seamonkey</primary>
446 </indexterm>
447 </listitem>
448 </varlistentry>
449 </variablelist>
450 </sect2>
451
452</sect1>
Note: See TracBrowser for help on using the repository browser.