#### Beyond Linux® From Scratch (systemd Edition) - Version 10.1

### Chapter 40. Graphical Web Browsers

- Prev

  Firefox-78.8.0

- Next

  Other X-based Programs

- Up
- Home

# SeaMonkey-2.53.6

## Introduction to SeaMonkey

SeaMonkey is a browser suite, the Open Source sibling of Netscape. It includes the browser, composer, mail and news clients, and an IRC client. It is the follow-on to the Mozilla browser suite.

The Mozilla project also hosts two subprojects that aim to satisfy the needs of users who don't need the complete browser suite or prefer to have separate applications for browsing and e-mail. These subprojects are Firefox-78.8.0 and Thunderbird-78.8.0. Both are based on the Mozilla source code.

This package is known to build and work properly using an LFS-10.1 platform.

### Package Information

- Download (HTTP): https://archive.mozilla.org/pub/seamonkey/releases/2.53.6/source/seamonkey-2.53.6.source.tar.xz

- Download MD5 sum: 045ca741d5fac8aa87b4be617969ff9a

- Download size: 271 MB

- Estimated disk space required: 6.8 GB (149 MB installed)

- Estimated build time: 20 SBU (on a 4-core machine)

### Note

The tarball seamonkey-2.53.6.source.tar.xz will untar to seamonkey-2.53.6 directory.

### SeaMonkey Dependencies

#### Required

Autoconf-2.13, both GTK+-2.24.33 and GTK+-3.24.25, Python-2.7.18, rustc-1.47.0, UnZip-6.0, yasm-1.3.0, and Zip-3.0

#### Recommended

ICU-68.2, libevent-2.1.12, libwebp-1.2.0 NASM-2.15.05, NSPR-4.29, NSS-3.61, and PulseAudio-14.2

### Note

If you don't install recommended dependencies, then internal copies of those packages will be used. They might be tested to work, but they can be out of date or contain security holes.

#### Optional

alsa-lib-1.2.4, cURL-7.75.0, dbus-glib-0.110, Doxygen-1.9.1, GConf-3.2.6, gst-plugins-base-1.18.3 (and other plugins, only for tests), OpenJDK-15.0.2, startup-notification-0.12, Valgrind-3.16.1, Wget-1.21.1, Wireless Tools-29, Hunspell, and Watchman

User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/seamonkey

## Installation of SeaMonkey

The configuration of SeaMonkey is accomplished by creating a `mozconfig` file containing the desired configuration options. A default `mozconfig` file is created below. To see the entire list of available configuration options (and an abbreviated description of each one), issue ./configure --help. You may also wish to review the entire file and uncomment any other desired options. Create the file by issuing the following command:

    cat > mozconfig << "EOF"
    # If you have a multicore machine, all cores will be used by default.
    # If desired, you can reduce the number of cores used, e.g. to 1, by
    # uncommenting the next line and setting a valid number of CPU cores.
    #mk_add_options MOZ_MAKE_FLAGS="-j1"

    # If you have installed DBus-Glib comment out this line:
    ac_add_options --disable-dbus

    # If you have installed dbus-glib, and you have installed (or will install)
    # wireless-tools, and you wish to use geolocation web services, comment out
    # this line
    ac_add_options --disable-necko-wifi

    # Uncomment these lines if you have installed optional dependencies:
    #ac_add_options --enable-system-hunspell
    #ac_add_options --enable-startup-notification

    # Uncomment the following option if you have not installed PulseAudio
    #ac_add_options --disable-pulseaudio
    # and uncomment this if you installed alsa-lib instead of PulseAudio
    #ac_add_options --enable-alsa

    # Comment out following option if you have gconf installed
    ac_add_options --disable-gconf

    # Comment out following options if you have not installed
    # recommended dependencies:
    ac_add_options --with-system-icu
    ac_add_options --with-system-libevent
    ac_add_options --with-system-nspr
    ac_add_options --with-system-nss
    ac_add_options --with-system-webp

    # The elf-hack is reported to cause failed installs (after successful builds)
    # on some machines. It is supposed to improve startup time and it shrinks
    # libxul.so by a few MB - comment this if you know your machine is not affected.
    ac_add_options --disable-elf-hack

    # The BLFS editors recommend not changing anything below this line:
    ac_add_options --prefix=/usr
    ac_add_options --enable-application=comm/suite

    ac_add_options --disable-crashreporter
    ac_add_options --disable-updater
    ac_add_options --disable-tests

    ac_add_options --enable-optimize="-O2"
    ac_add_options --enable-strip
    ac_add_options --enable-install-strip

    # not recognized since 2.53.1 - ac_add_options --enable-gio
    ac_add_options --enable-official-branding
    # not recognized since 2.53.1 - ac_add_options --enable-safe-browsing
    # not recognized since 2.53.1 - ac_add_options --enable-url-classifier

    # From firefox-40 (and the corresponding version of seamonkey),
    # using system cairo caused seamonkey to crash
    # frequently when it was doing background rendering in a tab.
    # This appears to again work in seamonkey-2.49.2
    ac_add_options --enable-system-cairo
    ac_add_options --enable-system-ffi
    ac_add_options --enable-system-pixman

    # not recognized since 2.53.6 - ac_add_options --with-pthreads

    ac_add_options --with-system-bz2
    ac_add_options --with-system-jpeg
    ac_add_options --with-system-png
    ac_add_options --with-system-zlib
    EOF

