source: xsoft/graphweb/seamonkey.xml@ 6c83646

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 6c83646 was 6c83646, checked in by Andrew Benton <andy@…>, 12 years ago

Seamonkey gcc-4.7 patch

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

  • Property mode set to 100644
File size: 13.8 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 "a7128f6bcd16bebed4a7c3487b69c38f">
12 <!ENTITY seamonkey-size "97 MB">
13 <!ENTITY seamonkey-buildsize "3 GB (46 MB installed)">
14 <!ENTITY seamonkey-time "26.6 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 &lfs71_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 Downloads</bridgehead>
86 <itemizedlist spacing="compact">
87 <listitem>
88 <para>
89 Required patch if you're using <application>GCC-4.7</application>:
90 <ulink url="&patch-root;/seamonkey-&seamonkey-version;-gcc-4.7-1.patch"/>
91 </para>
92 </listitem>
93 </itemizedlist>
94
95 <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
96
97 <bridgehead renderas="sect4">Required</bridgehead>
98 <para role="required">
99 <xref linkend="alsa-lib"/>,
100 <xref linkend="gtk2"/>,
101 <xref linkend="zip"/> and
102 <xref linkend="unzip"/>.
103 </para>
104
105 <note>
106 <para>
107 <application>libjpeg</application> and <application>libpng</application>
108 (patched for apng support) should have been installed before
109 <application>gdk-pixbuf</application> and should exist on your system.
110 If for some strange reason you haven't installed them, you should remove
111 the <option>--with-system-jpeg</option> and
112 <option>--with-system-png</option> options from the
113 <filename>mozconfig</filename> file created below.
114 </para>
115 </note>
116
117 <bridgehead renderas="sect4">Recommended</bridgehead>
118 <para role="recommended">
119 <xref linkend="yasm"/> or <xref linkend="libvpx"/>
120 (to allow <application>Seamonkey</application> to play webm videos).
121 </para>
122
123 <bridgehead renderas="sect4">Optional</bridgehead>
124 <para role="optional">
125 <xref linkend="dbus-glib"/>,
126 <xref linkend="startup-notification"/>,
127 <xref linkend="sqlite"/>,
128 <ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
129 <ulink url="http://libevent.org/">Libevent</ulink>,
130 <xref linkend="doxygen"/>,
131 <xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/>
132 (for integration with the old version of <application>Gnome</application>),
133 <xref linkend="libnotify"/>,
134 <xref linkend="nspr"/>,
135 <xref linkend="nss"/>,
136 <xref linkend="wireless_tools"/>,
137 <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
138 the jemalloc code) and
139 <xref linkend="wget"/>
140 </para>
141
142 <para condition="html" role="usernotes">
143 User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
144 </para>
145 </sect2>
146
147 <sect2 role="installation">
148 <title>Installation of SeaMonkey</title>
149
150 <para>
151 The configuration of <application>SeaMonkey</application> is accomplished
152 by creating a <filename>mozconfig</filename> file containing the desired
153 configuration options. A default <filename>mozconfig</filename> file is
154 created below. To see the entire list of available configuration options
155 (and an abbreviated description of each one), issue
156 <command>./configure --help</command>. You may also wish to review the
157 entire file and uncomment any other desired options. Create the file by
158 issuing the following command:
159 </para>
160
161<screen><?dbfo keep-together="auto"?><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
162# If you have a multicore machine you can speed up the build by running
163# several jobs at once, but if you have a single core, delete this line:
164mk_add_options MOZ_MAKE_FLAGS="-j4"
165
166# If you have installed Yasm delete this option:
167ac_add_options --disable-webm
168
169# If you have installed DBus-Glib delete this option:
170ac_add_options --disable-dbus
171
172# If you have installed wireless-tools delete this option:
173ac_add_options --disable-necko-wifi
174
175# If you have installed libnotify delete this option:
176ac_add_options --disable-libnotify
177
178# Uncomment these if you have installed them:
179# ac_add_options --with-system-nspr
180# ac_add_options --with-system-nss
181# ac_add_options --enable-system-sqlite
182# ac_add_options --with-system-libvpx
183# ac_add_options --enable-startup-notification
184# ac_add_options --enable-system-hunspell
185# ac_add_options --with-system-libevent
186
187mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
188ac_add_options --enable-application=suite
189ac_add_options --prefix=/usr
190ac_add_options --with-pthreads
191ac_add_options --enable-system-ffi
192ac_add_options --with-system-jpeg
193ac_add_options --with-system-png
194ac_add_options --enable-system-cairo
195ac_add_options --with-system-zlib
196ac_add_options --enable-shared
197ac_add_options --disable-static
198ac_add_options --disable-debug
199ac_add_options --disable-crashreporter
200ac_add_options --disable-installer
201ac_add_options --disable-updater
202ac_add_options --disable-tests
203EOF</userinput></screen>
204
205 <para>
206 Compile <application>SeaMonkey</application> by running the following
207 command:
208 </para>
209
210<screen><userinput>patch -p1 &lt; ../seamonkey-&seamonkey-version;-gcc-4.7-1.patch &amp;&amp;
211sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' \
212 mozilla/configure &amp;&amp;
213make -f client.mk</userinput></screen>
214
215 <para>
216 This package does not come with a test suite. However, if
217 <application>X</application> is running it can be launched
218 from the build directory before installing with the command line:
219 <userinput>moz-build-dir/mozilla/dist/seamonkey/seamonkey</userinput>
220 </para>
221
222 <para>
223 Install <application>SeaMonkey</application> by issuing the following
224 commands as the <systemitem class="username">root</systemitem> user:
225 </para>
226
227<screen role="root"><userinput>make -C moz-build-dir install &amp;&amp;
228mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
229ln -svf ../mozilla/plugins /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
230cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
231 </sect2>
232
233 <sect2 role="commands">
234 <title>Command Explanations</title>
235
236 <para>
237 <command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
238 mozilla's <command>configure</command> script to properly detect
239 <xref linkend="libvpx"/>. This sed is not needed if you have libvpx-v0.9.7
240 or earlier installed or if you've not installed
241 <application>Libvpx</application>.
242 </para>
243
244 <para>
245 <command>make -f client.mk</command>: Mozilla products are packaged to
246 allow the use of a configuration file which can be used to pass the
247 configuration settings to the <command>configure</command> command.
248 <command>make</command> uses the <filename>client.mk</filename> file to
249 get initial configuration and setup parameters.
250 </para>
251
252 <para>
253 <command>make -C moz-build-dir install</command>: this runs
254 <command>make install</command> inside the moz-build-dir directory.
255 </para>
256
257 <para>
258 <command>ln -s ../mozilla/plugins
259 /usr/lib/seamonkey-&seamonkey-version;</command>: this creates a symlink
260 to <filename class="directory">/usr/lib/mozilla/plugins</filename> for the
261 sake of compatibility, to keep all your plugins in the place mozilla
262 plugins are normally found.
263 </para>
264 </sect2>
265
266 <sect2 role="configuration">
267 <title>Configuring SeaMonkey</title>
268
269 <para>
270 If you deleted the <option>--disable-webm</option> option from your
271 <filename>mozconfig</filename>, your <application>Seamonkey</application>
272 can play most youtube videos without the need for the flash plugin. To
273 enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
274 on 'Join the HTML5 Trial' (needs cookies enabled).
275 </para>
276
277 <para>
278 For installing various <application>SeaMonkey</application> plugins, refer
279 to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
280 Project</ulink>.
281 </para>
282
283 <para>
284 Along with using the <quote>Preferences</quote> menu to configure
285 <application>SeaMonkey</application>'s options and preferences to suit
286 individual tastes, finer grain control of many options is only available
287 using a tool not available from the general menu system. To access this
288 tool, you'll need to open a browser window and enter
289 <systemitem role="url">about:config</systemitem> in the address bar. This
290 will display a list of the configuration preferences and information
291 related to each one. You can use the <quote>Filter:</quote> bar to enter
292 search criteria and narrow down the listed items. Changing a preference
293 can be done using two methods. One, if the preference has a boolean value
294 (True/False), simply double-click on the preference to toggle the value
295 and two, for other preferences simply right-click on the desired line,
296 choose <quote>Modify</quote> from the menu and change the value. Creating
297 new preference items is accomplished in the same way, except choose
298 <quote>New</quote> from the menu and provide the desired data into the
299 fields when prompted.
300 </para>
301
302 <tip>
303 <para>
304 There is a multitude of configuration parameters you can tweak to
305 customize <application>SeaMonkey</application>. A very extensive list of
306 these parameters can be found at
307 <ulink url="http://preferential.mozdev.org/preferences.html"/>.
308 </para>
309 </tip>
310
311 <para>
312 If you use a desktop environment like <application>Gnome</application> or
313 <application>KDE</application> you may wish to create a
314 <filename>seamonkey.desktop</filename> file so that
315 <application>Seamonkey</application> appears in the panel's menus. If you
316 didn't enable <application>Startup-Notification</application> in your
317 mozconfig change the StartupNotify line to false. As the
318 <systemitem class="username">root</systemitem> user:
319 </para>
320
321<screen role="root"><userinput>cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
322[Desktop Entry]
323Encoding=UTF-8
324Type=Application
325Name=Seamonkey
326Comment=The Mozilla Suite
327Icon=seamonkey
328Exec=seamonkey
329Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
330StartupNotify=true
331Terminal=false
332EOF
333ln -sv -f /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.png /usr/share/pixmaps</userinput></screen>
334 </sect2>
335
336 <sect2 role="content">
337 <title>Contents</title>
338
339 <segmentedlist>
340 <segtitle>Installed Programs</segtitle>
341 <segtitle>Installed Libraries</segtitle>
342 <segtitle>Installed Directories</segtitle>
343
344 <seglistitem>
345 <seg>seamonkey</seg>
346 <seg>
347 Numerous libraries, browser, and email/newsgroup components, plugins,
348 extensions, and helper modules installed in <filename
349 class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
350 </seg>
351 <seg>/usr/lib/seamonkey-&seamonkey-version;</seg>
352 </seglistitem>
353 </segmentedlist>
354
355 <variablelist>
356 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
357 <?dbfo list-presentation="list"?>
358 <?dbhtml list-presentation="table"?>
359
360 <varlistentry id="seamonkey-prog">
361 <term><command>seamonkey</command></term>
362 <listitem>
363 <para>
364 is Mozilla browser/email/newsgroup/chat client suite.
365 </para>
366 <indexterm zone="seamonkey seamonkey-prog">
367 <primary sortas="b-seamonkey">seamonkey</primary>
368 </indexterm>
369 </listitem>
370 </varlistentry>
371 </variablelist>
372 </sect2>
373</sect1>
Note: See TracBrowser for help on using the repository browser.