Difference between revisions of "Thunderbird-Enigmail"
(New page: {| style="text-align: left; background-color: AliceBlue;" |- !Download Source: | http://www.mozilla-enigmail.org/download/source/enigmail-{{Thunderbird-Enigmail-Version}}.tar.gz |- !Downlo...) |
(No difference)
|
Revision as of 13:47, 26 December 2008
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
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 mozilla && 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" . $topsrcdir/mail/config/mozconfig 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/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.