Thunderbird-Enigmail: Difference between revisions
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... |
|||
| (5 intermediate revisions by 2 users not shown) | |||
| Line 10: | Line 10: | ||
---- | ---- | ||
{{Package-Introduction|Enigmail is a security extension to [[Mozilla]], [[Thunderbird]], and [[ | {{Package-Introduction|Enigmail is a security extension to [[Mozilla]], [[Thunderbird]], and [[SeaMonkey]]. It integrates the renowned OpenPGP standard provided by [[GnuPG]].|http://enigmail.mozdev.org/home/index.php}} | ||
== Dependencies == | == Dependencies == | ||
=== Required === | |||
* [[Thunderbird]] | |||
* [[GnuPG]] | |||
== Extracting == | == Extracting == | ||
| Line 18: | Line 22: | ||
First extract thunderbird-{{Thunderbird-Version}}-source.tar.bz2 and then enter the mozilla directory that it created. Then we need to extract the Enigmail tarball into mozilla/mailnews/extensions. | First extract thunderbird-{{Thunderbird-Version}}-source.tar.bz2 and then enter the mozilla directory that it created. Then we need to extract the Enigmail tarball into mozilla/mailnews/extensions. | ||
[[Category:GUI Clients]] | |||
tar xf thunderbird-{{Thunderbird-Version}}-source.tar.bz2 && | tar xf thunderbird-{{Thunderbird-Version}}-source.tar.bz2 && | ||
cd | cd comm-1.9.1 && | ||
tar xf ../enigmail-{{Thunderbird-Enigmail-Version}}.tar.gz -C mailnews/extensions | tar xf ../enigmail-{{Thunderbird-Enigmail-Version}}.tar.gz -C mailnews/extensions | ||
| Line 27: | Line 32: | ||
cat > .mozconfig << "EOF" | cat > .mozconfig << "EOF" | ||
ac_add_options --enable-application=mail | |||
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-enigmail | mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-enigmail | ||
| Line 84: | Line 89: | ||
make -f client.mk export && | make -f client.mk export && | ||
make -C obj-enigmail/modules/libreg && | make -C obj-enigmail/mozilla/modules/libreg && | ||
make -C obj-enigmail/xpcom/string && | make -C obj-enigmail/mozilla/xpcom/string && | ||
make -C obj-enigmail/xpcom && | make -C obj-enigmail/mozilla/xpcom && | ||
make -C obj-enigmail/xpcom/obsolete | make -C obj-enigmail/mozilla/xpcom/obsolete | ||
Compile the Enigmail extension with the following command: | Compile the Enigmail extension with the following command: | ||
| Line 98: | Line 103: | ||
make -C obj-enigmail/mailnews/extensions/enigmail xpi | make -C obj-enigmail/mailnews/extensions/enigmail xpi | ||
You're XPI is located in '''obj-enigmail/dist/bin/enigmail-{{Thunderbird-Enigmail-Version}}-linux-''[cpu]''.xpi'''. | You're XPI is located in '''obj-enigmail/mozilla/dist/bin/enigmail-{{Thunderbird-Enigmail-Version}}-linux-''[cpu]''.xpi'''. | ||
Latest revision as of 02:52, 9 December 2009
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.