Thunderbird-Enigmail

From CBLFS
Jump to: navigation, search
Download Source: http://www.mozilla-enigmail.org/download/source/enigmail-1.0.0.tar.gz
Download Source: http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/3.0.4/source/thunderbird-3.0.4-source.tar.bz2

Contents

Introduction to Thunderbird-Enigmail

Enigmail is a security extension to Mozilla, Thunderbird, and SeaMonkey. It integrates the renowned OpenPGP standard provided by GnuPG.

Project Homepage: http://enigmail.mozdev.org/home/index.php

Dependencies

Required

Extracting

First extract thunderbird-3.0.4-source.tar.bz2 and then enter the mozilla directory that it created. Then we need to extract the Enigmail tarball into mozilla/mailnews/extensions.

tar xf thunderbird-3.0.4-source.tar.bz2 &&
cd comm-1.9.1 &&
tar xf ../enigmail-1.0.0.tar.gz -C mailnews/extensions

Creating a basic .mozconfig

Enigmail is different from the rest of the mozilla style builds as we need a very minimal mozconfig. We are just building the Enigmail XPI.

cat > .mozconfig << "EOF"
ac_add_options --enable-application=mail
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-enigmail

ac_cv_visibility_pragma=no

ac_add_options --disable-tests
ac_add_options --disable-debug
ac_add_options --enable-crypto
ac_add_options --enable-optimize
ac_add_options --enable-static-mail
EOF

Non-Multilib

Compile the required parts of Thunderbird with the following command:

make -f client.mk export &&
make -C obj-enigmail/modules/libreg &&
make -C obj-enigmail/xpcom/string &&
make -C obj-enigmail/xpcom &&
make -C obj-enigmail/xpcom/obsolete

Compile the Enigmail extension with the following command:

(cd mailnews/extensions/enigmail && ./makemake -r) &&
make -C obj-enigmail/mailnews/extensions/enigmail

Create the XPI Extension with the following command:

make -C obj-enigmail/mailnews/extensions/enigmail xpi

You're XPI is located in obj-enigmail/dist/bin/enigmail-1.0.0-linux-[cpu].xpi.

Multilib

32 Bit

To Do!

N32

To Do!

64 Bit

Use the following command to append your .mozconfig with 64bit specific flags:

cat >> .mozconfig << EOF
export CC="gcc ${BUILD64}"
export CXX="g++ ${BUILD64}"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH64}"
export USE_ARCH=64
EOF

Compile the required parts of Thunderbird with the following command:

make -f client.mk export &&
make -C obj-enigmail/mozilla/modules/libreg &&
make -C obj-enigmail/mozilla/xpcom/string &&
make -C obj-enigmail/mozilla/xpcom &&
make -C obj-enigmail/mozilla/xpcom/obsolete

Compile the Enigmail extension with the following command:

(cd mailnews/extensions/enigmail && ./makemake -r) &&
make -C obj-enigmail/mailnews/extensions/enigmail

Create the XPI Extension with the following command:

make -C obj-enigmail/mailnews/extensions/enigmail xpi

You're XPI is located in obj-enigmail/mozilla/dist/bin/enigmail-1.0.0-linux-[cpu].xpi.

Personal tools