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

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 3bbe37d was 3bbe37d, checked in by Fernando de Oliveira <fernando@…>, 11 years ago

xulrunner and seamonkey: option to build with system cairo

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

  • Property mode set to 100644
File size: 15.3 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
8 "http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
9 <!ENTITY seamonkey-download-ftp
10 "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
11 <!ENTITY seamonkey-md5sum "04b961790658233b7dafb5222b251bf5">
12 <!ENTITY seamonkey-size "134 MB">
13 <!ENTITY seamonkey-buildsize "1.6 GB (51 MB installed)">
14 <!ENTITY seamonkey-time "64 SBU">
15]>
16
17<sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
18 <?dbhtml filename="seamonkey.html" ?>
19
20 <sect1info>
21 <othername>$LastChangedBy$</othername>
22 <date>$Date$</date>
23 </sect1info>
24
25 <title>SeaMonkey-&seamonkey-version;</title>
26
27 <indexterm zone="seamonkey">
28 <primary sortas="a-SeaMonkey">SeaMonkey</primary>
29 </indexterm>
30
31 <sect2 role="package">
32 <title>Introduction to SeaMonkey</title>
33
34 <para>
35 <application>SeaMonkey</application> is a browser suite, the Open Source
36 sibling of <application>Netscape</application>. It includes the browser,
37 composer, mail and news clients, and an IRC client. It is the follow-on
38 to the Mozilla browser suite.
39 </para>
40
41 <para>
42 The Mozilla project also hosts two subprojects that aim to satisfy the
43 needs of users who don't need the complete browser suite or prefer to have
44 separate applications for browsing and e-mail. These subprojects are
45 <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
46 based on the <application>Mozilla</application> source code.
47 </para>
48
49 &lfs74_checked;
50
51 <bridgehead renderas="sect3">Package Information</bridgehead>
52 <itemizedlist spacing="compact">
53 <listitem>
54 <para>
55 Download (HTTP): <ulink url="&seamonkey-download-http;"/>
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Download MD5 sum: &seamonkey-md5sum;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Download size: &seamonkey-size;
71 </para>
72 </listitem>
73 <listitem>
74 <para>
75 Estimated disk space required: &seamonkey-buildsize;
76 </para>
77 </listitem>
78 <listitem>
79 <para>
80 Estimated build time: &seamonkey-time;
81 </para>
82 </listitem>
83 </itemizedlist>
84
85 <bridgehead renderas="sect3">Additional Download</bridgehead>
86 <itemizedlist spacing='compact'>
87 <listitem>
88 <para>Optional patch: <ulink
89 url="&patch-root;/seamonkey-&seamonkey-version;-system_cairo-1.patch"/></para>
90 </listitem>
91 </itemizedlist>
92
93 <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
94
95 <bridgehead renderas="sect4">Required</bridgehead>
96 <para role="required">
97 <xref linkend="alsa-lib"/>,
98 <xref linkend="gtk2"/>,
99 <xref linkend="zip"/>, and
100 <xref linkend="unzip"/>.
101 </para>
102
103 <bridgehead renderas="sect4">Recommended</bridgehead>
104 <para role="recommended">
105 <xref linkend="yasm"/> or <xref linkend="libvpx"/>
106 (to allow <application>SeaMonkey</application> to play webm videos).
107 </para>
108
109 <bridgehead renderas="sect4">Optional</bridgehead>
110 <para role="optional">
111 <xref linkend="dbus-glib"/>,
112 <xref linkend="startup-notification"/>,
113 <xref linkend="sqlite"/>,
114 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
115 <xref linkend="libevent"/>,
116 <xref linkend="doxygen"/>,
117 <xref linkend="libnotify"/>,
118 <xref linkend="nspr"/>,
119 <xref linkend="nss"/>,
120 <xref linkend="wireless_tools"/>,
121 <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
122 the jemalloc code), and
123 <xref linkend="wget"/>
124 </para>
125
126 <para condition="html" role="usernotes">
127 User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
128 </para>
129 </sect2>
130
131 <sect2 role="installation">
132 <title>Installation of SeaMonkey</title>
133<!--
134 <para>
135 If you have not installed <xref linkend="wireless_tools"/>, apply the
136 patch or the installer will fail:
137 </para>
138
139<screen><userinput>patch -p1 &lt; ../seamonkey-&seamonkey-version;-necko-wifi-1.patch</userinput></screen>
140-->
141 <para>
142 The configuration of <application>SeaMonkey</application> is accomplished
143 by creating a <filename>mozconfig</filename> file containing the desired
144 configuration options. A default <filename>mozconfig</filename> file is
145 created below. To see the entire list of available configuration options
146 (and an abbreviated description of each one), issue
147 <command>./configure --help</command>. You may also wish to review the
148 entire file and uncomment any other desired options. Create the file by
149 issuing the following command:
150 </para>
151
152<screen><?dbfo keep-together="auto"?><userinput>cat &gt; mozconfig &lt;&lt; EOF
153# If you have a multicore machine you can speed up the build by running
154# several jobs at once, but if you have a single core, delete this line:
155mk_add_options MOZ_MAKE_FLAGS="-j$(getconf _NPROCESSORS_ONLN)"
156
157# If you have installed Yasm delete this option:
158ac_add_options --disable-webm
159
160# If you have installed DBus-Glib delete this option:
161ac_add_options --disable-dbus
162
163# If you have installed wireless-tools delete this option:
164ac_add_options --disable-necko-wifi
165
166# If you have installed libnotify delete this option:
167ac_add_options --disable-libnotify
168
169# Uncomment this line if you compiled Cairo with --enable-tee switch and want
170# to use it instead of the bundled one:
171#ac_add_options --enable-system-cairo
172
173# Uncomment these if you have installed them:
174# ac_add_options --enable-startup-notification
175# ac_add_options --enable-system-hunspell
176# ac_add_options --enable-system-sqlite
177# ac_add_options --with-system-libevent
178# ac_add_options --with-system-libvpx
179# ac_add_options --with-system-nspr
180# ac_add_options --with-system-nss
181
182mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
183ac_add_options --disable-crashreporter
184ac_add_options --disable-debug
185ac_add_options --disable-debug-symbols
186ac_add_options --disable-installer
187ac_add_options --disable-static
188ac_add_options --disable-tests
189ac_add_options --disable-updater
190ac_add_options --enable-application=suite
191ac_add_options --enable-shared
192ac_add_options --enable-system-ffi
193ac_add_options --prefix=/usr
194ac_add_options --with-pthreads
195ac_add_options --with-system-jpeg
196ac_add_options --with-system-png
197ac_add_options --with-system-zlib
198EOF</userinput></screen>
199
200 <para>
201 If you are building against a system-installed <application>Cairo</application>
202 apply the patch:
203 </para>
204
205<screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-system_cairo-1.patch</userinput></screen>
206
207
208 <para>
209 Compile <application>SeaMonkey</application> by running the following
210 command:
211 </para>
212
213 <note><para>If you did not install Xorg in /usr, be sure to specify the
214 location with:</para>
215
216 <screen><userinput>export CPLUS_INCLUDE_PATH=$XORG_PREFIX/include
217export C_INCLUDE_PATH=$XORG_PREFIX/include</userinput></screen>
218 </note>
219
220<screen><userinput>make -f client.mk &amp;&amp;
221make -C moz-build-dir/suite/installer</userinput></screen>
222
223 <para>
224 This package does not come with a test suite. However, if
225 <application>X</application> is running it can be launched
226 from the build directory before installing with the command line:
227 <userinput>moz-build-dir/mozilla/dist/seamonkey/seamonkey</userinput>
228 </para>
229
230 <para>
231 Install <application>SeaMonkey</application> by issuing the following
232 commands as the <systemitem class="username">root</systemitem> user:
233 </para>
234
235<screen role="root"><userinput>rm -rf /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
236mkdir -pv /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
237
238tar -xf moz-build-dir/mozilla/dist/seamonkey-&seamonkey-version;.en-US.linux-$(uname -m).tar.bz2 \
239 -C /usr/lib/seamonkey-&seamonkey-version; --strip-components=1 &amp;&amp;
240
241ln -sfv ../lib/seamonkey-&seamonkey-version;/seamonkey /usr/bin &amp;&amp;
242
243mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
244ln -sfv ../mozilla/plugins /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
245
246cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
247
248 <bridgehead renderas="sect3" id="npapi-seamonkey" xreflabel="SeaMonkey">
249 NPAPI Headers
250 </bridgehead>
251 <para>
252 The above instructions just install the parts you need to run
253 <application>SeaMonkey</application>. If you want to compile
254 <xref linkend="gnash"/>, the open source version of Flash, copy some
255 headers that Gnash needs into /usr/include, as the
256 <systemitem class="username">root</systemitem> user:
257 </para>
258
259<screen role="root"><userinput>rm -rf /usr/include/npapi &amp;&amp;
260mkdir -v /usr/include/npapi &amp;&amp;
261cp -v mozilla/dom/plugins/base/*.h /usr/include/npapi</userinput></screen>
262
263 <bridgehead renderas="sect3" id="devel-seamonkey" xreflabel="SeaMonkey">
264 All the Development Libraries and Headers
265 </bridgehead>
266
267 <para>
268 If you want to install the full <application>SeaMonkey</application>
269 development environment, as the
270 <systemitem class="username">root</systemitem> user:
271 </para>
272
273<screen role="root"><userinput>make -C moz-build-dir install</userinput></screen>
274 </sect2>
275
276 <sect2 role="commands">
277 <title>Command Explanations</title>
278
279 <para>
280 <command>make -f client.mk</command>: Mozilla products are packaged to
281 allow the use of a configuration file which can be used to pass the
282 configuration settings to the <command>configure</command> command.
283 <command>make</command> uses the <filename>client.mk</filename> file to
284 get initial configuration and setup parameters.
285 </para>
286
287 <para>
288 <command>make -C moz-build-dir/suite/installer</command>: this creates a
289 tarball of the finished <application>SeaMonkey</application>.
290 </para>
291
292 <para>
293 <command>tar xf
294 moz-build-dir/mozilla/dist/seamonkey-&seamonkey-version;.en-US.linux-$(uname -m).tar.bz2
295 -C /usr/lib/seamonkey-&seamonkey-version; --strip-components=1</command>:
296 this untars <application>SeaMonkey</application> into
297 /usr/lib/seamonkey-&seamonkey-version;.
298 </para>
299
300 <para>
301 <command>ln -s ../mozilla/plugins
302 /usr/lib/seamonkey-&seamonkey-version;</command>: this creates a symlink
303 to <filename class="directory">/usr/lib/mozilla/plugins</filename> for the
304 sake of compatibility, to keep all your plugins in the place mozilla
305 plugins are normally found.
306 </para>
307 </sect2>
308
309 <sect2 role="configuration">
310 <title>Configuring SeaMonkey</title>
311
312 <para>
313 If you deleted the <option>--disable-webm</option> option from your
314 <filename>mozconfig</filename>, your <application>SeaMonkey</application>
315 can play most youtube videos without the need for the flash plugin. To
316 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
317 on 'Join the HTML5 Trial' (needs cookies enabled).
318 </para>
319
320 <para>
321 For installing various <application>SeaMonkey</application> plugins, refer
322 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
323 Project</ulink>.
324 </para>
325
326 <para>
327 Along with using the <quote>Preferences</quote> menu to configure
328 <application>SeaMonkey</application>'s options and preferences to suit
329 individual tastes, finer grain control of many options is only available
330 using a tool not available from the general menu system. To access this
331 tool, you'll need to open a browser window and enter
332 <systemitem role="url">about:config</systemitem> in the address bar. This
333 will display a list of the configuration preferences and information
334 related to each one. You can use the <quote>Filter:</quote> bar to enter
335 search criteria and narrow down the listed items. Changing a preference
336 can be done using two methods. One, if the preference has a boolean value
337 (True/False), simply double-click on the preference to toggle the value
338 and two, for other preferences simply right-click on the desired line,
339 choose <quote>Modify</quote> from the menu and change the value. Creating
340 new preference items is accomplished in the same way, except choose
341 <quote>New</quote> from the menu and provide the desired data into the
342 fields when prompted.
343 </para>
344
345 <tip>
346 <para>
347 There is a multitude of configuration parameters you can tweak to
348 customize <application>SeaMonkey</application>. A very extensive list of
349 these parameters can be found at
350 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
351 </para>
352 </tip>
353
354 <para>
355 If you use a desktop environment like <application>Gnome</application> or
356 <application>KDE</application> you may wish to create a
357 <filename>seamonkey.desktop</filename> file so that
358 <application>SeaMonkey</application> appears in the panel's menus. If you
359 didn't enable <application>Startup-Notification</application> in your
360 mozconfig change the StartupNotify line to false. As the
361 <systemitem class="username">root</systemitem> user:
362 </para>
363
364<screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &amp;&amp;
365
366cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF" &amp;&amp;
367[Desktop Entry]
368Encoding=UTF-8
369Type=Application
370Name=SeaMonkey
371Comment=The Mozilla Suite
372Icon=seamonkey
373Exec=seamonkey
374Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
375StartupNotify=true
376Terminal=false
377EOF
378
379ln -sfv /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png \
380 /usr/share/pixmaps</userinput></screen>
381 </sect2>
382
383 <sect2 role="content">
384 <title>Contents</title>
385
386 <segmentedlist>
387 <segtitle>Installed Programs</segtitle>
388 <segtitle>Installed Libraries</segtitle>
389 <segtitle>Installed Directories</segtitle>
390
391 <seglistitem>
392 <seg>seamonkey</seg>
393 <seg>
394 Numerous libraries, browser, and email/newsgroup components, plugins,
395 extensions, and helper modules installed in <filename
396 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
397 </seg>
398 <seg>
399 /usr/include/npapi and
400 /usr/lib/seamonkey-&seamonkey-version;.
401 </seg>
402 </seglistitem>
403 </segmentedlist>
404
405 <variablelist>
406 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
407 <?dbfo list-presentation="list"?>
408 <?dbhtml list-presentation="table"?>
409
410 <varlistentry id="seamonkey-prog">
411 <term><command>seamonkey</command></term>
412 <listitem>
413 <para>
414 is the Mozilla browser/email/newsgroup/chat client suite.
415 </para>
416 <indexterm zone="seamonkey seamonkey-prog">
417 <primary sortas="b-seamonkey">seamonkey</primary>
418 </indexterm>
419 </listitem>
420 </varlistentry>
421 </variablelist>
422 </sect2>
423</sect1>
Note: See TracBrowser for help on using the repository browser.