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