Gentoo Archives: gentoo-commits

From: "Michal Gorny (mgorny)" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in mail-client/claws-mail: claws-mail-3.11.1-r1.ebuild ChangeLog claws-mail-3.11.1.ebuild
Date: Sun, 01 Mar 2015 19:05:04
Message-Id: 20150301190459.D3C0C12D31@oystercatcher.gentoo.org
1 mgorny 15/03/01 19:04:59
2
3 Modified: ChangeLog
4 Added: claws-mail-3.11.1-r1.ebuild
5 Removed: claws-mail-3.11.1.ebuild
6 Log:
7 Backport a RSS parsing fix, https://github.com/gentoo/gentoo-portage-rsync-mirror/pull/47 by cerebrum.
8
9 (Portage version: 2.2.17/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
10
11 Revision Changes Path
12 1.247 mail-client/claws-mail/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.247&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?rev=1.247&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/ChangeLog?r1=1.246&r2=1.247
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v
21 retrieving revision 1.246
22 retrieving revision 1.247
23 diff -u -r1.246 -r1.247
24 --- ChangeLog 23 Nov 2014 07:27:21 -0000 1.246
25 +++ ChangeLog 1 Mar 2015 19:04:59 -0000 1.247
26 @@ -1,6 +1,13 @@
27 # ChangeLog for mail-client/claws-mail
28 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.246 2014/11/23 07:27:21 jer Exp $
30 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
31 +# $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/ChangeLog,v 1.247 2015/03/01 19:04:59 mgorny Exp $
32 +
33 +*claws-mail-3.11.1-r1 (01 Mar 2015)
34 +
35 + 01 Mar 2015; Michał Górny <mgorny@g.o> +claws-mail-3.11.1-r1.ebuild,
36 + +files/claws-mail-3.11.1_RSSyl-encodings-fix.patch, -claws-mail-3.11.1.ebuild:
37 + Backport a RSS parsing fix, https://github.com/gentoo/gentoo-portage-rsync-
38 + mirror/pull/47 by cerebrum.
39
40 *claws-mail-3.11.1 (23 Nov 2014)
41
42
43
44
45 1.1 mail-client/claws-mail/claws-mail-3.11.1-r1.ebuild
46
47 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.11.1-r1.ebuild?rev=1.1&view=markup
48 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/mail-client/claws-mail/claws-mail-3.11.1-r1.ebuild?rev=1.1&content-type=text/plain
49
50 Index: claws-mail-3.11.1-r1.ebuild
51 ===================================================================
52 # Copyright 1999-2015 Gentoo Foundation
53 # Distributed under the terms of the GNU General Public License v2
54 # $Header: /var/cvsroot/gentoo-x86/mail-client/claws-mail/claws-mail-3.11.1-r1.ebuild,v 1.1 2015/03/01 19:04:59 mgorny Exp $
55
56 EAPI="5"
57
58 PYTHON_COMPAT=( python2_{6,7} )
59 AUTOTOOLS_AUTORECONF=yes
60
61 inherit autotools-utils multilib gnome2-utils eutils python-single-r1
62
63 DESCRIPTION="An email client (and news reader) based on GTK+"
64 HOMEPAGE="http://www.claws-mail.org/"
65
66 SRC_URI="mirror://sourceforge/${PN}/Claws%20Mail/${PV}/${P}.tar.xz"
67
68 SLOT="0"
69 LICENSE="GPL-3"
70 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
71
72 IUSE="archive bogofilter calendar clamav dbus debug doc gdata gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nntp +notification pda pdf perl +pgp python rss session smime spamassassin spam-report spell +gnutls startup-notification valgrind webkit xface"
73 REQUIRED_USE="networkmanager? ( dbus )
74 smime? ( pgp )
75 libcanberra? ( notification )
76 libindicate? ( notification )
77 libnotify? ( notification )"
78
79 # Plugins are all integrated or dropped since 3.9.1
80 PLUGINBLOCK="!!mail-client/claws-mail-acpi-notifier
81 !!mail-client/claws-mail-archive
82 !!mail-client/claws-mail-att-remover
83 !!mail-client/claws-mail-attachwarner
84 !!mail-client/claws-mail-clamd
85 !!mail-client/claws-mail-fancy
86 !!mail-client/claws-mail-fetchinfo
87 !mail-client/claws-mail-gdata
88 !!mail-client/claws-mail-geolocation
89 !!mail-client/claws-mail-gtkhtml
90 !!mail-client/claws-mail-mailmbox
91 !!mail-client/claws-mail-newmail
92 !!mail-client/claws-mail-notification
93 !!mail-client/claws-mail-perl
94 !!mail-client/claws-mail-python
95 !!mail-client/claws-mail-rssyl
96 !!mail-client/claws-mail-spam-report
97 !!mail-client/claws-mail-tnef-parse
98 !!mail-client/claws-mail-vcalendar
99 !!mail-client/claws-mail-address_keeper
100 !!mail-client/claws-mail-pdf-viewer"
101
102 COMMONDEPEND=">=sys-devel/gettext-0.12.1
103 gdata? ( >=dev-libs/libgdata-0.6.4 )
104 gtk3? ( x11-libs/gtk+:3 )
105 !gtk3? ( >=x11-libs/gtk+-2.20:2 )
106 pda? ( >=app-pda/jpilot-0.99 )
107 gnutls? ( >=net-libs/gnutls-2.2.0 )
108 ldap? ( >=net-nds/openldap-2.0.7 )
109 pgp? ( >=app-crypt/gpgme-0.4.5 )
110 valgrind? ( dev-util/valgrind )
111 dbus? ( >=dev-libs/dbus-glib-0.60 )
112 spell? ( >=app-text/enchant-1.0.0 )
113 imap? ( >=net-libs/libetpan-0.57 )
114 nntp? ( >=net-libs/libetpan-0.57 )
115 startup-notification? ( x11-libs/startup-notification )
116 session? ( x11-libs/libSM
117 x11-libs/libICE )
118 archive? ( app-arch/libarchive
119 >=net-misc/curl-7.9.7 )
120 bogofilter? ( mail-filter/bogofilter )
121 notification? (
122 libnotify? ( x11-libs/libnotify )
123 libcanberra? ( media-libs/libcanberra[gtk] )
124 libindicate? ( dev-libs/libindicate:3[gtk] )
125 dev-libs/glib
126 )
127 smime? ( >=app-crypt/gpgme-0.4.5 )
128 calendar? ( >=net-misc/curl-7.9.7 )
129 pdf? ( app-text/poppler:=[cairo] )
130 spam-report? ( >=net-misc/curl-7.9.7 )
131 webkit? ( >=net-libs/webkit-gtk-1.0:2
132 >=net-libs/libsoup-gnome-2.26:2.4 )
133 "
134
135 DEPEND="${PLUGINBLOCK}
136 ${COMMONDEPEND}
137 app-arch/xz-utils
138 xface? ( >=media-libs/compface-1.4 )
139 virtual/pkgconfig"
140
141 RDEPEND="${COMMONDEPEND}
142 pdf? ( app-text/ghostscript-gpl )
143 clamav? ( app-antivirus/clamav )
144 networkmanager? ( net-misc/networkmanager )
145 perl? ( dev-lang/perl )
146 python? ( ${PYTHON_DEPS}
147 >=dev-python/pygtk-2.10.3 )
148 rss? ( net-misc/curl
149 dev-libs/libxml2 )
150 app-misc/mime-types
151 x11-misc/shared-mime-info"
152
153 PATCHES=( "${FILESDIR}/${P}_RSSyl-encodings-fix.patch" )
154
155 src_configure() {
156 local myeconfargs=(
157 $(use_enable debug crash-dialog)
158 $(use_enable valgrind valgrind)
159 $(use_enable doc manual)
160 $(use_enable gtk3)
161 $(use_enable ipv6)
162 $(use_enable ldap)
163 $(use_enable dbus dbus)
164 $(use_enable networkmanager)
165 $(use_enable pda jpilot)
166 $(use_enable session libsm)
167 $(use_enable spell enchant)
168 $(use_enable gnutls)
169 $(use_enable startup-notification)
170 $(use_enable xface compface)
171 $(use_enable archive archive-plugin)
172 $(use_enable bogofilter bogofilter-plugin)
173 $(use_enable calendar vcalendar-plugin)
174 $(use_enable clamav clamd-plugin)
175 $(use_enable gdata gdata-plugin)
176 $(use_enable notification notification-plugin)
177 $(use_enable pdf pdf_viewer-plugin)
178 $(use_enable perl perl-plugin)
179 $(use_enable pgp pgpmime-plugin)
180 $(use_enable pgp pgpinline-plugin)
181 $(use_enable pgp pgpcore-plugin)
182 $(use_enable python python-plugin)
183 $(use_enable rss rssyl-plugin)
184 $(use_enable spamassassin spamassassin-plugin)
185 $(use_enable smime smime-plugin)
186 $(use_enable spam-report spam_report-plugin)
187 $(use_enable webkit fancy-plugin)
188 --enable-new-addrbook
189 --enable-nls
190 --enable-acpi_notifier-plugin
191 --enable-address_keeper-plugin
192 --enable-att_remover-plugin
193 --enable-attachwarner-plugin
194 --enable-fetchinfo-plugin
195 --enable-mailmbox-plugin
196 --enable-newmail-plugin
197 --enable-tnef_parse-plugin
198 --disable-generic-umpc
199 --disable-bsfilter-plugin
200 --disable-geolocation-plugin
201 )
202
203 # libetpan is needed if user wants nntp or imap functionality
204 if use imap || use nntp; then
205 myeconfargs+=( --enable-libetpan )
206 else
207 myeconfargs+=( --disable-libetpan )
208 fi
209
210 autotools-utils_src_configure
211 }
212
213 src_install() {
214 local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
215 autotools-utils_src_install
216
217 # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
218 # => also install it in /usr/share/pixmaps for other desktop envs
219 # => also install higher resolution icons in /usr/share/icons/hicolor/...
220 insinto /usr/share/pixmaps
221 doins ${PN}.png || die
222 local res resdir
223 for res in 64x64 128x128 ; do
224 resdir="/usr/share/icons/hicolor/${res}/apps"
225 insinto ${resdir}
226 newins ${PN}-${res}.png ${PN}.png || die
227 done
228
229 docinto tools
230 dodoc tools/README*
231
232 domenu ${PN}.desktop
233
234 einfo "Installing extra tools"
235 cd "${S}"/tools
236 exeinto /usr/$(get_libdir)/${PN}/tools
237 doexe *.pl *.py *.conf *.sh || die
238 doexe tb2claws-mail update-po uudec uuooffice || die
239
240 # kill useless files
241 rm -f "${D}"/usr/lib*/claws-mail/plugins/*.{a,la}
242 }
243
244 pkg_preinst() {
245 gnome2_icon_savelist
246 }
247
248 pkg_postinst() {
249 ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
250 ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
251 ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
252 ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
253 gnome2_icon_cache_update
254 }
255
256 pkg_postrm() {
257 gnome2_icon_cache_update
258 }