Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 99182 - Re-include enigmail in mail-client/mozilla-thunderbird-1.0.6
Summary: Re-include enigmail in mail-client/mozilla-thunderbird-1.0.6
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-16 02:31 UTC by duebel
Modified: 2006-01-14 06:37 UTC (History)
23 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
thunderbird-1.0.6.ebuild with enigmail (mozilla-thunderbird-1.0.6.ebuild,5.84 KB, text/plain)
2005-07-22 04:10 UTC, duebel
Details
output from failed patch (mozilla-thunderbird-0.9-4ft2.patch-25151.out,19.01 KB, text/plain)
2005-07-22 07:53 UTC, Nathan Adams
Details
merge latest ~arch ebuild with enigmail support (mozilla-thunderbird-1.0.6-r3.ebuild,6.13 KB, text/plain)
2005-07-22 16:37 UTC, Nathan Adams
Details
My compreg.dat (compreg.dat.bz2,25.18 KB, application/x-bzip)
2005-08-11 00:42 UTC, Martin Wegner
Details
Patch to mozilla-thunderbird-1.0.6-r4 ebuild including enigmail support (mozilla-thunderbird-1.0.6-r4-enigmail.patch,3.03 KB, patch)
2005-08-22 08:13 UTC, Martin Wegner
Details | Diff
Patch thunderbird 1.0.6-r4 ebuild to include enigmail-0.92.1 (mozilla-thunderbird-1.0.6-r4-enigmail-0.92.1.patch,3.04 KB, patch)
2005-09-22 04:29 UTC, Alexandre Hannud Abdo
Details | Diff
Patch thunderbird 1.0.7 ebuild to include enigmail-0.92.1 (mozilla-thunderbird-1.0.7-enigmail-0.92.1.patch,3.41 KB, patch)
2005-10-01 17:10 UTC, Alexandre Hannud Abdo
Details | Diff
Patch thunderbird 1.0.7-r2 ebuild to include enigmail-0.93.0 (mozilla-thunderbird-1.0.7-r2-enigmail-0.93.0.patch,2.35 KB, patch)
2005-10-25 20:43 UTC, Alexandre Hannud Abdo
Details | Diff
patch for mozilla-thunderbird-1.0.7-r2.ebuild with enigmail support (mozilla-thunderbird-1.0.7-r2-enigmail-0.93.0.patch,2.26 KB, patch)
2005-11-27 13:21 UTC, bmasius
Details | Diff
Patch thunderbird 1.0.7-r3 ebuild to include enigmail-0.93.0 (thunderbird-1.0.7-r3.ebuild.enigmail-0.93.0.patch,3.14 KB, patch)
2005-12-07 01:36 UTC, Alexandre Hannud Abdo
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description duebel 2005-07-16 02:31:49 UTC
In thunderbird-1.0.5 enigmail support was dropped due to incompatibilities.

Please re-include enigmail in the next thunderbird release. It should be available soon.

The enigmail head dev posted in enigmails mailinglist:

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Olav Seyfarth wrote:
> Dear list,
> 
> unfortunately, Enigmail 0.92.0 does not work with Thunderbird 1.0.5.
> We will provide a new version that reflects the changes that have
> been made to TB code as soon as our limited time allows us to.
> 
> If you need to use Enigmail, we advise you to stay with TB 1.0.2 for
> the time being.
> 
> Patrick will announce the availability of a fixed version on this list.
> By that time, I will remove the hints on the enigmail website, too.
> 
> Sorry for that inconvenience,
> Olav

I got an official statement from mozilla.org staff. Mozilla.org
accidentially shipped a wrong build of Thunderbird 1.0.5, which cannot
work with Enigmail. A new TB 1.0.6 release -- which will again be
compatible to Enigmail -- will be released in a few days. Until then, I
recommend to stay with Thunderbird 1.0.2.

