site  contact  subhomenews

SeaMonkey 2.53.8 compiled in Dunfell-series

July 02, 2021 — BarryK

SM (SeaMonkey) 2.53.8 has just been released. The current release of EasyOS Dunfell-series is 2.8.3, and it has SM 2.53.7.1.

Awhile ago, posted instructions how to compile SM:

https://bkhome.org/news/202009/compiling-seamonkey-in-oe-dunfell.html

With a modification here:

https://bkhome.org/news/202101/seamonkey-2536-compiled-for-aarch64-pi4.html

Compile steps for 2.53.8 have changed. This is very new, fortunately found forum posts from BSD guys encountering the same problem, and was able to figure out how to do it.

This is my 'mozconfig' file:

mk_add_options MOZ_OBJDIR=obj-x86_64-pc-linux-gnu
ac_add_options --enable-application=comm/suite
ac_add_options --enable-system-hunspell
ac_add_options --prefix=/usr
ac_add_options --host=x86_64-unknown-linux-gnu
ac_add_options --disable-dbus
ac_add_options --disable-accessibility
ac_add_options --with-system-bz2
ac_add_options --disable-updater
ac_add_options --disable-parental-controls
ac_add_options --enable-system-cairo
ac_add_options --enable-strip
ac_add_options --with-system-jpeg
ac_add_options --with-system-zlib
ac_add_options --disable-tests
ac_add_options --disable-crashreporter
ac_add_options --with-system-libvpx
ac_add_options --disable-necko-wifi
ac_add_options --with-system-nspr
ac_add_options --with-system-nss
ac_add_options --with-system-icu
ac_add_options --disable-pulseaudio
ac_add_options --enable-alsa
ac_add_options --enable-system-ffi
ac_add_options --enable-system-pixman
ac_add_options --disable-debug
ac_add_options --with-system-libevent
ac_add_options --enable-optimize='-O2'
ac_add_options --enable-ffmpeg
ac_add_options --disable-stylo
ac_add_options --disable-webrtc
ac_add_options --enable-printing
ac_add_options --disable-jack
ac_add_options --enable-irc
ac_add_options --enable-js-shell
ac_add_options --enable-dominspector
ac_add_options --enable-calendar
ac_add_options --with-system-webp

SM requires python 2.x and rust 1.47.0. The package manager has a python 2.x PET, and rust is installed like this:

# curl -4 --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh

Choose custom install, and type in "1.47.0" for Default toolchain. Note the "-4"!

Then perform some setup:

# export PATH="/root/.cargo/bin:${PATH}"
# export SHELL=/bin/sh
# export CC=gcc
# export CXX=g++

Then, copy 'mozconfig' inside the source, compile and install:

# ./mach configure
# ./mach build
# mv -f /usr/lib/seamonkey /usr/lib/seamonkeyBAK
# ./mach install

SM is now installed to /usr/lib/seamonkey. If you want to put it into a PET, run "cp -a /usr/lib/seamonkey <destination>", before running SM. You could use one of my SM PETs as a template.

Note, in my PETs, as well as replacing usr/lib/seamonkey*, also change the folder name to root/.mozilla/seamonkey/2p53p8.default, and edit root/.mozilla/seamonkey/profiles.ini accordingly. My SM PET is here:

http://distro.ibiblio.org/easyos/amd64/packages/pet/pet_packages-dunfell/

SM 2.53.8 will be in the next release of EasyOS, 2.8.4, expected out in a day or two. 

Tags: easy