ChangeLog

# ChangeLog for mail-client/mozilla-thunderbird-bin
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/ChangeLog,v 1.109 2008/05/21 15:46:34 armin76 Exp $

*mozilla-thunderbird-bin-3.0_alpha1 (21 May 2008)

21 May 2008; Raúl Porcel
+mozilla-thunderbird-bin-3.0_alpha1.ebuild:
Version bump

06 May 2008; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.14.ebuild:
Add uk to linguas

04 May 2008; Markus Meier
mozilla-thunderbird-bin-2.0.0.14.ebuild:
amd64/x86 stable, security bug #214816

*mozilla-thunderbird-bin-2.0.0.14 (02 May 2008)

02 May 2008; Raúl Porcel
+mozilla-thunderbird-bin-2.0.0.14.ebuild:
Version bump

19 Apr 2008; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.12.ebuild:
Fix linguas, bug #218147

17 Mar 2008; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.12.ebuild:
Fix LICENSE, thanks to zlin

01 Mar 2008; Richard Freeman
mozilla-thunderbird-bin-2.0.0.12.ebuild:
amd64 stable - 208128

28 Feb 2008; Markus Meier
mozilla-thunderbird-bin-2.0.0.12.ebuild:
x86 stable, security bug #208128

*mozilla-thunderbird-bin-2.0.0.12 (27 Feb 2008)

27 Feb 2008; Raúl Porcel
+mozilla-thunderbird-bin-2.0.0.12.ebuild:
Version bump

31 Dec 2007; Raúl Porcel
-mozilla-thunderbird-bin-1.5.0.13.ebuild:
Remove 1.5 series as announced

19 Nov 2007; Raúl Porcel
-mozilla-thunderbird-bin-2.0.0.6.ebuild:
old

15 Nov 2007; Steve Dibb
mozilla-thunderbird-bin-2.0.0.9.ebuild:
amd64 stable, bug 196481

15 Nov 2007; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.9.ebuild:
x86 stable wrt security #196481

*mozilla-thunderbird-bin-2.0.0.9 (15 Nov 2007)

15 Nov 2007; Raúl Porcel
+mozilla-thunderbird-bin-2.0.0.9.ebuild:
Version bump

29 Aug 2007; Raúl Porcel
-mozilla-thunderbird-bin-1.5.0.12.ebuild:
old

29 Aug 2007; Christoph Mende
mozilla-thunderbird-bin-1.5.0.13.ebuild:
Stable on amd64 wrt security bug #187205

28 Aug 2007; Raúl Porcel
mozilla-thunderbird-bin-1.5.0.13.ebuild:
x86 stable wrt security #187205

*mozilla-thunderbird-bin-1.5.0.13 (28 Aug 2007)

28 Aug 2007; Raúl Porcel
+mozilla-thunderbird-bin-1.5.0.13.ebuild:
Version bump

03 Aug 2007; Raúl Porcel
-mozilla-thunderbird-bin-2.0.0.5.ebuild,
mozilla-thunderbird-bin-2.0.0.6.ebuild:
x86 stable wrt security #187205, drop vulnerable

02 Aug 2007; Carlos Silva
mozilla-thunderbird-bin-2.0.0.6.ebuild:
amd64 stable wrt bug #187205

*mozilla-thunderbird-bin-2.0.0.6 (02 Aug 2007)

02 Aug 2007; Raúl Porcel
+mozilla-thunderbird-bin-2.0.0.6.ebuild:
Version bump wrt security #187205

28 Jul 2007; Raúl Porcel
-mozilla-thunderbird-bin-2.0.0.4.ebuild:
old

28 Jul 2007; Steve Dibb
mozilla-thunderbird-bin-2.0.0.5.ebuild:
amd64 stable, security bug 185737

23 Jul 2007; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.5.ebuild:
x86 stable wrt security #185737

21 Jul 2007; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.5.ebuild:
Revert the langpack thing, bug 182175

*mozilla-thunderbird-bin-2.0.0.5 (20 Jul 2007)

20 Jul 2007; Raúl Porcel
files/icon/mozilla-thunderbird-bin.desktop,
+mozilla-thunderbird-bin-2.0.0.5.ebuild:
Fix desktop files, bug 185869 and now it uses the langpack according to the
locale, bug 182175, and version bump wrt security #185737

02 Jul 2007; Piotr Jaroszyński
mozilla-thunderbird-bin-1.5.0.12.ebuild,
mozilla-thunderbird-bin-2.0.0.4.ebuild:
(QA) RESTRICT clean up.

19 Jun 2007; Raúl Porcel
-mozilla-thunderbird-bin-2.0.0.0.ebuild:
old

15 Jun 2007; Christoph Mende
mozilla-thunderbird-bin-2.0.0.4.ebuild:
Stable on amd64 wrt security bug 180436

15 Jun 2007; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.4.ebuild:
x86 stable wrt security #180436

*mozilla-thunderbird-bin-2.0.0.4 (15 Jun 2007)

15 Jun 2007; Raúl Porcel
+mozilla-thunderbird-bin-2.0.0.4.ebuild:
Version bump wrt security #180436

08 Jun 2007; Raúl Porcel
mozilla-thunderbird-bin-1.5.0.12.ebuild,
mozilla-thunderbird-bin-2.0.0.0.ebuild:
Some small modifications, thanks to Cardoe for the suggestion

01 Jun 2007; Raúl Porcel
-mozilla-thunderbird-bin-1.5.0.10.ebuild:
old

01 Jun 2007; Christoph Mende
mozilla-thunderbird-bin-1.5.0.12.ebuild:
Stable on amd64 wrt security bug 180436

01 Jun 2007; Raúl Porcel
mozilla-thunderbird-bin-1.5.0.12.ebuild:
x86 stable wrt security #180436

*mozilla-thunderbird-bin-1.5.0.12 (31 May 2007)

31 May 2007; Raúl Porcel
+mozilla-thunderbird-bin-1.5.0.12.ebuild:
Version bump, security bug #180436

19 May 2007; Christian Faulhammer
mozilla-thunderbird-bin-2.0.0.0.ebuild:
stable amd64, bug 178983

18 May 2007; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.0.ebuild:
x86 stable wrt #178983

19 Apr 2007; Raúl Porcel
mozilla-thunderbird-bin-2.0.0.0.ebuild:
Fix NOSHORTLANG variable, bug 175236

