[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[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 |
|
---|
[525ba58] | 7 | <!ENTITY seamonkey-download-http "https://archive.seamonkey-project.org/releases/&seamonkey-version;/source/seamonkey-&seamonkey-version;.source.tar.xz">
|
---|
[6968e3cb] | 8 | <!ENTITY seamonkey-download-ftp " ">
|
---|
[d5c4c3b5] | 9 | <!ENTITY seamonkey-md5sum "266a86651348e21934707a7ccb3abef3">
|
---|
[4b3d207] | 10 | <!ENTITY seamonkey-size "241 MB">
|
---|
[d5c4c3b5] | 11 | <!ENTITY seamonkey-buildsize "3.0 GB (148 MB installed)">
|
---|
| 12 | <!ENTITY seamonkey-time "3.5 SBU (with parallelism=8)">
|
---|
[a41f643] | 13 | ]>
|
---|
[f939f05] | 14 |
|
---|
[eebff7b] | 15 | <sect1 id="seamonkey" xreflabel="seamonkey-&seamonkey-version;">
|
---|
[b5eb704] | 16 | <?dbhtml filename="seamonkey.html" ?>
|
---|
[88dd2f52] | 17 |
|
---|
| 18 |
|
---|
[eebff7b] | 19 | <title>Seamonkey-&seamonkey-version;</title>
|
---|
[88dd2f52] | 20 |
|
---|
[b5eb704] | 21 | <indexterm zone="seamonkey">
|
---|
[eebff7b] | 22 | <primary sortas="a-seamonkey">seamonkey</primary>
|
---|
[88dd2f52] | 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
[eebff7b] | 26 | <title>Introduction to Seamonkey</title>
|
---|
[88dd2f52] | 27 |
|
---|
[a0d389d] | 28 | <para>
|
---|
[eebff7b] | 29 | <application>Seamonkey</application> is a browser suite, a descendant
|
---|
[99fede1f] | 30 | of <application>Netscape</application>. It includes the browser,
|
---|
| 31 | composer, mail and news clients, and an IRC client.
|
---|
[a0d389d] | 32 | </para>
|
---|
| 33 |
|
---|
| 34 | <para>
|
---|
[99fede1f] | 35 | It is the community-driven follow-on to the Mozilla Application Suite,
|
---|
| 36 | created after Mozilla decided to focus on separate applications for
|
---|
| 37 | browsing and e-mail. Those applications are
|
---|
| 38 | <xref linkend="firefox"/> and <xref linkend="thunderbird"/>.
|
---|
[a0d389d] | 39 | </para>
|
---|
[88cec02] | 40 |
|
---|
[d8c3e3f] | 41 | &lfs121_checked;
|
---|
[88dd2f52] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
[d2e21cb0] | 45 | <listitem>
|
---|
[a0d389d] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&seamonkey-download-http;"/>
|
---|
| 48 | </para>
|
---|
[d2e21cb0] | 49 | </listitem>
|
---|
[88dd2f52] | 50 | <listitem>
|
---|
[a0d389d] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&seamonkey-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[88dd2f52] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[a0d389d] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &seamonkey-md5sum;
|
---|
| 58 | </para>
|
---|
[88dd2f52] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[a0d389d] | 61 | <para>
|
---|
| 62 | Download size: &seamonkey-size;
|
---|
| 63 | </para>
|
---|
[88dd2f52] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[a0d389d] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &seamonkey-buildsize;
|
---|
| 68 | </para>
|
---|
[88dd2f52] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[a0d389d] | 71 | <para>
|
---|
| 72 | Estimated build time: &seamonkey-time;
|
---|
| 73 | </para>
|
---|
[88dd2f52] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
[b74c79f] | 76 |
|
---|
[0fc5bfd7] | 77 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
[82a27795] | 78 | <itemizedlist spacing="compact">
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>
|
---|
[83875ca] | 81 | Recommended patch (required for building with system ICU-75 or
|
---|
| 82 | newer):
|
---|
| 83 | <ulink url="&patch-root;/seamonkey-&seamonkey-version;-cxx17-1.patch"/>
|
---|
[82a27795] | 84 | </para>
|
---|
| 85 | </listitem>
|
---|
[83875ca] | 86 | <!--
|
---|
[f56feddc] | 87 | <listitem>
|
---|
| 88 | <para>
|
---|
| 89 | Required Python module:
|
---|
| 90 | <ulink url="&pymodules-dl;/s/setuptools/setuptools-&setuptools-version;.tar.gz"/>
|
---|
| 91 | </para>
|
---|
| 92 | <para>
|
---|
| 93 | This module has already been installed in LFS, but now we need
|
---|
[4b3d207] | 94 | to rebuild its wheel package for the SeaMonkey build system.
|
---|
[f56feddc] | 95 | </para>
|
---|
| 96 | </listitem>
|
---|
[6848f3f5] | 97 | -->
|
---|
[83875ca] | 98 | </itemizedlist>
|
---|
[b74c79f] | 99 |
|
---|
[f06c692] | 100 | <note>
|
---|
| 101 | <para>
|
---|
| 102 | The tarball
|
---|
| 103 | <emphasis>seamonkey-&seamonkey-version;.source.tar.xz</emphasis> will
|
---|
| 104 | untar to <emphasis>seamonkey-&seamonkey-version;</emphasis> directory.
|
---|
| 105 | </para>
|
---|
| 106 | </note>
|
---|
| 107 |
|
---|
[eebff7b] | 108 | <bridgehead renderas="sect3">Seamonkey Dependencies</bridgehead>
|
---|
[88dd2f52] | 109 |
|
---|
| 110 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
[a0d389d] | 111 | <para role="required">
|
---|
[4e7ec17] | 112 | <!--xref linkend="autoconf213"/-->
|
---|
[bdfd276] | 113 | <xref linkend="cbindgen"/>,
|
---|
[b5cd03d9] | 114 | <xref linkend="gtk3"/>,
|
---|
[03adc377] | 115 | <xref linkend="nodejs"/>,
|
---|
[6848f3f5] | 116 | <xref linkend="python311"/>,
|
---|
[8558044] | 117 | <xref linkend="unzip"/>,
|
---|
| 118 | <xref linkend="yasm"/>, and
|
---|
[01cd3461] | 119 | <xref linkend="zip"/>
|
---|
[a0d389d] | 120 | </para>
|
---|
[b5eb704] | 121 |
|
---|
| 122 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[a0d389d] | 123 | <para role="recommended">
|
---|
[566fcae] | 124 | <xref linkend="icu"/>,
|
---|
| 125 | <xref linkend="libevent"/>,
|
---|
[57daeab9] | 126 | <!--<xref linkend="libvpx"/>, Causes build failures similar to Firefox -->
|
---|
[f572dbb] | 127 | <xref linkend="libwebp"/>,
|
---|
| 128 | <xref linkend="llvm"/> (with clang),
|
---|
[3bf5de79] | 129 | <xref linkend="nasm"/>,
|
---|
[8558044] | 130 | <xref linkend="nspr"/>,
|
---|
[3bf5de79] | 131 | <xref linkend="nss"/>, and
|
---|
| 132 | <xref linkend="pulseaudio"/>
|
---|
| 133 | <!-- <xref linkend="sqlite"/> system version no longer supported -->
|
---|
[82a27795] | 134 | </para>
|
---|
[3a00b7b8] | 135 | <!--
|
---|
[82a27795] | 136 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 137 | <para role="optional">
|
---|
| 138 | <xref linkend="sqlite"/> (not recommended due to potential
|
---|
| 139 | security concerns)
|
---|
[a0d389d] | 140 | </para>
|
---|
[3a00b7b8] | 141 | -->
|
---|
[316d9591] | 142 | <note>
|
---|
| 143 | <para>
|
---|
[566fcae] | 144 | If you don't install recommended dependencies, then internal copies of
|
---|
| 145 | those packages will be used. They might be tested to work, but they can
|
---|
| 146 | be out of date or contain security holes.
|
---|
| 147 | </para>
|
---|
| 148 | </note>
|
---|
[0a675f98] | 149 |
|
---|
[88dd2f52] | 150 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[a0d389d] | 151 | <para role="optional">
|
---|
[2c13ebe] | 152 | <xref linkend="alsa-lib"/>,
|
---|
[a0d389d] | 153 | <xref linkend="dbus-glib"/>,
|
---|
[566fcae] | 154 | <xref linkend="startup-notification"/>,
|
---|
| 155 | <xref linkend="valgrind"/>,
|
---|
| 156 | <xref linkend="wget"/>,
|
---|
[33befb9] | 157 | <xref linkend="wireless_tools"/>,
|
---|
[493ec31] | 158 | <ulink url="https://hunspell.sourceforge.net/">Hunspell</ulink>,
|
---|
| 159 | <ulink url="https://gitlab.gnome.org/Archive/gconf">Gconf</ulink>, and
|
---|
[33befb9] | 160 | <ulink url="https://facebook.github.io/watchman/">Watchman</ulink>
|
---|
[a0d389d] | 161 | </para>
|
---|
| 162 |
|
---|
[88dd2f52] | 163 | </sect2>
|
---|
| 164 |
|
---|
| 165 | <sect2 role="installation">
|
---|
[eebff7b] | 166 | <title>Installation of Seamonkey</title>
|
---|
[6a79dc72] | 167 |
|
---|
[a0d389d] | 168 | <para>
|
---|
[eebff7b] | 169 | The configuration of <application>Seamonkey</application> is accomplished
|
---|
[a0d389d] | 170 | by creating a <filename>mozconfig</filename> file containing the desired
|
---|
| 171 | configuration options. A default <filename>mozconfig</filename> file is
|
---|
| 172 | created below. To see the entire list of available configuration options
|
---|
| 173 | (and an abbreviated description of each one), issue
|
---|
| 174 | <command>./configure --help</command>. You may also wish to review the
|
---|
| 175 | entire file and uncomment any other desired options. Create the file by
|
---|
| 176 | issuing the following command:
|
---|
| 177 | </para>
|
---|
[7f588e9a] | 178 |
|
---|
[4def8b6] | 179 | <screen><?dbfo keep-together="auto"?><userinput>cat > mozconfig << "EOF"
|
---|
[0a675f98] | 180 | <literal># If you have a multicore machine, all cores will be used
|
---|
[d59969b] | 181 |
|
---|
[566fcae] | 182 | # If you have installed DBus-Glib comment out this line:
|
---|
[88cec02] | 183 | ac_add_options --disable-dbus
|
---|
[7f588e9a] | 184 |
|
---|
[566fcae] | 185 | # If you have installed dbus-glib, and you have installed (or will install)
|
---|
| 186 | # wireless-tools, and you wish to use geolocation web services, comment out
|
---|
| 187 | # this line
|
---|
[88cec02] | 188 | ac_add_options --disable-necko-wifi
|
---|
[d59969b] | 189 |
|
---|
[566fcae] | 190 | # Uncomment these lines if you have installed optional dependencies:
|
---|
| 191 | #ac_add_options --enable-system-hunspell
|
---|
| 192 | #ac_add_options --enable-startup-notification
|
---|
| 193 |
|
---|
[2c13ebe] | 194 | # Uncomment the following option if you have not installed PulseAudio
|
---|
| 195 | #ac_add_options --disable-pulseaudio
|
---|
| 196 | # and uncomment this if you installed alsa-lib instead of PulseAudio
|
---|
| 197 | #ac_add_options --enable-alsa
|
---|
[9bfa6854] | 198 |
|
---|
[493ec31] | 199 | # Comment out the following option if you have gconf installed
|
---|
| 200 | ac_add_options --disable-gconf
|
---|
| 201 |
|
---|
[566fcae] | 202 | # Comment out following options if you have not installed
|
---|
| 203 | # recommended dependencies:
|
---|
[3bf5de79] | 204 | ac_add_options --with-system-icu
|
---|
[566fcae] | 205 | ac_add_options --with-system-libevent
|
---|
| 206 | ac_add_options --with-system-nspr
|
---|
[257c1bf] | 207 | ac_add_options --with-system-nss
|
---|
[3bf5de79] | 208 | ac_add_options --with-system-webp
|
---|
[566fcae] | 209 |
|
---|
[88dd6e72] | 210 | # Disabling debug symbols makes the build much smaller and a little
|
---|
[7f44495] | 211 | # faster. Comment this if you need to run a debugger.
|
---|
[88dd6e72] | 212 | ac_add_options --disable-debug-symbols
|
---|
[9bfa6854] | 213 | <!-- With Firefox ESR 128 we'd replace the following part with
|
---|
| 214 | "- -enable-elf-hack=relr", or remove it if relr becomes the default.
|
---|
| 215 | But I've no idea if SeaMonkey will have this change backported. -->
|
---|
[0c3d3e5] | 216 | # The elf-hack is reported to cause failed installs (after successful builds)
|
---|
| 217 | # on some machines. It is supposed to improve startup time and it shrinks
|
---|
[29ef9b8f] | 218 | # libxul.so by a few MB. With recent Binutils releases the linker already
|
---|
| 219 | # supports a much safer and generic way for this.
|
---|
[0c3d3e5] | 220 | ac_add_options --disable-elf-hack
|
---|
[29ef9b8f] | 221 | ac_add_options --enable-linker=bfd
|
---|
| 222 | export LDFLAGS="$LDFLAGS -Wl,-z,pack-relative-relocs"
|
---|
[0c3d3e5] | 223 |
|
---|
[257c1bf] | 224 | # Seamonkey has some additional features that are not turned on by default,
|
---|
| 225 | # such as an IRC client, calendar, and DOM Inspector. The DOM Inspector
|
---|
| 226 | # aids with designing web pages. Comment these options if you do not
|
---|
| 227 | # desire these features.
|
---|
| 228 | ac_add_options --enable-calendar
|
---|
[6852cb9] | 229 | ac_add_options --enable-dominspector
|
---|
[257c1bf] | 230 | ac_add_options --enable-irc
|
---|
| 231 |
|
---|
[566fcae] | 232 | # The BLFS editors recommend not changing anything below this line:
|
---|
| 233 | ac_add_options --prefix=/usr
|
---|
[33befb9] | 234 | ac_add_options --enable-application=comm/suite
|
---|
[d59969b] | 235 |
|
---|
[a45062d] | 236 | ac_add_options --disable-crashreporter
|
---|
| 237 | ac_add_options --disable-updater
|
---|
[566fcae] | 238 | ac_add_options --disable-tests
|
---|
| 239 |
|
---|
[e1092747] | 240 | # The SIMD code relies on the unmaintained packed_simd crate which
|
---|
| 241 | # fails to build with Rustc >= 1.78.0. We may re-enable it once
|
---|
[9ce8fc7] | 242 | # Mozilla port the code to use std::simd and std::simd is stabilized.
|
---|
[e1092747] | 243 | ac_add_options --disable-rust-simd
|
---|
[3e8c126] | 244 |
|
---|
[566fcae] | 245 | ac_add_options --enable-strip
|
---|
| 246 | ac_add_options --enable-install-strip
|
---|
[29ef9b8f] | 247 |
|
---|
| 248 | # You cannot distribute the binary if you do this.
|
---|
[566fcae] | 249 | ac_add_options --enable-official-branding
|
---|
| 250 |
|
---|
[0a675f98] | 251 | # The option to use system cairo was removed in 2.53.9.
|
---|
[a45062d] | 252 | ac_add_options --enable-system-ffi
|
---|
[566fcae] | 253 | ac_add_options --enable-system-pixman
|
---|
| 254 |
|
---|
| 255 | ac_add_options --with-system-bz2
|
---|
[a0ace670] | 256 | ac_add_options --with-system-jpeg
|
---|
| 257 | ac_add_options --with-system-png
|
---|
[eedb6d02] | 258 | ac_add_options --with-system-zlib
|
---|
| 259 |
|
---|
| 260 | export CC=clang CXX=clang++</literal>
|
---|
[2d237fa] | 261 | EOF</userinput></screen>
|
---|
[d59969b] | 262 |
|
---|
[5b0a978e] | 263 | <note>
|
---|
| 264 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 265 | href="../../xincludes/mozshm.xml"/>
|
---|
| 266 | </note>
|
---|
[b74c79f] | 267 |
|
---|
[6848f3f5] | 268 | <!-- Restore when no longer using Python 3.11. We may want to restore the patch
|
---|
| 269 | at that point as well, which includes the 'distro' and 'ICU' changes. -renodr
|
---|
[16218efb] | 270 | <para>
|
---|
[4b3d207] | 271 | First, fix several problems that occur with Python-3.12 and ICU-74.
|
---|
| 272 | If you are not using ICU-74 and Python-3.12, do not apply this patch.
|
---|
[16218efb] | 273 | </para>
|
---|
| 274 |
|
---|
[f3250b9] | 275 | <screen><userinput>patch -Np1 -i ../seamonkey-&seamonkey-version;-consolidated_fixes-1.patch</userinput></screen>
|
---|
| 276 |
|
---|
[8a71122] | 277 | <para>
|
---|
[4b3d207] | 278 | Next, if you are using Python-3.12, reinstall the setuptools package for
|
---|
| 279 | Seamonkey, and update it's vendored copy of pip:
|
---|
[8a71122] | 280 | </para>
|
---|
| 281 |
|
---|
[4b3d207] | 282 | <screen><userinput>ln -sv /usr/lib/python&python3-majorver;/ensurepip/_bundled/pip-*.whl \
|
---|
[f56feddc] | 283 | third_party/python/virtualenv/virtualenv_support &&
|
---|
| 284 |
|
---|
| 285 | tar xf ../setuptools-&setuptools-version;.tar.gz &&
|
---|
[6848f3f5] | 286 | pip3 wheel - -no-build-isolation - -no-deps - -no-cache-dir \
|
---|
[f56feddc] | 287 | $PWD/setuptools-&setuptools-version; \
|
---|
[4b3d207] | 288 | -w third_party/python/virtualenv/virtualenv_support</userinput></screen>
|
---|
[6848f3f5] | 289 | -->
|
---|
| 290 |
|
---|
| 291 | <para>
|
---|
| 292 | First, if you are building with system ICU, adapt the line break mapping
|
---|
[83875ca] | 293 | for ICU-74 or later, and apply a patch to build this package with the
|
---|
| 294 | C++17 standard because the headers of ICU-75 or later require some
|
---|
| 295 | C++17 features:
|
---|
[6848f3f5] | 296 | </para>
|
---|
| 297 |
|
---|
| 298 | <screen><userinput remap="pre">(for i in {43..47}; do
|
---|
| 299 | sed '/ZWJ/s/$/,CLASS_CHARACTER/' -i intl/lwbrk/LineBreaker.cpp || exit $?
|
---|
[83875ca] | 300 | done) &&
|
---|
| 301 |
|
---|
| 302 | patch -Np1 -i ../seamonkey-&seamonkey-version;-cxx17-1.patch</userinput></screen>
|
---|
[7be485e] | 303 |
|
---|
[2b5deee] | 304 | <para>
|
---|
[6848f3f5] | 305 | Next, fix a problem with the bundled 'distro' python module:
|
---|
[2b5deee] | 306 | </para>
|
---|
| 307 |
|
---|
[6848f3f5] | 308 | <screen><userinput remap="pre">sed -e '1012 s/stderr=devnull/stderr=subprocess.DEVNULL/' \
|
---|
[c5f66519] | 309 | -e '1013 s/OSError/(OSError, subprocess.CalledProcessError)/' \
|
---|
| 310 | -i third_party/python/distro/distro.py</userinput></screen>
|
---|
[2b5deee] | 311 |
|
---|
[a0d389d] | 312 | <para>
|
---|
[eebff7b] | 313 | Compile <application>Seamonkey</application> by running the following
|
---|
[82a27795] | 314 | commands:
|
---|
[a0d389d] | 315 | </para>
|
---|
[b0ed6bdf] | 316 |
|
---|
[f94402b] | 317 | <screen><userinput>export PATH_PY311=/opt/python3.11/bin:$PATH &&
|
---|
| 318 | PATH=$PATH_PY311 AUTOCONF=true ./mach build</userinput></screen>
|
---|
[82a27795] | 319 |
|
---|
[a0d389d] | 320 | <para>
|
---|
[72ac7f2] | 321 | This package does not come with a test suite.
|
---|
[a0d389d] | 322 | </para>
|
---|
[87c2868] | 323 |
|
---|
[a0d389d] | 324 | <para>
|
---|
[eebff7b] | 325 | Install <application>Seamonkey</application> by issuing the following
|
---|
[a0d389d] | 326 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 327 | </para>
|
---|
[7f588e9a] | 328 |
|
---|
[d5b06a4] | 329 | <note>
|
---|
| 330 | <para>
|
---|
| 331 | If <command>sudo</command> or <command>su</command> is invoked for
|
---|
| 332 | opening a shell running as the &root; user, ensure
|
---|
| 333 | <envar>PATH_PY311</envar> is correctly passed or the
|
---|
| 334 | following command will fail. For <command>sudo</command>, use the
|
---|
| 335 | <option>--preserve-env=PATH_PY311</option> option.
|
---|
| 336 | For <command>su</command>, do <emphasis>not</emphasis> use the
|
---|
| 337 | <option>-</option> or <option>--login</option> options.
|
---|
| 338 | </para>
|
---|
| 339 | </note>
|
---|
| 340 |
|
---|
[f94402b] | 341 | <screen role="root"><userinput>PATH=$PATH_PY311 ./mach install &&
|
---|
[1eb967d9] | 342 | chown -R 0:0 /usr/lib/seamonkey &&
|
---|
[2e3b77b] | 343 |
|
---|
| 344 | cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1</userinput></screen>
|
---|
[3551afa] | 345 |
|
---|
[d5b06a4] | 346 | <para>
|
---|
| 347 | Finally, unset the <envar>PATH_PY311</envar> variable:
|
---|
| 348 | </para>
|
---|
| 349 |
|
---|
| 350 | <screen><userinput>unset $PATH_PY311</userinput></screen>
|
---|
| 351 |
|
---|
[7f588e9a] | 352 | </sect2>
|
---|
| 353 |
|
---|
| 354 | <sect2 role="commands">
|
---|
| 355 | <title>Command Explanations</title>
|
---|
[8a89491] | 356 |
|
---|
[ce960d7] | 357 | <para>
|
---|
[3e7f3ee] | 358 | <command>export CC=clang CXX=clang++</command>:
|
---|
[532e5c9] | 359 | With the introduction of <application>gcc-12</application>, many
|
---|
| 360 | more warnings are generated when compiling mozilla applications
|
---|
[f572dbb] | 361 | and that results in a much slower, and larger, build. Furthermore,
|
---|
| 362 | building with GCC on i?86 is currently broken.
|
---|
[532e5c9] | 363 | Although upstream mozilla code defaults to using
|
---|
| 364 | <application>llvm</application> unless overridden, the older configure
|
---|
[eebff7b] | 365 | code in <application>Seamonkey</application> defaults to gcc.
|
---|
[0a675f98] | 366 | </para>
|
---|
| 367 |
|
---|
[67f44136] | 368 | <!--
|
---|
[0a675f98] | 369 | <para>
|
---|
[4e7ec17] | 370 | <command>AUTOCONF=true ./mach configure</command>: This validates
|
---|
[8a71122] | 371 | the supplied dependencies and the <filename>mozconfig</filename>.
|
---|
[4e7ec17] | 372 | The building system always checks for an old version (2.13) of
|
---|
| 373 | autoconf, but it's not really needed because the necessary
|
---|
| 374 | <command>configure</command> scripts are already shipped in the
|
---|
| 375 | tarball and we've not modified the <filename>configure.in</filename>
|
---|
| 376 | files. So we pass <envar>AUTOCONF=true</envar> so the building system
|
---|
| 377 | will skip the checking for autoconf-2.13 and allow building this
|
---|
| 378 | package without autoconf-2.13 installed.
|
---|
[0a675f98] | 379 | </para>
|
---|
[67f44136] | 380 | -->
|
---|
[0a675f98] | 381 |
|
---|
| 382 | <para>
|
---|
| 383 | <option>./mach build --verbose</option>: Use this alternative if you
|
---|
| 384 | need details of which files are being compiled, together with any C or
|
---|
| 385 | C++ flags being used. But do not add '--verbose' to the install command,
|
---|
| 386 | it is not accepted there.
|
---|
| 387 | </para>
|
---|
| 388 |
|
---|
| 389 | <para>
|
---|
| 390 | <option>./mach build -jN</option>: The build should, by default, use
|
---|
| 391 | all the online CPU cores. If using all the cores causes the build to swap
|
---|
| 392 | because you have insufficient memory, using fewer cores can be faster.
|
---|
[a0d389d] | 393 | </para>
|
---|
| 394 |
|
---|
[88dd2f52] | 395 | </sect2>
|
---|
| 396 |
|
---|
| 397 | <sect2 role="configuration">
|
---|
[eebff7b] | 398 | <title>Configuring Seamonkey</title>
|
---|
[2e3b77b] | 399 |
|
---|
[a0d389d] | 400 | <para>
|
---|
[eebff7b] | 401 | For installing various <application>Seamonkey</application> add-ons, refer
|
---|
[8558044] | 402 | to <ulink url="https://addons.thunderbird.net/en-US/seamonkey/">Add-ons
|
---|
[33befb9] | 403 | for Seamonkey</ulink>.
|
---|
[a0d389d] | 404 | </para>
|
---|
| 405 |
|
---|
| 406 | <para>
|
---|
| 407 | Along with using the <quote>Preferences</quote> menu to configure
|
---|
[eebff7b] | 408 | <application>Seamonkey</application>'s options and preferences to suit
|
---|
[a0d389d] | 409 | individual tastes, finer grain control of many options is only available
|
---|
| 410 | using a tool not available from the general menu system. To access this
|
---|
| 411 | tool, you'll need to open a browser window and enter
|
---|
| 412 | <systemitem role="url">about:config</systemitem> in the address bar. This
|
---|
| 413 | will display a list of the configuration preferences and information
|
---|
[33befb9] | 414 | related to each one. You can use the <quote>Search:</quote> bar to enter
|
---|
[a0d389d] | 415 | search criteria and narrow down the listed items. Changing a preference
|
---|
| 416 | can be done using two methods. One, if the preference has a boolean value
|
---|
| 417 | (True/False), simply double-click on the preference to toggle the value
|
---|
| 418 | and two, for other preferences simply right-click on the desired line,
|
---|
| 419 | choose <quote>Modify</quote> from the menu and change the value. Creating
|
---|
| 420 | new preference items is accomplished in the same way, except choose
|
---|
| 421 | <quote>New</quote> from the menu and provide the desired data into the
|
---|
| 422 | fields when prompted.
|
---|
| 423 | </para>
|
---|
[7f588e9a] | 424 |
|
---|
[a0d389d] | 425 | <para>
|
---|
| 426 | If you use a desktop environment like <application>Gnome</application> or
|
---|
| 427 | <application>KDE</application> you may wish to create a
|
---|
| 428 | <filename>seamonkey.desktop</filename> file so that
|
---|
[eebff7b] | 429 | <application>Seamonkey</application> appears in the panel's menus. If you
|
---|
[a0d389d] | 430 | didn't enable <application>Startup-Notification</application> in your
|
---|
| 431 | mozconfig change the StartupNotify line to false. As the
|
---|
| 432 | <systemitem class="username">root</systemitem> user:
|
---|
| 433 | </para>
|
---|
[5e2fb70] | 434 |
|
---|
[4520f55] | 435 | <screen role="root"><userinput>mkdir -pv /usr/share/{applications,pixmaps} &&
|
---|
[fc9245e] | 436 |
|
---|
[f002c3c] | 437 | cat > /usr/share/applications/seamonkey.desktop << "EOF"
|
---|
[51dfb3e] | 438 | <literal>[Desktop Entry]
|
---|
[5e2fb70] | 439 | Encoding=UTF-8
|
---|
| 440 | Type=Application
|
---|
[eebff7b] | 441 | Name=Seamonkey
|
---|
[5e2fb70] | 442 | Comment=The Mozilla Suite
|
---|
| 443 | Icon=seamonkey
|
---|
| 444 | Exec=seamonkey
|
---|
| 445 | Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
|
---|
| 446 | StartupNotify=true
|
---|
[51dfb3e] | 447 | Terminal=false</literal>
|
---|
[5e2fb70] | 448 | EOF
|
---|
[fc9245e] | 449 |
|
---|
[5dde2656] | 450 | ln -sfv /usr/lib/seamonkey/chrome/icons/default/default128.png \
|
---|
[7226770c] | 451 | /usr/share/pixmaps/seamonkey.png</userinput></screen>
|
---|
[88dd2f52] | 452 | </sect2>
|
---|
| 453 |
|
---|
| 454 | <sect2 role="content">
|
---|
| 455 | <title>Contents</title>
|
---|
| 456 |
|
---|
| 457 | <segmentedlist>
|
---|
[7f588e9a] | 458 | <segtitle>Installed Programs</segtitle>
|
---|
[88dd2f52] | 459 | <segtitle>Installed Libraries</segtitle>
|
---|
[c5f005b] | 460 | <segtitle>Installed Directory</segtitle>
|
---|
[88dd2f52] | 461 |
|
---|
| 462 | <seglistitem>
|
---|
[88cec02] | 463 | <seg>seamonkey</seg>
|
---|
[a0d389d] | 464 | <seg>
|
---|
| 465 | Numerous libraries, browser, and email/newsgroup components, plugins,
|
---|
[4c24eb0a] | 466 | extensions, and helper modules installed in
|
---|
[4483a9a] | 467 | <filename class="directory">/usr/lib/seamonkey</filename>
|
---|
[a0d389d] | 468 | </seg>
|
---|
[7498751] | 469 | <seg>
|
---|
[33befb9] | 470 | /usr/lib/seamonkey
|
---|
[7498751] | 471 | </seg>
|
---|
[88dd2f52] | 472 | </seglistitem>
|
---|
| 473 | </segmentedlist>
|
---|
| 474 |
|
---|
| 475 | <variablelist>
|
---|
| 476 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 477 | <?dbfo list-presentation="list"?>
|
---|
| 478 | <?dbhtml list-presentation="table"?>
|
---|
| 479 |
|
---|
[b5eb704] | 480 | <varlistentry id="seamonkey-prog">
|
---|
| 481 | <term><command>seamonkey</command></term>
|
---|
[88dd2f52] | 482 | <listitem>
|
---|
[a0d389d] | 483 | <para>
|
---|
[4c24eb0a] | 484 | is the Mozilla browser/email/newsgroup/chat client suite
|
---|
[a0d389d] | 485 | </para>
|
---|
[b5eb704] | 486 | <indexterm zone="seamonkey seamonkey-prog">
|
---|
| 487 | <primary sortas="b-seamonkey">seamonkey</primary>
|
---|
[88dd2f52] | 488 | </indexterm>
|
---|
| 489 | </listitem>
|
---|
| 490 | </varlistentry>
|
---|
| 491 | </variablelist>
|
---|
| 492 | </sect2>
|
---|
[4c24eb0a] | 493 |
|
---|
[f45b1953] | 494 | </sect1>
|
---|