Difference between revisions of "Thunderbird-Enigmail"

From CBLFS
Jump to navigationJump to search
(Dependencies)
(64 Bit)
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
 
----
 
----
  
{{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}}
+
{{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 ==
Line 22: 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 mozilla &&
+
  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 31: Line 32:
  
 
  cat > .mozconfig << "EOF"
 
  cat > .mozconfig << "EOF"
  . $topsrcdir/mail/config/mozconfig
+
  ac_add_options --enable-application=mail
 
  mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-enigmail
 
  mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/obj-enigmail
 
   
 
   
Line 88: 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 102: 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 19:52, 8 December 2009

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

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.