Changeset 88cec02


Ignore:
Timestamp:
12/02/2011 05:02:01 PM (12 years ago)
Author:
Andrew Benton <andy@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
6bfd4e2
Parents:
6bf551c
Message:

Updated seamonkey to 2.5

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@9051 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r6bf551c r88cec02  
    784784
    785785<!-- Chapter 36 -->
    786 <!ENTITY seamonkey-version            "2.0">
     786<!ENTITY seamonkey-version            "2.5">
    787787<!ENTITY firefox-version              "8.0.1">
    788788<!ENTITY galeon-version               "2.0.1">
  • introduction/welcome/changelog.xml

    r6bf551c r88cec02  
    4646      <itemizedlist>
    4747        <listitem>
     48          <para>[abenton] - Updated seamonkey to 2.5.</para>
     49        </listitem>
     50        <listitem>
    4851          <para>[abenton] - Updated libvpx to v0.9.7.</para>
    4952        </listitem>
  • xsoft/graphweb/firefox.xml

    r6bf551c r88cec02  
    7575    <bridgehead renderas="sect4">Recommended</bridgehead>
    7676    <para role="recommended"><xref linkend="yasm"/> or
    77     <xref linkend="libvpx"/>.</para>
     77    <xref linkend="libvpx"/> (to allow <application>Firefox</application> to
     78    play webm videos).</para>
    7879
    7980    <bridgehead renderas="sect4">Optional</bridgehead>
     
    242243  </sect2>
    243244
     245  <sect2 role="configuration">
     246    <title>Configuring Firefox</title>
     247
     248    <para>If you deleted the <option>--disable-webm</option> option from your
     249    <filename>mozconfig</filename>, your <application>Firefox</application>
     250    can play most YouTube videos without the need for the flash plugin. To
     251    enable this, go to <ulink
     252    url="http://www.youtube.com/html5">http://www.youtube.com/html5</ulink>
     253    and click on &apos;Join the HTML5 Trial&apos; (needs cookies
     254    enabled).</para>
     255
     256  </sect2>
     257
    244258  <sect2 role="content">
    245259    <title>Contents</title>
  • xsoft/graphweb/seamonkey.xml

    r6bf551c r88cec02  
    77  <!ENTITY seamonkey-download-http      "http://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.bz2">
    88  <!ENTITY seamonkey-download-ftp       "ftp://ftp.mozilla.org/pub/mozilla.org/seamonkey/releases/&seamonkey-version;/source//seamonkey-&seamonkey-version;.source.tar.bz2">
    9   <!ENTITY seamonkey-md5sum             "494608587e3ba4e4cc2e754d95154435">
     9  <!ENTITY seamonkey-md5sum             "f0f0dd652ad5ee9458d86aeb626615bd">
    1010  <!ENTITY seamonkey-size               "57.5 MB">
    1111  <!ENTITY seamonkey-buildsize          "844 MB">
    1212  <!ENTITY seamonkey-time               "10.8 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"> -->
    1713]>
    1814
     
    3632    <para><application>SeaMonkey</application> is a browser suite, the Open
    3733    Source sibling of <application>Netscape</application>. It includes the
    38     browser, composer, mail and news clients, and an
    39     IRC client.  It is the follow-on to the Mozilla browser suite.</para>
     34    browser, composer, mail and news clients, and an IRC client.  It is the
     35    follow-on to the Mozilla browser suite.</para>
    4036
    4137    <para>The Mozilla project also hosts two subprojects that aim to satisfy
    42     the needs of users who don&apos;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>
    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>
     38    the needs of users who don&apos;t need the complete browser suite or prefer
     39    to have separate applications for browsing and e-mail. These subprojects
     40    are <xref linkend="firefox"/> and <xref linkend="thunderbird"/>. Both are
     41    based on the <application>Mozilla</application> source code.
     42    <!-- if you delete the - -enable-application=suite option,
     43    <application>Thunderbird</application> can be built from this source
     44    tarball.--></para>
     45
     46    &lfs70_checked;
    5947
    6048    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    7967      </listitem>
    8068    </itemizedlist>
    81 <!--
    82     <para>To enable the <application>Enigmail</application> extension to the
    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
    87     <application>Enigmail</application> extension will not operate correctly
    88     unless you have <xref linkend="gnupg"/> or <xref linkend="gnupg2"/>
    89     installed.</para>
    90 
    91     <itemizedlist spacing='compact'>
    92       <listitem>
    93         <para><ulink url="&seamonkey-enigmail-download;"/></para>
    94       </listitem>
    95       <listitem>
    96         <para>Download MD5 sum (Enigmail): &seamonkey-enigmail-md5sum;</para>
    97       </listitem>
    98     </itemizedlist>
    99 -->
     69
    10070    <bridgehead renderas="sect3">SeaMonkey Dependencies</bridgehead>
    10171
    10272    <bridgehead renderas="sect4">Required</bridgehead>
    103     <para role="required"><xref linkend="gtk2"/>,
    104     <xref linkend="libidl"/>, and
    105     <xref linkend="zip"/></para>
     73    <para role="required"><xref linkend="alsa-lib"/>, <xref linkend="gtk2"/>,
     74    <xref linkend="libidl"/>, and <xref linkend="zip"/></para>
    10675
    10776    <note>
    108       <para><xref linkend="libjpeg"/> should have been installed before
    109       <application>GTK+</application> and should exist on your system. If
    110       for some reason you haven&apos;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>
     77      <para><application>libjpeg</application> and
     78      <application>libpng</application> (patched for apng support) should have
     79      been installed before <application>gdk-pixbuf</application> and should
     80      exist on your system. If for some strange reason you haven't installed
     81      them, you should remove the <option>--with-system-jpeg</option> and
     82      <option>--with-system-png</option> options from the
     83      <filename>mozconfig</filename> file created below.</para>
    11384    </note>
    11485
    11586    <bridgehead renderas="sect4">Recommended</bridgehead>
    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>
     87    <para role="recommended"><xref linkend="yasm"/> or
     88    <xref linkend="libvpx"/> (to allow <application>Seamonkey</application> to
     89    play webm videos).</para>
    12190
    12291    <bridgehead renderas="sect4">Optional</bridgehead>
    123     <para role="optional"><xref linkend="unzip"/> and
    124     <xref linkend="libgnomeui"/> (to build the gnomevfs extension)</para>
     92    <para role="optional"><xref linkend="dbus-glib"/>,
     93    <xref linkend="startup-notification"/>, <xref linkend="sqlite"/>,
     94    <ulink url="http://www.webmproject.org/code/">libvpx</ulink>,
     95    <ulink url="http://sourceforge.net/projects/hunspell/">Hunspell</ulink>,
     96    <xref linkend="doxygen"/>, <xref linkend="gnome-vfs"/> and
     97    <xref linkend="libgnomeui"/> (for gnome integration),
     98    <xref linkend="libnotify"/>, <xref linkend="nspr"/>, <xref linkend="nss"/>,
     99    <xref linkend="unzip"/>, <xref linkend="wireless_tools"/>,
     100    <ulink url="http://www.valgrind.org/">Valgrind</ulink> (only for testing
     101    the jemalloc code) and <xref linkend="wget"/></para>
    125102
    126103    <para condition="html" role="usernotes">User Notes:
     
    133110
    134111    <para>The configuration of <application>SeaMonkey</application> is
    135     accomplished by creating a <filename>.mozconfig</filename> file containing
    136     the desired configuration options. A default <filename>.mozconfig</filename>
     112    accomplished by creating a <filename>mozconfig</filename> file containing
     113    the desired configuration options. A default <filename>mozconfig</filename>
    137114    file is created below. To see the entire list of available configuration
    138115    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>
    143     libraries, ensure you uncomment the two lines near the bottom of the file. If
    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
    146     url="&files-anduin;/seamonkey-&seamonkey-version;-mozconfig"/>
    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>
     116    <command>./configure --help</command>. You may also wish to review the
     117    entire file and uncomment any other desired options. Create the file by
     118    issuing the following command:</para>
    151119
    152120<screen><?dbfo keep-together="auto"?><userinput>cat &gt; .mozconfig &lt;&lt; "EOF"
    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.
     121# If you have a multicore machine you can speed up the build by running
     122# several jobs at once, but if you have a single core, delete this line:
     123mk_add_options MOZ_MAKE_FLAGS="-j4"
     124
     125# If you have installed Yasm delete this option:
     126ac_add_options --disable-webm
     127
     128# If you have installed DBus-Glib delete this option:
     129ac_add_options --disable-dbus
     130
     131# If you have installed wireless-tools delete this option:
     132ac_add_options --disable-necko-wifi
     133
     134# If you have installed libnotify delete this option:
     135ac_add_options --disable-libnotify
     136
     137# If you have installed nss and nspr uncomment these two lines:
     138# ac_add_options --with-system-nspr
     139# ac_add_options --with-system-nss
     140
     141# Uncomment these if you have installed them:
     142# ac_add_options --enable-system-sqlite
     143# ac_add_options --enable-system-lcms
     144# ac_add_options --with-system-libvpx
     145# ac_add_options --enable-startup-notification
     146
     147mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/moz-build-dir
    170148ac_add_options --enable-application=suite
    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.
    176 ac_add_options --prefix=/usr
    177 
    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.
    181 ac_add_options --with-system-zlib
    182 ac_add_options --with-system-png
    183 ac_add_options --with-system-jpeg
     149ac_add_options --enable-pthreads
     150ac_add_options --enable-system-ffi
     151ac_add_options --enable-system-jpeg
     152ac_add_options --enable-system-png
    184153ac_add_options --enable-system-cairo
    185 
    186 # This option specifies to include support for rendering the HTML
    187 # &lt;canvas&gt;&lt;/canvas&gt; 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.
    195 ac_add_options --enable-strip
    196 
    197 # This option is added so that test libraries and programs are not
    198 # built. These would only be required for debugging purposes.
    199 ac_add_options --disable-tests
    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.
     154ac_add_options --enable-system-zlib
     155ac_add_options --enable-shared
     156ac_add_options --disable-static
     157ac_add_options --disable-debug
     158ac_add_options --disable-crashreporter
    204159ac_add_options --disable-installer
    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.
    208 ac_add_options --disable-accessibility
    209 
    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.
    216 ac_add_options --enable-ldap
    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.
    222 #ac_add_options --with-system-nspr
    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 
    229 # Complex scripts such as Thai can only be rendered in SeaMonkey with the
    230 # help of Pango. This option significantly slows rendering, so only use
    231 # it if necessary.
    232 #ac_add_options --enable-pango
    233 
    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.
    238 #ac_add_options --with-default-mozilla-five-home=/usr/lib/seamonkey-&seamonkey-version;</literal>
    239 
    240 EOF</userinput></screen>
     160ac_add_options --disable-updater
     161ac_add_options --disable-tests</userinput></screen>
    241162
    242163    <para>Compile <application>SeaMonkey</application> by running the
    243164    following command:</para>
    244165
    245 <screen><userinput> make -f client.mk build</userinput></screen>
    246 <!--
    247     <para>If you're building the <application>SeaMonkey</application>
    248     mail/newsgroup client and plan to install the
    249     <application>Enigmail</application> extension, issue the following
    250     commands:</para>
    251 
    252 <screen><userinput>tar -xf ../enigmail-&seamonkey-enigmail-version;.tar.gz -C mailnews/extensions &amp;&amp;
    253 
    254 ( cd mailnews/extensions/enigmail &amp;&amp; ./makemake -r ) &amp;&amp;
    255 
    256 make -C ../seamonkey-build/mailnews/extensions/enigmail &amp;&amp;
    257 make -C ../seamonkey-build/mailnews/extensions/enigmail \
    258         XPIFILE=enigmail-&seamonkey-enigmail-version;.xpi xpi</userinput></screen>
    259 -->
     166<screen><userinput>make -f client.mk &amp;&amp;
     167make -C moz-build-dir/suite/installer</userinput></screen>
     168
    260169    <para>This package does not come with a test suite. However, it
    261170    can be launched from the build directory before installing with the
    262171    command line:
    263     <userinput>../seamonkey-build/mozilla/dist/seamonkey/seamonkey</userinput>.</para>
     172    <userinput>moz-build-dir/mozilla/dist/seamonkey/seamonkey</userinput></para>
    264173
    265174    <para>Install <application>SeaMonkey</application> by issuing the following
    266175    commands as the <systemitem class="username">root</systemitem> user:</para>
    267176
    268 <screen role="root"><userinput>make -f client.mk install &amp;&amp;
    269 
    270 install -v -m644 ../seamonkey-build/mozilla/dist/public/ldap-private/* \
    271     /usr/include/seamonkey-&seamonkey-version;/ldap</userinput></screen>
    272 
    273     <para>If you built <application>SeaMonkey</application> utilizing
    274     system-installed NSS and NSPR libraries, the
    275     <filename>seamonkey-ns*.pc</filename> <application>pkgconfig</application>
    276     files are broken as they point to the wrong directories where the actual
    277     libraries and interface headers are located. Issue the following commands
    278     as the <systemitem class="username">root</systemitem> user to replace the
    279     broken files with symbolic links to known good files:</para>
    280 
    281 <screen role="root"><userinput>ln -v -sf nss.pc /usr/lib/pkgconfig/seamonkey-nss.pc &amp;&amp;
    282 ln -v -sf nspr.pc /usr/lib/pkgconfig/seamonkey-nspr.pc</userinput></screen>
    283 
    284     <para>If you did <emphasis role="strong">NOT</emphasis> build
    285     <application>seamonkey</application> utilizing system-installed NSS and
    286     NSPR libraries, issue the following commands as the
    287     <systemitem class="username">root</systemitem> user to install the NSS
    288     interface headers:</para>
    289 
    290 <screen role="root"><userinput>install -v -m755 -d /usr/include/seamonkey-&seamonkey-version;/nss &amp;&amp;
    291 cp -v -Lf ../seamonkey-build/mozilla/dist/{private,public}/nss/*.h \
    292    /usr/include/seamonkey-&seamonkey-version;/nss</userinput></screen>
    293 <!--
    294     <para>If you built the <application>Enigmail</application> extension,
    295     issue the following commands as the <systemitem
    296     class="username">root</systemitem> user to install the
    297     <filename>.xpi</filename> file into the
    298     <filename class='directory'>/usr/lib/seamonkey-&seamonkey-version;/xpi_store</filename>
    299     directory:</para>
    300 
    301 <screen role="root"><userinput>install -v -m644 -D ../seamonkey-build/dist/bin/enigmail-&seamonkey-enigmail-version;.xpi \
    302     /usr/lib/seamonkey-&seamonkey-version;/xpi_store/enigmail-&seamonkey-enigmail-version;.xpi</userinput></screen>
    303 
    304       <para>There are two methods you can use to install the
    305       <application>Enigmail</application> extension. Both are shown here and
    306       provide similar functionality with one major difference. The first
    307       method will install the extension system-wide and all users of SeaMonkey
    308       will have an Enigmail-enabled mail client. The method shown later only
    309       installs it on a per-user basis. The first method must be accomplished
    310       now (before the object directory is removed) and uses the conventional
    311       <command>make install</command> command to install the
    312       <application>Enigmail</application> files straight from the distribution
    313       directory of the object directory. The alternate method is shown as it
    314       installs using the <filename class='extension'>.xpi</filename> file
    315       created earlier and can be done later (at any time you desire) as the
    316       file used to install <application>Enigmail</application> was copied into
    317       <filename
    318       class='directory'>/usr/lib/seamonkey-&seamonkey-version;/xpi_store</filename>
    319       in the previous step. This method can be used to install any
    320       downloaded <application>Mozilla</application> extension distributed in a
    321       <filename class='extension'>.xpi</filename> file. There are many
    322       extensions available for <application>SeaMonkey</application>. A list
    323       containing many of them can be found at
    324       <ulink url="http://extensionroom.mozdev.org/"/>.</para>
    325 
    326     <para>If you want to install the <application>Enigmail</application>
    327     extension now, which offers system-wide access, issue the following
    328     command as the <systemitem class="username">root</systemitem> user:</para>
    329 
    330 <screen role="root"><userinput>make -C ../seamonkey-build/mailnews/extensions/enigmail install</userinput></screen>
    331 
    332     <para>To install an extension from a created or download
    333     <filename class='extension'>.xpi</filename> file, you simply need to
    334     <quote>open</quote> the <filename class='extension'>.xpi</filename> file
    335     using the <quote>Open File</quote> option of the <quote>File</quote>
    336     menu of the browser window. You can browse to find the file (for example,
    337     the <application>Enigmail</application>
    338     <filename class='extension'>.xpi</filename> file is located in
    339     <filename
    340     class='directory'>/usr/lib/seamonkey-&seamonkey-version;/xpi_store</filename>),
    341     select it, then follow the prompts to install the extension.</para>
    342 -->
    343     <note>
    344       <para>You should run <command>/usr/bin/seamonkey</command> once as the
    345       <systemitem class="username">root</systemitem> user (or any user with
    346       write privileges) to create some necessary additional files in the
    347       <filename class='directory'>/usr</filename> hierarchy. Also do this
    348       each time you install additional system-wide extensions.</para>
    349     </note>
    350 
    351   </sect2>
    352 
    353   <sect2 role="commands" id="add-mozconfig"
    354   xreflabel="Additional .mozconfig Options">
    355 
    356     <title>Additional .mozconfig Options</title>
    357 
    358     <para>Information about some of the additional options which can be added
    359     to the <filename>.mozconfig</filename> configuration file is shown below.
    360     Note that this is just a few of the options. You may wish to run
    361     <command>./configure --help</command> and review each of the listed options
    362     to discover what affect they have on the build. Feel free to add or remove
    363     options to tailor the build to your desires. Listed below are some common
    364     options not in the default <filename>.mozconfig</filename> file but can be
    365     added in order to have the described effect on the SeaMonkey compile.</para>
    366 
    367     <para><option>ac_add_options --enable-elf-dynstr-gc</option>: Removes
    368     un-referenced strings from ELF shared objects generated during the build.
    369     Note that this option breaks the build on alpha.</para>
    370 
    371     <para><option>ac_add_options --disable-mailnews</option>: Disables the mail
    372     and news clients.</para>
    373 
    374     <para><option>ac_add_options --disable-ldap</option>: Disables LDAP support,
    375     recommended if mail is disabled.</para>
    376 
    377     <para><option>ac_add_options --enable-xterm-updates</option>: Displays the
    378     current command in the <command>xterm</command> window title during the
    379     compilation.</para>
    380 
    381     <para><option>ac_add_options --enable-plaintext-editor-only</option>:
    382     Disables support for HTML editing. Do not use this switch if you are
    383     building the mail-news component.</para>
    384 
    385   </sect2>
    386 
    387   <sect2 role="commands">
    388     <title>.mozconfig Option Explanations</title>
    389 
    390     <para>To simplify reading the options below, they are labeled without
    391     <parameter>ac_add_options</parameter> inserted at the beginning of the
    392     option. These options are also described in the
    393     <filename>.mozconfig</filename> file created earlier.</para>
    394 
    395     <para><parameter>mk_add_options
    396     MOZ_OBJDIR=@TOPSRCDIR@/../seamonkey-build</parameter>: Creates an object
    397     directory and specifies to build the package in that directory. If desired,
    398     modify the location of the object directory to a directory inside the
    399     source tree by removing <quote>../</quote> from the line.</para>
    400 
    401     <para><parameter>--enable-application=suite</parameter>: Identifies the
    402     build as a <application>SeaMonkey</application> suite build.</para>
    403 
    404     <para><parameter>--with-system-zlib --with-system-png
    405     --with-system-jpeg --enable-system-cairo</parameter>: Uses the
    406     system-installed versions of these packages.</para>
    407 
    408     <para><parameter>--enable-xinerama --enable-reorder --enable-strip
    409     --enable-cpp-rtti --disable-accessibility --disable-tests --disable-logging
    410     --disable-pedantic --disable-installer</parameter>: Various options that
    411     affect what components are built and some optimization options. You can
    412     pick and choose from these options. More information on them, and many
    413     other available options, can be found by running
    414     <command>./configure --help</command>.</para>
     177<screen role="root"><userinput>mkdir -p /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
     178tar -xf moz-build-dir/mozilla/dist/seamonkey*.tar.bz2 \
     179  -C /usr/lib/seamonkey-&seamonkey-version; --strip-components=1 &amp;&amp;
     180mkdir -p /usr/lib/mozilla/plugins &amp;&amp;
     181ln -s ../mozilla/plugins /usr/lib/seamonkey-&seamonkey-version; &amp;&amp;
     182ln -sf ../lib/seamonkey-&seamonkey-version;/seamonkey /usr/bin &amp;&amp;
     183cp moz-build-dir/mozilla/dist/man/man1/seamonkey.1 /usr/share/man/man1</userinput></screen>
    415184
    416185  </sect2>
     
    418187  <sect2 role="commands">
    419188    <title>Command Explanations</title>
    420 <!--
    421     <para><command>'EXTRA_DSO_LDOPTS' += -lX11 -lXrender ...</command>:
    422     Building the layout backend will break when the canvas element is enabled
    423     without adding these two required libraries.</para>
    424 -->
    425     <para><command>make -f client.mk ...</command>: Mozilla products are
     189
     190    <para><command>make -f client.mk</command>: Mozilla products are
    426191    packaged to allow the use of a configuration file which can be used to
    427192    pass the configuration settings to the <command>configure</command>
    428193    command. <command>make</command> uses the <filename>client.mk</filename>
    429     file to get initial configuration and setup parameters, then depending on
    430     the target parameter (<parameter>build</parameter> or
    431     <parameter>install</parameter>), either runs the
    432     <command>configure</command> script and compiles the package or installs
    433     the package.</para>
    434 <!--
    435     <para><command>./makemake -r</command>: This command is used to recursively
    436     create <filename>Makefile</filename>s in the appropriate subdirectory
    437     of <filename class='directory'>seamonkey-build</filename>.</para>
    438 
    439     <para><command>make -C ... xpi</command>: This command builds the
    440     <application>Enigmail</application>
    441     <filename class='extension'>.xpi</filename> file which can be used to
    442     install <application>Enigmail</application>.</para>
    443 
    444     <para><command>install .../movemail.rdf ...</command>: This
    445     command is used to install a file inadvertently left out of the
    446     installation script.</para>
    447 -->
     194    file to get initial configuration and setup parameters.</para>
     195
     196    <para><command>make -C moz-build-dir/suite/installer</command>: this
     197    creates a tarball of the <application>Seamonkey</application> you've just
     198    compiled.</para>
     199
     200    <para><command>tar -xf moz-build-dir ...</command>: this untars
     201    <application>Seamonkey</application>. The <option>-C
     202    /usr/lib/seamonkey-2.5</option> tells tar to change to the <filename
     203    class='directory'>/usr/lib/seamonkey-2.5</filename> directory before
     204    untaring it. The <option>--strip-components=1</option> option removes the
     205    leading seamonkey/ from the filename/paths.</para>
     206
     207    <para><command>ln -s ../mozilla/plugins /usr/lib/seamonkey-2.5</command>:
     208    this creates a symlink to
     209    <filename class='directory'>/usr/lib/mozilla/plugins</filename> for the
     210    sake of compatibility, to keep all your plugins in the place mozilla
     211    plugins are normally found.</para>
     212
    448213  </sect2>
    449214
     
    451216    <title>Configuring SeaMonkey</title>
    452217
    453     <para>No specific configuration is required as long as the
    454     <command>seamonkey</command> script is in the user's path. If
    455     <application>SeaMonkey</application> is installed in a non-standard location,
    456     make a symlink to the <command>seamonkey</command> script in the
    457     <filename class="directory">/usr/bin</filename> directory.</para>
    458 
    459     <para>Some applications look for <command>netscape</command> when they need
    460     to open a browser. You may make the following symlink for convenience (as
    461     the <systemitem class="username">root</systemitem> user).</para>
    462 
    463 <screen role="root"><userinput>ln -v -sf seamonkey /usr/bin/netscape</userinput></screen>
     218    <para>If you deleted the <option>--disable-webm</option> option from your
     219    <filename>mozconfig</filename>, your <application>Seamonkey</application>
     220    can play most youtube videos without the need for the flash plugin. To
     221    enable this, go to <ulink
     222    url="http://www.youtube.com/html5">http://www.youtube.com/html5</ulink>
     223    and click on &apos;Join the HTML5 Trial&apos; (needs cookies
     224    enabled).</para>
    464225
    465226    <para>For installing various <application>SeaMonkey</application> plugins,
    466227    refer to <ulink url="http://plugindoc.mozdev.org/linux.html">Mozdev's
    467     PluginDoc Project</ulink>. If you have <xref linkend="jdk"/> already
    468     installed, create the following link as the
    469     <systemitem class="username">root</systemitem> user to utilize the
    470     <application>JAVA</application> plugin: </para>
    471 
    472 <screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/ns7/libjavaplugin_oji.so \
    473     /usr/lib/seamonkey-&seamonkey-version;/plugins</userinput></screen>
    474 
    475     <para>If you have <xref linkend="icedtea6"/> installed as opposed to the
    476     <xref linkend="jdk"/>, create the following link (again as the
    477     <systemitem class="username">root</systemitem> user) to use the
    478     <application>IcedTea6</application> plugin: </para>
    479    
    480 <screen role="root"><userinput>ln -v -s $JAVA_HOME/jre/plugin/i386/IcedTeaPlugin.so \
    481     /usr/lib/seamonkey-&seamonkey-version;/plugins</userinput></screen>
    482 
    483     <para>Some packages install SeaMonkey plugins into the default system-wide
    484     directory <filename class='directory'>/usr/lib/mozilla/plugins</filename>.
    485     If desired, create symbolic links in the <application>SeaMonkey</application>
    486     plugin directory
    487     <filename class='directory'>/usr/lib/seamonkey-&seamonkey-version;/plugins</filename>
    488     to the files in the default plugin directory (you should link to the actual
    489     files and not other links). Alternatively, you can move or copy the files
    490     in the default plugin directory to the
    491     <application>SeaMonkey</application> plugin directory. An example of creating
    492     a symbolic link is shown below. Create the links as the
    493     <systemitem class="username">root</systemitem> user:</para>
    494 
    495 <screen role="root"><userinput>ln -v -s ../../mozilla/plugins/<replaceable>&lt;plugin.so&gt;</replaceable> \
    496     /usr/lib/seamonkey-&seamonkey-version;/plugins</userinput></screen>
     228    PluginDoc Project</ulink>.</para>
    497229
    498230    <para>Along with using the <quote>Preferences</quote> menu to configure
     
    531263
    532264      <seglistitem>
    533         <seg>seamonkey and seamonkey-config</seg>
     265        <seg>seamonkey</seg>
    534266        <seg>Numerous libraries, browser, and email/newsgroup components,
    535267        plugins, extensions, and helper modules installed in <filename
    536268        class='directory'>/usr/lib/seamonkey-&seamonkey-version;</filename></seg>
    537         <seg>/usr/include/seamonkey-&seamonkey-version;,
    538         /usr/lib/seamonkey-&seamonkey-version;, and
    539         /usr/share/idl/seamonkey-&seamonkey-version;</seg>
     269        <seg>/usr/lib/seamonkey-&seamonkey-version;</seg>
    540270      </seglistitem>
    541271    </segmentedlist>
Note: See TracChangeset for help on using the changeset viewer.