*mozilla-thunderbird-bin-2.0.0.0 (18 Apr 2007)

18 Apr 2007; Raúl Porcel
+mozilla-thunderbird-bin-2.0.0.0.ebuild:
Version bump

17 Apr 2007; Raúl Porcel
mozilla-thunderbird-bin-1.5.0.10.ebuild:
Fix deps, bug 172434

18 Mar 2007; Marius Mauch
mozilla-thunderbird-bin-1.5.0.10.ebuild:
Replacing einfo with elog

04 Mar 2007; Raúl Porcel
-mozilla-thunderbird-bin-1.5.0.9.ebuild:
old

03 Mar 2007; Steve Dibb
mozilla-thunderbird-bin-1.5.0.10.ebuild:
amd64 stable, security bug 165555

02 Mar 2007; Raúl Porcel
mozilla-thunderbird-bin-1.5.0.10.ebuild:
x86 stable wrt security bug 165555

*mozilla-thunderbird-bin-1.5.0.10 (01 Mar 2007)

01 Mar 2007; Raúl Porcel
+mozilla-thunderbird-bin-1.5.0.10.ebuild:
Version bump, wrt security bug 165555

14 Feb 2007; Raúl Porcel
files/icon/mozilla-thunderbird-bin.desktop,
mozilla-thunderbird-bin-1.5.0.9.ebuild:
Fix icon location

14 Feb 2007; Raúl Porcel
+files/icon/mozilla-thunderbird-bin.desktop,
+files/icon/mozilla-thunderbird-bin-icon.png,
-files/icon/mozillathunderbird-bin.desktop,
-files/icon/mozillathunderbird-bin-icon.png,
mozilla-thunderbird-bin-1.5.0.9.ebuild:
Fix .desktop files, bug 147735, and drop monolithic X deps and virtual/libc

11 Jan 2007; Raúl Porcel
mozilla-thunderbird-bin-1.5.0.9.ebuild:
license change, bug 150118

08 Jan 2007; Raúl Porcel
-mozilla-thunderbird-bin-1.5.0.7.ebuild,
-mozilla-thunderbird-bin-1.5.0.8.ebuild:
Remove old

29 Dec 2006; Danny van Dyk
mozilla-thunderbird-bin-1.5.0.9.ebuild:
Marked stable on amd64 wrt security bug #158571.

29 Dec 2006; +files/71thunderbird-bin,
mozilla-thunderbird-bin-1.5.0.9.ebuild:
fix bug 124264, via anarchy

25 Dec 2006; Christian Marie
mozilla-thunderbird-bin-1.5.0.9.ebuild:
Removed unneeded sys-libs/lib-compat dependency, bug #115730.

21 Dec 2006; Joshua Jackson
mozilla-thunderbird-bin-1.5.0.9.ebuild:
Stable x86; bug #158571

20 Dec 2006; Vlastimil Babka
mozilla-thunderbird-bin-1.5.0.9.ebuild:
Add mozextension to inherit for Anarchy.

19 Dec 2006; Stefan Schweizer
+mozilla-thunderbird-bin-1.5.0.9.ebuild:
version bump thanks anarchy

*mozilla-thunderbird-bin-1.5.0.9 (19 Dec 2006)

19 Dec 2006; Stefan Schweizer
+mozilla-thunderbird-bin-1.5.0.9.ebuild:
version bump thanks anarchy

11 Nov 2006; mozilla-thunderbird-bin-1.5.0.8.ebuild:
stable on amd64

08 Nov 2006; Christian Faulhammer
mozilla-thunderbird-bin-1.5.0.8.ebuild:
stable x86, security bug #154448

*mozilla-thunderbird-bin-1.5.0.8 (08 Nov 2006)

08 Nov 2006; gothgirl
+mozilla-thunderbird-bin-1.5.0.8.ebuild:
revision bump wrt bug #154448, Per Anarchy

19 Oct 2006; Stefan Schweizer
-mozilla-thunderbird-bin-1.5.0.4.ebuild,
-mozilla-thunderbird-bin-1.5.0.5.ebuild,
mozilla-thunderbird-bin-1.5.0.7.ebuild:
Add virtual/libstdc++ to RDEPEND thanks to Timothy Redaelli
in bug 149834

29 Sep 2006; Chris Gianelloni
mozilla-thunderbird-bin-1.5.0.7.ebuild:
Stable on amd64/x86 wrt bug #147653.

*mozilla-thunderbird-bin-1.5.0.7 (28 Sep 2006)

28 Sep 2006; Tavis Ormandy
+mozilla-thunderbird-bin-1.5.0.7.ebuild:
security bump

01 Aug 2006; Joshua Jackson
mozilla-thunderbird-bin-1.5.0.5.ebuild:
Stable x86; bug #141451

31 Jul 2006; Simon Stelling
mozilla-thunderbird-bin-1.5.0.5.ebuild:
stable on amd64 wrt bug 141842

*mozilla-thunderbird-bin-1.5.0.5 (29 Jul 2006)

29 Jul 2006; Bryan Østergaard
+mozilla-thunderbird-bin-1.5.0.5.ebuild:
Version bump, bug 141842.

12 Jun 2006; Jory A. Pratt
-mozilla-thunderbird-bin-1.0.8.ebuild,
-mozilla-thunderbird-bin-1.5.0.2.ebuild,
mozilla-thunderbird-bin-1.5.0.4.ebuild:
removed vulnerable versions, amd64 stable

04 Jun 2006; Mark Loeser
mozilla-thunderbird-bin-1.5.0.4.ebuild:
Stable on x86; bug #135254

*mozilla-thunderbird-bin-1.5.0.4 (02 Jun 2006)

02 Jun 2006; Jory A. Pratt +files/10thunderbird-bin,
-mozilla-thunderbird-bin-1.0.6-r3.ebuild,
-mozilla-thunderbird-bin-1.0.7.ebuild,
-mozilla-thunderbird-bin-1.5.ebuild,
+mozilla-thunderbird-bin-1.5.0.4.ebuild:
cleanup, revision/security bump

26 Apr 2006; Alec Warner
mozilla-thunderbird-bin-1.0.8.ebuild:
Stable on x86 wrt # bug 130888

*mozilla-thunderbird-bin-1.0.8 (23 Apr 2006)

