summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mail-client/balsa/ChangeLog254
-rw-r--r--mail-client/balsa/Manifest14
-rw-r--r--mail-client/balsa/balsa-1.4.3.ebuild65
-rw-r--r--mail-client/balsa/balsa-2.0.11.ebuild67
-rw-r--r--mail-client/balsa/balsa-2.0.14.ebuild70
-rw-r--r--mail-client/balsa/balsa-2.0.15-r1.ebuild62
-rw-r--r--mail-client/balsa/files/balsa-1.4.0-gentoo.diff23
-rw-r--r--mail-client/balsa/files/balsa-gtk+-2.4-deprecation-fix.patch81
-rw-r--r--mail-client/balsa/files/digest-balsa-1.4.31
-rw-r--r--mail-client/balsa/files/digest-balsa-2.0.111
-rw-r--r--mail-client/balsa/files/digest-balsa-2.0.141
-rw-r--r--mail-client/balsa/files/digest-balsa-2.0.15-r11
-rw-r--r--mail-client/balsa/files/gtk+2.4-2.patch46
-rw-r--r--mail-client/balsa/files/gtk+2.4.patch46
-rw-r--r--mail-client/balsa/metadata.xml5
15 files changed, 737 insertions, 0 deletions
diff --git a/mail-client/balsa/ChangeLog b/mail-client/balsa/ChangeLog
new file mode 100644
index 000000000000..9cfd90a5349a
--- /dev/null
+++ b/mail-client/balsa/ChangeLog
@@ -0,0 +1,254 @@
+# ChangeLog for net-mail/balsa
+# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/balsa/ChangeLog,v 1.1 2004/05/30 02:38:38 seemant Exp $
+
+*balsa-2.0.11 (29 May 2004)
+
+ 29 May 2004; Seemant Kulleen <seemant@gentoo.org> +metadata.xml,
+ +files/balsa-1.4.0-gentoo.diff, +files/balsa-gtk+-2.4-deprecation-fix.patch,
+ +files/gtk+2.4-2.patch, +files/gtk+2.4.patch, +balsa-1.4.3.ebuild,
+ +balsa-2.0.11.ebuild, +balsa-2.0.14.ebuild, +balsa-2.0.15-r1.ebuild:
+ Moved from net-mail/balsa to mail-client/balsa.
+
+ 19 May 2004; Yi Qiang <khai@gentoo.org> balsa-2.0.15-r1.ebuild:
+ Fixed ldap support.
+
+ 06 May 2004; Yi Qiang <khai@gentoo.org> +files/gtk+2.4.patch,
+ -balsa-2.0.10.ebuild, balsa-2.0.11.ebuild, balsa-2.0.14.ebuild:
+ Fixed gtk+2.4 stuff for older ebuilds.
+
+ 27 Apr 2004; Aron Griffis <agriffis@gentoo.org> balsa-1.4.3.ebuild:
+ Add inherit eutils
+
+ 10 Apr 2004; <khai@gentoo.org> balsa-2.0.15-r1.ebuild:
+ First commit, patch to make balsa-2.0.15-r1 compile against gtk+-2.4
+
+ 07 Jan 2004; Jason Wever <weeve@gentoo.org> balsa-2.0.14.ebuild:
+ Marked stable on sparc.
+
+*balsa-2.0.15-r1 (25 Nov 2003)
+
+ 25 Nov 2003; foser <foser@gentoo.org> balsa-2.0.15-r1.ebuild :
+ Yay, fix configure switching.. move it to the right spot (duh!)
+
+*balsa-2.0.15 (10 Nov 2003)
+
+ 10 Nov 2003; foser <foser@gentoo.org> balsa-2.0.15.ebuild :
+ New version as requested in #30840
+ minor cleanups
+
+*balsa-2.0.14 (01 Sep 2003)
+
+ 01 Sep 2003; <spider@gentoo.org> balsa-2.0.14.ebuild:
+ Version bump
+
+ 18 Aug 2003; Aron Griffis <agriffis@gentoo.org> balsa-2.0.12.ebuild:
+ Add ~alpha to KEYWORDS
+
+*balsa-2.0.12 (13 Jul 2003)
+
+ 13 Jul 2003; foser <foser@gentoo.org> balsa-2.0.12.ebuild :
+ New version, move scrollkeeper to RDEPEND, add USE crypt gpgme support
+
+ 10 Jun 2003; Alastair Tse <liquidx@gentoo.org> balsa-2.0.10.ebuild,
+ balsa-2.0.11.ebuild:
+ fixing libgtkhtml deps
+
+*balsa-2.0.11 (15 May 2003)
+
+ 15 May 2003; foser <foser@gentoo.org> balsa-2.0.11.ebuild :
+ New version, minor ebuild cleanups
+
+ 02 May 2003; Jason Wever <weeve@gentoo.org> balsa-1.4.3.ebuild:
+ Changed ~sparc keyword to sparc in relation to the mutt related buffer
+ overflow.
+
+ 30 Apr 2003; Daniel Ahlberg <aliz@gentoo.org> balsa-2.0.10.ebuild :
+ Unmasked becuse of security update.
+
+*balsa-2.0.10 (25 Apr 2003)
+
+ 25 Apr 2003; foser <foser@gentoo.org> balsa-2.0.10.ebuild :
+ New version (#18142)
+ Fix gtkhtml switch (#19880)
+ Make more use of gnome2 eclass, set SLOT to 0
+
+*balsa-1.4.3 (25 Apr 2003)
+
+ 25 Apr 2003; <foser@gentoo.org> balsa-1.4.3.ebuild :
+
+ 25 Apr 2003; foser <foser@gentoo.org> balsa-1.4.3.ebuild :
+ New version (#18142), set SLOT to 0, balsa isn't slotted
+
+*balsa-2.0.9-r1 (08 Mar 2003)
+
+ 08 Mar 2003; foser <foser@gentoo.org> balsa-2.0.9-r1.ebuild :
+ disabled threads because of bug #17079
+
+*balsa-2.0.9 (03 Mar 2003)
+
+ 22 Apr 2003; Graham Forest <vladimir@gentoo.org> balsa-2.0.1-r2.ebuild,
+ balsa-2.0.5.ebuild, balsa-2.0.9-r1.ebuild, balsa-2.0.9.ebuild:
+ app-text/aspell -> virtual/aspell-dict
+
+ 03 Mar 2003; foser <foser@gentoo.org> balsa-2.0.9.ebuild :
+ New version
+ Made it use only libgnomeprint(ui)-2.2 (better anyway)
+ Removed nls USE (obsoleted)
+
+*balsa-2.0.5 (07 Jan 2003)
+
+ 15 Feb 2003; Jungmin Seo <seo@gentoo.org> balsa-2.0.5.ebuild :
+ aspell is not an option atm. balsa needs aspell or pspell, but
+ pspell is not in gentoo yet
+
+ 13 Feb 2003; Jungmin Seo <seo@gentoo.org> balsa-2.0.5.ebuild :
+ added IUSE variable and ~ppc
+
+ 07 Jan 2003; foser <foser@gentoo.org> balsa-2.0.5.ebuild :
+ New version, spell should be aspell ready now
+
+ 19 Dec 2002; Dean Bailey <alron@gentoo.org> :
+ Removed sparc64 keyword
+
+*balsa-2.0.3 (11 Dec 2002)
+
+ 13 Feb 2003; Jungmin Seo <seo@gentoo.org> balsa-2.0.5.ebuild :
+ added IUSE variable
+
+ 11 Dec 2002; foser <foser@gentoo.org> balsa-2.0.3.ebuild :
+ New version with input from Edy <edybsd@yahoo.com.ar> (LDAP) and Evan Read <eread@freeshell.org> (aspell/general) (bug #9931)
+
+* Autoupdate keywords (12-6-02)
+ 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
+
+*balsa-1.4.0-r1 (03 Sep 2002)
+
+ 22 Apr 2003; Graham Forest <vladimir@gentoo.org> balsa-1.4.0-r1.ebuild:
+ app-text/aspell -> virtual/aspell-dict
+
+ 20 Oct 2002; Calum Selkirk <cselkirk@gentoo.org> balsa-2.0.1-r2.ebuild
+ balsa-1.4.0-r1.ebuild :
+
+ Added ppc to KEYWORDS.
+
+ 11 Sep 2002; Seemant Kulleen <seemant@gentoo.org> balsa-2.0.1-r2.ebuild
+ balsa-1.4.0-r1.ebuild files/balsa-2.0.1-gentoo.diff
+ files/balsa-1.4.0-gentoo.diff :
+
+ Patched up to use the new aspell. Closes bug #7545 by: rigo@home.nl (Rigo
+ Ketelings)
+
+ 06 Sep 2002; Seemant Kulleen <seemant@gentoo.org> balsa-2.0.1-r2.ebuild :
+
+ Patch up configure file to find laspell instead of the pspell stuff.
+ Closes bug #7545 by rigo@home.nl (Rigo Ketelings)
+
+ 03 Sep 2002; Seemant Kulleen <seemant@gentoo.org> balsa-1.3.6-r2.ebuild
+ balsa-1.4.0-r1.ebuild balsa-2.0.1-r1.ebuild :
+
+ Changed spell dependency to aspell-0.50 instead of pspell
+
+*balsa-1.4.0 (19 Aug 2002)
+ 19 Aug 2002; Gabriele Giorgetti <stroke@gentoo.org> balsa-1.4.0.ebuild:
+ New version for gtk1/GNOME1, removed balsa-x.x.x-gentoo.patch which is
+ no longer actual, --with-mailpath=/var/mail is now passed to the balsa
+ configure and not the libmutt/configure
+
+*balsa-2.0.1-r1 (02 Jul 2002)
+ 02 Jul 2002; Gabriele Giorgetti <stroke@gentoo.org> balsa-2.0.1-r1.ebuild :
+ Added workaround for bug #4095, it replaces the varmail patch which has
+ been removed. (Closes bug #4095)
+ Updated deps.
+
+*balsa-2.0.1 (17 Jun 2002)
+ 17 Jun 2002; Spider< spider @gentoo.org> balsa-2.0.1.ebuild :
+ Updated the LIB patch to work
+ the varmail patch seems no longer actual
+ new version
+
+balsa-2.0.0_pre1-r1 (10 June 2002)
+ 10 Jun 2002; Gabriele Giorgetti <stroke@gentoo.org> balsa-2.0.0_pre1-r1.ebuild :
+ Changed deps to match with the new location of libgnomeprint and libgnomeprintui
+ (in gnome-base actually)
+
+balsa-2.0.0_pre1 (3 June 2002)
+ 3 June 2002; Gabriele Giorgetti <stroke@gentoo.org> balsa-2.0.0_pre1.ebuild :
+ files/balsa-2.0.0-varmail.patch added to fix bug #3251
+
+balsa-2.0.0_pre1 (30 May 2002)
+ 30 May 2002; Spider <spider@gentoo.org> balsa-2.0.0_pre1.ebuild :
+ add a missing dep for pspell
+
+*balsa-2.0.0_pre1 (30 May 2002)
+ 30 May 2002; Spider <spider@gentoo.org> balsa-2.0.0_pre1.ebuild :
+ Adding the Gnome2 branch
+ updated the patch to apply
+ please note that this is a "technical preview" thats why I added the
+ _pre1 and the date tag inside the ebuild, when balsa updates the
+ package we can modify the date and upp the pre until the final version
+ is released.
+
+ Btw.. do balsa -ever- release a "stable" product? I sense debianism
+ here.
+
+*balsa-1.3.6-r1 (28 May 2002)
+ 28 May 2002; Seemant Kulleen <seemant@gentoo.org> balsa-1.3.6-r1.ebuild
+ files/balsa-1.3.6-gentoo.patch files/digest-balsa-1.3.6-r1 :
+
+ Updated to patch things. This should close bug #2998 by
+ christian-neumair@web.de (Christian Neumair)
+
+*balsa-1.3.6 (25 May 2002)
+
+ 25 May 2002; Seemant Kulleen <seemant@gentoo.org> balsa-1.3.6.ebuild
+ files/balsa-1.3.6.diff files/digest-balsa-1.3.6 :
+
+ Hot on the heels of -r2 comes a version bump also submitted by Jose
+ Fonseca. This closes bug 2974
+
+*balsa-1.3.5-r2 (25 May 2002)
+
+ 25 May 2002; Seemant Kulleen <seemant@gentoo.org> balsa-1.3.5-r2.ebuild
+ files/balsa-1.3.5-r2.diff files/digest-balsa-1.3.5-r2 :
+
+ Fixes submitted by: j_r_fonseca@yahoo.co.uk (Jose' Fonseca) in bug 2952
+
+balsa-1.3.5-r1 (11 May 2002)
+
+ 11 May 2002; Spider <spider@gentoo.org> :
+
+ Fix bug with forgotten "install" in src_install stage.
+
+*balsa-1.3.5 (30 Apr 2002)
+
+ 30 Apr 2002; Seemant Kulleen <seemant@gentoo.org> :
+
+ Version bump, with dependency fixes (no gnome-core dep any more!), and
+ man page/LFH compliance.
+
+*balsa-1.2.4-r1 (24 Apr 2002)
+
+ 24 Apr 2002; Spider <spider@gentoo.org> :
+
+ Update with a patch to make it compile with spellchecking.
+ Add development series per request.
+
+*balsa-1.2.4 (11 Apr 2002)
+
+ 11 Apr 2002; Spider <spider@gentoo.org>
+
+ Update all glib dependencies to use glib-1.2* in preparation of
+ unmasking the glib-2.0.1 packages
+
+*balsa-1.2.4 (17 Feb 2002)
+
+*balsa-1.2.3 (1 Feb 2002)
+
+ 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog :
+
+ Added initial ChangeLog which should be updated whenever the package is
+ updated in any way. This changelog is targetted to users. This means that the
+ comments should well explained and written in clean English. The details about
+ writing correct changelogs are explained in the skel.ChangeLog file which you
+ can find in the root directory of the portage repository.
diff --git a/mail-client/balsa/Manifest b/mail-client/balsa/Manifest
new file mode 100644
index 000000000000..5e460ede83e5
--- /dev/null
+++ b/mail-client/balsa/Manifest
@@ -0,0 +1,14 @@
+MD5 96e6676bddcb5e4366137c1664fa6223 balsa-1.4.3.ebuild 1731
+MD5 e9d700d93bff1c0804b4bba5f462d958 balsa-2.0.11.ebuild 1716
+MD5 afe72e18fcdcc93af49513e99735ad1a balsa-2.0.15-r1.ebuild 1537
+MD5 63aa92420b4a9f07781b9afd00baae59 balsa-2.0.14.ebuild 1799
+MD5 03ad2e6c4ab41244af1015a8bbb0b39f metadata.xml 158
+MD5 0e6d81edc1cf3e615c8e58d95035ee5e ChangeLog 8312
+MD5 2543b736a736635b03f9b7156b2a5071 files/digest-balsa-2.0.11 66
+MD5 aa4090173ee51cb5766ef1b3a6d6f379 files/digest-balsa-2.0.15-r1 66
+MD5 7640c6a66bb87af1486164581e95296d files/balsa-1.4.0-gentoo.diff 830
+MD5 1a6b22403c4f66fbbbd6940c7cc31dca files/balsa-gtk+-2.4-deprecation-fix.patch 2848
+MD5 ccc39dccf91f32e598e857379c5b64bc files/gtk+2.4.patch 1542
+MD5 6214786af3a3095a1e721302f10228f2 files/gtk+2.4-2.patch 1542
+MD5 92455a1d3e62f5727b37d43f60acdf12 files/digest-balsa-1.4.3 65
+MD5 2011fe7cfdc0ef2d21825be38169169f files/digest-balsa-2.0.14 66
diff --git a/mail-client/balsa/balsa-1.4.3.ebuild b/mail-client/balsa/balsa-1.4.3.ebuild
new file mode 100644
index 000000000000..9ba475bcfe3f
--- /dev/null
+++ b/mail-client/balsa/balsa-1.4.3.ebuild
@@ -0,0 +1,65 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/balsa/balsa-1.4.3.ebuild,v 1.1 2004/05/30 02:38:38 seemant Exp $
+
+inherit eutils
+
+IUSE="ssl nls cups gtkhtml spell perl"
+
+S=${WORKDIR}/${P}
+DESCRIPTION="Balsa: email client for GNOME"
+SRC_URI="http://www.theochem.kth.se/~pawsa/${PN}/${P}.tar.bz2"
+HOMEPAGE="http://www.balsa.net"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc sparc"
+
+DEPEND="=dev-libs/glib-1.2*
+ =x11-libs/gtk+-1.2*
+ >=media-libs/imlib-1.9.10-r1
+ >=gnome-base/gnome-libs-1.4.1.4
+ >=gnome-base/ORBit-0.5.10-r1
+ >=media-libs/gdk-pixbuf-0.13.0
+ >=net-libs/libesmtp-0.8.11
+ nls? ( sys-devel/gettext )
+ ssl? ( dev-libs/openssl )
+ cups? ( >=gnome-base/gnome-print-0.30 )
+ perl? ( >=dev-libs/libpcre-3.4 )
+ spell? ( virtual/aspell-dict )
+ gtkhtml? ( >=gnome-extra/gtkhtml-0.16.1 )"
+
+src_unpack() {
+ unpack ${A}
+
+ # Patch to use the new aspell instead of the old, crusty pspell modules
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-1.4.0-gentoo.diff
+}
+
+src_compile() {
+ local myconf
+
+ use nls || myconf="${myconf} --disable-nls"
+ use ssl && myconf="${myconf} --with-ssl"
+ use gtkhtml && myconf="${myconf} --enable-gtkhtml"
+ use perl && myconf="${myconf} --enable-pcre"
+ use spell && myconf="${myconf} --with-aspell=yes"
+
+ myconf="${myconf} --with-mailpath=/var/mail --enable-threads"
+
+ autoconf || die
+ econf ${myconf} || die "configure balsa failed"
+ emake || die "emake failed"
+}
+
+src_install () {
+ local myinst
+ myinst="gnomeconfdir=${D}/etc \
+ gnomedatadir=${D}/usr/share"
+
+ einstall ${myinst} || die "make install failed"
+ dodoc AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO
+ docinto docs
+ dodoc docs/*
+}
diff --git a/mail-client/balsa/balsa-2.0.11.ebuild b/mail-client/balsa/balsa-2.0.11.ebuild
new file mode 100644
index 000000000000..b09d11d87567
--- /dev/null
+++ b/mail-client/balsa/balsa-2.0.11.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/balsa/balsa-2.0.11.ebuild,v 1.1 2004/05/30 02:38:38 seemant Exp $
+
+inherit gnome2 eutils
+
+IUSE="ssl gtkhtml perl ldap"
+DESCRIPTION="Email client for GNOME"
+SRC_URI="http://balsa.gnome.org/${P}.tar.bz2"
+HOMEPAGE="http://balsa.gnome.org"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc ~sparc"
+
+RDEPEND="net-mail/mailbase
+ >=dev-libs/glib-2
+ >=x11-libs/gtk+-2
+ >=gnome-base/libgnome-2
+ >=gnome-base/libgnomeui-2
+ >=gnome-base/gnome-vfs-2
+ >=gnome-base/libgnomeprint-2.1.4
+ >=gnome-base/libgnomeprintui-2.1.4
+ >=net-libs/libesmtp-0.8.11
+ virtual/aspell-dict
+ ssl? ( dev-libs/openssl )
+ perl? ( >=dev-libs/libpcre-3.4 )
+ gtkhtml? ( =gnome-extra/libgtkhtml-2* )
+ ldap? ( net-nds/openldap )"
+
+DEPEND="dev-util/pkgconfig
+ >=app-text/scrollkeeper-0.1.4
+ ${RDEPEND}"
+
+src_unpack(){
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gtk+2.4.patch
+}
+src_compile() {
+ local myconf
+
+ use ssl \
+ && myconf="${myconf} --with-ssl" \
+ || myconf="${myconf} --without-ssl"
+ use gtkhtml \
+ && myconf="${myconf} --enable-gtkhtml" \
+ || myconf="${myconf} --disable-gtkhtml"
+ use perl \
+ && myconf="${myconf} --enable-pcre" \
+ || myconf="${myconf} --disable-pcre"
+ use ldap \
+ && myconf="${myconf} --enable-ldap" \
+ || myconf="${myconf} --disable-ldap"
+
+ libmutt/configure \
+ --prefix=/usr \
+ --host=${CHOST} \
+ --with-mailpath=/var/mail || die "configure libmutt failed"
+
+ # threads diabled because of 17079
+ econf ${myconf} --disable-threads || die "configure balsa failed"
+
+ emake || die "emake failed"
+}
+
+DOCS="AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO docs/*"
diff --git a/mail-client/balsa/balsa-2.0.14.ebuild b/mail-client/balsa/balsa-2.0.14.ebuild
new file mode 100644
index 000000000000..e402772e80ae
--- /dev/null
+++ b/mail-client/balsa/balsa-2.0.14.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/balsa/balsa-2.0.14.ebuild,v 1.1 2004/05/30 02:38:38 seemant Exp $
+
+inherit gnome2 eutils
+
+IUSE="ssl gtkhtml perl ldap crypt"
+DESCRIPTION="Email client for GNOME"
+SRC_URI="http://balsa.gnome.org/${P}.tar.bz2"
+HOMEPAGE="http://balsa.gnome.org"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc sparc ~alpha"
+
+RDEPEND="net-mail/mailbase
+ >=dev-libs/glib-2
+ >=x11-libs/gtk+-2
+ >=gnome-base/libgnome-2
+ >=gnome-base/libgnomeui-2
+ >=gnome-base/gnome-vfs-2
+ >=gnome-base/libgnomeprint-2.1.4
+ >=gnome-base/libgnomeprintui-2.1.4
+ >=net-libs/libesmtp-0.8.11
+ virtual/aspell-dict
+ >=app-text/scrollkeeper-0.1.4
+ ssl? ( dev-libs/openssl )
+ perl? ( >=dev-libs/libpcre-3.4 )
+ gtkhtml? ( =gnome-extra/libgtkhtml-2* )
+ ldap? ( net-nds/openldap )
+ crypt? ( =app-crypt/gpgme-0.3.14* )"
+
+DEPEND="dev-util/pkgconfig
+ ${RDEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/gtk+2.4-2.patch
+}
+src_compile() {
+ local myconf
+
+ use ssl \
+ && myconf="${myconf} --with-ssl" \
+ || myconf="${myconf} --without-ssl"
+ use gtkhtml \
+ && myconf="${myconf} --enable-gtkhtml" \
+ || myconf="${myconf} --disable-gtkhtml"
+ use perl \
+ && myconf="${myconf} --enable-pcre" \
+ || myconf="${myconf} --disable-pcre"
+ use ldap \
+ && myconf="${myconf} --enable-ldap" \
+ || myconf="${myconf} --disable-ldap"
+
+ libmutt/configure \
+ --prefix=/usr \
+ --host=${CHOST} \
+ --with-mailpath=/var/mail || die "configure libmutt failed"
+
+ # threads diabled because of 17079
+ econf ${myconf} \
+ `use_with crypt gpgme` \
+ --disable-threads || die "configure balsa failed"
+
+ emake || die "emake failed"
+}
+
+DOCS="AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO docs/*"
diff --git a/mail-client/balsa/balsa-2.0.15-r1.ebuild b/mail-client/balsa/balsa-2.0.15-r1.ebuild
new file mode 100644
index 000000000000..0626553b77f8
--- /dev/null
+++ b/mail-client/balsa/balsa-2.0.15-r1.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/balsa/balsa-2.0.15-r1.ebuild,v 1.1 2004/05/30 02:38:38 seemant Exp $
+
+inherit gnome2 eutils
+
+IUSE="ssl gtkhtml perl ldap crypt"
+DESCRIPTION="Email client for GNOME"
+SRC_URI="http://balsa.gnome.org/${P}.tar.bz2"
+HOMEPAGE="http://balsa.gnome.org"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha"
+
+RDEPEND="net-mail/mailbase
+ >=dev-libs/glib-2
+ >=x11-libs/gtk+-2
+ >=gnome-base/libgnome-2
+ >=gnome-base/libgnomeui-2
+ >=gnome-base/gnome-vfs-2
+ >=gnome-base/libgnomeprint-2.1.4
+ >=gnome-base/libgnomeprintui-2.1.4
+ >=net-libs/libesmtp-0.8.11
+ virtual/aspell-dict
+ ssl? ( dev-libs/openssl )
+ perl? ( >=dev-libs/libpcre-3.4 )
+ gtkhtml? ( =gnome-extra/libgtkhtml-2* )
+ ldap? ( net-nds/openldap )
+ crypt? ( =app-crypt/gpgme-0.3.14* )"
+
+DEPEND="dev-util/pkgconfig
+ >=app-text/scrollkeeper-0.1.4
+ ${RDEPEND}"
+
+src_unpack()
+{
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/balsa-gtk+-2.4-deprecation-fix.patch
+}
+src_compile() {
+ local myconf
+
+ libmutt/configure \
+ --prefix=/usr \
+ --host=${CHOST} \
+ --with-mailpath=/var/mail || die "configure libmutt failed"
+
+ # threads diabled because of 17079
+ econf \
+ `use_with ssl` \
+ `use_enable gtkhtml` \
+ `use_enable perl pcre` \
+ `use_with ldap` \
+ `use_with crypt gpgme` \
+ --disable-threads || die "configure balsa failed"
+
+ emake || die "emake failed"
+}
+
+DOCS="AUTHORS COPYING ChangeLog HACKING INSTALL NEWS README TODO docs/*"
diff --git a/mail-client/balsa/files/balsa-1.4.0-gentoo.diff b/mail-client/balsa/files/balsa-1.4.0-gentoo.diff
new file mode 100644
index 000000000000..2ec9a5276598
--- /dev/null
+++ b/mail-client/balsa/files/balsa-1.4.0-gentoo.diff
@@ -0,0 +1,23 @@
+diff -urN balsa-1.4.0.old/configure.in balsa-1.4.0/configure.in
+--- balsa-1.4.0.old/configure.in Mon Aug 19 11:04:50 2002
++++ balsa-1.4.0/configure.in Tue Sep 10 06:19:57 2002
+@@ -49,9 +49,16 @@
+ dnl this should come after `AC_PROG_CC'
+ GNOME_X_CHECKS
+
+-AC_CHECK_LIB(pspell, new_pspell_manager,,[
+- AC_MSG_ERROR([*** libpspell(-devel) not found. Please check http://balsa.gnome.org/ for information on the required files.])
+-], -lstdc++ -lpspell-modules)
++AC_ARG_WITH(aspell,
++ [ --with-aspell Turn on aspell ],
++ [case "${withval}" in
++ yes) LIBS="-lstdc++ -laspell" ;
++ aspell=true ;;
++ no) LIBS="-lstdc++" ;
++ aspell=false ;;
++ *) AC_MSG_ERROR(bad value ${withval} for --with-aspell) ;;
++ esac],[LIBS=""])
++AM_CONDITIONAL(WITH_ASPELL, test, x$aspell = xtrue)
+
+ dnl Reset
+ # LDFLAGS="$balsa_save_LDFLAGS"
diff --git a/mail-client/balsa/files/balsa-gtk+-2.4-deprecation-fix.patch b/mail-client/balsa/files/balsa-gtk+-2.4-deprecation-fix.patch
new file mode 100644
index 000000000000..c6202892785b
--- /dev/null
+++ b/mail-client/balsa/files/balsa-gtk+-2.4-deprecation-fix.patch
@@ -0,0 +1,81 @@
+diff -ruN balsa-2.0.15.orig/libbalsa/Makefile.am balsa-2.0.15/libbalsa/Makefile.am
+--- balsa-2.0.15.orig/libbalsa/Makefile.am 2004-03-29 22:16:49.000000000 -0800
++++ balsa-2.0.15/libbalsa/Makefile.am 2004-03-29 22:46:32.166802264 -0800
+@@ -85,9 +85,6 @@
+ $(BALSA_CFLAGS)
+
+ DEFS = -DLIBMUTT \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+
+ #Signal marshallers
+ marshal_prefix = libbalsa
+diff -ruN balsa-2.0.15.orig/libbalsa/Makefile.in balsa-2.0.15/libbalsa/Makefile.in
+--- balsa-2.0.15.orig/libbalsa/Makefile.in 2004-03-29 22:16:49.000000000 -0800
++++ balsa-2.0.15/libbalsa/Makefile.in 2004-03-29 22:46:19.337752576 -0800
+@@ -211,11 +211,7 @@
+
+
+ DEFS = -DLIBMUTT \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
+-
++
+ #Signal marshallers
+ marshal_prefix = libbalsa
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+diff -ruN balsa-2.0.15.orig/libinit_balsa/Makefile.am balsa-2.0.15/libinit_balsa/Makefile.am
+--- balsa-2.0.15.orig/libinit_balsa/Makefile.am 2004-03-29 22:16:49.000000000 -0800
++++ balsa-2.0.15/libinit_balsa/Makefile.am 2004-03-29 22:46:45.912712568 -0800
+@@ -22,6 +22,4 @@
+ -I$(top_srcdir)/src \
+ $(BALSA_CFLAGS)
+
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
++DEFS =
+diff -ruN balsa-2.0.15.orig/libinit_balsa/Makefile.in balsa-2.0.15/libinit_balsa/Makefile.in
+--- balsa-2.0.15.orig/libinit_balsa/Makefile.in 2004-03-29 22:16:49.000000000 -0800
++++ balsa-2.0.15/libinit_balsa/Makefile.in 2004-03-29 22:35:52.123103696 -0800
+@@ -147,10 +147,6 @@
+ $(BALSA_CFLAGS)
+
+
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
+diff -ruN balsa-2.0.15.orig/src/Makefile.am balsa-2.0.15/src/Makefile.am
+--- balsa-2.0.15.orig/src/Makefile.am 2004-03-29 22:16:49.000000000 -0800
++++ balsa-2.0.15/src/Makefile.am 2004-03-29 22:46:57.936884616 -0800
+@@ -105,6 +105,4 @@
+ $(CORBA_SRCLIST): $(idl_DATA)
+ $(ORBIT_IDL) $(idl_DATA)
+
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
++DEFS =
+diff -ruN balsa-2.0.15.orig/src/Makefile.in balsa-2.0.15/src/Makefile.in
+--- balsa-2.0.15.orig/src/Makefile.in 2004-03-29 22:16:49.000000000 -0800
++++ balsa-2.0.15/src/Makefile.in 2004-03-29 22:35:15.024743504 -0800
+@@ -223,11 +223,7 @@
+
+
+ BALSA_ORB_SRCLIST = orbit-glue.c
+-
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
++
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
diff --git a/mail-client/balsa/files/digest-balsa-1.4.3 b/mail-client/balsa/files/digest-balsa-1.4.3
new file mode 100644
index 000000000000..ce117b498676
--- /dev/null
+++ b/mail-client/balsa/files/digest-balsa-1.4.3
@@ -0,0 +1 @@
+MD5 26ac08c059d2aaa73bd76d21150a6d24 balsa-1.4.3.tar.bz2 2385240
diff --git a/mail-client/balsa/files/digest-balsa-2.0.11 b/mail-client/balsa/files/digest-balsa-2.0.11
new file mode 100644
index 000000000000..29e3d2dbe3c0
--- /dev/null
+++ b/mail-client/balsa/files/digest-balsa-2.0.11
@@ -0,0 +1 @@
+MD5 1c8ed538818e392e0d2271a3ef2ace84 balsa-2.0.11.tar.bz2 2633518
diff --git a/mail-client/balsa/files/digest-balsa-2.0.14 b/mail-client/balsa/files/digest-balsa-2.0.14
new file mode 100644
index 000000000000..c54b0da4f6be
--- /dev/null
+++ b/mail-client/balsa/files/digest-balsa-2.0.14
@@ -0,0 +1 @@
+MD5 91ec11aec9f100e3ad6c02bccae2da5d balsa-2.0.14.tar.bz2 2774405
diff --git a/mail-client/balsa/files/digest-balsa-2.0.15-r1 b/mail-client/balsa/files/digest-balsa-2.0.15-r1
new file mode 100644
index 000000000000..3060884c07a9
--- /dev/null
+++ b/mail-client/balsa/files/digest-balsa-2.0.15-r1
@@ -0,0 +1 @@
+MD5 dc00a4bd622c4a0c5d6b7dca397d4371 balsa-2.0.15.tar.bz2 2786211
diff --git a/mail-client/balsa/files/gtk+2.4-2.patch b/mail-client/balsa/files/gtk+2.4-2.patch
new file mode 100644
index 000000000000..e4bf6b15f8c7
--- /dev/null
+++ b/mail-client/balsa/files/gtk+2.4-2.patch
@@ -0,0 +1,46 @@
+diff -ruN balsa-2.0.14.orig/libbalsa/Makefile.in balsa-2.0.14/libbalsa/Makefile.in
+--- balsa-2.0.14.orig/libbalsa/Makefile.in 2004-05-06 16:09:23.492107521 -0700
++++ balsa-2.0.14/libbalsa/Makefile.in 2004-05-06 16:09:44.495989137 -0700
+@@ -211,11 +211,7 @@
+
+
+ DEFS = -DLIBMUTT \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
+-
++
+ #Signal marshallers
+ marshal_prefix = libbalsa
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+diff -ruN balsa-2.0.14.orig/libinit_balsa/Makefile.in balsa-2.0.14/libinit_balsa/Makefile.in
+--- balsa-2.0.14.orig/libinit_balsa/Makefile.in 2004-05-06 16:09:23.487108977 -0700
++++ balsa-2.0.14/libinit_balsa/Makefile.in 2004-05-06 16:09:59.925494607 -0700
+@@ -147,10 +147,7 @@
+ $(BALSA_CFLAGS)
+
+
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
++DEFS =
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
+diff -ruN balsa-2.0.14.orig/src/Makefile.in balsa-2.0.14/src/Makefile.in
+--- balsa-2.0.14.orig/src/Makefile.in 2004-05-06 16:09:23.523098493 -0700
++++ balsa-2.0.14/src/Makefile.in 2004-05-06 16:10:10.754340250 -0700
+@@ -224,10 +224,7 @@
+
+ BALSA_ORB_SRCLIST = orbit-glue.c
+
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
++DEFS =
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
diff --git a/mail-client/balsa/files/gtk+2.4.patch b/mail-client/balsa/files/gtk+2.4.patch
new file mode 100644
index 000000000000..94e6f45f0afc
--- /dev/null
+++ b/mail-client/balsa/files/gtk+2.4.patch
@@ -0,0 +1,46 @@
+diff -ruN balsa-2.0.11.orig/libbalsa/Makefile.in balsa-2.0.11/libbalsa/Makefile.in
+--- balsa-2.0.11.orig/libbalsa/Makefile.in 2004-05-06 15:43:57.050305474 -0700
++++ balsa-2.0.11/libbalsa/Makefile.in 2004-05-06 15:44:53.376879127 -0700
+@@ -210,11 +210,7 @@
+
+
+ DEFS = -DLIBMUTT \
+- -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
+-
++
+ #Signal marshallers
+ marshal_prefix = libbalsa
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+diff -ruN balsa-2.0.11.orig/libinit_balsa/Makefile.in balsa-2.0.11/libinit_balsa/Makefile.in
+--- balsa-2.0.11.orig/libinit_balsa/Makefile.in 2004-05-06 15:43:57.043307515 -0700
++++ balsa-2.0.11/libinit_balsa/Makefile.in 2004-05-06 15:45:06.391083960 -0700
+@@ -146,10 +146,7 @@
+ $(BALSA_CFLAGS)
+
+
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
++DEFS =
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
+diff -ruN balsa-2.0.11.orig/src/Makefile.in balsa-2.0.11/src/Makefile.in
+--- balsa-2.0.11.orig/src/Makefile.in 2004-05-06 15:43:57.080296727 -0700
++++ balsa-2.0.11/src/Makefile.in 2004-05-06 15:44:37.439526797 -0700
+@@ -223,10 +223,7 @@
+
+ BALSA_ORB_SRCLIST = orbit-glue.c
+
+-DEFS = -DG_DISABLE_DEPRECATED \
+- -DGTK_DISABLE_DEPRECATED \
+- -DGNOME_DISABLE_DEPRECATED
+-
++DEFS =
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
+ CONFIG_HEADER = ../config.h
+ CONFIG_CLEAN_FILES =
diff --git a/mail-client/balsa/metadata.xml b/mail-client/balsa/metadata.xml
new file mode 100644
index 000000000000..da6fd63d0085
--- /dev/null
+++ b/mail-client/balsa/metadata.xml
@@ -0,0 +1,5 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>gnome</herd>
+</pkgmetadata>