[f939f05] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[ff769b8c] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[f939f05] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[b5eb704] | 7 | <!ENTITY mozilla-download-http "http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/seamonkey-&seamonkey-version;.source.tar.bz2">
|
---|
| 8 | <!ENTITY mozilla-download-ftp "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/seamonkey-&seamonkey-version;.source.tar.bz2">
|
---|
| 9 | <!ENTITY mozilla-md5sum "e4f2edc5b2248d090303c70f5b28f210">
|
---|
| 10 | <!ENTITY mozilla-size "33.3 MB">
|
---|
| 11 | <!ENTITY mozilla-buildsize "625 MB">
|
---|
| 12 | <!ENTITY mozilla-time "15.3 SBU">
|
---|
[7f588e9a] | 13 |
|
---|
[b5eb704] | 14 | <!ENTITY mozilla-enigmail-version "0.94.0">
|
---|
[7f588e9a] | 15 | <!ENTITY mozilla-enigmail-download "http://www.mozilla-enigmail.org/downloads/src/enigmail-&mozilla-enigmail-version;.tar.gz">
|
---|
[b5eb704] | 16 | <!ENTITY mozilla-enigmail-md5sum "d326c302c1d2d68217fffcaa01ca7632">
|
---|
[f939f05] | 17 | ]>
|
---|
| 18 |
|
---|
[d59969b] | 19 | <sect1 id="seamonkey" xreflabel="SeaMonkey-&seamonkey-version;">
|
---|
[b5eb704] | 20 | <?dbhtml filename="seamonkey.html" ?>
|
---|
[88dd2f52] | 21 |
|
---|
| 22 | <sect1info>
|
---|
| 23 | <othername>$LastChangedBy$</othername>
|
---|
| 24 | <date>$Date$</date>
|
---|
[d1f23e0] | 25 | <keywordset>
|
---|
[b5eb704] | 26 | <keyword role="package">seamonkey-&seamonkey-version;-source.tar</keyword>
|
---|
| 27 | <keyword role="ftpdir">seamonkey</keyword>
|
---|
[d1f23e0] | 28 | </keywordset>
|
---|
[88dd2f52] | 29 | </sect1info>
|
---|
| 30 |
|
---|
[d59969b] | 31 | <title>SeaMonkey-&seamonkey-version;</title>
|
---|
[88dd2f52] | 32 |
|
---|
[b5eb704] | 33 | <indexterm zone="seamonkey">
|
---|
[d59969b] | 34 | <primary sortas="a-SeaMonkey">SeaMonkey</primary>
|
---|
[88dd2f52] | 35 | </indexterm>
|
---|
| 36 |
|
---|
| 37 | <sect2 role="package">
|
---|
[d59969b] | 38 | <title>Introduction to SeaMonkey</title>
|
---|
[88dd2f52] | 39 |
|
---|
[d59969b] | 40 | <para><application>SeaMonkey</application> is a browser suite, the Open
|
---|
[88dd2f52] | 41 | Source sibling of <application>Netscape</application>. It includes the
|
---|
| 42 | browser, composer, mail and news clients, a calendar client and an
|
---|
[b5eb704] | 43 | IRC client. It is the follow-on to the Mozilla browser suite.</para>
|
---|
| 44 |
|
---|
| 45 | <para>The Mozilla project also hosts two subprojects that aim to satisfy
|
---|
| 46 | the needs of users who don't need the complete browser suite or prefer to
|
---|
| 47 | have separate applications for browsing and e-mail. These subprojects are
|
---|
| 48 | <ulink url="http://www.mozilla.com/firefox/">Mozilla Firefox</ulink>, (a
|
---|
| 49 | stand-alone browser based on the <application>Mozilla</application> source
|
---|
| 50 | code) and <ulink url="http://www.mozilla.com/thunderbird/">Mozilla
|
---|
| 51 | Thunderbird</ulink>, (a stand-alone mail/newsgroup client based on the
|
---|
| 52 | <application>Mozilla</application> source code). The build instructions for
|
---|
| 53 | these two applications are discussed in separate sections:</para>
|
---|
[88dd2f52] | 54 |
|
---|
| 55 | <itemizedlist>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para><xref linkend="firefox"/></para>
|
---|
| 58 | </listitem>
|
---|
| 59 | <listitem>
|
---|
| 60 | <para><xref linkend="thunderbird"/></para>
|
---|
| 61 | </listitem>
|
---|
| 62 | </itemizedlist>
|
---|
| 63 |
|
---|
| 64 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 65 | <itemizedlist spacing="compact">
|
---|
| 66 | <listitem>
|
---|
| 67 | <para>Download (HTTP): <ulink url="&mozilla-download-http;"/></para>
|
---|
| 68 | </listitem>
|
---|
| 69 | <listitem>
|
---|
| 70 | <para>Download (FTP): <ulink url="&mozilla-download-ftp;"/></para>
|
---|
| 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
| 73 | <para>Download MD5 sum: &mozilla-md5sum;</para>
|
---|
| 74 | </listitem>
|
---|
| 75 | <listitem>
|
---|
| 76 | <para>Download size: &mozilla-size;</para>
|
---|
| 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
| 79 | <para>Estimated disk space required: &mozilla-buildsize;</para>
|
---|
| 80 | </listitem>
|
---|
| 81 | <listitem>
|
---|
| 82 | <para>Estimated build time: &mozilla-time;</para>
|
---|
| 83 | </listitem>
|
---|
| 84 | </itemizedlist>
|
---|
[d59969b] | 85 |
|
---|
[88dd2f52] | 86 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[15e255f] | 87 | <itemizedlist spacing="compact">
|
---|
| 88 | <listitem>
|
---|
[d59969b] | 89 | <para>Required patch (if using system-wide NSS/NSPR provided by
|
---|
| 90 | <xref linkend="nss"/>): <ulink
|
---|
| 91 | url="&patch-root;/seamonkey-&seamonkey-version;-system_nss-1.patch"/>
|
---|
[7f588e9a] | 92 | </para>
|
---|
[15e255f] | 93 | </listitem>
|
---|
| 94 | </itemizedlist>
|
---|
[bccbdaea] | 95 |
|
---|
[b5eb704] | 96 | <para>To enable the <application>Enigmail</application> extension to the
|
---|
[d59969b] | 97 | <application>SeaMonkey</application> mail client, you'll need to download
|
---|
| 98 | the tarball listed below. The <application>Enigmail</application> extension
|
---|
| 99 | allows users to access the authentication and encryption features provided
|
---|
| 100 | by the <application>GnuPG</application> package. The
|
---|
[7f588e9a] | 101 | <application>Enigmail</application> extension will not operate correctly
|
---|
| 102 | unless you have <xref linkend="gnupg"/> installed.</para>
|
---|
[88dd2f52] | 103 |
|
---|
| 104 | <itemizedlist spacing='compact'>
|
---|
| 105 | <listitem>
|
---|
[7f588e9a] | 106 | <para><ulink url="&mozilla-enigmail-download;"/></para>
|
---|
[88dd2f52] | 107 | </listitem>
|
---|
| 108 | <listitem>
|
---|
| 109 | <para>Download MD5 sum (Enigmail): &mozilla-enigmail-md5sum;</para>
|
---|
| 110 | </listitem>
|
---|
| 111 | </itemizedlist>
|
---|
| 112 |
|
---|
[d59969b] | 113 | <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
|
---|
[88dd2f52] | 114 |
|
---|
| 115 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[b5eb704] | 116 | <para role="required">
|
---|
| 117 | <xref linkend="gtk2"/>,
|
---|
| 118 | <xref linkend="libidl"/>, and
|
---|
| 119 | <xref linkend="zip"/>
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <note>
|
---|
[d59969b] | 123 | <para><xref linkend="libjpeg"/> should have been installed before
|
---|
| 124 | <application>GTK+</application> and should exist on your system. If
|
---|
[b5eb704] | 125 | for some reason you haven't installed <application>libjpeg</application>,
|
---|
| 126 | you should remove the <option>--with-system-jpeg</option> option from the
|
---|
| 127 | <filename>.mozconfig</filename> file created below.</para>
|
---|
| 128 | </note>
|
---|
| 129 |
|
---|
| 130 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 131 | <para role="recommended">
|
---|
[d59969b] | 132 | <xref linkend="nss"/> (if you will be installing any other package that
|
---|
| 133 | utilizes NSS/NSPR, such as <application>Firefox</application>,
|
---|
[6473e74] | 134 | <application>Thunderbird</application> or
|
---|
[b5eb704] | 135 | <application>Evolution</application>)
|
---|
| 136 | </para>
|
---|
[88dd2f52] | 137 |
|
---|
| 138 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[b5eb704] | 139 | <para role="optional">
|
---|
[d59969b] | 140 | <xref linkend="unzip"/> and
|
---|
| 141 | <xref linkend="libgnomeui"/> (to build the gnomevfs extension)
|
---|
[b5eb704] | 142 | </para>
|
---|
[88dd2f52] | 143 |
|
---|
[38e4f06] | 144 | <para condition="html" role="usernotes">User Notes:
|
---|
| 145 | <ulink url="&blfs-wiki;/seamonkey"/></para>
|
---|
| 146 |
|
---|
[88dd2f52] | 147 | </sect2>
|
---|
| 148 |
|
---|
| 149 | <sect2 role="installation">
|
---|
[d59969b] | 150 | <title>Installation of SeaMonkey</title>
|
---|
[88dd2f52] | 151 |
|
---|
[d59969b] | 152 | <para>The configuration of <application>SeaMonkey</application> is
|
---|
[7f588e9a] | 153 | accomplished by creating a <filename>.mozconfig</filename> file containing
|
---|
| 154 | the desired configuration options. A default <filename>.mozconfig</filename>
|
---|
| 155 | file is created below. To see the entire list of available configuration
|
---|
| 156 | options (and an abbreviated description of each one), issue
|
---|
| 157 | <command>./configure --help</command>. Additional information can also be
|
---|
| 158 | found below in the section titled <xref linkend="add-mozconfig"/>. If you
|
---|
| 159 | are going to use system-installed versions of the
|
---|
| 160 | <application>NSS</application> and <application>NSPR</application>
|
---|
[d59969b] | 161 | libraries, ensure you uncomment the two lines near the bottom of the file. If
|
---|
[7f588e9a] | 162 | you would prefer to download the file instead of creating it by typing or
|
---|
| 163 | cut-and-pasting, you can find it at <ulink
|
---|
[b5eb704] | 164 | url="&files-anduin;/seamonkey-&seamonkey-version;-mozconfig"/>
|
---|
[7f588e9a] | 165 | (the file must be installed in the root of the source tree
|
---|
| 166 | <filename class='directory'>mozilla</filename> directory, and named
|
---|
| 167 | <filename>.mozconfig</filename>). Create the file by issuing the following
|
---|
| 168 | command:</para>
|
---|
| 169 |
|
---|
| 170 | <screen><userinput>cat > .mozconfig << "EOF"
|
---|
[d59969b] | 171 | <literal># This file contains the options used in the SeaMonkey build. You may
|
---|
| 172 | # need to specify additional options for your specific build needs.
|
---|
| 173 | # Use the information provided by running './configure --help' to
|
---|
| 174 | # help you determine if you need to add any additional options.
|
---|
| 175 | # Some additional options can be added by uncommenting the examples
|
---|
| 176 | # in this file or adding options by inserting a line containing
|
---|
| 177 | # 'ac_add_options --some-option-you-need'.
|
---|
| 178 |
|
---|
| 179 |
|
---|
| 180 | # Create an object directory and specify to build the package in that
|
---|
| 181 | # directory. If desired, modify the location of the object directory
|
---|
| 182 | # to a directory inside the source tree by removing '../' from the
|
---|
| 183 | # line below.
|
---|
| 184 | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/../seamonkey-build
|
---|
| 185 |
|
---|
| 186 | # This option is used to specify that the SeaMonkey suite is
|
---|
| 187 | # being built and to use all the default options for SeaMonkey.
|
---|
[7f588e9a] | 188 | ac_add_options --enable-application=suite
|
---|
[d59969b] | 189 |
|
---|
| 190 | # Specify the installation prefix. If you would prefer SeaMonkey
|
---|
| 191 | # installed in a different prefix, modify the line below to fit
|
---|
| 192 | # your needs. You'll also need to modify some of the instructions in
|
---|
| 193 | # the BLFS book to point to your desired prefix.
|
---|
[7f588e9a] | 194 | ac_add_options --prefix=/usr
|
---|
| 195 |
|
---|
[d59969b] | 196 | # These options are used so that the SeaMonkey binaries are linked to
|
---|
| 197 | # the system-installed copies of the specified libraries instead of
|
---|
| 198 | # the source tree code which may not be the most recent versions.
|
---|
[7f588e9a] | 199 | ac_add_options --with-system-zlib
|
---|
| 200 | ac_add_options --with-system-png
|
---|
| 201 | ac_add_options --with-system-jpeg
|
---|
[d59969b] | 202 | ac_add_options --enable-system-cairo
|
---|
[7f588e9a] | 203 |
|
---|
[d59969b] | 204 | # This option specifies to include support for rendering the HTML
|
---|
| 205 | # <canvas></canvas> tag in the SeaMonkey browser.
|
---|
| 206 | ac_add_options --enable-canvas
|
---|
| 207 |
|
---|
| 208 | # This option is used so that the debugging symbols are removed from
|
---|
| 209 | # the installed binaries during the installation process. Comment out
|
---|
| 210 | # this option if you may have a need to retain the debugging symbols
|
---|
| 211 | # in the installed binaries. Note that this can substantially
|
---|
| 212 | # increase the size of the installed binaries.
|
---|
[7f588e9a] | 213 | ac_add_options --enable-strip
|
---|
[d59969b] | 214 |
|
---|
| 215 | # This option is added so that test libraries and programs are not
|
---|
| 216 | # built. These would only be required for debugging purposes.
|
---|
[7f588e9a] | 217 | ac_add_options --disable-tests
|
---|
[d59969b] | 218 |
|
---|
| 219 | # This option is added so that the Mozilla Installer program is not
|
---|
| 220 | # built or installed. The program is not required for a BLFS
|
---|
| 221 | # installation of SeaMonkey.
|
---|
[7f588e9a] | 222 | ac_add_options --disable-installer
|
---|
[d59969b] | 223 |
|
---|
| 224 | # This option is used to disable the a11y support in the SeaMonkey
|
---|
| 225 | # binaries. Comment out this option if you require a11y support.
|
---|
[7f588e9a] | 226 | ac_add_options --disable-accessibility
|
---|
| 227 |
|
---|
[d59969b] | 228 | # This option is used to enable support for rendering SVG files in the
|
---|
| 229 | # SeaMonkey browser.
|
---|
| 230 | ac_add_options --enable-svg
|
---|
| 231 |
|
---|
| 232 | # This option is used to enable source tree included LDAP support in
|
---|
| 233 | # the SeaMonkey binaries.
|
---|
[7f588e9a] | 234 | ac_add_options --enable-ldap
|
---|
[d59969b] | 235 |
|
---|
| 236 | # This option is used to enable the calendar program in the
|
---|
| 237 | # SeaMonkey suite.
|
---|
[7f588e9a] | 238 | ac_add_options --enable-calendar
|
---|
| 239 |
|
---|
[d59969b] | 240 | # These two options enable support for building SeaMonkey with
|
---|
| 241 | # system-installed versions of the Network Security Services (NSS)
|
---|
| 242 | # and Netscape Portable Runtime (NSPR) libraries. Uncomment both
|
---|
| 243 | # lines to enable support for system-installed NSS/NSPR.
|
---|
[7f588e9a] | 244 | #ac_add_options --with-system-nspr
|
---|
[d59969b] | 245 | #ac_add_options --with-system-nss
|
---|
| 246 |
|
---|
| 247 | # Uncomment this option if you desire support for dual-monitor
|
---|
| 248 | # display of SeaMonkey using the X-Window Xinerama libraries.
|
---|
| 249 | #ac_add_options --enable-xinerama
|
---|
| 250 |
|
---|
| 251 | # This option identifies the default binary directory of the SeaMonkey
|
---|
| 252 | # installation and is used to locate SeaMonkey's installed files. This
|
---|
| 253 | # option is not required for end-user browsing, and is only used for
|
---|
| 254 | # development purposes.
|
---|
| 255 | #ac_add_options --with-default-mozilla-five-home=/usr/lib/seamonkey-1.0</literal>
|
---|
[7f588e9a] | 256 |
|
---|
| 257 | EOF</userinput></screen>
|
---|
[d59969b] | 258 |
|
---|
[7f588e9a] | 259 | <para>If you have system-installed Network Security Services (NSS) and
|
---|
| 260 | Netscape Portable Runtime (NSPR) libraries and you uncommented the
|
---|
| 261 | appropriate lines in the <filename>.mozconfig</filename> file to utilize
|
---|
| 262 | them, apply the following patch:</para>
|
---|
| 263 |
|
---|
[b5eb704] | 264 | <screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-system_nss-1.patch</userinput></screen>
|
---|
[d59969b] | 265 |
|
---|
| 266 | <para>Compile <application>SeaMonkey</application> by running the
|
---|
| 267 | following command:</para>
|
---|
[88dd2f52] | 268 |
|
---|
[b5eb704] | 269 | <screen><userinput>make -f client.mk build</userinput></screen>
|
---|
[7f588e9a] | 270 |
|
---|
[d59969b] | 271 | <para>If you're building the <application>SeaMonkey</application>
|
---|
[7f588e9a] | 272 | mail/newsgroup client and plan to install the
|
---|
| 273 | <application>Enigmail</application> extension, issue the following
|
---|
| 274 | commands:</para>
|
---|
[f939f05] | 275 |
|
---|
[b5eb704] | 276 | <screen><userinput>tar -xf ../enigmail-&mozilla-enigmail-version;.tar.gz -C mailnews/extensions &&
|
---|
[7f588e9a] | 277 |
|
---|
[d59969b] | 278 | pushd mailnews/extensions/enigmail &&
|
---|
[7f588e9a] | 279 | ./makemake -r &&
|
---|
[d59969b] | 280 | popd &&
|
---|
[7f588e9a] | 281 |
|
---|
[d59969b] | 282 | make -C ../seamonkey-build/mailnews/extensions/enigmail &&
|
---|
| 283 | make -C ../seamonkey-build/mailnews/extensions/enigmail xpi</userinput></screen>
|
---|
[7f588e9a] | 284 |
|
---|
[d59969b] | 285 | <para>Install <application>SeaMonkey</application> by issuing the following
|
---|
[7f588e9a] | 286 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 287 |
|
---|
| 288 | <screen role="root"><userinput>make -f client.mk install &&
|
---|
| 289 |
|
---|
[d59969b] | 290 | install -v -m644 ../seamonkey-build/dist/public/ldap-private/* \
|
---|
[b5eb704] | 291 | /usr/include/seamonkey-&seamonkey-version;/ldap &&
|
---|
[7f588e9a] | 292 |
|
---|
[b5eb704] | 293 | install -v -m755 -d /usr/lib/seamonkey-&seamonkey-version;/defaults/isp/US &&
|
---|
[7f588e9a] | 294 | install -v -m644 mailnews/base/ispdata/movemail.rdf \
|
---|
[b5eb704] | 295 | /usr/lib/seamonkey-&seamonkey-version;/defaults/isp &&
|
---|
| 296 | ln -v -s ../movemail.rdf /usr/lib/seamonkey-&seamonkey-version;/defaults/isp/US</userinput></screen>
|
---|
[5dc41f0] | 297 |
|
---|
[d59969b] | 298 | <para>If you built <application>SeaMonkey</application> utilizing
|
---|
[7f588e9a] | 299 | system-installed NSS and NSPR libraries, the
|
---|
[b5eb704] | 300 | <filename>seamonkey-ns*.pc</filename> <application>pkgconfig</application>
|
---|
[4694b140] | 301 | files are broken as they point to the wrong directories where the actual
|
---|
| 302 | libraries and interface headers are located. Issue the following commands
|
---|
| 303 | as the <systemitem class="username">root</systemitem> user to replace the
|
---|
| 304 | broken files with symbolic links to known good files:</para>
|
---|
[6473e74] | 305 |
|
---|
[b5eb704] | 306 | <screen role="root"><userinput>ln -v -sf nss.pc /usr/lib/pkgconfig/seamonkey-nss.pc &&
|
---|
| 307 | ln -v -sf nspr.pc /usr/lib/pkgconfig/seamonkey-nspr.pc</userinput></screen>
|
---|
[7f588e9a] | 308 |
|
---|
| 309 | <para>If you did <emphasis role="strong">NOT</emphasis> build
|
---|
[b5eb704] | 310 | <application>seamonkey</application> utilizing system-installed NSS and
|
---|
[7f588e9a] | 311 | NSPR libraries, issue the following commands as the
|
---|
| 312 | <systemitem class="username">root</systemitem> user to install the NSS
|
---|
| 313 | interface headers:</para>
|
---|
| 314 |
|
---|
[b5eb704] | 315 | <screen role="root"><userinput>install -v -m755 -d /usr/include/seamonkey-&seamonkey-version;/nss &&
|
---|
[d59969b] | 316 | cp -v -Lf ../seamonkey-build/dist/{private,public}/nss/*.h \
|
---|
[b5eb704] | 317 | /usr/include/seamonkey-&seamonkey-version;/nss</userinput></screen>
|
---|
[7f588e9a] | 318 |
|
---|
| 319 | <para>If you built the <application>Enigmail</application> extension,
|
---|
| 320 | issue the following commands as the <systemitem
|
---|
| 321 | class="username">root</systemitem> user to install the
|
---|
| 322 | <filename>.xpi</filename> file into the
|
---|
[b5eb704] | 323 | <filename class='directory'>/usr/lib/seamonkey-&seamonkey-version;</filename>
|
---|
[7f588e9a] | 324 | directory:</para>
|
---|
| 325 |
|
---|
[b5eb704] | 326 | <screen role="root"><userinput>install -v -m755 -d /usr/lib/seamonkey-&seamonkey-version;/xpi_store &&
|
---|
[d59969b] | 327 | install -v -m644 ../seamonkey-build/dist/bin/enigmail-&mozilla-enigmail-version;-*.xpi \
|
---|
[b5eb704] | 328 | /usr/lib/seamonkey-&seamonkey-version;/xpi_store</userinput></screen>
|
---|
[7f588e9a] | 329 |
|
---|
| 330 | <para>There are two methods you can use to install the
|
---|
| 331 | <application>Enigmail</application> extension. Both are shown here and
|
---|
[d59969b] | 332 | provide similar functionality with one major difference. The first
|
---|
| 333 | method will install the extension system-wide and all users of SeaMonkey
|
---|
| 334 | will have an Enigmail-enabled mail client. The method shown later only
|
---|
| 335 | installs it on a per-user basis. The first method must be accomplished
|
---|
[7f588e9a] | 336 | now (before the object directory is removed) and uses the conventional
|
---|
| 337 | <command>make install</command> command to install the
|
---|
| 338 | <application>Enigmail</application> files straight from the distribution
|
---|
[d59969b] | 339 | directory of the object directory. The alternate method is shown as it
|
---|
[7f588e9a] | 340 | installs using the <filename class='extension'>.xpi</filename> file
|
---|
| 341 | created earlier and can be done later (at any time you desire) as the
|
---|
| 342 | file used to install <application>Enigmail</application> was copied into
|
---|
| 343 | <filename
|
---|
[b5eb704] | 344 | class='directory'>/usr/lib/seamonkey-&seamonkey-version;/xpi_store</filename>
|
---|
[7f588e9a] | 345 | in the previous step. This method can be used to install any
|
---|
| 346 | downloaded <application>Mozilla</application> extension distributed in a
|
---|
| 347 | <filename class='extension'>.xpi</filename> file. There are many
|
---|
[d59969b] | 348 | extensions available for <application>SeaMonkey</application>. A list
|
---|
[7f588e9a] | 349 | containing many of them can be found at
|
---|
| 350 | <ulink url="http://extensionroom.mozdev.org/"/>.</para>
|
---|
| 351 |
|
---|
| 352 | <para>If you want to install the <application>Enigmail</application>
|
---|
[d59969b] | 353 | extension now, which offers system-wide access, issue the following
|
---|
| 354 | commands as the <systemitem class="username">root</systemitem> user:</para>
|
---|
[d1981e0] | 355 |
|
---|
[d59969b] | 356 | <screen role="root"><userinput>make -C ../seamonkey-build/mailnews/extensions/enigmail install</userinput></screen>
|
---|
[7f588e9a] | 357 |
|
---|
| 358 | <para>To install an extension from a created or download
|
---|
| 359 | <filename class='extension'>.xpi</filename> file, you simply need to
|
---|
| 360 | <quote>open</quote> the <filename class='extension'>.xpi</filename> file
|
---|
| 361 | using the <quote>Open File</quote> option of the <quote>File</quote>
|
---|
[d59969b] | 362 | menu of the browser window. You can browse to find the file (for example,
|
---|
[7f588e9a] | 363 | the <application>Enigmail</application>
|
---|
| 364 | <filename class='extension'>.xpi</filename> file is located in
|
---|
| 365 | <filename
|
---|
[b5eb704] | 366 | class='directory'>/usr/lib/seamonkey-&seamonkey-version;/xpi_store</filename>),
|
---|
[7f588e9a] | 367 | select it, then follow the prompts to install the extension.</para>
|
---|
| 368 |
|
---|
[88dd2f52] | 369 | <note>
|
---|
[b5eb704] | 370 | <para>You should run <command>/usr/bin/seamonkey</command> once as the
|
---|
[88dd2f52] | 371 | <systemitem class="username">root</systemitem> user (or any user with
|
---|
| 372 | write privileges) to create some necessary additional files in the
|
---|
[7f588e9a] | 373 | <filename class='directory'>/usr</filename> hierarchy. Also do this
|
---|
[d59969b] | 374 | each time you install additional system-wide extensions.</para>
|
---|
[88dd2f52] | 375 | </note>
|
---|
[f939f05] | 376 |
|
---|
[88dd2f52] | 377 | </sect2>
|
---|
| 378 |
|
---|
[7f588e9a] | 379 | <sect2 role="commands" id="add-mozconfig"
|
---|
| 380 | xreflabel="Additional .mozconfig Options">
|
---|
[88dd2f52] | 381 |
|
---|
[7f588e9a] | 382 | <title>Additional .mozconfig Options</title>
|
---|
[88dd2f52] | 383 |
|
---|
[7f588e9a] | 384 | <para>Information about some of the additional options which can be added
|
---|
| 385 | to the <filename>.mozconfig</filename> configuration file is shown below.
|
---|
| 386 | Note that this is just a few of the options. You may wish to run
|
---|
| 387 | <command>./configure --help</command> and review each of the listed options
|
---|
| 388 | to discover what affect they have on the build. Feel free to add or remove
|
---|
| 389 | options to tailor the build to your desires. Listed below are some common
|
---|
| 390 | options not in the default <filename>.mozconfig</filename> file but can be
|
---|
[d59969b] | 391 | added in order to have the described effect on the SeaMonkey compile.</para>
|
---|
[6473e74] | 392 |
|
---|
[7f588e9a] | 393 | <para><option>ac_add_options --enable-elf-dynstr-gc</option>: Removes
|
---|
| 394 | un-referenced strings from ELF shared objects generated during the build.
|
---|
| 395 | Note that this option breaks the build on alpha.</para>
|
---|
[88dd2f52] | 396 |
|
---|
[7f588e9a] | 397 | <para><option>ac_add_options --disable-mailnews</option>: Disables the mail
|
---|
| 398 | and news clients.</para>
|
---|
[88dd2f52] | 399 |
|
---|
[7f588e9a] | 400 | <para><option>ac_add_options --disable-ldap</option>: Disables LDAP support,
|
---|
| 401 | recommended if mail is disabled.</para>
|
---|
[88dd2f52] | 402 |
|
---|
[7f588e9a] | 403 | <para><option>ac_add_options --enable-xterm-updates</option>: Displays the
|
---|
| 404 | current command in the <command>xterm</command> window title during the
|
---|
| 405 | compilation.</para>
|
---|
[88dd2f52] | 406 |
|
---|
[7f588e9a] | 407 | <para><option>ac_add_options --enable-plaintext-editor-only</option>:
|
---|
| 408 | Disables support for HTML editing. Do not use this switch if you are
|
---|
| 409 | building the mail-news component.</para>
|
---|
[88dd2f52] | 410 |
|
---|
| 411 | </sect2>
|
---|
| 412 |
|
---|
| 413 | <sect2 role="commands">
|
---|
[7f588e9a] | 414 | <title>.mozconfig Option Explanations</title>
|
---|
| 415 |
|
---|
| 416 | <para>To simplify reading the options below, they are labeled without
|
---|
| 417 | <parameter>ac_add_options</parameter> inserted at the beginning of the
|
---|
[d59969b] | 418 | option. These options are also described in the
|
---|
| 419 | <filename>.mozconfig</filename> file created earlier.</para>
|
---|
[88dd2f52] | 420 |
|
---|
[7f588e9a] | 421 | <para><parameter>mk_add_options
|
---|
[d59969b] | 422 | MOZ_OBJDIR=@TOPSRCDIR@/../seamonkey-build</parameter>: Creates an object
|
---|
[7f588e9a] | 423 | directory and specifies to build the package in that directory. If desired,
|
---|
| 424 | modify the location of the object directory to a directory inside the
|
---|
| 425 | source tree by removing <quote>../</quote> from the line.</para>
|
---|
[88dd2f52] | 426 |
|
---|
[7f588e9a] | 427 | <para><parameter>--enable-application=suite</parameter>: Identifies the
|
---|
[d59969b] | 428 | build as a <application>SeaMonkey</application> suite build.</para>
|
---|
[88dd2f52] | 429 |
|
---|
[7f588e9a] | 430 | <para><parameter>--with-system-zlib --with-system-png
|
---|
[d59969b] | 431 | --with-system-jpeg --enable-system-cairo</parameter>: Uses the
|
---|
| 432 | system-installed versions of these packages.</para>
|
---|
[88dd2f52] | 433 |
|
---|
| 434 | <para><parameter>--enable-calendar</parameter>: Builds the calendar
|
---|
[7f588e9a] | 435 | application. Remove this parameter if you don't wish to build it.</para>
|
---|
[88dd2f52] | 436 |
|
---|
[d59969b] | 437 | <para><parameter>--enable-xinerama --enable-reorder --enable-strip
|
---|
| 438 | --enable-cpp-rtti --disable-accessibility --disable-tests --disable-logging
|
---|
| 439 | --disable-pedantic --disable-installer</parameter>: Various options that
|
---|
| 440 | affect what components are built and some optimization options. You can
|
---|
| 441 | pick and choose from these options. More information on them, and many
|
---|
| 442 | other available options, can be found by running
|
---|
| 443 | <command>./configure --help</command>.</para>
|
---|
[88dd2f52] | 444 |
|
---|
[7f588e9a] | 445 | </sect2>
|
---|
| 446 |
|
---|
| 447 | <sect2 role="commands">
|
---|
| 448 | <title>Command Explanations</title>
|
---|
| 449 |
|
---|
| 450 | <para><command>make -f client.mk ...</command>: Mozilla products are
|
---|
| 451 | packaged to allow the use of a configuration file which can be used to
|
---|
| 452 | pass the configuration settings to the <command>configure</command>
|
---|
| 453 | command. <command>make</command> uses the <filename>client.mk</filename>
|
---|
| 454 | file to get initial configuration and setup parameters, then depending on
|
---|
| 455 | the target parameter (<parameter>build</parameter> or
|
---|
| 456 | <parameter>install</parameter>), either runs the
|
---|
| 457 | <command>configure</command> script and compiles the package or installs
|
---|
| 458 | the package.</para>
|
---|
| 459 |
|
---|
| 460 | <para><command>./makemake -r</command>: This command is used to recursively
|
---|
[b5eb704] | 461 | create <filename>Makefile</filename>s in the appropriate subdirectory
|
---|
[d59969b] | 462 | of seamonkey-build.</para>
|
---|
[7f588e9a] | 463 |
|
---|
| 464 | <para><command>make -C ... xpi</command>: This command builds the
|
---|
| 465 | <application>Enigmail</application>
|
---|
| 466 | <filename class='extension'>.xpi</filename> file which can be used to
|
---|
| 467 | install <application>Enigmail</application>.</para>
|
---|
| 468 |
|
---|
| 469 | <para><command>install .../movemail.rdf ...</command>: This
|
---|
| 470 | command is used to install a file inadvertently left out of the
|
---|
| 471 | installation script.</para>
|
---|
[88dd2f52] | 472 |
|
---|
| 473 | </sect2>
|
---|
| 474 |
|
---|
| 475 | <sect2 role="configuration">
|
---|
[d59969b] | 476 | <title>Configuring SeaMonkey</title>
|
---|
[88dd2f52] | 477 |
|
---|
| 478 | <para>No specific configuration is required as long as the
|
---|
[b5eb704] | 479 | <command>seamonkey</command> script is in the user's path. If
|
---|
[d59969b] | 480 | <application>SeaMonkey</application> is installed in a non-standard location,
|
---|
[b5eb704] | 481 | then make a symlink to the <command>seamonkey</command> script in the
|
---|
[7f588e9a] | 482 | <filename class="directory">/usr/bin</filename> directory.</para>
|
---|
[88dd2f52] | 483 |
|
---|
| 484 | <para>Many applications look for <command>netscape</command> when they need
|
---|
| 485 | to open a browser. You may make the following symlink for convenience (as
|
---|
| 486 | the <systemitem class="username">root</systemitem> user).</para>
|
---|
| 487 |
|
---|
[b5eb704] | 488 | <screen role="root"><userinput>ln -v -sf seamonkey /usr/bin/netscape</userinput></screen>
|
---|
[88dd2f52] | 489 |
|
---|
[d59969b] | 490 | <para>For installing various <application>SeaMonkey</application> plugins,
|
---|
[88dd2f52] | 491 | refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
|
---|
| 492 | PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already
|
---|
| 493 | installed, create the following link as the
|
---|
| 494 | <systemitem class="username">root</systemitem> user to utilize the
|
---|
| 495 | <application>JAVA</application> plugin: </para>
|
---|
| 496 |
|
---|
| 497 | <screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
|
---|
[b5eb704] | 498 | /usr/lib/seamonkey-&seamonkey-version;/plugins</userinput></screen>
|
---|
[88dd2f52] | 499 |
|
---|
[d59969b] | 500 | <para>Some packages install SeaMonkey plugins into the default system-wide
|
---|
[5dc41f0] | 501 | directory <filename class='directory'>/usr/lib/mozilla/plugins</filename>.
|
---|
[d59969b] | 502 | If desired, create symbolic links in the <application>SeaMonkey</application>
|
---|
[5dc41f0] | 503 | plugin directory
|
---|
[b5eb704] | 504 | <filename class='directory'>/usr/lib/seamonkey-&seamonkey-version;/plugins</filename>
|
---|
[5dc41f0] | 505 | to the files in the default plugin directory (you should link to the actual
|
---|
| 506 | files and not other links). Alternatively, you can move or copy the files
|
---|
| 507 | in the default plugin directory to the
|
---|
[d59969b] | 508 | <application>SeaMonkey</application> plugin directory. An example of creating
|
---|
[5dc41f0] | 509 | a symbolic link is shown below. Create the links as the
|
---|
| 510 | <systemitem class="username">root</systemitem> user:</para>
|
---|
| 511 |
|
---|
[38e4f06] | 512 | <screen role="root"><userinput>ln -v -s ../../seamonkey/plugins/<replaceable><plugin.so></replaceable> \
|
---|
[b5eb704] | 513 | /usr/lib/seamonkey-&seamonkey-version;/plugins</userinput></screen>
|
---|
[5dc41f0] | 514 |
|
---|
[7f588e9a] | 515 | <para>Along with using the <quote>Preferences</quote> menu to configure
|
---|
[d59969b] | 516 | <application>SeaMonkey</application>'s options and preferences to suit
|
---|
[7f588e9a] | 517 | individual tastes, finer grain control of many options is only available
|
---|
| 518 | using a tool not available from the general menu system. To access this
|
---|
[d59969b] | 519 | tool, you'll need to open a browser window and enter
|
---|
[7f588e9a] | 520 | <systemitem role='url'>about:config</systemitem> in the
|
---|
| 521 | address bar. This will display a list of the configuration preferences and
|
---|
| 522 | information related to each one. You can use the <quote>Filter:</quote> bar
|
---|
| 523 | to enter search criteria and narrow down the listed items. Changing a
|
---|
| 524 | preference can be done using two methods. One, if the preference has a
|
---|
| 525 | boolean value (True/False), simply double-click on the preference to toggle
|
---|
| 526 | the value and two, for other preferences simply right-click on the desired
|
---|
| 527 | line, choose <quote>Modify</quote> from the menu and change the value.
|
---|
| 528 | Creating new preference items is accomplished in the same way, except
|
---|
| 529 | choose <quote>New</quote> from the menu and provide the desired data into
|
---|
| 530 | the fields when prompted.</para>
|
---|
| 531 |
|
---|
| 532 | <tip>
|
---|
| 533 | <para>There is a multitude of configuration parameters you can tweak to
|
---|
[d59969b] | 534 | customize <application>SeaMonkey</application>. A very extensive and
|
---|
[7f588e9a] | 535 | up-to-date list of these parameters can be found at <ulink
|
---|
| 536 | url="http://preferential.mozdev.org/preferences.html"/>.</para>
|
---|
| 537 | </tip>
|
---|
| 538 |
|
---|
[88dd2f52] | 539 | </sect2>
|
---|
| 540 |
|
---|
| 541 | <sect2 role="content">
|
---|
| 542 | <title>Contents</title>
|
---|
| 543 |
|
---|
| 544 | <segmentedlist>
|
---|
[7f588e9a] | 545 | <segtitle>Installed Programs</segtitle>
|
---|
[88dd2f52] | 546 | <segtitle>Installed Libraries</segtitle>
|
---|
| 547 | <segtitle>Installed Directories</segtitle>
|
---|
| 548 |
|
---|
| 549 | <seglistitem>
|
---|
[b5eb704] | 550 | <seg>seamonkey and seamonkey-config</seg>
|
---|
[88dd2f52] | 551 | <seg>Numerous libraries, browser, and email/newsgroup components,
|
---|
| 552 | plugins, extensions, and helper modules installed in <filename
|
---|
[b5eb704] | 553 | class='directory'>/usr/lib/seamonkey-&seamonkey-version;</filename></seg>
|
---|
| 554 | <seg>/usr/include/seamonkey-&seamonkey-version;,
|
---|
| 555 | /usr/lib/seamonkey-&seamonkey-version;, and
|
---|
| 556 | /usr/share/idl/seamonkey-&seamonkey-version;</seg>
|
---|
[88dd2f52] | 557 | </seglistitem>
|
---|
| 558 | </segmentedlist>
|
---|
| 559 |
|
---|
| 560 | <variablelist>
|
---|
| 561 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 562 | <?dbfo list-presentation="list"?>
|
---|
| 563 | <?dbhtml list-presentation="table"?>
|
---|
| 564 |
|
---|
[b5eb704] | 565 | <varlistentry id="seamonkey-prog">
|
---|
| 566 | <term><command>seamonkey</command></term>
|
---|
[88dd2f52] | 567 | <listitem>
|
---|
| 568 | <para>is a browser/email/newsgroup/calendar/chat client suite. The
|
---|
| 569 | various components such as the Composer, mail-news client, calendar,
|
---|
| 570 | IRC chat client and address book can be accessed from the menu after
|
---|
[b5eb704] | 571 | <command>seamonkey</command> starts or via command-line switches to
|
---|
| 572 | the <command>seamonkey</command> script. Issue
|
---|
| 573 | <command>man seamonkey</command> for additional information.</para>
|
---|
| 574 | <indexterm zone="seamonkey seamonkey-prog">
|
---|
| 575 | <primary sortas="b-seamonkey">seamonkey</primary>
|
---|
[88dd2f52] | 576 | </indexterm>
|
---|
| 577 | </listitem>
|
---|
| 578 | </varlistentry>
|
---|
| 579 |
|
---|
| 580 | </variablelist>
|
---|
| 581 |
|
---|
| 582 | </sect2>
|
---|
[f45b1953] | 583 |
|
---|
| 584 | </sect1>
|
---|