ChangeLog

# ChangeLog for mail-client/claws-mail
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.86 2008/08/23 01:37:01 cardoe Exp $

23 Aug 2008; Doug Goldstein metadata.xml:
add GLEP 56 USE flag desc from use.local.desc

08 Aug 2008; Markus Rothe claws-mail-3.5.0.ebuild:
Stable on ppc64; bug #233817

08 Aug 2008; nixnut claws-mail-3.5.0.ebuild:
Stable on ppc wrt bug 233817

05 Aug 2008; Raúl Porcel claws-mail-3.5.0.ebuild:
alpha stable wrt #233817

05 Aug 2008; Ferris McCormick claws-mail-3.5.0.ebuild:
Sparc stable, Bug #233817, works fine.

04 Aug 2008; Markus Meier claws-mail-3.5.0.ebuild:
amd64/x86 stable, bug #233817

04 Aug 2008; Jeroen Roovers claws-mail-3.5.0.ebuild:
Stable for HPPA (bug #233817).

*claws-mail-3.5.0 (30 Jun 2008)

30 Jun 2008; Christian Faulhammer
+claws-mail-3.5.0.ebuild:
Added an option, "Use secure file deletion if possible", which
enables shredding of temporary files and messages instead of
just removing them. This is available on the Other preferences
page.

Added an option, "Select the HTML part of multipart/alternative
messages". This is available on the Message View/Text Options
preferences page.

Added an option to the 'Create new folder' dialogue which enables
new folders to inherit the properties of their parent folders
during folder creation.

Added a hidden option, "two_line_vertical", which toggles the
2-line view in the message list when using the 3-column layout.
Defaults to '1', show 2 lines.

Added a hidden option, "outgoing_fallback_to_ascii", which allows
the user to specify an outgoing charset/encoding, but still fall
back to 7bit US-ASCII when possible.
Defaults to '1', fallback when possible.

Added support for the Avant Window Navgator (Awn) information
bubble. This is automatically enabled if dbus is available.

Face and X-Face headers can now be added globally and per-account
from configuration files under ~/.claws-mail/autofaces/. Further
information is provided in the manual.

The SHA1 fingerprint is now shown on the SSL certificate dialogue
and the labels are now selectable.

Several GUI improvements have been made, (Address book, filtering
dialogue, Actions dialogue, and Account preferences).

New icons have been added for 'Reply to list' and 'Cancel'. The
'Insert file' and 'Close' icons have been improved, as have the
tray icons.

Added the Trash and Delete icons to the Custom Toolbars options.

SMTP-only accounts are now not shown in the Receive menus and
Account lists in filtering/processing, as they are irrelevant here.

tools/csv2addressbook.pl
Support for a gmail exported csv address book was added.

Updated English, French, and Spanish manuals.

Updated translations: Brazilian Portuguese, Finnish, French,
German, and Spanish.

Removed unmaintained translations: Bulgarian, Croatian, Czech,
Dutch, Greek, Hebrew, Japanese, Korean, Norwegian, Russian,
Swedish, and Taiwanese. (New maintainers are very welcome,
contact paul@claws-mail.org)

Bug fixes

30 Jun 2008; Christian Faulhammer
-claws-mail-3.0.2-r1.ebuild, -claws-mail-3.2.0.ebuild,
-claws-mail-3.3.0.ebuild, -claws-mail-3.3.1.ebuild:
clean up

14 Jun 2008; Kenneth Prugh claws-mail-3.4.0.ebuild:
amd64 stable, bug #222167

14 Jun 2008; nixnut claws-mail-3.4.0.ebuild:
Stable on ppc wrt bug 222167

13 Jun 2008; Raúl Porcel claws-mail-3.4.0.ebuild:
alpha/sparc stable wrt #222167

12 Jun 2008; Brent Baude claws-mail-3.4.0.ebuild:
stable ppc64, bug 222167

11 Jun 2008; Christian Faulhammer
files/plugins-rebuild.sh:
make the rebuild script space safe

11 Jun 2008; Christian Faulhammer
claws-mail-3.4.0.ebuild:
stable x86, bug 222167

11 Jun 2008; Jeroen Roovers claws-mail-3.4.0.ebuild:
Stable for HPPA (bug #222167).

11 Jun 2008; Christian Faulhammer metadata.xml:
Changing maintainers

30 May 2008; Christian Heim metadata.xml:
Removing Andrej Kacian (Ticho) from metadata.xml (as per #59986).

*claws-mail-3.4.0 (12 May 2008)

12 May 2008; Christian Faulhammer
+claws-mail-3.4.0.ebuild:
version bump for bug 218708

23 Feb 2008; Andrej Kacian -claws-mail-3.0.0.ebuild,
-claws-mail-3.0.2.ebuild, -claws-mail-3.1.0.ebuild,
-claws-mail-3.1.0-r1.ebuild:
Old version cleanup.

*claws-mail-3.3.1 (23 Feb 2008)

23 Feb 2008; Andrej Kacian +claws-mail-3.3.1.ebuild:
Version bump.

16 Feb 2008; Andrej Kacian claws-mail-3.3.0.ebuild:
Removed clamav from list of external plugins, due to licensing constraints.

*claws-mail-3.3.0 (13 Feb 2008)

13 Feb 2008; Andrej Kacian +claws-mail-3.3.0.ebuild:
Version bump.

*claws-mail-3.2.0 (28 Dec 2007)

28 Dec 2007; Andrej Kacian +claws-mail-3.2.0.ebuild:
Version bump. Bug #202634 by Joe .

07 Dec 2007; Tobias Scherbaum
claws-mail-3.0.2-r1.ebuild:
ppc stable, bug #201244

07 Dec 2007; Markus Rothe claws-mail-3.0.2-r1.ebuild:
Stable on ppc64; bug #201244

06 Dec 2007; Peter Weller claws-mail-3.0.2-r1.ebuild:
Stable on amd64 wrt bug 201244

06 Dec 2007; Jeroen Roovers claws-mail-3.0.2-r1.ebuild:
Stable for HPPA (bug #201244).

06 Dec 2007; Raúl Porcel claws-mail-3.0.2-r1.ebuild:
alpha/sparc stable wrt security #201244

06 Dec 2007; Christian Faulhammer
claws-mail-3.0.2-r1.ebuild:
stable x86, security bug 201244

05 Dec 2007; Andrej Kacian claws-mail-3.0.2-r1.ebuild,
claws-mail-3.1.0-r1.ebuild:
Fix sylprint script removal.

05 Dec 2007; Christian Faulhammer
claws-mail-3.0.2-r1.ebuild:
revert stable x86

05 Dec 2007; Christian Faulhammer
claws-mail-3.0.2-r1.ebuild:
stable x86, security bug 201244

*claws-mail-3.1.0-r1 (04 Dec 2007)
*claws-mail-3.0.2-r1 (04 Dec 2007)

04 Dec 2007; Andrej Kacian claws-mail-3.0.2.ebuild,
+claws-mail-3.0.2-r1.ebuild, claws-mail-3.1.0.ebuild,
+claws-mail-3.1.0-r1.ebuild:
Revision bump for the security fix.

04 Dec 2007; Andrej Kacian claws-mail-3.0.0.ebuild,
claws-mail-3.0.2.ebuild, claws-mail-3.1.0.ebuild:
Do not install unmaintained and potentially insecure sylprint script,
following upstream action. Security bug #201244.

01 Dec 2007; Andrej Kacian claws-mail-3.0.2.ebuild,
claws-mail-3.1.0.ebuild:
Add missing spamassassin USE flag. Add optional support for gnutls.

30 Nov 2007; Andrej Kacian claws-mail-3.1.0.ebuild:
Install correct KDE desktop file. Bug #200799, reported by David Relson
.

*claws-mail-3.1.0 (29 Nov 2007)

29 Nov 2007; Andrej Kacian +claws-mail-3.1.0.ebuild:
Version bump.

*claws-mail-3.0.2 (02 Oct 2007)

02 Oct 2007; Andrej Kacian +claws-mail-3.0.2.ebuild:
Version bump.

*claws-mail-3.0.1 (18 Sep 2007)

18 Sep 2007; Andrej Kacian +claws-mail-3.0.1.ebuild:
Version bump.

*claws-mail-3.0.0-r1 (16 Sep 2007)

16 Sep 2007; Andrej Kacian +claws-mail-3.0.0-r1.ebuild:
Add session USE flag to make libSM and libICE dependency optional. Bug
#192570 by Sascha Geschwandtner .

16 Sep 2007; Christoph Mende claws-mail-3.0.0.ebuild:
Stable on amd64 wrt security bug #190104

13 Sep 2007; Raúl Porcel claws-mail-3.0.0.ebuild:
alpha stable wrt security #190104

13 Sep 2007; Christian Faulhammer
claws-mail-3.0.0.ebuild:
stable x86, security bug 190104

13 Sep 2007; Markus Rothe claws-mail-3.0.0.ebuild:
Stable on ppc64; bug #190104

13 Sep 2007; Jose Luis Rivero
claws-mail-3.0.0.ebuild:
Stable on sparc wrt security bug #190104

10 Sep 2007; Tobias Scherbaum
claws-mail-3.0.0.ebuild:
ppc stable, bug #190104

08 Sep 2007; Jeroen Roovers claws-mail-3.0.0.ebuild:
Stable for HPPA (bug #190104).

*claws-mail-3.0.0 (03 Sep 2007)

03 Sep 2007; Andrej Kacian
-claws-mail-3.0.0_rc1.ebuild, +claws-mail-3.0.0.ebuild:
Version bump.

*claws-mail-3.0.0_rc1 (03 Aug 2007)

03 Aug 2007; Marius Mauch claws-mail-2.10.0.ebuild,
+claws-mail-3.0.0_rc1.ebuild:
Version bump including license change, adding attachwarner to plugin list.

*claws-mail-2.10.0 (07 Jul 2007)

07 Jul 2007; -claws-mail-2.10.0_rc1.ebuild,
+claws-mail-2.10.0.ebuild:
Version bump. Removed ebuild for 2.10.0 RC

24 Jun 2007; Andrej Kacian claws-mail-2.9.1.ebuild,
claws-mail-2.9.2.ebuild, claws-mail-2.10.0_rc1.ebuild:
Add a runtime dependency on app-crypt/pinentry as well. Bug #183069, by
Markus Rothe .

23 Jun 2007; Marius Mauch claws-mail-2.9.1.ebuild,
claws-mail-2.9.2.ebuild, claws-mail-2.10.0_rc1.ebuild:
Check that pinentry was merged with USE=gtk or USE=qt3 (bug #170967)

*claws-mail-2.10.0_rc1 (23 Jun 2007)

23 Jun 2007; Marius Mauch -claws-mail-2.6.1.ebuild,
-claws-mail-2.7.2.ebuild, -claws-mail-2.8.1.ebuild,
+claws-mail-2.10.0_rc1.ebuild:
Clean out old version, version bump

26 May 2007; Jeroen Roovers claws-mail-2.9.1.ebuild:
Stable for HPPA (bug #176805).

*claws-mail-2.9.2 (08 May 2007)

08 May 2007; Andrej Kacian -claws-mail-2.7.0.ebuild,
-claws-mail-2.7.1.ebuild, -claws-mail-2.8.0.ebuild,
-claws-mail-2.9.0.ebuild, +claws-mail-2.9.2.ebuild:
Version bump. Removed obsolete ebuilds.

04 May 2007; Andrej Kacian claws-mail-2.9.1.ebuild:
Install KDE service script to correct location. Bug #177013, reported by
Neil Bothwick .

04 May 2007; Jose Luis Rivero
claws-mail-2.9.1.ebuild:
Stable on alpha wrt security #176805

03 May 2007; Tobias Scherbaum
claws-mail-2.9.1.ebuild:
ppc stable, bug #176805

03 May 2007; Raúl Porcel claws-mail-2.9.1.ebuild:
x86 stable wrt #176805

02 May 2007; Markus Rothe claws-mail-2.9.1.ebuild:
Stable on ppc64; bug #176805

02 May 2007; Gustavo Zacarias
claws-mail-2.9.1.ebuild:
Stable on sparc wrt security #176805

02 May 2007; Steve Dibb claws-mail-2.9.1.ebuild:
amd64 stable, security bug 176805

*claws-mail-2.9.1 (19 Apr 2007)

19 Apr 2007; Andrej Kacian +claws-mail-2.9.1.ebuild:
Version bump.

16 Apr 2007; Andrej Kacian claws-mail-2.6.1.ebuild,
claws-mail-2.7.0.ebuild, claws-mail-2.7.1.ebuild, claws-mail-2.7.2.ebuild,
claws-mail-2.8.0.ebuild, claws-mail-2.8.1.ebuild, claws-mail-2.9.0.ebuild:
Change all ewarn calls to elog, since they inform user about plugins
rebuild/update, and we want that logged.

*claws-mail-2.9.0 (16 Apr 2007)

16 Apr 2007; Andrej Kacian +claws-mail-2.9.0.ebuild:
Version bump.

*claws-mail-2.8.1 (06 Mar 2007)

06 Mar 2007; Andrej Kacian +claws-mail-2.8.1.ebuild:
Version bump.

05 Mar 2007; Jose Luis Rivero
claws-mail-2.6.1.ebuild:
Stable on alpha wrt bug #163611

02 Mar 2007; nixnut claws-mail-2.6.1.ebuild:
Stable on ppc wrt bug 163611

27 Feb 2007; Guy Martin claws-mail-2.6.1.ebuild:
Stable on hppa

27 Feb 2007; Andrej Kacian claws-mail-2.6.1.ebuild,
claws-mail-2.7.0.ebuild, claws-mail-2.7.2.ebuild:
Don't provide virtual/sylpheed anymore, since there's no reason for it now.

*claws-mail-2.8.0 (27 Feb 2007)

27 Feb 2007; Andrej Kacian +claws-mail-2.8.0.ebuild:
Version bump.

07 Feb 2007; Simon Stelling claws-mail-2.6.1.ebuild:
stable on amd64; bug 163611

31 Jan 2007; Markus Rothe claws-mail-2.6.1.ebuild:
Stable on ppc64; bug #163611

29 Jan 2007; Andrej Kacian claws-mail-2.6.1.ebuild,
claws-mail-2.7.0.ebuild, claws-mail-2.7.1.ebuild, claws-mail-2.7.2.ebuild:
Install a desktop entry.

29 Jan 2007; Jason Wever claws-mail-2.6.1.ebuild:
Stable on SPARC wrt bug #163611.

*claws-mail-2.7.2 (26 Jan 2007)

26 Jan 2007; Andrej Kacian +claws-mail-2.7.2.ebuild:
Version bump.

25 Jan 2007; Christian Faulhammer
claws-mail-2.6.1.ebuild:
stable x86; bug #163611

16 Jan 2007; Roy Marples claws-mail-2.7.1.ebuild:
Added ~x86-fbsd keyword.

*claws-mail-2.7.1 (15 Jan 2007)

15 Jan 2007; Andrej Kacian +claws-mail-2.7.1.ebuild:
Version bump.

*claws-mail-2.7.0 (09 Jan 2007)

09 Jan 2007; Andrej Kacian +claws-mail-2.7.0.ebuild:
Version bump. Bug #160871.

26 Dec 2006; Andrej Kacian claws-mail-2.6.1.ebuild:
Fix installing KDE service menu script. Closes bug #159076, reported by
Jeroen Roovers .

19 Dec 2006; Andrej Kacian files/plugins-rebuild.sh:
Remove old plugins before merging new to prevent collision-protect issues.
Also, do not merge new plugins again after merging them in place of old
ones.

*claws-mail-2.6.1 (08 Dec 2006)

08 Dec 2006; Marius Mauch
+claws-mail-2.6.1.ebuild, +files/plugins-rebuild.sh:
This is the new name of mail-client/sylpheed-claws.
General overhaul of the ebuild, check for plugins with
old names and inform users to install the new versions.

Manifest

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

AUX plugins-rebuild.sh 1367 RMD160 af49058972a932a5e8dddbe30e24ead56f14ce97 SHA1 4ae22ca11b8b3c4200b5a4b997157611d50dac0b SHA256 bea620d685a40ceb68cd5316b4cf7ff684afb94c305a45549e814a16daa18da1
DIST claws-mail-3.4.0.tar.bz2 5999033 RMD160 5c1d3a5ca95b5d61948791170ac547ead764a27f SHA1 67cf9bc9b9fe917fb4c2b895e6bc9291e5e6497c SHA256 1934bf2c55216e350228d8ba5000426a1a6f1320ce04b2b82916a184729d9ce8
DIST claws-mail-3.5.0.tar.bz2 4819732 RMD160 837220a2665c0a395d25bbdab64af8903e578d1d SHA1 1833106a3a365a16a8f1b83362da36ef32edd6fb SHA256 51ea44e171ffa009884ecdddb68d9fed086d9afbc546cc303e8462de89a8abfa
EBUILD claws-mail-3.4.0.ebuild 5516 RMD160 0af3305556509d4ebcd9eb9bc668eec82c69a84b SHA1 b21077fe7a4b47907edc08b0484733a4c6852112 SHA256 2c644e6e9694d2851ec84b51edcee4baea40b8fe73fb99e70e52d84eacd27006
EBUILD claws-mail-3.5.0.ebuild 5493 RMD160 50d48f9c2f6068cd74d77645fe3ce08e7b48006a SHA1 96acd9e5eebd49e7e21c84921d38dfddf1ffeac9 SHA256 e837f88e44d3d99e81a2138ef6ae5235e4cede7d01e27ec81ffc565d00be7ad9
MISC ChangeLog 14349 RMD160 490002fa48d718ecfac0fae591c0f7e2cb0c3e5e SHA1 f513d53b0ecfe95f8a3e2885fd1382f55686ae1d SHA256 d9f3b9969cd6c2bad37253e67f9e1ba434dddd59e1180082ceb722ecf703e8ab
MISC metadata.xml 688 RMD160 36520b4465980844eb224b67111f3175109b426f SHA1 c5e2c88128f3f44f04e4a5a72dd9aeaae12c190e SHA256 4928019f87c80386877ba674f02551de489f6559936527a238a0c8127ad87d80
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)

iEYEARECAAYFAkivacMACgkQoeSe8B0zEfxMnQCfUw2vyCCVUk4g7zB4pQboU9kH
eYoAn3fhPdi9kmMZTjkUkcLpbkcSCCDK
=Jhxh
-----END PGP SIGNATURE-----

claws-mail-3.4.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.4.0.ebuild,v 1.7 2008/06/14 19:23:47 ken69267 Exp $

inherit eutils multilib

DESCRIPTION="An email client (and news reader) based on GTK+"
HOMEPAGE="http://www.claws-mail.org/"

SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-3"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="bogofilter crypt dillo doc gnome gnutls imap ipv6 kde ldap nntp pda session spamassassin spell ssl startup-notification xface"

COMMONDEPEND=">=x11-libs/gtk+-2.6
pda? ( >=app-pda/jpilot-0.99 )
ssl? ( >=dev-libs/openssl-0.9.7 )
ldap? ( >=net-nds/openldap-2.0.7 )
crypt? ( >=app-crypt/gpgme-1.1.1 )
dillo? ( www-client/dillo )
spell? ( virtual/aspell-dict )
kde? ( kde-base/kdelibs )
imap? ( >=net-libs/libetpan-0.49 )
nntp? ( >=net-libs/libetpan-0.49 )
gnome? ( >=gnome-base/libgnomeprintui-2.2 )
gnutls? ( net-libs/gnutls )
startup-notification? ( x11-libs/startup-notification )
bogofilter? ( mail-filter/bogofilter )
session? ( x11-libs/libSM
x11-libs/libICE )"

DEPEND="${COMMONDEPEND}
xface? ( >=media-libs/compface-1.4 )
>=sys-apps/sed-4
dev-util/pkgconfig"

RDEPEND="${COMMONDEPEND}
app-misc/mime-types
x11-misc/shared-mime-info"

PLUGIN_NAMES="acpi-notifier att-remover attachwarner cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification pdf-viewer perl rssyl smime synce vcalendar"

src_compile() {
local myconf="--disable-libetpan"

# libetpan is needed if user wants nntp or imap functionality
# TODO: Perhaps change it into a single "libetpan" USE flag?
use imap && myconf="--enable-libetpan"
use nntp && myconf="--enable-libetpan"

# Optional features
myconf="${myconf} `use_enable gnome gnomeprint`"
myconf="${myconf} `use_enable ipv6`"
myconf="${myconf} `use_enable ldap`"
myconf="${myconf} `use_enable pda jpilot`"
myconf="${myconf} `use_enable spell aspell`"
myconf="${myconf} `use_enable gnutls`"
myconf="${myconf} `use_enable ssl openssl`"
myconf="${myconf} `use_enable xface compface`"
myconf="${myconf} `use_enable doc manual`"
myconf="${myconf} `use_enable startup-notification`"
myconf="${myconf} `use_enable session libsm`"

# Optional plugins
myconf="${myconf} `use_enable crypt pgpmime-plugin`"
myconf="${myconf} `use_enable crypt pgpinline-plugin`"
myconf="${myconf} `use_enable crypt pgpcore-plugin`"
myconf="${myconf} `use_enable dillo dillo-viewer-plugin`"
myconf="${myconf} `use_enable spamassassin spamassassin-plugin`"
myconf="${myconf} `use_enable bogofilter bogofilter-plugin`"

econf \
--enable-trayicon-plugin \
--disable-maemo \
${myconf} || die "./configure failed"

emake || die
}

src_install() {
emake DESTDIR="${D}" install || die

# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
# => also install it in /usr/share/pixmaps for other desktop envs
# => also install higher resolution icons in /usr/share/icons/hicolor/...
insinto /usr/share/pixmaps
doins ${PN}.png || die
local res resdir
for res in 64x64 128x128 ; do
resdir="/usr/share/icons/hicolor/${res}/apps"
insinto ${resdir}
newins ${PN}-${res}.png ${PN}.png || die
done

dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO*
docinto tools
dodoc tools/README*

insinto /usr/share/applications
doins ${PN}.desktop

einfo "Installing extra tools"
cd "${S}"/tools
exeinto /usr/$(get_libdir)/${PN}/tools
doexe *.pl *.py *.conf *.sh || die
doexe tb2claws-mail update-po uudec uuooffice || die

if use kde; then
einfo "Installing kde service scripts"
local kdeprefix="$(kde-config --prefix)"
local servicescript="${PN}-kdeservicemenu.pl"
local desktopfile="${PN}-attach-files.desktop"
cd "${S}"/tools/kdeservicemenu
sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \
${desktopfile}.template
dodir /usr/share/apps/konqueror/servicemenus
insopts -m 0644
insinto /usr/share/apps/konqueror/servicemenus
newins ${desktopfile}.template ${desktopfile} || die
dodir ${kdeprefix}/bin
insopts -m 755
exeinto ${kdeprefix}/bin
doexe ${servicescript} || die
fi

# kill useless plugin files
rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
}

pkg_postinst() {
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor

UPDATE_PLUGINS=""
RENAME_PLUGINS=""
for x in ${PLUGIN_NAMES}; do
has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
has_version mail-client/sylpheed-claws-$x && RENAME_PLUGINS="${RENAME_PLUGINS} $x"
done
if [ -n "${RENAME_PLUGINS}" ]; then
elog
elog "The following sylpheed-claws plugins were found on your system:"
elog
for x in ${RENAME_PLUGINS}; do
elog " mail-client/sylpheed-claws-$x"
done
elog
elog "If you want to continue using those you need to merge their "
elog "renamed counterparts:"
elog
for x in ${RENAME_PLUGINS}; do
elog " mail-client/${PN}-$x"
done
elog
fi
if [ -n "${UPDATE_PLUGINS}" ]; then
elog
elog "You have to re-emerge or update the following plugins:"
elog
for x in ${UPDATE_PLUGINS}; do
elog " mail-client/${PN}-$x"
done
elog
fi
if [ -n "${RENAME_PLUGINS}${UPDATE_PLUGINS}" ]; then
elog
elog "You can use"
elog " /bin/bash ${FILESDIR}/plugins-rebuild.sh"
elog "to automatically handle this."
elog
epause 5
ebeep 3
fi
}

pkg_postrm() {
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
}

claws-mail-3.5.0.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.5.0.ebuild,v 1.7 2008/08/08 19:19:55 corsair Exp $

inherit eutils multilib

DESCRIPTION="An email client (and news reader) based on GTK+"
HOMEPAGE="http://www.claws-mail.org/"

SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-3"
KEYWORDS="alpha amd64 hppa ppc ppc64 sparc x86 ~x86-fbsd"
IUSE="bogofilter crypt dillo doc gnome gnutls imap ipv6 kde ldap nntp pda session spamassassin spell ssl startup-notification xface"

COMMONDEPEND=">=x11-libs/gtk+-2.6
pda? ( >=app-pda/jpilot-0.99 )
ssl? ( >=dev-libs/openssl-0.9.7 )
ldap? ( >=net-nds/openldap-2.0.7 )
crypt? ( >=app-crypt/gpgme-1.1.1 )
dillo? ( www-client/dillo )
spell? ( virtual/aspell-dict )
kde? ( kde-base/kdelibs )
imap? ( >=net-libs/libetpan-0.49 )
nntp? ( >=net-libs/libetpan-0.49 )
gnome? ( >=gnome-base/libgnomeprintui-2.2 )
gnutls? ( net-libs/gnutls )
startup-notification? ( x11-libs/startup-notification )
bogofilter? ( mail-filter/bogofilter )
session? ( x11-libs/libSM
x11-libs/libICE )"

DEPEND="${COMMONDEPEND}
xface? ( >=media-libs/compface-1.4 )
dev-util/pkgconfig"

RDEPEND="${COMMONDEPEND}
app-misc/mime-types
x11-misc/shared-mime-info"

PLUGIN_NAMES="acpi-notifier att-remover attachwarner cachesaver etpan-privacy fetchinfo gtkhtml maildir mailmbox newmail notification pdf-viewer perl rssyl smime synce vcalendar"

src_compile() {
local myconf="--disable-libetpan"

# libetpan is needed if user wants nntp or imap functionality
# TODO: Perhaps change it into a single "libetpan" USE flag?
use imap && myconf="--enable-libetpan"
use nntp && myconf="--enable-libetpan"

# Optional features
myconf="${myconf} $(use_enable gnome gnomeprint)"
myconf="${myconf} $(use_enable ipv6)"
myconf="${myconf} $(use_enable ldap)"
myconf="${myconf} $(use_enable pda jpilot)"
myconf="${myconf} $(use_enable spell aspell)"
myconf="${myconf} $(use_enable gnutls)"
myconf="${myconf} $(use_enable ssl openssl)"
myconf="${myconf} $(use_enable xface compface)"
myconf="${myconf} $(use_enable doc manual)"
myconf="${myconf} $(use_enable startup-notification)"
myconf="${myconf} $(use_enable session libsm)"

# Optional plugins
myconf="${myconf} $(use_enable crypt pgpmime-plugin)"
myconf="${myconf} $(use_enable crypt pgpinline-plugin)"
myconf="${myconf} $(use_enable crypt pgpcore-plugin)"
myconf="${myconf} $(use_enable dillo dillo-viewer-plugin)"
myconf="${myconf} $(use_enable spamassassin spamassassin-plugin)"
myconf="${myconf} $(use_enable bogofilter bogofilter-plugin)"

econf \
--enable-trayicon-plugin \
--disable-maemo \
${myconf} || die

emake || die
}

src_install() {
emake DESTDIR="${D}" install || die

# Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
# => also install it in /usr/share/pixmaps for other desktop envs
# => also install higher resolution icons in /usr/share/icons/hicolor/...
insinto /usr/share/pixmaps
doins ${PN}.png || die
local res resdir
for res in 64x64 128x128 ; do
resdir="/usr/share/icons/hicolor/${res}/apps"
insinto ${resdir}
newins ${PN}-${res}.png ${PN}.png || die
done

dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO*
docinto tools
dodoc tools/README*

insinto /usr/share/applications
doins ${PN}.desktop

einfo "Installing extra tools"
cd "${S}"/tools
exeinto /usr/$(get_libdir)/${PN}/tools
doexe *.pl *.py *.conf *.sh || die
doexe tb2claws-mail update-po uudec uuooffice || die

if use kde; then
einfo "Installing kde service scripts"
local kdeprefix="$(kde-config --prefix)"
local servicescript="${PN}-kdeservicemenu.pl"
local desktopfile="${PN}-attach-files.desktop"
cd "${S}"/tools/kdeservicemenu
sed -i -e "s:SCRIPT_PATH:${kdeprefix}/bin/${servicescript}:g" \
${desktopfile}.template
dodir /usr/share/apps/konqueror/servicemenus
insopts -m 0644
insinto /usr/share/apps/konqueror/servicemenus
newins ${desktopfile}.template ${desktopfile} || die
dodir ${kdeprefix}/bin
insopts -m 755
exeinto ${kdeprefix}/bin
doexe ${servicescript} || die
fi

# kill useless plugin files
rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
}

pkg_postinst() {
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor

UPDATE_PLUGINS=""
RENAME_PLUGINS=""
for x in ${PLUGIN_NAMES}; do
has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
has_version mail-client/sylpheed-claws-$x && RENAME_PLUGINS="${RENAME_PLUGINS} $x"
done
if [ -n "${RENAME_PLUGINS}" ]; then
elog
elog "The following sylpheed-claws plugins were found on your system:"
elog
for x in ${RENAME_PLUGINS}; do
elog " mail-client/sylpheed-claws-$x"
done
elog
elog "If you want to continue using those you need to merge their "
elog "renamed counterparts:"
elog
for x in ${RENAME_PLUGINS}; do
elog " mail-client/${PN}-$x"
done
elog
fi
if [ -n "${UPDATE_PLUGINS}" ]; then
elog
elog "You have to re-emerge or update the following plugins:"
elog
for x in ${UPDATE_PLUGINS}; do
elog " mail-client/${PN}-$x"
done
elog
fi
if [ -n "${RENAME_PLUGINS}${UPDATE_PLUGINS}" ]; then
elog
elog "You can use"
elog " /bin/bash ${FILESDIR}/plugins-rebuild.sh"
elog "to automatically handle this."
elog
epause 5
ebeep 3
fi
}

pkg_postrm() {
gtk-update-icon-cache -f -t "${ROOT}"/usr/share/icons/hicolor
}

files

metadata.xml




net-mail

opfer@gentoo.org
Christian Faulhammer


ken69267
Kenneth Prugh


Build mail-filter/bogofilter
plugin

Enables support for inline HTTP email viewing with a
plugin (which depends on the www-client/dillo
browser)

Build mail-filter/spamassassin
plugin