source: xsoft/graphweb/seamonkey.xml@ 5dde2656

10.0 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 5dde2656 was 5dde2656, checked in by Douglas R. Reno <renodr@…>, 4 years ago

Seamonkey: fix icon installation

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

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