Patrick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2rc2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFC11Ia2KgHx8zsInsRAv1wAKDzfT4pQREJvptFBCcJ/ClrpyR+GACgqYjL
eI/pnzXmcMXcsZFfKLMw2hI=
=B6HC
-----END PGP SIGNATURE-----
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2005-07-16 02:41:47 UTC
We can't include something that is not even available yet. Please, reopen when
then next release w/ enigmail support is out. 
Comment 2 duebel 2005-07-16 03:00:38 UTC
Was meant as a reminder. ;-)
Comment 3 Martin von Gagern 2005-07-19 20:25:09 UTC
Thunderbird 1.0.6 is out, as is Firefox 1.0.6. Please reopen and bump versions.
Comment 4 Jory A. Pratt 2005-07-19 21:09:49 UTC
you will have to wait for  ebuild on enigmail .. either way it was busted on
initial installs (new). That was reason we removed it and decided to make its
own ebuild for it. It is coming just be patient. I have commited 1.0.6
mozilla-firefox, mozilla-firefox-bin, mozilla-thunderbird and
mozilla-thunderbird-bin, once again enigmail not included.
Comment 5 duebel 2005-07-20 03:38:52 UTC
I think it is the wrong strategy to drop a very important feature like
enigmail's gpg support  in a mail-client and tell the users to be a little
patient and wait for a solution. Especially not in a bugfix release.

The right way should be to drop the feature when the solution is available. Not
long before!
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2005-07-20 04:18:31 UTC
(In reply to comment #5)

> The right way should be to drop the feature when the solution is available. Not
> long before!

Hmm? It was dropped because it was broken, as comment #4 explains.
Comment 7 duebel 2005-07-20 07:07:15 UTC
I did not notice the busted enigmail. It warked perfectly for me. :-) And as it
is thunderbird's best feature for me, I haven't been very happy when I noticed
it is not included anymore.

