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