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.8.1.ebuild
Date: Sat, 30 Jun 2012 15:23:35
Message-Id: 20120630152326.4F73C2004B@flycatcher.gentoo.org
1 fauli 12/06/30 15:23:26
2
3 Modified: ChangeLog
4 Added: claws-mail-3.8.1.ebuild
5 Log:
6 Version bump, mainly bug fixes
7
8 (Portage version: 2.1.10.65/cvs/Linux i686)
9
10 Revision Changes Path
11 1.205 mail-client/claws-mail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.205&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.205&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?r1=1.204&r2=1.205
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v
20 retrieving revision 1.204
21 retrieving revision 1.205
22 diff -u -r1.204 -r1.205
23 --- ChangeLog 30 May 2012 12:42:58 -0000 1.204
24 +++ ChangeLog 30 Jun 2012 15:23:26 -0000 1.205
25 @@ -1,6 +1,12 @@
26 # ChangeLog for mail-client/claws-mail
27 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.204 2012/05/30 12:42:58 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.205 2012/06/30 15:23:26 fauli Exp $
30 +
31 +*claws-mail-3.8.1 (30 Jun 2012)
32 +
33 + 30 Jun 2012; Christian Faulhammer <fauli@g.o>
34 + +claws-mail-3.8.1.ebuild:
35 + Version bump, mainly bug fixes
36
37 30 May 2012; Anthony G. Basile <blueness@g.o> claws-mail-3.8.0.ebuild:
38 Keyword ~mips
39
40
41
42 1.1 mail-client/claws-mail/claws-mail-3.8.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.8.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.8.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: claws-mail-3.8.1.ebuild
48 ===================================================================
49 # Copyright 1999-2012 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.8.1.ebuild,v 1.1 2012/06/30 15:23:26 fauli Exp $
52
53 EAPI="4"
54
55 inherit autotools-utils 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 ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
65 IUSE="bogofilter crypt dbus dillo doc +imap ipv6 ldap nntp pda session smime spamassassin spell +ssl startup-notification xface"
66
67 COMMONDEPEND=">=x11-libs/gtk+-2.20:2
68 pda? ( >=app-pda/jpilot-0.99 )
69 ssl? ( >=net-libs/gnutls-2.2.0 )
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 startup-notification? ( x11-libs/startup-notification )
78 bogofilter? ( mail-filter/bogofilter )
79 session? ( x11-libs/libSM
80 x11-libs/libICE )
81 smime? ( >=app-crypt/gpgme-0.4.5 )"
82
83 DEPEND="${COMMONDEPEND}
84 xface? ( >=media-libs/compface-1.4 )
85 virtual/pkgconfig"
86
87 RDEPEND="${COMMONDEPEND}
88 app-misc/mime-types
89 x11-misc/shared-mime-info"
90
91 PLUGIN_NAMES="acpi-notifier address_keeper archive att-remover attachwarner clamd fancy fetchinfo geolocation gdata gtkhtml mailmbox newmail notification perl python rssyl spam_report tnef_parse vcalendar"
92
93 src_configure() {
94 local myeconfargs=(
95 $(use_enable ipv6)
96 $(use_enable ldap)
97 $(use_enable dbus)
98 $(use_enable pda jpilot)
99 $(use_enable spell enchant)
100 $(use_enable xface compface)
101 $(use_enable doc manual)
102 $(use_enable startup-notification)
103 $(use_enable session libsm)
104 $(use_enable crypt pgpmime-plugin)
105 $(use_enable crypt pgpinline-plugin)
106 $(use_enable crypt pgpcore-plugin)
107 $(use_enable dillo dillo-viewer-plugin)
108 $(use_enable spamassassin spamassassin-plugin)
109 $(use_enable bogofilter bogofilter-plugin)
110 $(use_enable smime smime-plugin)
111 --enable-trayicon-plugin
112 --disable-maemo
113 )
114
115 # libetpan is needed if user wants nntp or imap functionality
116 if use imap || use nntp; then
117 myeconfargs+=( --enable-libetpan )
118 else
119 myeconfargs+=( --disable-libetpan )
120 fi
121
122 if use ssl; then
123 myeconfargs+=( --enable-gnutls )
124 else
125 myeconfargs+=( --disable-gnutls )
126 fi
127
128 autotools-utils_src_configure
129 }
130
131 src_install() {
132 local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
133 autotools-utils_src_install
134
135 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
136 # => also install it in /usr/share/pixmaps for other desktop envs
137 # => also install higher resolution icons in /usr/share/icons/hicolor/...
138 insinto /usr/share/pixmaps
139 doins ${PN}.png || die
140 local res resdir
141 for res in 64x64 128x128 ; do
142 resdir="/usr/share/icons/hicolor/${res}/apps"
143 insinto ${resdir}
144 newins ${PN}-${res}.png ${PN}.png || die
145 done
146
147 docinto tools
148 dodoc tools/README*
149
150 insinto /usr/share/applications
151 doins ${PN}.desktop
152
153 einfo "Installing extra tools"
154 cd "${S}"/tools
155 exeinto /usr/$(get_libdir)/${PN}/tools
156 doexe *.pl *.py *.conf *.sh || die
157 doexe tb2claws-mail update-po uudec uuooffice || die
158 }
159
160 pkg_preinst() {
161 gnome2_icon_savelist
162 }
163
164 pkg_postinst() {
165 gnome2_icon_cache_update
166
167 UPDATE_PLUGINS=""
168 for x in ${PLUGIN_NAMES}; do
169 has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
170 done
171 if [ -n "${UPDATE_PLUGINS}" ]; then
172 elog
173 elog "You have to re-emerge or update the following plugins:"
174 elog
175 for x in ${UPDATE_PLUGINS}; do
176 elog " mail-client/${PN}-$x"
177 done
178 elog
179 fi
180 }
181
182 pkg_postrm() {
183 gnome2_icon_cache_update
184 }