23 Apr 2006; Jory A. Pratt
+mozilla-thunderbird-bin-1.0.8.ebuild:
revison 1.0.8, security fixes

*mozilla-thunderbird-bin-1.5.0.2 (20 Apr 2006)

20 Apr 2006; +mozilla-thunderbird-bin-1.5.0.2.ebuild:
revision bump, security fixes included

*mozilla-thunderbird-bin-1.5 (15 Jan 2006)

15 Jan 2006; Jory A. Pratt
+mozilla-thunderbird-bin-1.5.ebuild:
revision bump to 1.5

14 Oct 2005; Simon Stelling
mozilla-thunderbird-bin-1.0.7.ebuild:
marked stable on amd64 wrt bug 109094

13 Oct 2005; Paul Varner
mozilla-thunderbird-bin-1.0.7.ebuild:
Stable on x86. Bug #109094

*mozilla-thunderbird-bin-1.0.7 (02 Oct 2005)

02 Oct 2005; Brad Laue
+mozilla-thunderbird-bin-1.0.7.ebuild:
Bump to 1.0.7. Includes security fixes such as
http://secunia.com/advisories/16901/.

11 Aug 2005; Diego Pettenò
mozilla-thunderbird-bin-1.0.6-r3.ebuild:
Call has_multilib_profile from pkg_setup instead of global scope.

*mozilla-thunderbird-bin-1.0.6-r3 (02 Aug 2005)

02 Aug 2005; Aron Griffis
-files/thunderbird-bin-0.7-init.tar.bz2,
-mozilla-thunderbird-bin-1.0.5-r1.ebuild,
-mozilla-thunderbird-bin-1.0.6-r2.ebuild,
+mozilla-thunderbird-bin-1.0.6-r3.ebuild:
Bump rev to push out mozilla-launcher.eclass change which sets
MOZ_PLUGIN_PATH correctly in /usr/bin/thunderbird-bin #100378

25 Jul 2005; Aron Griffis
mozilla-thunderbird-bin-1.0.6-r2.ebuild:
Need to inherit multilib for has_multilib_profile

