LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Blogs > wadsworth
User Name
Password

Notices

Rate this Entry

Building SeaMonkey 2.0

Posted 09-17-2009 at 11:49 PM by wadsworth
Updated 11-08-2009 at 10:31 AM by wadsworth (updated for final release)
Tags seamonkey

Quick howto build SeaMonkey 2.0 on Slackware-64.

All Slackware releases from 12.2 to -current have now been
officially updated to SeaMonkey 2.

There's no more need to compile SeaMonkey in this manner.


"Building SeaMonkey requires at least 2 GB of disk space and 256 MB of available RAM."

The JDK (Java Development Kit) is required.
I had jdk-6u16 installed when building.

Grab the tarball (bzip2,57 MB) from this page:
http://www.seamonkey-project.org/releases/#source
(seamonkey-2.0.source.tar.bz2)
Save in your home directory.

I will manually install to /usr/local,
and leave SeaMonkey 1.1.x in place.
Code:
mkdir -p /tmp/build-sm/objdir-sm-release
cd /tmp/build-sm/
tar -xjf ~/seamonkey-2.0.source.tar.bz2 
cd comm-1.9.1/

# Create a basic .mozconfig file
cat > .mozconfig << EOF
ac_add_options --enable-application=suite
mk_add_options MOZ_CO_PROJECT=suite
mk_add_options MOZ_OBJDIR=/tmp/build-sm/objdir-sm-release
mk_add_options MOZ_MAKE_FLAGS="-j4"
ac_add_options --enable-optimize=-Os
ac_add_options --disable-debug
ac_add_options --disable-tests
EOF

make -f client.mk

cd ../objdir-sm-release/
make package

# Save the created tarball.
cp mozilla/dist/seamonkey-2.0.en-US.linux-x86_64.tar.bz2 /tmp/

# The package is now in /tmp, so delete the (huge) build directory.
cd
rm -rf /tmp/build-sm/

# You can untar and run from anywhere.
# I like to install to /usr/local
su -
# if upgrading, remove the old SeaMonkey
rm -rf /usr/local/seamonkey/
cd /usr/local/
tar -xjf /tmp/seamonkey-2.0.en-US.linux-x86_64.tar.bz2

# If you want java, create a symlink.
ln -s /usr/lib64/java/lib/amd64/libnpjp2.so /usr/local/seamonkey/plugins/
exit
Start SeaMonkey 2 with:
/usr/local/seamonkey/seamonkey

A Flash plugin in ~/.mozilla/plugins/ is autodetected.
If its someplace else, a symlink to libflashplayer.so could be necessary.

Seamonkey 2 puts the user profile in a new location:
~/.mozilla/seamonkey

To completely remove SeaMonkey 2.0:
rm -rf /usr/local/seamonkey/
rm -rf ~/.mozilla/seamonkey/ #deletes all user profiles!


Detailed build documentation:
https://developer.mozilla.org/en/Build_Documentation
Posted in Uncategorized
Views 937 Comments 0
« Prev     Main     Next »
Total Comments 0

Comments

 

  



All times are GMT -5. The time now is 12:02 PM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration