Gentoo Archives: gentoo-commits

From: "Christian Faulhammer (fauli)" <fauli@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail: ChangeLog claws-mail-3.7.10.ebuild
Date: Tue, 30 Aug 2011 09:24:25
Message-Id: 20110830092414.0665B2004C@flycatcher.gentoo.org
1 fauli 11/08/30 09:24:14
2
3 Modified: ChangeLog
4 Added: claws-mail-3.7.10.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.1.10.11/cvs/Linux i686)
9
10 Revision Changes Path
11 1.184 mail-client/claws-mail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.184&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.184&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?r1=1.183&r2=1.184
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v
20 retrieving revision 1.183
21 retrieving revision 1.184
22 diff -u -r1.183 -r1.184
23 --- ChangeLog 31 Jul 2011 10:33:50 -0000 1.183
24 +++ ChangeLog 30 Aug 2011 09:24:13 -0000 1.184
25 @@ -1,6 +1,12 @@
26 # ChangeLog for mail-client/claws-mail
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.183 2011/07/31 10:33:50 fauli Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.184 2011/08/30 09:24:13 fauli Exp $
30 +
31 +*claws-mail-3.7.10 (30 Aug 2011)
32 +
33 + 30 Aug 2011; Christian Faulhammer <fauli@g.o>
34 + +claws-mail-3.7.10.ebuild:
35 + version bump
36
37 31 Jul 2011; Christian Faulhammer <fauli@g.o>
38 -claws-mail-3.7.8.ebuild, -claws-mail-3.7.9.ebuild:
39
40
41
42 1.1 mail-client/claws-mail/claws-mail-3.7.10.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.10.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.10.ebuild?rev=1.1&content-type=text/plain
46
47 Index: claws-mail-3.7.10.ebuild
48 ===================================================================
49 # Copyright 1999-2011 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.7.10.ebuild,v 1.1 2011/08/30 09:24:13 fauli Exp $
52
53 EAPI="4"
54
55 inherit multilib gnome2-utils
56
57 DESCRIPTION="An email client (and news reader) based on GTK+"
58 HOMEPAGE="http://www.claws-mail.org/"
59
60 SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"
61
62 SLOT="0"
63 LICENSE="GPL-3"
64 KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="bogofilter crypt dbus dillo doc +gnutls +imap ipv6 ldap nntp pda session smime spamassassin spell ssl startup-notification xface"
66
67 COMMONDEPEND=">=x11-libs/gtk+-2.6:2
68 pda? ( >=app-pda/jpilot-0.99 )
69 ssl? ( >=net-libs/gnutls-2.0.3 )
70 ldap? ( >=net-nds/openldap-2.0.7 )
71 crypt? ( >=app-crypt/gpgme-0.4.5 )
72 dbus? ( >=dev-libs/dbus-glib-0.60 )
73 dillo? ( www-client/dillo )
74 spell? ( >=app-text/enchant-1.0.0 )
75 imap? ( >=net-libs/libetpan-0.57 )
76 nntp? ( >=net-libs/libetpan-0.57 )
77 gnutls? ( >=net-libs/gnutls-2.0.3 )
78 startup-notification? ( x11-libs/startup-notification )
79 bogofilter? ( mail-filter/bogofilter )
80 session? ( x11-libs/libSM
81 x11-libs/libICE )
82 smime? ( >=app-crypt/gpgme-0.4.5 )"
83
84 DEPEND="${COMMONDEPEND}
85 xface? ( >=media-libs/compface-1.4 )
86 dev-util/pkgconfig"
87
88 RDEPEND="${COMMONDEPEND}
89 app-misc/mime-types
90 x11-misc/shared-mime-info"
91
92 PLUGIN_NAMES="acpi-notifier address_keeper archive att-remover attachwarner clamd fancy fetchinfo gtkhtml mailmbox newmail notification perl python rssyl spam_report tnef_parse vcalendar"
93
94 src_configure() {
95 local myconf
96 # libetpan is needed if user wants nntp or imap functionality
97 if use imap || use nntp; then
98 myconf="--enable-libetpan"
99 else
100 myconf="--disable-libetpan"
101 fi
102
103 # The usage of openssl was discarded once and USE=ssl is mapped to
104 # USE=gnutls now. Maybe USE=ssl can fade out sometime
105 if use ssl || use gnutls; then
106 myconf="${myconf} --enable-gnutls"
107 else
108 myconf="${myconf} --disable-gnutls"
109 fi
110
111 econf \
112 $(use_enable ipv6) \
113 $(use_enable ldap) \
114 $(use_enable dbus) \
115 $(use_enable pda jpilot) \
116 $(use_enable spell enchant) \
117 $(use_enable xface compface) \
118 $(use_enable doc manual) \
119 $(use_enable startup-notification) \
120 $(use_enable session libsm) \
121 $(use_enable crypt pgpmime-plugin) \
122 $(use_enable crypt pgpinline-plugin) \
123 $(use_enable crypt pgpcore-plugin) \
124 $(use_enable dillo dillo-viewer-plugin) \
125 $(use_enable spamassassin spamassassin-plugin) \
126 $(use_enable bogofilter bogofilter-plugin) \
127 $(use_enable smime smime-plugin) \
128 --docdir=/usr/share/doc/${PF} \
129 --enable-trayicon-plugin \
130 --disable-maemo ${myconf}
131 }
132
133 src_install() {
134 emake DESTDIR="${D}" install || die
135
136 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
137 # => also install it in /usr/share/pixmaps for other desktop envs
138 # => also install higher resolution icons in /usr/share/icons/hicolor/...
139 insinto /usr/share/pixmaps
140 doins ${PN}.png || die
141 local res resdir
142 for res in 64x64 128x128 ; do
143 resdir="/usr/share/icons/hicolor/${res}/apps"
144 insinto ${resdir}
145 newins ${PN}-${res}.png ${PN}.png || die
146 done
147
148 dodoc AUTHORS ChangeLog* INSTALL* NEWS README* TODO*
149 docinto tools
150 dodoc tools/README*
151
152 insinto /usr/share/applications
153 doins ${PN}.desktop
154
155 einfo "Installing extra tools"
156 cd "${S}"/tools
157 exeinto /usr/$(get_libdir)/${PN}/tools
158 doexe *.pl *.py *.conf *.sh || die
159 doexe tb2claws-mail update-po uudec uuooffice || die
160
161 # kill useless plugin files
162 rm -f "${D}"/usr/lib*/${PN}/plugins/*.{la,a}
163 }
164
165 pkg_preinst() {
166 gnome2_icon_savelist
167 }
168
169 pkg_postinst() {
170 gnome2_icon_cache_update
171
172 UPDATE_PLUGINS=""
173 for x in ${PLUGIN_NAMES}; do
174 has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
175 done
176 if [ -n "${UPDATE_PLUGINS}" ]; then
177 elog
178 elog "You have to re-emerge or update the following plugins:"
179 elog
180 for x in ${UPDATE_PLUGINS}; do
181 elog " mail-client/${PN}-$x"
182 done
183 elog
184 fi
185 }
186
187 pkg_postrm() {
188 gnome2_icon_cache_update
189 }