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