As an interim solution I made my own ebuild with enigmail (without ldap and
calendar) by copying the 1.0.2-r1.ebuild.
Comment 8 Martin von Gagern 2005-07-20 09:14:41 UTC
(in reply to comment #6)    
bug 84668 comment 7 describes a workaround for the brokenness I think you are   
referring to. So although things did not work out of the box for some people,   
it was still possible to use enigmail compiled from source. I agree with 
comment #5. 
Comment 9 Matan Peled 2005-07-21 03:13:24 UTC
I thought one of the reasons for the 1.0.6 release of Thunderbird is that 1.0.5
broke some extensions, including but not limited to enigmail?

Anyway, I compiled enigmail by hand, and once I was done with it it worked fine
out of the box.
Comment 10 duebel 2005-07-22 04:10:10 UTC
(In reply to comment #7)

> As an interim solution I made my own ebuild with enigmail (without ldap and
> calendar) by copying the 1.0.2-r1.ebuild.

mozilla-thunderbird-1.0.2-r1 is not in portage anymore. So i publish my 1.0.2-r1
based version of mozilla-thunderbird-1.0.6.ebuild. Maybe someone's interested in it.
Comment 11 duebel 2005-07-22 04:10:19 UTC
Created attachment 64046 [details]
thunderbird-1.0.6.ebuild with enigmail
Comment 12 Nathan Adams 2005-07-22 07:53:01 UTC
Created attachment 64057 [details]
output from failed patch
Comment 13 Nathan Adams 2005-07-22 07:59:47 UTC
By commenting out mozilla-thunderbird-0.9-4ft2.patch from duebel's ebuild, I am
able to compile. I will post further test results later.

How about including enigmail support in the mozilla-thunderbird ebuild *until
the enigmail ebuild is ready*? Apparently 1.0.6 solves the brokeness, so why not
give it a shot?
Comment 14 Nathan Adams 2005-07-22 08:20:35 UTC
I spoke too soon; the compile failed:

c++ -o nsFreeType.o -c -DOSTYPE=\"Linux2.6.11\" -DOSARCH=\"Linux\" -I../..
-I../../../dist/include/xpcom -I../../../dist/include/string
-I../../../dist/include/pref -I../../../dist/include/uconv
-I../../../dist/include/unicharutil -I../../../dist/include/gfx
-I../../../dist/include
-I/var/tmp/portage/mozilla-thunderbird-1.0.6/work/mozilla/dist/include/nspr    
-I/usr/include/freetype2    -fPIC   -fno-rtti -fno-handle-exceptions -Wall
-Wconversion -Wpointer-arith -Wcast-align -Woverloaded-virtual -Wsynth
-Wno-ctor-dtor-privacy -Wno-non-virtual-dtor -Wno-long-long -march=athlon-xp
-pipe -Wno-deprecated -Wno-return-type -w -fshort-wchar -pthread -pipe  -DNDEBUG
-DTRIMMED -ffunction-sections -O2   -DMOZILLA_CLIENT -include
../../../mozilla-config.h -Wp,-MD,.deps/nsFreeType.pp nsFreeType.cpp
In file included from nsFreeType.h:39,
                 from nsFreeType.cpp:48:
../../../dist/include/gfx/nsIFreeType2.h:53: error: `FTC_Image_Cache' was not
   declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:53: error: `aImageCache' was not
   declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:53: error: variable declaration is not
   allowed here
../../../dist/include/gfx/nsIFreeType2.h:92: error: `FTC_Image_Cache' was not
   declared in this scope
../../../dist/include/gfx/nsIFreeType2.h:92: error: parse error before `,'
   token
../../../dist/include/gfx/nsIFreeType2.h:104: error: type specifier omitted for
   parameter `FTC_Image_Cache'
../../../dist/include/gfx/nsIFreeType2.h:104: error: parse error before `*'
   token
In file included from nsFreeType.cpp:48:
nsFreeType.h:107: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:107: error: `FTC_Image_Desc' was not declared in this scope
nsFreeType.h:107: error: parse error before `,' token
nsFreeType.h:113: error: type specifier omitted for parameter `FTC_Image_Cache'
nsFreeType.h:113: error: parse error before `*' token
nsFreeType.h:145: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:145: error: `aImageCache' was not declared in this scope
nsFreeType.h:145: error: invalid data member initialization
nsFreeType.h:145: error: (use `=' to initialize static data members)
nsFreeType.h:145: error: `GetImageCache' declared as a `virtual' field
nsFreeType.h:145: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.h:145: error: parse error before `,' token
nsFreeType.h:145: error: type specifier omitted for parameter `FTC_Image_Cache'
nsFreeType.h:145: error: parse error before `*' token
nsFreeType.h:216: error: 'FTC_Image_Cache' is used as a type, but is not
   defined as a type.
nsFreeType.cpp:285: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:285: error: parse error before `,' token
nsFreeType.cpp: In member function `virtual nsresult
   nsFreeType2::ImageCacheLookup(...)':
nsFreeType.cpp:289: error: `cache' undeclared (first use this function)
nsFreeType.cpp:289: error: (Each undeclared identifier is reported only once
   for each function it appears in.)
nsFreeType.cpp:289: error: `desc' undeclared (first use this function)
nsFreeType.cpp:289: error: `glyphID' undeclared (first use this function)
nsFreeType.cpp:289: error: `glyph' undeclared (first use this function)
nsFreeType.cpp: At global scope:
nsFreeType.cpp:323: error: type specifier omitted for parameter `
   FTC_Image_Cache'
nsFreeType.cpp:323: error: parse error before `*' token
nsFreeType.cpp: In member function `virtual nsresult
   nsFreeType2::ImageCacheNew(...)':
nsFreeType.cpp:326: error: `manager' undeclared (first use this function)
nsFreeType.cpp: At global scope:
nsFreeType.cpp:392: error: `FTC_Image_Cache' was not declared in this scope
nsFreeType.cpp:392: error: `aCache' was not declared in this scope
nsFreeType.cpp:393: error: `nsresult nsFreeType2::GetImageCache' is not a
   static member of `class nsFreeType2'
nsFreeType.cpp:393: error: syntax error before `{' token
nsFreeType.cpp: In member function `void nsFreeType2::ClearGlobals()':
nsFreeType.cpp:429: error: `mImageCache' undeclared (first use this function)
gmake[4]: *** [nsFreeType.o] Error 1
gmake[4]: Leaving directory
`/var/tmp/portage/mozilla-thunderbird-1.0.6/work/mozilla/gfx/src/freetype'
gmake[3]: *** [libs] Error 2
gmake[3]: Leaving directory
`/var/tmp/portage/mozilla-thunderbird-1.0.6/work/mozilla/gfx/src'
gmake[2]: *** [libs] Error 2
gmake[2]: Leaving directory
`/var/tmp/portage/mozilla-thunderbird-1.0.6/work/mozilla/gfx'
gmake[1]: *** [tier_9] Error 2
gmake[1]: Leaving directory
`/var/tmp/portage/mozilla-thunderbird-1.0.6/work/mozilla'
make: *** [default] Error 2

!!! ERROR: mail-client/mozilla-thunderbird-1.0.6 failed.
!!! Function src_compile, Line 93, Exitcode 2
!!! emake failed
!!! If you need support, post the topmost build error, NOT this status message.
Comment 15 Nathan Adams 2005-07-22 16:37:58 UTC
Created attachment 64093 [details]
merge latest ~arch ebuild with enigmail support

This ebuild WORKSFORME (thunderbird + enigmail support).
Comment 16 duebel 2005-07-23 04:16:05 UTC
Comment on attachment 64046 [details]
thunderbird-1.0.6.ebuild with enigmail

Nathan's ebuild is much better.
Comment 17 duebel 2005-07-23 04:17:54 UTC
(In reply to comment #15)

This ebuild works very well here. Good job!
Comment 18 DEMAINE Benoît-Pierre, aka DoubleHP 2005-07-24 05:40:43 UTC
(In reply to comment #5)
> I think it is the wrong strategy to drop a very important feature like
> enigmail's gpg support  in a mail-client and tell the users to be a little
> patient and wait for a solution. Especially not in a bugfix release.
> 
> The right way should be to drop the feature when the solution is available. Not
> long before!

you are right: updates are generaly made for security purposes. And today, an
update have been relaesed which opens security issues: since now 36h, I can not
sign any more email ... what eans people i write to can not be 100% I am really
author of email that claim to come from me.

Since I work on small and non critial projects, that is not critical for my
work, but sill, all my peers now have doubts about why I dont sign my emails,
and if Gentoo is really a secure distribution ...

Gentoo which prefered updating a traditionnal app, rather than checking and
proof testing the security aspect.

If I can not make work the ebuild proposed by comment 16 or 17, I ll have to
downgrade to TB 1.0.4 .

Imagine mazilla realeases a new firefox that patches a hole in management of
PNG, but has no more support of HTTPS ... would you uprgade portage to the new
version ?
Comment 19 DEMAINE Benoît-Pierre, aka DoubleHP 2005-07-24 09:50:03 UTC
(In reply to comment #15)
> Created an attachment (id=64093) [edit]
> merge latest ~arch ebuild with enigmail support
> 
> This ebuild WORKSFORME (thunderbird + enigmail support).

ebuild proposed at #15 works for me.
Comment 20 Aron Griffis (RETIRED) gentoo-dev 2005-07-24 19:28:56 UTC
Nathan, dhp, does the ebuild you're providing work for either of you on a clean
profile, .i.e.

  mv .thunderbird .thunderbird.mine
  thunderbird

I tried this with Nathan's ebuild, and it didn't work for me.
Comment 21 duebel 2005-07-25 03:28:49 UTC
(In reply to comment #20)

This does not work here. Thunderbird states something like: "All old extensions
are disabled."

But it works very well with an existing profile of a previous thunderbird version.
Comment 22 Martin Wegner 2005-07-25 03:55:27 UTC
I'm not amused, too, that this feature is broken since it is very important for
my daily mail correspondence. Hope it will be back soon ...
Comment 23 G. Panula 2005-07-26 06:20:24 UTC
The ebuild from comment #15(mozilla-thunderbird-1.0.6-r3.ebuild) compiled and
works on my machine including gpg encryption, decryption and signing. 
Pre-existing thunderbird installation(1.0.2 w/ enigmail -> 1.0.6 w/o enigmail ->
1.0.6-r3 w/ enigmail).

Here is the output from `emerge info mozilla-thunderbird`:
Portage 2.0.51.22-r2 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.4.20040808-r1, 2.6.11-gentoo-r4 i686)
=================================================================
System uname: 2.6.11-gentoo-r4 i686 Intel(R) Pentium(R) 4 CPU 3.00GHz
Gentoo Base System version 1.4.16
dev-lang/python:     2.3.4-r1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.4
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.4.3-r4, 1.5.2-r7
virtual/os-headers:  2.4.21-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.3/env
/usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config
/usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config
/var/qmail/alias /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium4 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://proxy.mpls.hoganinfo.com:8873/gentoo-portage"
USE="x86 X aalib alsa apm arts avi bash-completion berkdb bitmap-fonts cdr crypt
cups curl dba emboss encode esd fam flac foomaticdb fortran gd gdbm gif gnome
gpm gstreamer gtk gtk2 imagemagick imlib ipv6 java jpeg kde ldap libg++ libwww
mad mikmod motif mozilla mp3 mpeg ncurses nls ogg oggvorbis opengl oss pam
pdflib perl png python qt quicktime readline samba sdl slang snmp spell ssl svga
tcltk tcpd tiff truetype truetype-fonts type1-fonts vorbis xml xml2 xmms xpm xv
zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS, PORTDIR_OVERLAY

Comment 24 Natanael Copa 2005-07-26 13:56:34 UTC
(In reply to comment #15)
> Created an attachment (id=64093) [edit]
> merge latest ~arch ebuild with enigmail support
> 
> This ebuild WORKSFORME (thunderbird + enigmail support).

Works for me to with USE:
-debug +gnome +ipv6 +ldap -mozcalendar -moznoxft +truetype -xinerama +xprint

This was important for me. Thanks alot!
Comment 25 Nathan Adams 2005-07-27 06:32:38 UTC
I only tested on an existing Thunderbird profile, so Aron's Comment #20 needs
investigating. Also, I seem to have broken the creation of a menu link in KDE
(Gnome as well, most likely).

And thanks for the kudos, but I just cobbled together other peoples' work; they
deserve the credit for the heavy lifting.
Comment 26 Martin von Gagern 2005-07-28 01:10:38 UTC
In reply to all those comments about enigmail failing on a new profile: This is
a known bug, and a different one, and a workaround is described in bug 84668
comment 7. Yes, this issue should be fixed as well (maybe by making enigmail an
ebuild of it's own), but it should not stop enigmail support in general.
Comment 27 Jory A. Pratt 2005-08-10 17:52:59 UTC
could someone post there ~/thunderbird/{id}/compreg.dat tar'd up or email it
directly to me please. Thanks for your support.
Comment 28 Martin Wegner 2005-08-11 00:42:14 UTC
Created attachment 65641 [details]
My compreg.dat

Here is my compreg.dat
Comment 29 Martin Wegner 2005-08-22 04:31:02 UTC
Can someone of the devs please report when enigmail support will officially be
back and what the current progress is?

This feature is broken too long now IMO.
Comment 30 Martin Wegner 2005-08-22 08:13:22 UTC
Created attachment 66551 [details, diff]
Patch to mozilla-thunderbird-1.0.6-r4 ebuild including enigmail support

I merged enigmail instructions into the current ebuild. For me it works.
Comment 31 Natanael Copa 2005-08-23 14:00:49 UTC
(In reply to comment #30)
> Created an attachment (id=66551) [edit]
> Patch to mozilla-thunderbird-1.0.6-r4 ebuild including enigmail support
> 
> I merged enigmail instructions into the current ebuild. For me it works.

Works for me too.
USE flags used: +crypt -debug +gnome +ipv6 +ldap -mozcalendar -moznoxft
+truetype -xinerama +xprint

Comment 32 Torbjörn Svensson 2005-08-28 04:21:55 UTC
I can confirm that the patch to mozilla-thunderbird-1.0.6-r4.ebuild is working
on amd64 aswell.
Comment 33 Greg Watson (linuxkrn) 2005-09-07 11:44:02 UTC
Just wanted to note that if you manually download the plugin from the website, 
http://www.mozilla-enigmail.org/downloads/enigmail-0.92.0-tb-linux.xpi then
install it in thunderbird 1.0.6 it worked for me.  

I totally agree, this is a critical feature for me as well.  Hope it gets fixed
and back into the ebuild.
Comment 34 Martin Wegner 2005-09-07 12:58:38 UTC
Quote from enigmail.mozdev.org:

"Please note: The builds provided on this web page only work together with the
standard build of Thunderbird by mozilla.org! If you use a Thunderbird build
provided by your distribution, then you also have to use Enigmail provided by
that distribution."

Please keep that in mind. So at best you only can use the builds provided by
enigmail.mozdev.org with mozilla-thunderbird-bin .
Comment 35 Philippe Trottier (RETIRED) gentoo-dev 2005-09-14 06:32:17 UTC
1.0.6-r4 + patch 66551, works for me on ppc 2005.1

Comment 36 Jory A. Pratt 2005-09-14 18:09:57 UTC
this is still not a fix for broken enigmail on a fresh install we are working on
the problem and as soon as we get it fixed you will get it back until then
please be patient.
Comment 37 Alexandre Hannud Abdo 2005-09-22 04:29:36 UTC
Created attachment 69002 [details, diff]
Patch thunderbird 1.0.6-r4 ebuild to include enigmail-0.92.1

The older patches use Enigmail 0.92.0 which has security issues
( as reported in http://enigmail.mozdev.org/ )
Comment 38 Alexandre Hannud Abdo 2005-10-01 17:10:34 UTC
Created attachment 69676 [details, diff]
Patch thunderbird 1.0.7 ebuild to include enigmail-0.92.1

Updated patch for use with thunderbird 1.0.7
Comment 39 Aniruddha Shankar 2005-10-04 00:48:51 UTC
Enigmail 0.93 apparently has a nice wizard that'll be of help to some of the
people in the office here - i've been trying to get them to sign their emails
and one hurdle is that its not as easy friendly as it could be. Maybe
development could work on 0.93 rather than 0.92.1 ?
Comment 40 Alexandre Hannud Abdo 2005-10-25 20:43:16 UTC
Created attachment 71463 [details, diff]
Patch thunderbird 1.0.7-r2 ebuild to include enigmail-0.93.0

Patch for new ebuild of thunderbird using new version of enigmail
Comment 41 Peter Schneider-Kamp 2005-10-27 11:05:24 UTC
A few hours ago enigmail-0.93* was available from my mirror
(sunite.informatik.rwth-aachen.de). Half an hour ago I updated another computer
and it was gone - not only from this mirror but from any number of mirrors I've
checked. What happened to enigmail?
Comment 42 bmasius 2005-11-27 13:21:57 UTC
Created attachment 73690 [details, diff]
patch for mozilla-thunderbird-1.0.7-r2.ebuild with enigmail support

The patch that Alexandre submitted didn't work for me : just a little mismatch
in the original file.  I had to edit the ebuild to finish the job ! My portage
tree is up-to-date, so I think this one I built should work now. I did not
change anything, excepted I rebuilt the patch.
Comment 43 Josiah Luscher 2005-11-28 07:27:13 UTC
I would like to thank those who have worked and are working to make Thunderbird
work on GenToo with Engimail. From the comments I've read it sounds like there
is an e-bild patch that when merged with Thunderbird 1.0.7-r2 will make Enigmail
work. 

The problem is I'm a total Noob and have almost no idea what I'm doing. I know
it may be a bit silly for a Noob like my self to tackle something like this, but
if I'm going to use GenToo, I need encrypted e-mail, I like the
Thunderbird-Enigmail combination, and I need to learn sometime. 
 
So the patch from Comment #40 didn't work for me, here is what I did.

Ok So I found these webpages, that seemed to tell me what to do:
http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
http://gentoo-wiki.com/Masked
http://www.cpqlinux.com/patch.html

 
This is what I did:
#
#(1)Setup for a 3rd party ebuild:
# Added PORTDIR_OVERLAY="/usr/local/portage"
# To /etc/make.conf using
nano -w /etc/make.conf
mkdir -p /usr/local/portage/mail-client/mozilla-thunderbird
cd /usr/local/portage/mail-client/mozilla-thunderbird
cp
/usr/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.7-r2.ebuild .
#
#(2)Add the keyword to unmask the needed version of thunderbird. 
echo 
Comment 44 Josiah Luscher 2005-11-28 07:27:13 UTC
I would like to thank those who have worked and are working to make Thunderbird
work on GenToo with Engimail. From the comments I've read it sounds like there
is an e-bild patch that when merged with Thunderbird 1.0.7-r2 will make Enigmail
work. 

The problem is I'm a total Noob and have almost no idea what I'm doing. I know
it may be a bit silly for a Noob like my self to tackle something like this, but
if I'm going to use GenToo, I need encrypted e-mail, I like the
Thunderbird-Enigmail combination, and I need to learn sometime. 
 
So the patch from Comment #40 didn't work for me, here is what I did.

Ok So I found these webpages, that seemed to tell me what to do:
http://gentoo-wiki.com/HOWTO_Installing_3rd_Party_Ebuilds
http://gentoo-wiki.com/Masked
http://www.cpqlinux.com/patch.html

 
This is what I did:
#
#(1)Setup for a 3rd party ebuild:
# Added PORTDIR_OVERLAY="/usr/local/portage"
# To /etc/make.conf using
nano -w /etc/make.conf
mkdir -p /usr/local/portage/mail-client/mozilla-thunderbird
cd /usr/local/portage/mail-client/mozilla-thunderbird
cp
/usr/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.7-r2.ebuild .
#
#(2)Add the keyword to unmask the needed version of thunderbird. 
echo mail-client/mozilla-thunderbird >> /etc/portage/package.keywords
#
#(3)Patch the e-build
cp /home/user/mozilla-thunderbird-1.0.7-r2-enigmail-0.93.0.patch .
Patch -p5 <mozilla-thunderbird-1.0.7-r2-enigmail-0.93.0.patch

/*(The patching gave me an error, probably the same as comment #42, but I looked
at the ebuild and the patch file and merged them carefully by hand... The
problem was with hunk 2, the text didn't end as expected...)*/

#(4) Started the installation
ebuild
/usr/local/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.7-r2.ebuild
digest
ebuild
/usr/local/portage/mail-client/mozilla-thunderbird/mozilla-thunderbird-1.0.7-r2.ebuild
unpack

And I got this error:
**Begin Paste**
>>> Unpacking ipc-1.1.3.tar.gz to /var/tmp/portage/mozilla-thunderbird-1.0.7-r2/work
* Applying mozilla-jslibmath-alpha.patch ... [ ok ]

 
* Cannot find $EPATCH_SOURCE! Value for $EPATCH_SOURCE is:
* 
*
/usr/local/portage/mail-client/mozilla-thunderbird/files/mozilla-thunderbird-1.0.7-gcc-4.0.2.patch
* ( mozilla-thunderbird-1.0.7-gcc-4.0.2.patch )

 

 
!!! ERROR: mail-client/mozilla-thunderbird-1.0.7-r2 failed.
!!! Function epatch, Line 220, Exitcode 0
!!! Cannot find $EPATCH_SOURCE!
!!! If you need support, post the topmost build error, NOT this status message.

**End Paste** 
The mozilla-thunderbird-1.0.7-gcc-4.0.2.patch file is located at:
/usr/portage/mail-client/mozilla-thunderbird/files/
(aka: not in the /usr/local/portage , directory.)
I am lost, what did I do wrong...
Thank you!
Comment 45 Martin Wegner 2005-11-28 07:40:47 UTC
I'm not sure whether you better should post this problem in the forums or to a
mailing-list, since it is not related to this bug in the first place, but I'll
help you:

First of all, when you added the ebuild to the PORTDIR_OVERLAY, you can simply
emerge it like any other package, so there is no need to use ebuild . You can use

$ emerge mozilla-thunderbird

Now your problem:
emerge is looking for patches within your PORTDIR_OVERLAY. When you copy the
patched ebuild to the PORTDIR_OVERLAY, you also have to copy all patches needed
by the ebuild to PORTDIR_OVERLAY/mail-client/mozilla-thunderbird/files

Don't forget to run after copying them

$ ebuild <path_to_ebuild> digest

And then it should work.
Comment 46 Josiah Luscher 2005-11-29 02:00:32 UTC
(In reply to comment #44)
> And then it should work.

WORKSFORME
Thank you! You should rule the earth, really!
Sorry for posting in the wrong place I made a Wiki page to make up for it:
http://gentoo-wiki.com/HOWTO_Transition%2C_Move%2C_Migrate%2C_Switch_Thunderbird_from_Windows_to_Linux_with_Enigmail#Thunderbird_.2B_Enigmail
Thank you!

Comment 47 Jory A. Pratt 2005-12-05 20:15:03 UTC
Well good news for those of you that are on 1.5_rc1 enigmail is in the tree.
Thunderbird 1.5 final will bring it out for all archs who keyword
thunderbird-1.5 final. Sorry i am still unable to provide an enigmail build for
you 1.0.x users. Hope this brings some light back into a darken state of enigmail.
Comment 48 Alexandre Hannud Abdo 2005-12-07 01:36:24 UTC
Created attachment 74214 [details, diff]
Patch thunderbird 1.0.7-r3 ebuild to include enigmail-0.93.0

New ebuild for thunderbird (1.0.7-r3)

Still using Enigmail-0.93.0, since 0.93.1 is just a fix for thunderbird-1.5 and
won't work with 1.0.7
Comment 49 nm (RETIRED) gentoo-dev 2005-12-29 12:57:52 UTC
Well, at least the .93 plugin provided on Enigmail's mozdev page works properly with thunderbird-bin-1.0.7. Too bad the ebuild doesn't work yet; that would have been nicer.
Comment 50 Jory A. Pratt 2006-01-12 00:08:07 UTC
I have just commited tb-1.5 and enigmail-0.93.1 to the tree so everyone can be happy once again.
Comment 51 duebel 2006-01-14 06:37:58 UTC
(In reply to comment #49)

Thanks a lot! :-)