25 Jul 2005; Aron Griffis
-mozilla-thunderbird-bin-1.0.6-r1.ebuild:
Remove 1.0.6-r1 (doesn't install correctly) in favor of 1.0.6-r2

*mozilla-thunderbird-bin-1.0.6-r2 (23 Jul 2005)

23 Jul 2005; Jory A. Pratt
-mozilla-thunderbird-bin-1.0.6.ebuild,
+mozilla-thunderbird-bin-1.0.6-r2.ebuild:
fixed typo in MOZILLA_FIVE_HOME

22 Jul 2005; Aron Griffis
mozilla-thunderbird-bin-1.0.6-r1.ebuild:
Push to stable for security and extensions issues

*mozilla-thunderbird-bin-1.0.6-r1 (22 Jul 2005)

22 Jul 2005; Aron Griffis
+mozilla-thunderbird-bin-1.0.6-r1.ebuild:
Stop using nsplugins.eclass functions, rely on mozilla-launcher setting
MOZ_PLUGIN_DIR instead. Shrink the list of depends to be somewhat sane,
based on mozilla-firefox-bin. Stop using init tarball since it's no longer
necessary.

*mozilla-thunderbird-bin-1.0.6 (20 Jul 2005)

20 Jul 2005; Jory A. Pratt
+mozilla-thunderbird-bin-1.0.6.ebuild:
revision bump, api fixes

*mozilla-thunderbird-bin-1.0.5-r1 (18 Jul 2005)

18 Jul 2005; Aron Griffis
-mozilla-thunderbird-bin-1.0.2.ebuild,
-mozilla-thunderbird-bin-1.0.5.ebuild,
+mozilla-thunderbird-bin-1.0.5-r1.ebuild:
Install /usr/bin/thunderbird-bin stub using install_mozilla_launcher_stub
from mozilla-launcher.eclass #99084

15 Jul 2005; Gustavo Felisberto ;
mozilla-thunderbird-bin-1.0.5.ebuild:
Added amd64, it is working fine and helps fix bug #98855 so that 1.0.4 gets
removed.

*mozilla-thunderbird-bin-1.0.5 (14 Jul 2005)

14 Jul 2005; Jory A. Pratt
+mozilla-thunderbird-bin-1.0.5.ebuild:
Security Bump Bug #98855

10 Jul 2005; Gustavo Felisberto ;
mozilla-thunderbird-bin-1.0.2.ebuild:
~amd64 keyword, plus deps and einfo.

12 May 2005; Aron Griffis
-files/icon/mozillathunderbird.desktop, -files/icon/thunderbird-icon.png,
-mozilla-thunderbird-bin-0.8.ebuild, -mozilla-thunderbird-bin-0.9.ebuild,
-mozilla-thunderbird-bin-1.0.ebuild,
-mozilla-thunderbird-bin-1.0-r1.ebuild:
trim old versions

*mozilla-thunderbird-bin-1.0.2 (23 Mar 2005)

23 Mar 2005; Brad Laue
+mozilla-thunderbird-bin-1.0.2.ebuild:
Bump to 1.0.2 and stable x86 for security.

23 Mar 2005; Seemant Kulleen
mozilla-thunderbird-bin-0.8.ebuild, mozilla-thunderbird-bin-0.9.ebuild,
mozilla-thunderbird-bin-1.0.ebuild, mozilla-thunderbird-bin-1.0-r1.ebuild:
mozilla-launcher to www-client from net-www

*mozilla-thunderbird-bin-1.0-r1 (23 Mar 2005)

23 Mar 2005; Aron Griffis
+mozilla-thunderbird-bin-1.0-r1.ebuild:
Use a stub script instead of symlink to mozilla-launcher. This in
combination with mozilla-launcher-1.28 should fix #78890

*mozilla-thunderbird-bin-1.0 (25 Dec 2004)

25 Dec 2004; Chris White
+mozilla-thunderbird-bin-1.0.ebuild:
Bumped to 1.0. Straight to x86 stable after some tests here and there.

20 Dec 2004; Olivier Crete
mozilla-thunderbird-bin-0.9.ebuild:
Stable on x86 wrt security bug 68976

*mozilla-thunderbird-bin-0.9 (19 Nov 2004)

19 Nov 2004; Aron Griffis
-mozilla-thunderbird-bin-0.7.1.ebuild,
-mozilla-thunderbird-bin-0.7.3.ebuild, mozilla-thunderbird-bin-0.8.ebuild,
+mozilla-thunderbird-bin-0.9.ebuild:
Bump to 0.9 #70017, mark 0.8 stable, trim old ebuilds

15 Sep 2004; Brad Laue mozilla-thunderbird-bin-0.8.ebuild:
Install application icon by default for both KDE and GNOME

*mozilla-thunderbird-bin-0.8 (14 Sep 2004)

14 Sep 2004; Brad Laue
+mozilla-thunderbird-bin-0.8.ebuild:
Update to Thunderbird 0.8

*mozilla-thunderbird-bin-0.7.3 (04 Aug 2004)

04 Aug 2004; Aron Griffis
+mozilla-thunderbird-bin-0.7.3.ebuild:
Update to 0.7.3 for security meta-bug 59419.

*mozilla-thunderbird-bin-0.7.1 (04 Jul 2004)

04 Jul 2004; Brad Laue
files/icon/mozillathunderbird-bin.desktop,
+mozilla-thunderbird-bin-0.7.1.ebuild:
Update to 0.7.1, fix menu icon.

04 Jul 2004; Brad Laue
+files/icon/mozillathunderbird-bin-icon.png,
+files/icon/mozillathunderbird-bin.desktop,
mozilla-thunderbird-bin-0.7.ebuild:
Move thunderbird menu icon to a subdirectory of files/ instead of creating a
new directory with each version.

01 Jul 2004; Jeremy Huddleston
mozilla-thunderbird-bin-0.5.ebuild, mozilla-thunderbird-bin-0.6.ebuild,
mozilla-thunderbird-bin-0.7.ebuild:
virtual/glibc -> virtual/libc

18 Jun 2004; Aron Griffis
files/0.7/icon/mozillathunderbird-bin.desktop,
mozilla-thunderbird-bin-0.7.ebuild:
- Fix bug 54179: Install mozillathunderbird-bin.desktop to
/usr/share/applications instead of /usr/share/gnome/apps/Internet.
This also necessitated some changes to the .desktop file which I
based on balsa.desktop. Additionally modified the .desktop file to
explicitly mention (bin) in the Name entry so that both from-source
and -bin versions can be installed simultaneously.
- Fix bug 54295: Move init file unpacking from pkg_postinst to
src_install

*mozilla-thunderbird-bin-0.7 (16 Jun 2004)

16 Jun 2004; Aron Griffis
+files/thunderbird-bin-0.7-init.tar.bz2,
+files/0.7/icon/mozillathunderbird-bin-icon.png,
+files/0.7/icon/mozillathunderbird-bin.desktop,
+mozilla-thunderbird-bin-0.7.ebuild:
Bump version to 0.7. Move installation from /opt/MozillaThunderbird to
/opt/thunderbird to be consistent with the firefox-bin installation. Use the
same kind of hack used for mozilla-firefox-bin-0.9-r1 to allow the program to
run without needing to be run by root first

07 Jun 2004; Aron Griffis
-mozilla-thunderbird-bin-0.4.ebuild, mozilla-thunderbird-bin-0.5.ebuild,
mozilla-thunderbird-bin-0.6.ebuild:
Trim ebuild and fix use invocation

02 Jun 2004; Seemant Kulleen
+files/0.5/icon/mozillathunderbird.desktop,
+files/0.5/icon/thunderbird-icon.png,
+files/0.6/icon/mozillathunderbird.desktop,
+files/0.6/icon/thunderbird-icon.png,
+files/icon/mozillathunderbird.desktop, +files/icon/thunderbird-icon.png:
added missing 0.6, 0.5 and icon dirs in FILESDIR. epkgmove is broken, methinks

*mozilla-thunderbird-bin-0.6 (04 May 2004)

04 May 2004; Brad Laue
+files/0.6/icon/mozillathunderbird.desktop,
+files/0.6/icon/thunderbird-icon.png, +mozilla-thunderbird-bin-0.6.ebuild:
Version bump.

14 Feb 2004; Brad Laue mozilla-thunderbird-bin-0.5.ebuild:
Stable on x86

*mozilla-thunderbird-bin-0.5 (12 Feb 2004)

12 Feb 2004; Brad Laue mozilla-thunderbird-bin-0.5.ebuild,
files/thunderbird, files/0.5/icon/mozillathunderbird.desktop,
files/0.5/icon/thunderbird-icon.png:
Bump to 0.5

08 Dec 2003; Brad Laue mozilla-thunderbird-bin-0.4.ebuild:
Remove spurious dependency on gnupg.

*mozilla-thunderbird-bin-0.4 (06 Dec 2003)

06 Dec 2003; Brad Laue metadata.xml,
mozilla-thunderbird-bin-0.4.ebuild, files/MozillaThunderbird,
files/thunderbird-0.3-antialiasing-patch,
files/icon/mozillathunderbird.desktop, files/icon/thunderbird-icon.png:
Import of mozilla-thunderbird-bin to the tree, starting with 0.4.

Manifest

AUX 10thunderbird-bin 36 RMD160 a1b06f9b7f2833c253a71a99a3e6e0521487a813 SHA1 ea9ab715ceef5c61d75ae14e15ef52d61f5cbaa8 SHA256 6e49ce8f02cd128d353625d04c74103ae83c25baf41c76323c61465acb6ca116
AUX 71thunderbird-bin 26 RMD160 d0356e1c96ba095cba239d34b36dd3af3a366ca9 SHA1 84f7c124ec2fe6f8f4456abeeae305e2599ed390 SHA256 7e655551b67757cfed6cabd6036390a5ce47c20d05d2c0839fb66a3506eb6f05
AUX icon/mozilla-thunderbird-bin-icon.png 6499 RMD160 1aeece7719c1c1629b98fc11870641769681a048 SHA1 651d244e96fa0edf13f68f5ef9047432eb6ed3bf SHA256 ff9749e42b82b80425bb52883d63baa53298af7be98870ee6b73f0a6cf0ab22d
AUX icon/mozilla-thunderbird-bin.desktop 195 RMD160 254cf18f39fefe6dc50eed0aac1533a79d2c5819 SHA1 4553081150eed6edc5e7d2df4847742318e8caa6 SHA256 fec303e2b0b20834b7037eb78c9dffa86fa19555c92cddad3646f6a00b955913
DIST mozilla-thunderbird-2.0.0.14-af.xpi 177928 RMD160 7941b4ebae610f92dabfe275772b62fb9228a937 SHA1 5de168c35aa54761bf51a46248f254e4fc0bfad7 SHA256 19e53210571813d535bcf82a16d113dac128a682894ffdec2d327f5a77557c44
DIST mozilla-thunderbird-2.0.0.14-be.xpi 184809 RMD160 d6ab7533b553d7a7b9430dd9d1ab9375d40768f2 SHA1 7fc8028687851e49bcdf743744dff001757ff415 SHA256 38893491714332190e1e437d2b32fb43381a0431642d0f355501967ccfd006d2
DIST mozilla-thunderbird-2.0.0.14-bg.xpi 196474 RMD160 7788406457f643f502f84c48e482c8a8cf9f173a SHA1 b36425cce630886554e13a0469d30f4c63cf37a6 SHA256 21d011527c3559a449eeb30d1c2f4382134c118449dcb1801589cd36bbde341e
DIST mozilla-thunderbird-2.0.0.14-ca.xpi 184224 RMD160 62542df92779e83ee3a21e079cd9e901668c0fd6 SHA1 e0396ecdc33e4c8b98b2c1ffbf418cd2bedbf133 SHA256 3ae09fea20813e72313a7d6b9d37f0ba1ba3c8fe28af0379886724455cac120a
DIST mozilla-thunderbird-2.0.0.14-cs.xpi 186154 RMD160 021c2f7454103c8ae62fdec68024a0dfa8d51a68 SHA1 21b1fd2dc4df98379864be1160473b0bff60483d SHA256 98662802a343cd9883ede48205deb1c798c3146e24eee7ca83cad3396287f1f1
DIST mozilla-thunderbird-2.0.0.14-da.xpi 179128 RMD160 3714409237d9362e720c79558e44bdb73b8ece2a SHA1 00cdc195d0bd58741f6d2627153f7ca827130fe7 SHA256 6cc0207f4163b357db82af8aca6bdb02fd9e4cf858682652edc31d063fe0bd85
DIST mozilla-thunderbird-2.0.0.14-de.xpi 159069 RMD160 09027f742ec2c79dd2e7a51b39deed9105f45416 SHA1 59efd5df4e91e35f522b460862fdf5394e7b0377 SHA256 1390b462c3b23db48927d762d6c0e85e6c42155e8f06988689921bf72e707a2b
DIST mozilla-thunderbird-2.0.0.14-el.xpi 183063 RMD160 fa6411c85e197c795594f7d46020319e5d38d936 SHA1 c637360ba5d035567bd0d56c80adee68d49a3b03 SHA256 48b74e0c82b730451cb82fabfc98f1ff972b1a0bb43b748b5de8bb1607a56456
DIST mozilla-thunderbird-2.0.0.14-en-GB.xpi 173045 RMD160 21e0859e9e1e5db103b77381100f6cbd6b92e606 SHA1 af4122cab636e4010468babb091c44dbdcd1cf7e SHA256 8c21d28d9a41f2581dac4e3f3c6997e257d55d64d250338f20dfe9431fec6498
DIST mozilla-thunderbird-2.0.0.14-es-AR.xpi 184676 RMD160 46c333fafbfc646cd782ec1cf5aa8914e0889526 SHA1 075de4840a7c94ac0ff2940f7a333ce0fe261ff0 SHA256 05af8d78d311aa4125c471438548d3d8279007419a03421bd9bf02268c2e2fdc
DIST mozilla-thunderbird-2.0.0.14-es-ES.xpi 149562 RMD160 ccfd1a3feec86f66ae1b26f993bd55238e75bfc0 SHA1 c6940a20fce457d608ba7cff3d20ccb69579c8bf SHA256 eb4cb7b76af716cc249e5f0aa208e6a54db4a5b7b7e0183df31732b607228433
DIST mozilla-thunderbird-2.0.0.14-eu.xpi 181786 RMD160 7029acabb5a1044d33b504c3c05e2adb8a680d27 SHA1 fd6437049d6efd272748060f4a134d50460bedeb SHA256 da1dad7f9de9bcb83d6350f2707eee11cb244fcdbf0e1abc2c195052edb72a4a
DIST mozilla-thunderbird-2.0.0.14-fi.xpi 187727 RMD160 e3ef51718a0f7f73705c572093dfc2feadf13214 SHA1 f53e22096f6da0050bac0826b166f12f32d7be54 SHA256 018d332b4822130564ef38288b7284049db0470e6c0bb4a4c7df4b3f72dc59c4
DIST mozilla-thunderbird-2.0.0.14-fr.xpi 190909 RMD160 aacbd040a2245d4e8a30c75c516957176a7cf176 SHA1 c6e584ddecbe7f1cc95d61965893b16ca0a79ddb SHA256 dd4d316e7291960db7c82b95fd3e98a8574a64096bc66ff345bbee4ce2f6b2a5
DIST mozilla-thunderbird-2.0.0.14-ga-IE.xpi 185957 RMD160 f000d6d3a65a702a9e91ef2bb9194ca79d1ee853 SHA1 9cd7610794697c4954cf28fc1cf8555593af6e95 SHA256 07214a9999337f9f755c1041a7dd44c7a53cbde4ca2f9ad97ef3f25662c02b3f
DIST mozilla-thunderbird-2.0.0.14-he.xpi 157238 RMD160 c28bdfa0bffc526ecd2eec787da30063ca4fd3be SHA1 1c697efd8203f31521c6544e7d526f897920a987 SHA256 a56ac1cdc0049bf0d3e704b7f95daf5fb524cecf5a024c25f1cb8555b3228995
DIST mozilla-thunderbird-2.0.0.14-hu.xpi 191689 RMD160 caf6228480e4e707f77889ed1197b357988ddb1f SHA1 b5ae23315e1feaf21b30d4c8bc475dc98698bbe2 SHA256 fef28df073b6db89de730afa2429e28f04d4ae012c219a04a4ad0d3f7c540981
DIST mozilla-thunderbird-2.0.0.14-it.xpi 152548 RMD160 81a97a1502af9ff0bae55940320a382971001cab SHA1 01ff6749e5cee9fc54cb39d7d5a6c5e7bee21ca1 SHA256 66d83219e6d6a6090301146a0b749376f3bfa0abf9ee8527d1e20aabb95a00c8
DIST mozilla-thunderbird-2.0.0.14-ja.xpi 199403 RMD160 c2c2dc33b30d2c412e9390c7545f70cbae45bfa0 SHA1 19e96f3733b1b1f4453162d415bdfde90a0bf1b4 SHA256 07214b85cd2d78a050cd056ae4d69eaedd7dfd91065126e8d964d7f5344825a5
DIST mozilla-thunderbird-2.0.0.14-ko.xpi 170158 RMD160 d96732937326a77ff81a356009ef02e8aae3a53d SHA1 f9f3a0fa364fcd6fc6ad20adabeacefb28b618ae SHA256 b95751a9b79168fca716532e18fd9dc94d1b649b5b08c9b0085e118c8bc8f3de
DIST mozilla-thunderbird-2.0.0.14-lt.xpi 189449 RMD160 564e42b24ee22874bc0cba535fe2bc07d1eff4f7 SHA1 5ffa74c45ba50f750204b0d8a1dd5113ff8a2e4a SHA256 4cf8f66af2e66ee7ae0cdd56049ee6991c7c1170a8f9f5ac8f72cba9377f87e8
DIST mozilla-thunderbird-2.0.0.14-mk.xpi 196434 RMD160 da5fe7e5063b6242740d2f12d2b3002e5d8f2a49 SHA1 e78079ae8e5ad54c0c2f876886581ae17ac29ac8 SHA256 24e14cca2fab179f24718b32b6b46942f2243f2b151d9e6ae33888c60ee678fa
DIST mozilla-thunderbird-2.0.0.14-nb-NO.xpi 183236 RMD160 66752805c23f6e5987cd5be331fcd7c532ef78d7 SHA1 dc356907f8dc380ee2a29bd635d187f678a7e9c7 SHA256 e5ce019616f89422a4df7353aca0a82dfba723bd7c6c689ac40a703b58f8121d
DIST mozilla-thunderbird-2.0.0.14-nl.xpi 184158 RMD160 ff26201bf45844aba82cf26c43131834a1fd2431 SHA1 795eaa34cceff40ffb0aa85201da8b122a55259c SHA256 6b123a5e3cb677473d40a689811579ac23c80f4eb1fbd11c385c587f699b1577
DIST mozilla-thunderbird-2.0.0.14-nn-NO.xpi 184112 RMD160 bc02b4cc9c5cd7d6df7871b8d95d9e12319cff73 SHA1 438cc79c5c8a742c9ddb351907b256927ad737fb SHA256 f9e85e049739e12c284f282995d47a95ecdf9e1abc708a3647b8dbef6bb1768a
DIST mozilla-thunderbird-2.0.0.14-pa-IN.xpi 205014 RMD160 6d0e88084f812f250511682efd2a4d50d9822ab0 SHA1 2e1c09c18092235fde2274f19d329c3358e9f8c7 SHA256 4a3baf3c2df78533938f59a3eb87ad83b9fd5896578aa31f5223a269003cccac
DIST mozilla-thunderbird-2.0.0.14-pl.xpi 177401 RMD160 3e2a59fd4977449278afd744df644ccf5f58e29f SHA1 bb2652cb51b87da4da889a6ad030593c8b9227da SHA256 c3bde253893f9a54a176d19aa2a37782991c32a9ef33d4c69d258d0a98e2e496
DIST mozilla-thunderbird-2.0.0.14-pt-BR.xpi 183069 RMD160 30a3d6bd9fc3bf06c1cfff30e58ad8dcf47dbb72 SHA1 f805a8910cc4db54dd61be2db908d24a2d229242 SHA256 b414c30e35a9d0674fefd322d287c538874764c111445cbffb819be826fdf145
DIST mozilla-thunderbird-2.0.0.14-pt-PT.xpi 183921 RMD160 5d0fefcc830dcbc065ce8a27c8b314571343d053 SHA1 6b52971481ed50fa0ebb6645cb0d895d001ec2d6 SHA256 bc357087e59823b9226684efc49190fca4655d531c6afa684c0f1a260a2b7d40
DIST mozilla-thunderbird-2.0.0.14-ru.xpi 174224 RMD160 d7ee8e5f44eac9b337e58f4dce4d0c534b28b328 SHA1 881f323865f03a6bda42e020f0619089a8faa17e SHA256 c0ea92b3d6b318b98e0bee5470668c864b37420b15aab51dca9d53a32370a515
DIST mozilla-thunderbird-2.0.0.14-sk.xpi 191719 RMD160 5065dec1d053281ceb93a95b459ce4a80a02f945 SHA1 ca071bef23e12af01bc014172683ca7039434dbe SHA256 23c4ae5b027c59eb1d3cc3729ab2ece81af94227f260734c80b3a2729d3e6272
DIST mozilla-thunderbird-2.0.0.14-sl.xpi 188017 RMD160 c8e187e596686baafe952376bc2d0f27035b05c6 SHA1 312a12bcd6cbca4a72a777d7bb68baf921f6b352 SHA256 92c148afe5eb968c0755bec05003e3fa0b6c2258385cefc731951ed64ba4044b
DIST mozilla-thunderbird-2.0.0.14-sv-SE.xpi 191926 RMD160 b91d4735cd4ed550db291246508d3b0b5a1fb62d SHA1 c5b8b73accbca6a711795838a39fda85c82cecfe SHA256 fc0511fce50fae1eeb26b1b5edfc92eeec0922ac6f6920cfc9e6afc35bc52619
DIST mozilla-thunderbird-2.0.0.14-tr.xpi 157693 RMD160 ca4eead06d0ff29fe177cefe530086a968ad571d SHA1 28ad817277d5a7508a03ceb6dc6caea8ab8ae3b1 SHA256 81ef7c93e89c2b9d05bef41dc2c254e81ccbbc57373372f3529986d97a99a54d
DIST mozilla-thunderbird-2.0.0.14-uk.xpi 194499 RMD160 9ea3e2ed587ea031e27652f397892653f5bbf346 SHA1 43a5f310ffa2576b5abc43db3754832c97e4a5e6 SHA256 ef08772f67a278926158c4f9dc50d89e3f74292f191d1a3e83e302a3259e6f47
DIST mozilla-thunderbird-2.0.0.14-zh-CN.xpi 147619 RMD160 a5dde0c8da053a550ae518fa42aa80ab75bfcc68 SHA1 00efb03dc132350b1831c9759470a95924475135 SHA256 3c0749b7ea18bb37133cbfce8893d22d1ed2284f91c3409702bbc242cece9796
DIST mozilla-thunderbird-2.0.0.14-zh-TW.xpi 153697 RMD160 9d8140abda6a5e1ca1dda14d7b2ab3b957c62c5d SHA1 c60c494bd25b65de17bacb2427f256ccff8daf0b SHA256 4bef053f11b814b7f9502770c40710a000ae39740692071470facfd80364a237
DIST thunderbird-2.0.0.14.tar.gz 11468802 RMD160 d0ec05759d727df657be3238f6c6f234a8dd736f SHA1 6179395d766a894718157ecb271f24cb01037732 SHA256 40784f9b042d4dc63a7671c829e05527e2e4bcd3e317469277e96c7d3b6e27b7
DIST thunderbird-3.0a1.tar.bz2 9741656 RMD160 c548066766565c44dcac077499582042801a0904 SHA1 4323d828092e802c8ef0ec10af26354cc8319614 SHA256 80d528753ab1c571ca05baa499cc914276beffd80220ae87608b284d4b34b475
EBUILD mozilla-thunderbird-bin-2.0.0.14.ebuild 4335 RMD160 c36dda07c81101a2672dab1259e586be43f3e988 SHA1 6a1cb7ec972fe44fe3070315edd5557284bafff8 SHA256 349d81922a8489a0976df48908e7c37b5db92a549cded64ea4ce31586a32ffe2
EBUILD mozilla-thunderbird-bin-3.0_alpha1.ebuild 4257 RMD160 9166a2cef14792eb85e1cc88289736ceb82d0102 SHA1 06e65ec4211c5495f1637d45221204e181eef0ef SHA256 0ea88f0cdcf60d20477d74491aad64b76b54d58a9699d4c6541a224e8da1c329
MISC ChangeLog 19820 RMD160 a959a9732d66a762c475a415d1a249e149bbbf2f SHA1 391d0cb4575241df25adf45c555642e65bdd2ae4 SHA256 81c86e87e1ddac7ed6b4bc5abc1b6eaacd494429451409c8e5592b04e0bcc56a
MISC metadata.xml 160 RMD160 d5a9f0bf8989621c2bde30facb53bcae00aba709 SHA1 5015c07af2083f20f9552d7fb11afb5ea69af345 SHA256 0cc5126362a12cee42ec1197c528a804cf36859329dd2c6d9225726831d14b8b

files

metadata.xml




mozilla

mozilla-thunderbird-bin-2.0.0.14.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-2.0.0.14.ebuild,v 1.3 2008/05/06 11:38:42 armin76 Exp $

inherit eutils mozilla-launcher multilib mozextension

LANGS="af be bg ca cs da de el en-GB en-US es-AR es-ES eu fi fr ga-IE he hu it ja ko lt mk nb-NO nl nn-NO pa-IN pl pt-BR pt-PT ru sk sl sv-SE tr uk zh-CN zh-TW"
NOSHORTLANGS="en-GB es-AR pt-BR zh-TW"

DESCRIPTION="Thunderbird Mail Client"
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${PV}/linux-i686/en-US/thunderbird-${PV}.tar.gz"
HOMEPAGE="http://www.mozilla.com/thunderbird"
RESTRICT="strip"

KEYWORDS="-* amd64 x86"
SLOT="0"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
IUSE=""

for X in ${LANGS} ; do
if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
SRC_URI="${SRC_URI}
linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
fi
IUSE="${IUSE} linguas_${X/-/_}"
# english is handled internally
if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
if [ "${X}" != "en-US" ]; then
SRC_URI="${SRC_URI}
linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
fi
IUSE="${IUSE} linguas_${X%%-*}"
fi
done

DEPEND="app-arch/unzip"
RDEPEND="x11-libs/libXrender
x11-libs/libXt
x11-libs/libXmu
x86? (
>=x11-libs/gtk+-2.2
=virtual/libstdc++-3.3
)
amd64? (
>=app-emulation/emul-linux-x86-baselibs-1.0
>=app-emulation/emul-linux-x86-gtklibs-1.0
app-emulation/emul-linux-x86-compat
)
>=www-client/mozilla-launcher-1.41"

S="${WORKDIR}/thunderbird"

pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
# Danny van Dyk 2005/03/26
has_multilib_profile && ABI="x86"
}

