seamonkey-2.8

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9708 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Andrew Benton 2012-03-14 22:11:21 +00:00
parent 90c66074a5
commit a0d389d34b
3 changed files with 178 additions and 122 deletions

View File

@ -894,7 +894,7 @@ program you invoke. Development restarted Feb 12, so commented until a new rele
<!ENTITY openoffice-version "3.2.1">
<!-- Chapter 37 -->
<!ENTITY seamonkey-version "2.7.2">
<!ENTITY seamonkey-version "2.8">
<!-- Don't forget xulrunner -->
<!ENTITY firefox-version "11.0">

View File

@ -68,6 +68,9 @@
<listitem>
<para>[krejzi] - libexif 0.6.20.</para>
</listitem>
<listitem>
<para>[abenton] - Seamonkey 2.8.</para>
</listitem>
</itemizedlist>
</listitem>

View File

@ -8,8 +8,8 @@
"http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
<!ENTITY seamonkey-download-ftp
"ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
<!ENTITY seamonkey-md5sum "44f9bd3c68951f2f21ab0f1fea123383">
<!ENTITY seamonkey-size "93.5 MB">
<!ENTITY seamonkey-md5sum "a7128f6bcd16bebed4a7c3487b69c38f">
<!ENTITY seamonkey-size "97 MB">
<!ENTITY seamonkey-buildsize "3 GB (46 MB installed)">
<!ENTITY seamonkey-time "26.6 SBU">
]>
@ -31,92 +31,122 @@
<sect2 role="package">
<title>Introduction to SeaMonkey</title>
<para><application>SeaMonkey</application> is a browser suite, the Open
Source sibling of <application>Netscape</application>. It includes the
browser, composer, mail and news clients, and an IRC client. It is the
follow-on to the Mozilla browser suite.</para>
<para>
<application>SeaMonkey</application> is a browser suite, the Open Source
sibling of <application>Netscape</application>. It includes the browser,
composer, mail and news clients, and an IRC client. It is the follow-on
to the Mozilla browser suite.
</para>
<para>The Mozilla project also hosts two subprojects that aim to satisfy
the needs of users who don't need the complete browser suite or prefer
to have separate applications for browsing and e-mail. These subprojects
are <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
based on the <application>Mozilla</application> source code.
<!-- if you delete the - -enable-application=suite option,
<application>Thunderbird</application> will be built from this source
tarball...--></para>
<para>
The Mozilla project also hosts two subprojects that aim to satisfy the
needs of users who don't need the complete browser suite or prefer to have
separate applications for browsing and e-mail. These subprojects are
<xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
based on the <application>Mozilla</application> source code.
</para>
&lfs71_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&seamonkey-download-http;"/></para>
<para>
Download (HTTP): <ulink url="&seamonkey-download-http;"/>
</para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&seamonkey-download-ftp;"/></para>
<para>
Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
</para>
</listitem>
<listitem>
<para>Download MD5 sum: &seamonkey-md5sum;</para>
<para>
Download MD5 sum: &seamonkey-md5sum;
</para>
</listitem>
<listitem>
<para>Download size: &seamonkey-size;</para>
<para>
Download size: &seamonkey-size;
</para>
</listitem>
<listitem>
<para>Estimated disk space required: &seamonkey-buildsize;</para>
<para>
Estimated disk space required: &seamonkey-buildsize;
</para>
</listitem>
<listitem>
<para>Estimated build time: &seamonkey-time;</para>
<para>
Estimated build time: &seamonkey-time;
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="alsa-lib"/>, <xref linkend="gtk2"/>
<xref linkend="zip"/> and <xref linkend="unzip"/></para>
<para role="required">
<xref linkend="alsa-lib"/>,
<xref linkend="gtk2"/>,
<xref linkend="zip"/> and
<xref linkend="unzip"/>.
</para>
<note>
<para><application>libjpeg</application> and
<application>libpng</application> (patched for apng support) should have
been installed before <application>gdk-pixbuf</application> and should
exist on your system. If for some strange reason you haven't
installed them, you should remove the <option>--with-system-jpeg</option>
and <option>--with-system-png</option> options from the
<filename>mozconfig</filename> file created below.</para>
<para>
<application>libjpeg</application> and <application>libpng</application>
(patched for apng support) should have been installed before
<application>gdk-pixbuf</application> and should exist on your system.
If for some strange reason you haven't installed them, you should remove
the <option>--with-system-jpeg</option> and
<option>--with-system-png</option> options from the
<filename>mozconfig</filename> file created below.
</para>
</note>
<bridgehead renderas="sect4">Recommended</bridgehead>
<para role="recommended"><xref linkend="yasm"/> or
<xref linkend="libvpx"/> (to allow <application>Seamonkey</application> to
play webm videos).</para>
<para role="recommended">
<xref linkend="yasm"/> or <xref linkend="libvpx"/>
(to allow <application>Seamonkey</application> to play webm videos).
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="dbus-glib"/>,
<xref linkend="startup-notification"/>, <xref linkend="sqlite"/>,
<ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
<ulink url="http://libevent.org/">Libevent</ulink>,
<xref linkend="doxygen"/>, <xref linkend="gnome-vfs"/> and
<xref linkend="libgnomeui"/> (for gnome integration),
<xref linkend="libnotify"/>, <xref linkend="nspr"/>, <xref linkend="nss"/>,
<xref linkend="wireless_tools"/>,
<ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
the jemalloc code) and <xref linkend="wget"/></para>
<para role="optional">
<xref linkend="dbus-glib"/>,
<xref linkend="startup-notification"/>,
<xref linkend="sqlite"/>,
<ulink url="http://hunspell.sourceforge.net/">Hunspell</ulink>,
<ulink url="http://libevent.org/">Libevent</ulink>,
<xref linkend="doxygen"/>,
<xref linkend="gnome-vfs"/> and <xref linkend="libgnomeui"/>
(for integration with the old version of <application>Gnome</application>),
<xref linkend="libnotify"/>,
<xref linkend="nspr"/>,
<xref linkend="nss"/>,
<xref linkend="wireless_tools"/>,
<ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
the jemalloc code) and
<xref linkend="wget"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/seamonkey"/></para>
<para condition="html" role="usernotes">
User Notes: <ulink url="&blfs-wiki;/seamonkey"/>
</para>
</sect2>
<sect2 role="installation">
<title>Installation of SeaMonkey</title>
<para>The configuration of <application>SeaMonkey</application> is
accomplished by creating a <filename>mozconfig</filename> file containing
the desired configuration options. A default <filename>mozconfig</filename>
file is created below. To see the entire list of available configuration
options (and an abbreviated description of each one), issue
<command>./configure --help</command>. You may also wish to review the
entire file and uncomment any other desired options. Create the file by
issuing the following command:</para>
<para>
The configuration of <application>SeaMonkey</application> is accomplished
by creating a <filename>mozconfig</filename> file containing the desired
configuration options. A default <filename>mozconfig</filename> file is
created below. To see the entire list of available configuration options
(and an abbreviated description of each one), issue
<command>./configure --help</command>. You may also wish to review the
entire file and uncomment any other desired options. Create the file by
issuing the following command:
</para>
<screen><?dbfo keep-together="auto"?><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
# If you have a multicore machine you can speed up the build by running
@ -162,20 +192,26 @@ ac_add_options --disable-updater
ac_add_options --disable-tests
EOF</userinput></screen>
<para>Compile <application>SeaMonkey</application> by running the
following command:</para>
<para>
Compile <application>SeaMonkey</application> by running the following
command:
</para>
<screen><userinput>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION#VPX_CODEC_USE_INPUT_FRAGMENTS#' \
mozilla/configure &amp;&amp;
make -f client.mk</userinput></screen>
<para>This package does not come with a test suite. However, it
can be launched from the build directory before installing with the
command line:
<userinput>moz-build-dir/mozilla/dist/seamonkey/seamonkey</userinput></para>
<para>
This package does not come with a test suite. However, if
<application>X</application> is running it can be launched
from the build directory before installing with the command line:
<userinput>moz-build-dir/mozilla/dist/seamonkey/seamonkey</userinput>
</para>
<para>Install <application>SeaMonkey</application> by issuing the following
commands as the <systemitem class="username">root</systemitem> user:</para>
<para>
Install <application>SeaMonkey</application> by issuing the following
commands as the <systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>make -C moz-build-dir install &amp;&amp;
mkdir -pv /usr/lib/mozilla/plugins &amp;&amp;
@ -186,72 +222,90 @@ cp -v moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</useri
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>sed -i 's#VPX_CODEC_USE ...</command>: This fixes
mozilla's <command>configure</command> script to properly detect
libvpx-v1.0.0. This sed is not needed if you have libvpx-v0.9.7 or earlier
installed or if you've not installed <xref linkend="libvpx"/>.</para>
<para>
<command>sed -i 's#VPX_CODEC_USE_INPUT_PARTITION ...</command>: This fixes
mozilla's <command>configure</command> script to properly detect
<xref linkend="libvpx"/>. This sed is not needed if you have libvpx-v0.9.7
or earlier installed or if you've not installed
<application>Libvpx</application>.
</para>
<para><command>make -f client.mk</command>: Mozilla products are
packaged to allow the use of a configuration file which can be used to
pass the configuration settings to the <command>configure</command>
command. <command>make</command> uses the <filename>client.mk</filename>
file to get initial configuration and setup parameters.</para>
<para>
<command>make -f client.mk</command>: Mozilla products are packaged to
allow the use of a configuration file which can be used to pass the
configuration settings to the <command>configure</command> command.
<command>make</command> uses the <filename>client.mk</filename> file to
get initial configuration and setup parameters.
</para>
<para><command>make -C moz-build-dir install</command>: this runs
<command>make install</command> inside the moz-build-dir
directory.</para>
<para>
<command>make -C moz-build-dir install</command>: this runs
<command>make install</command> inside the moz-build-dir directory.
</para>
<para><command>ln -s ../mozilla/plugins
/usr/lib/seamonkey-&seamonkey-version;</command>: this creates a symlink to
<filename class="directory">/usr/lib/mozilla/plugins</filename> for the
sake of compatibility, to keep all your plugins in the place mozilla
plugins are normally found.</para>
<para>
<command>ln -s ../mozilla/plugins
/usr/lib/seamonkey-&seamonkey-version;</command>: this creates a symlink
to <filename class="directory">/usr/lib/mozilla/plugins</filename> for the
sake of compatibility, to keep all your plugins in the place mozilla
plugins are normally found.
</para>
</sect2>
<sect2 role="configuration">
<title>Configuring SeaMonkey</title>
<para>If you deleted the <option>--disable-webm</option> option from your
<filename>mozconfig</filename>, your <application>Seamonkey</application>
can play most youtube videos without the need for the flash plugin. To
enable this, go to <ulink
url="http://www.youtube.com/html5">http://www.youtube.com/html5</ulink>
and click on 'Join the HTML5 Trial' (needs cookies enabled).</para>
<para>
If you deleted the <option>--disable-webm</option> option from your
<filename>mozconfig</filename>, your <application>Seamonkey</application>
can play most youtube videos without the need for the flash plugin. To
enable this, go to <ulink url="http://www.youtube.com/html5"/> and click
on 'Join the HTML5 Trial' (needs cookies enabled).
</para>
<para>For installing various <application>SeaMonkey</application> plugins,
refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
PluginDoc Project</ulink>.</para>
<para>
For installing various <application>SeaMonkey</application> plugins, refer
to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's PluginDoc
Project</ulink>.
</para>
<para>Along with using the <quote>Preferences</quote> menu to configure
<application>SeaMonkey</application>'s options and preferences to suit
individual tastes, finer grain control of many options is only available
using a tool not available from the general menu system. To access this
tool, you'll need to open a browser window and enter
<systemitem role="url">about:config</systemitem> in the
address bar. This will display a list of the configuration preferences and
information related to each one. You can use the <quote>Filter:</quote> bar
to enter search criteria and narrow down the listed items. Changing a
preference can be done using two methods. One, if the preference has a
boolean value (True/False), simply double-click on the preference to toggle
the value and two, for other preferences simply right-click on the desired
line, choose <quote>Modify</quote> from the menu and change the value.
Creating new preference items is accomplished in the same way, except
choose <quote>New</quote> from the menu and provide the desired data into
the fields when prompted.</para>
<para>
Along with using the <quote>Preferences</quote> menu to configure
<application>SeaMonkey</application>'s options and preferences to suit
individual tastes, finer grain control of many options is only available
using a tool not available from the general menu system. To access this
tool, you'll need to open a browser window and enter
<systemitem role="url">about:config</systemitem> in the address bar. This
will display a list of the configuration preferences and information
related to each one. You can use the <quote>Filter:</quote> bar to enter
search criteria and narrow down the listed items. Changing a preference
can be done using two methods. One, if the preference has a boolean value
(True/False), simply double-click on the preference to toggle the value
and two, for other preferences simply right-click on the desired line,
choose <quote>Modify</quote> from the menu and change the value. Creating
new preference items is accomplished in the same way, except choose
<quote>New</quote> from the menu and provide the desired data into the
fields when prompted.
</para>
<tip>
<para>There is a multitude of configuration parameters you can tweak to
customize <application>SeaMonkey</application>. A very extensive list
of these parameters can be found at <ulink
url="http://preferential.mozdev.org/preferences.html"/>.</para>
<para>
There is a multitude of configuration parameters you can tweak to
customize <application>SeaMonkey</application>. A very extensive list of
these parameters can be found at
<ulink url="http://preferential.mozdev.org/preferences.html"/>.
</para>
</tip>
<para>If you use a desktop environment like <application>Gnome</application>
or <application>KDE</application> you may wish to create a
seamonkey.desktop file so that <application>Seamonkey</application>
appears in the panel's menus. If you didn't enable
startup-notification in your mozconfig change the StartupNotify line to
false. As the <systemitem class="username">root</systemitem> user:</para>
<para>
If you use a desktop environment like <application>Gnome</application> or
<application>KDE</application> you may wish to create a
<filename>seamonkey.desktop</filename> file so that
<application>Seamonkey</application> appears in the panel's menus. If you
didn't enable <application>Startup-Notification</application> in your
mozconfig change the StartupNotify line to false. As the
<systemitem class="username">root</systemitem> user:
</para>
<screen role="root"><userinput>cat &gt; /usr/share/applications/seamonkey.desktop &lt;&lt; "EOF"
[Desktop Entry]
@ -278,9 +332,11 @@ ln -sv -f /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.
<seglistitem>
<seg>seamonkey</seg>
<seg>Numerous libraries, browser, and email/newsgroup components,
plugins, extensions, and helper modules installed in <filename
class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename></seg>
<seg>
Numerous libraries, browser, and email/newsgroup components, plugins,
extensions, and helper modules installed in <filename
class="directory">/usr/lib/seamonkey-&seamonkey-version;</filename>
</seg>
<seg>/usr/lib/seamonkey-&seamonkey-version;</seg>
</seglistitem>
</segmentedlist>
@ -293,12 +349,9 @@ ln -sv -f /usr/lib/seamonkey-&seamonkey-version;/chrome/icons/default/seamonkey.
<varlistentry id="seamonkey-prog">
<term><command>seamonkey</command></term>
<listitem>
<para>is a browser/email/newsgroup/chat client suite. The
various components such as the Composer, mail-news client,
IRC chat client, and address book can be accessed from the menu after
<command>seamonkey</command> starts or via command-line switches to
the <command>seamonkey</command> script. Issue
<command>man seamonkey</command> for additional information.</para>
<para>
is Mozilla browser/email/newsgroup/chat client suite.
</para>
<indexterm zone="seamonkey seamonkey-prog">
<primary sortas="b-seamonkey">seamonkey</primary>
</indexterm>