### Note

If you are compiling this package in chroot you must do two things. First, as the `root` user, ensure that `/dev/shm` is mounted. If you do not do this, the Python configury will fail with a traceback report referencing `/usr/lib/pythonN.N/multiprocessing/synchronize.py`. Run:

    mountpoint -q /dev/shm || mount -t tmpfs devshm /dev/shm

Second, either as the `root` user export the `$SHELL` environment variable using export SHELL=/bin/sh or else prepend `SHELL=/bin/sh` when running the first make command.

Compile SeaMonkey by running the following commands:

    CC=gcc CXX=g++ make -f client.mk

### Note

The CC and CXX variables above are only needed if LLVM-11.1.0 is installed and you do not want to use clang.

This package does not come with a test suite.

Install SeaMonkey by issuing the following commands as the `root` user:

    make  -f client.mk install INSTALL_SDK= &&
    chown -R 0:0 /usr/lib/seamonkey         &&

    cp -v $(find -name seamonkey.1 | head -n1) /usr/share/man/man1

## Command Explanations

make -f client.mk: Mozilla products are packaged to allow the use of a configuration file which can be used to pass the configuration settings to the configure command. make uses the `client.mk` file to get initial configuration and setup parameters.

## Configuring SeaMonkey

For installing various SeaMonkey add-ons, refer to Add-ons for Seamonkey.

Along with using the “Preferences” menu to configure SeaMonkey's options and preferences to suit individual tastes, finer grain control of many options is only available using a tool not available from the general menu system. To access this tool, you'll need to open a browser window and enter `about:config` in the address bar. This will display a list of the configuration preferences and information related to each one. You can use the “Search:” bar to enter search criteria and narrow down the listed items. Changing a preference can be done using two methods. One, if the preference has a boolean value (True/False), simply double-click on the preference to toggle the value and two, for other preferences simply right-click on the desired line, choose “Modify” from the menu and change the value. Creating new preference items is accomplished in the same way, except choose “New” from the menu and provide the desired data into the fields when prompted.

If you use a desktop environment like Gnome or KDE you may wish to create a `seamonkey.desktop` file so that SeaMonkey appears in the panel's menus. If you didn't enable Startup-Notification in your mozconfig change the StartupNotify line to false. As the `root` user:

    mkdir -pv /usr/share/{applications,pixmaps}              &&

    cat > /usr/share/applications/seamonkey.desktop << "EOF"
    [Desktop Entry]
    Encoding=UTF-8
    Type=Application
    Name=SeaMonkey
    Comment=The Mozilla Suite
    Icon=seamonkey
    Exec=seamonkey
    Categories=Network;GTK;Application;Email;Browser;WebBrowser;News;
    StartupNotify=true
    Terminal=false
    EOF

    ln -sfv /usr/lib/seamonkey/chrome/icons/default/default128.png \
            /usr/share/pixmaps/seamonkey.png

## Contents

Installed Programs: seamonkey
Installed Libraries: Numerous libraries, browser, and email/newsgroup components, plugins, extensions, and helper modules installed in `/usr/lib/seamonkey-2.53.6`
Installed Directory: /usr/lib/seamonkey

### Short Descriptions

seamonkey | is the Mozilla browser/email/newsgroup/chat client suite

Last updated on 2021-02-25 12:13:27 -0800

- Prev

  Firefox-78.8.0

- Next

  Other X-based Programs

- Up
- Home