linguas() {
local LANG SLANG
for LANG in ${LINGUAS}; do
if has ${LANG} en en_US; then
has en ${linguas} || linguas="${linguas:+"${linguas} "}en"
continue
elif has ${LANG} ${LANGS//-/_}; then
has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}"
continue
elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then
for X in ${LANGS}; do
if [[ "${X}" == "${LANG}-"* ]] && \
[[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then
has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}"
continue 2
fi
done
fi
ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA"
done
}

src_unpack() {
unpack thunderbird-${PV}.tar.gz

linguas
for X in ${linguas}; do
[[ ${X} != en ]] && xpi_unpack ${P/-bin}-${X}.xpi
done
if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
einfo "Selected language packs (first will be default): ${linguas}"
fi
}

src_install() {
declare MOZILLA_FIVE_HOME="/opt/thunderbird"

# Install thunderbird in /opt
dodir ${MOZILLA_FIVE_HOME%/*}
mv "${S}" "${D}"${MOZILLA_FIVE_HOME}

linguas
for X in ${linguas}; do
[[ ${X} != en ]] && xpi_install ${WORKDIR}/${P/-bin}-${X}
done

local LANG=${linguas%% *}
if [[ ${LANG} != "" && ${LANG} != "en" ]]; then
ebegin "Setting default locale to ${LANG}"
sed -i "s:pref(\"general.useragent.locale\", \"en-US\"):pref(\"general.useragent.locale\", \"${LANG}\"):" \
"${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-thunderbird.js \
"${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-l10n.js
eend $? || die "sed failed to change locale"
fi

# Install /usr/bin/thunderbird-bin
install_mozilla_launcher_stub thunderbird-bin ${MOZILLA_FIVE_HOME}

# Install icon and .desktop for menu entry
doicon "${FILESDIR}"/icon/${PN}-icon.png
domenu "${FILESDIR}"/icon/${PN}.desktop

# revdep-rebuild entry
insinto /etc/revdep-rebuild
doins "${FILESDIR}"/10thunderbird-bin

# install ldpath env.d
doenvd "${FILESDIR}"/71thunderbird-bin
}

pkg_preinst() {
declare MOZILLA_FIVE_HOME="/opt/thunderbird"

# Remove entire installed instance to solve various
# problems, for example see bug 27719
rm -rf "${ROOT}"${MOZILLA_FIVE_HOME}
}

pkg_postinst() {
elog "For enigmail, please see instructions at"
elog " http://enigmail.mozdev.org/"

use amd64 && einfo "NB: You just installed a 32-bit thunderbird"
update_mozilla_launcher_symlinks
}

pkg_postrm() {
update_mozilla_launcher_symlinks
}

mozilla-thunderbird-bin-3.0_alpha1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/mozilla-thunderbird-bin/mozilla-thunderbird-bin-3.0_alpha1.ebuild,v 1.1 2008/05/21 15:46:34 armin76 Exp $

inherit eutils mozilla-launcher multilib mozextension

LANGS="en-US"
NOSHORTLANGS=""

MY_PV="${PV/_alpha/a}"
MY_P="${PN}-${MY_PV}"

DESCRIPTION="Thunderbird Mail Client"
SRC_URI="http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${MY_PV}/linux-i686/en-US/thunderbird-${MY_PV}.tar.bz2"
HOMEPAGE="http://www.mozilla.com/thunderbird"
RESTRICT="strip"

KEYWORDS="-* ~amd64 ~x86"
SLOT="0"
LICENSE="|| ( MPL-1.1 GPL-2 LGPL-2.1 )"
IUSE=""

for X in ${LANGS} ; do
if [ "${X}" != "en" ] && [ "${X}" != "en-US" ]; then
SRC_URI="${SRC_URI}
linguas_${X/-/_}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
fi
IUSE="${IUSE} linguas_${X/-/_}"
# english is handled internally
if [ "${#X}" == 5 ] && ! has ${X} ${NOSHORTLANGS}; then
if [ "${X}" != "en-US" ]; then
SRC_URI="${SRC_URI}
linguas_${X%%-*}? ( http://dev.gentooexperimental.org/~armin76/dist/${P/-bin}-xpi/${P/-bin/}-${X}.xpi )"
fi
IUSE="${IUSE} linguas_${X%%-*}"
fi
done

DEPEND="app-arch/unzip"
RDEPEND="x11-libs/libXrender
x11-libs/libXt
x11-libs/libXmu
x86? (
>=x11-libs/gtk+-2.2
)
amd64? (
>=app-emulation/emul-linux-x86-baselibs-1.0
>=app-emulation/emul-linux-x86-gtklibs-1.0
app-emulation/emul-linux-x86-compat
)"

S="${WORKDIR}/thunderbird"

pkg_setup() {
# This is a binary x86 package => ABI=x86
# Please keep this in future versions
# Danny van Dyk 2005/03/26
has_multilib_profile && ABI="x86"
}

linguas() {
local LANG SLANG
for LANG in ${LINGUAS}; do
if has ${LANG} en en_US; then
has en ${linguas} || linguas="${linguas:+"${linguas} "}en"
continue
elif has ${LANG} ${LANGS//-/_}; then
has ${LANG//_/-} ${linguas} || linguas="${linguas:+"${linguas} "}${LANG//_/-}"
continue
elif [[ " ${LANGS} " == *" ${LANG}-"* ]]; then
for X in ${LANGS}; do
if [[ "${X}" == "${LANG}-"* ]] && \
[[ " ${NOSHORTLANGS} " != *" ${X} "* ]]; then
has ${X} ${linguas} || linguas="${linguas:+"${linguas} "}${X}"
continue 2
fi
done
fi
ewarn "Sorry, but ${PN} does not support the ${LANG} LINGUA"
done
}

src_unpack() {
unpack thunderbird-${MY_PV}.tar.bz2

linguas
for X in ${linguas}; do
[[ ${X} != en ]] && xpi_unpack ${P/-bin}-${X}.xpi
done
if [[ ${linguas} != "" && ${linguas} != "en" ]]; then
einfo "Selected language packs (first will be default): ${linguas}"
fi
}

src_install() {
declare MOZILLA_FIVE_HOME="/opt/thunderbird"

# Install thunderbird in /opt
dodir ${MOZILLA_FIVE_HOME%/*}
mv "${S}" "${D}"${MOZILLA_FIVE_HOME}

linguas
for X in ${linguas}; do
[[ ${X} != en ]] && xpi_install ${WORKDIR}/${P/-bin}-${X}
done

local LANG=${linguas%% *}
if [[ ${LANG} != "" && ${LANG} != "en" ]]; then
ebegin "Setting default locale to ${LANG}"
sed -i "s:pref(\"general.useragent.locale\", \"en-US\"):pref(\"general.useragent.locale\", \"${LANG}\"):" \
"${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-thunderbird.js \
"${D}"${MOZILLA_FIVE_HOME}/defaults/pref/all-l10n.js
eend $? || die "sed failed to change locale"
fi

# Install /usr/bin/thunderbird-bin
make_wrapper thunderbird-bin "${MOZILLA_FIVE_HOME}/thunderbird"

# Install icon and .desktop for menu entry
doicon "${FILESDIR}"/icon/${PN}-icon.png
domenu "${FILESDIR}"/icon/${PN}.desktop

# revdep-rebuild entry
insinto /etc/revdep-rebuild
doins "${FILESDIR}"/10thunderbird-bin

# install ldpath env.d
doenvd "${FILESDIR}"/71thunderbird-bin
}

pkg_preinst() {
declare MOZILLA_FIVE_HOME="/opt/thunderbird"

# Remove entire installed instance to solve various
# problems, for example see bug 27719
rm -rf "${ROOT}"${MOZILLA_FIVE_HOME}
}

pkg_postinst() {
#elog "For enigmail, please see instructions at"
#elog " http://enigmail.mozdev.org/"

ewarn "Enigmail or probably any other extension won't work"
ewarn "with Thunderbird 3.0."

use amd64 && einfo "NB: You just installed a 32-bit thunderbird"
update_mozilla_launcher_symlinks
}

pkg_postrm() {
update_mozilla_launcher_symlinks
}