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-r3.ebuild
Date: Sun, 04 Nov 2012 16:40:57
Message-Id: 20121104164039.4ADEB215F3@flycatcher.gentoo.org
1 fauli 12/11/04 16:40:39
2
3 Modified: ChangeLog
4 Added: claws-mail-3.8.1-r3.ebuild
5 Log:
6 add patch for bug 440898 by John Brendler, valuable input from Duncan and others
7
8 (Portage version: 2.1.11.9/cvs/Linux i686)
9
10 Revision Changes Path
11 1.216 mail-client/claws-mail/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.216&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.216&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?r1=1.215&r2=1.216
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v
20 retrieving revision 1.215
21 retrieving revision 1.216
22 diff -u -r1.215 -r1.216
23 --- ChangeLog 31 Oct 2012 18:30:40 -0000 1.215
24 +++ ChangeLog 4 Nov 2012 16:40:39 -0000 1.216
25 @@ -1,6 +1,13 @@
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.215 2012/10/31 18:30:40 nativemad Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.216 2012/11/04 16:40:39 fauli Exp $
30 +
31 +*claws-mail-3.8.1-r3 (04 Nov 2012)
32 +
33 + 04 Nov 2012; Christian Faulhammer <fauli@g.o>
34 + +claws-mail-3.8.1-r3.ebuild, +files/claws-mail-3.8.1_fix-gnutls-3.1.3.patch:
35 + add patch for bug 440898 by John Brendler, valuable input from Duncan and
36 + others
37
38 31 Oct 2012; Andreas Schuerch <nativemad@g.o>
39 claws-mail-3.8.1-r2.ebuild:
40
41
42
43 1.1 mail-client/claws-mail/claws-mail-3.8.1-r3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.8.1-r3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.8.1-r3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: claws-mail-3.8.1-r3.ebuild
49 ===================================================================
50 # Copyright 1999-2012 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.8.1-r3.ebuild,v 1.1 2012/11/04 16:40:39 fauli Exp $
53
54 EAPI="4"
55
56 inherit autotools-utils multilib gnome2-utils eutils
57
58 DESCRIPTION="An email client (and news reader) based on GTK+"
59 HOMEPAGE="http://www.claws-mail.org/"
60
61 SRC_URI="mirror://sourceforge/sylpheed-claws/${P}.tar.bz2"
62
63 SLOT="0"
64 LICENSE="GPL-3"
65 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
66 IUSE="bogofilter crypt dbus dillo doc +imap ipv6 ldap nntp pda session smime spamassassin spell +ssl startup-notification xface"
67
68 COMMONDEPEND=">=x11-libs/gtk+-2.20:2
69 pda? ( >=app-pda/jpilot-0.99 )
70 ssl? ( >=net-libs/gnutls-2.2.0 )
71 ldap? ( >=net-nds/openldap-2.0.7 )
72 crypt? ( >=app-crypt/gpgme-0.4.5 )
73 dbus? ( >=dev-libs/dbus-glib-0.60 )
74 dillo? ( www-client/dillo )
75 spell? ( >=app-text/enchant-1.0.0 )
76 imap? ( >=net-libs/libetpan-0.57 )
77 nntp? ( >=net-libs/libetpan-0.57 )
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 virtual/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 geolocation gdata gtkhtml mailmbox newmail notification perl python rssyl spam_report tnef_parse vcalendar"
93
94 PATCHES=(
95 "${FILESDIR}"/claws-mail-${PV}_fix-signature.patch
96 "${FILESDIR}"/claws-mail-${PV}_procmime-vuln.patch
97 "${FILESDIR}"/claws-mail-${PV}_fix-gnutls-3.1.3.patch
98 )
99
100 src_configure() {
101 local myeconfargs=(
102 $(use_enable ipv6)
103 $(use_enable ldap)
104 $(use_enable dbus)
105 $(use_enable pda jpilot)
106 $(use_enable spell enchant)
107 $(use_enable xface compface)
108 $(use_enable doc manual)
109 $(use_enable startup-notification)
110 $(use_enable session libsm)
111 $(use_enable crypt pgpmime-plugin)
112 $(use_enable crypt pgpinline-plugin)
113 $(use_enable crypt pgpcore-plugin)
114 $(use_enable dillo dillo-viewer-plugin)
115 $(use_enable spamassassin spamassassin-plugin)
116 $(use_enable bogofilter bogofilter-plugin)
117 $(use_enable smime smime-plugin)
118 --enable-trayicon-plugin
119 --disable-maemo
120 )
121
122 # libetpan is needed if user wants nntp or imap functionality
123 if use imap || use nntp; then
124 myeconfargs+=( --enable-libetpan )
125 else
126 myeconfargs+=( --disable-libetpan )
127 fi
128
129 if use ssl; then
130 myeconfargs+=( --enable-gnutls )
131 else
132 myeconfargs+=( --disable-gnutls )
133 fi
134
135 autotools-utils_src_configure
136 }
137
138 src_install() {
139 local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
140 autotools-utils_src_install
141
142 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
143 # => also install it in /usr/share/pixmaps for other desktop envs
144 # => also install higher resolution icons in /usr/share/icons/hicolor/...
145 insinto /usr/share/pixmaps
146 doins ${PN}.png || die
147 local res resdir
148 for res in 64x64 128x128 ; do
149 resdir="/usr/share/icons/hicolor/${res}/apps"
150 insinto ${resdir}
151 newins ${PN}-${res}.png ${PN}.png || die
152 done
153
154 docinto tools
155 dodoc tools/README*
156
157 domenu ${PN}.desktop
158
159 einfo "Installing extra tools"
160 cd "${S}"/tools
161 exeinto /usr/$(get_libdir)/${PN}/tools
162 doexe *.pl *.py *.conf *.sh || die
163 doexe tb2claws-mail update-po uudec uuooffice || die
164 }
165
166 pkg_preinst() {
167 gnome2_icon_savelist
168 }
169
170 pkg_postinst() {
171 gnome2_icon_cache_update
172
173 UPDATE_PLUGINS=""
174 for x in ${PLUGIN_NAMES}; do
175 has_version mail-client/${PN}-$x && UPDATE_PLUGINS="${UPDATE_PLUGINS} $x"
176 done
177 if [ -n "${UPDATE_PLUGINS}" ]; then
178 elog
179 elog "You have to re-emerge or update the following plugins:"
180 elog
181 for x in ${UPDATE_PLUGINS}; do
182 elog " mail-client/${PN}-$x"
183 done
184 elog
185 fi
186 }
187
188 pkg_postrm() {
189 gnome2_icon_cache_update
190 }