Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/claws-mail/
Date: Wed, 30 Aug 2017 09:39:06
Message-Id: 1504084382.149d5c8df52c31f5b88b1077871408a214f02274.polynomial-c@gentoo
1 commit: 149d5c8df52c31f5b88b1077871408a214f02274
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 30 09:13:02 2017 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 30 09:13:02 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=149d5c8d
7
8 mail-client/claws-mail: Bump to version 3.15.1
9
10 Package-Manager: Portage-2.3.8, Repoman-2.3.3
11
12 mail-client/claws-mail/Manifest | 1 +
13 mail-client/claws-mail/claws-mail-3.15.1.ebuild | 205 ++++++++++++++++++++++++
14 2 files changed, 206 insertions(+)
15
16 diff --git a/mail-client/claws-mail/Manifest b/mail-client/claws-mail/Manifest
17 index 60c7a14a709..1a61f452ef5 100644
18 --- a/mail-client/claws-mail/Manifest
19 +++ b/mail-client/claws-mail/Manifest
20 @@ -1,3 +1,4 @@
21 DIST claws-mail-3.13.2.tar.xz 5582600 SHA256 6a731052814b3284abeca1662d47817a86e018bc7123ab428f015f0cfab40ad1 SHA512 7356a4286fc76e215746de846f412e80b4d21c3be90ac8edd7719be2874569f953ce5c094e4a20b0c467db994d710135fc14bcb01f8fb4e947bf7d1666261ea3 WHIRLPOOL ec64d157fffd7be2849c92209cf3a5cc29935fa60a9061577c1b0bbcdac28b51f800c731ebf5f9598bc34f56ee9815adddfb5691f5faa81c92252bd182ab5120
22 DIST claws-mail-3.14.1.tar.xz 5812444 SHA256 b79a1dc04f0b3d1f693e84d7fa7282f140fb5280179281445a8b954ce423c335 SHA512 ee1653ebd14b8aee76e97ce81ec203e0beeea7074eba0aa34c69bceb0a80135cdb16e508009cb479047d5112abd7eaa4bdb7e46722f33a88419fb24eeb75ac30 WHIRLPOOL ae5f6296f6f56c7dd8683efa68f3d688d806a5f5da576147ad4e685d16def294c6a5f2e1bca18e137995bed2dffad1e2fd2fcfb990a96d68950eb38c96640e13
23 DIST claws-mail-3.15.0.tar.xz 5665648 SHA256 4e4d2d0d43f8ae3d4623408612f5979e9a697ccbc12038b80dd27802e868dc2e SHA512 667cb0ea2f7c5d8e8b6046313ed7698c378f504caeeaa54348ba228317538dfc040e4ddf80f4aaa1491858a7803954e89599b1e479febe7cf1ab4bae5a638dc8 WHIRLPOOL 18c041a770a14c9f5c87d086965b302e2ced8aee8954ed6e3d7934ce011053b7dca8ee13958dc4485172344d70fc0facbf10cc7e62ea8f8feadbd12ba4980cb4
24 +DIST claws-mail-3.15.1.tar.xz 5665468 SHA256 8d093c2f32db863c1141d56e35424c04ee48fe5d6adf4c7f349f647fa3149542 SHA512 11113ab2bc75571b9a71b11ee3f7fe4773ff7b17132f29e6637aa7b7b9a7f8ed125430ee7e5ab5c9842463d776a96be150d7c8e1e3d682b955dd582a6a6ce68c WHIRLPOOL 85f96c421954f7b1e28a301dcfd074b316be2e221936d04c11552eec2897e7f46389df29bbca04f68c052f8ce971b5ff85e2882b9372d838e429724f9dee51be
25
26 diff --git a/mail-client/claws-mail/claws-mail-3.15.1.ebuild b/mail-client/claws-mail/claws-mail-3.15.1.ebuild
27 new file mode 100644
28 index 00000000000..69f04ac6397
29 --- /dev/null
30 +++ b/mail-client/claws-mail/claws-mail-3.15.1.ebuild
31 @@ -0,0 +1,205 @@
32 +# Copyright 1999-2017 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +PYTHON_COMPAT=( python2_7 )
38 +inherit autotools gnome2-utils python-single-r1 xdg-utils
39 +
40 +DESCRIPTION="An email client (and news reader) based on GTK+"
41 +HOMEPAGE="http://www.claws-mail.org/"
42 +
43 +SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz"
44 +
45 +SLOT="0"
46 +LICENSE="GPL-3"
47 +KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
48 +
49 +IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 +imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp +notification pda pdf perl +pgp python rss session sieve smime spamassassin spam-report spell startup-notification svg valgrind xface"
50 +REQUIRED_USE="libcanberra? ( notification )
51 + libindicate? ( notification )
52 + libnotify? ( notification )
53 + networkmanager? ( dbus )
54 + python? ( ${PYTHON_REQUIRED_USE} )
55 + smime? ( pgp )"
56 +
57 +COMMONDEPEND="
58 + net-mail/ytnef
59 + archive? (
60 + app-arch/libarchive
61 + >=net-misc/curl-7.9.7
62 + )
63 + bogofilter? ( mail-filter/bogofilter )
64 + calendar? (
65 + >=dev-libs/libical-2.0.0
66 + >=net-misc/curl-7.9.7
67 + )
68 + dbus? ( >=dev-libs/dbus-glib-0.60 )
69 + gdata? ( >=dev-libs/libgdata-0.17.2 )
70 + gnutls? ( >=net-libs/gnutls-3.0 )
71 + gtk3? ( x11-libs/gtk+:3 )
72 + !gtk3? ( >=x11-libs/gtk+-2.20:2 )
73 + imap? ( >=net-libs/libetpan-0.57 )
74 + ldap? ( >=net-nds/openldap-2.0.7 )
75 + nls? ( >=sys-devel/gettext-0.18 )
76 + nntp? ( >=net-libs/libetpan-0.57 )
77 + notification? (
78 + dev-libs/glib:2
79 + libcanberra? ( media-libs/libcanberra[gtk] )
80 + libindicate? ( dev-libs/libindicate:3[gtk] )
81 + libnotify? ( x11-libs/libnotify )
82 + )
83 + pda? ( >=app-pda/jpilot-0.99 )
84 + pdf? ( app-text/poppler[cairo] )
85 + pgp? ( >=app-crypt/gpgme-1.0.0 )
86 + session? (
87 + x11-libs/libICE
88 + x11-libs/libSM
89 + )
90 + smime? ( >=app-crypt/gpgme-1.0.0 )
91 + spam-report? ( >=net-misc/curl-7.9.7 )
92 + spell? ( >=app-text/enchant-1.0.0 )
93 + startup-notification? ( x11-libs/startup-notification )
94 + svg? ( >=gnome-base/librsvg-2.40.5 )
95 + valgrind? ( dev-util/valgrind )
96 +"
97 +
98 +DEPEND="${COMMONDEPEND}
99 + app-arch/xz-utils
100 + virtual/pkgconfig
101 + xface? ( >=media-libs/compface-1.4 )"
102 +
103 +RDEPEND="${COMMONDEPEND}
104 + app-misc/mime-types
105 + x11-misc/shared-mime-info
106 + clamav? ( app-antivirus/clamav )
107 + networkmanager? ( net-misc/networkmanager )
108 + pdf? ( app-text/ghostscript-gpl )
109 + perl? ( dev-lang/perl:= )
110 + python? (
111 + ${PYTHON_DEPS}
112 + >=dev-python/pygtk-2.10.3
113 + )
114 + rss? (
115 + dev-libs/libxml2
116 + net-misc/curl
117 + )"
118 +
119 +pkg_setup() {
120 + use python && python-single-r1_pkg_setup
121 +}
122 +
123 +src_prepare() {
124 + default
125 + eautoreconf
126 +}
127 +
128 +src_configure() {
129 + # Don't use libsoup-gnome (bug #565924)
130 + export HAVE_LIBSOUP_GNOME=no
131 +
132 + local myeconfargs=(
133 + --disable-bsfilter-plugin
134 + --disable-fancy-plugin
135 + --disable-generic-umpc
136 + --enable-acpi_notifier-plugin
137 + --enable-address_keeper-plugin
138 + --enable-alternate-addressbook
139 + --enable-att_remover-plugin
140 + --enable-attachwarner-plugin
141 + --enable-fetchinfo-plugin
142 + --enable-mailmbox-plugin
143 + --enable-newmail-plugin
144 + --enable-tnef_parse-plugin
145 + --with-password-encryption=$(usex gnutls gnutls old)
146 + $(use_enable archive archive-plugin)
147 + $(use_enable bogofilter bogofilter-plugin)
148 + $(use_enable calendar vcalendar-plugin)
149 + $(use_enable clamav clamd-plugin)
150 + $(use_enable dbus)
151 + $(use_enable debug crash-dialog)
152 + $(use_enable doc manual)
153 + $(use_enable gdata gdata-plugin)
154 + $(use_enable gnutls)
155 + $(use_enable gtk3)
156 + $(use_enable ipv6)
157 + $(use_enable ldap)
158 + $(use_enable networkmanager)
159 + $(use_enable nls)
160 + $(use_enable notification notification-plugin)
161 + $(use_enable pda jpilot)
162 + $(use_enable pdf pdf_viewer-plugin)
163 + $(use_enable perl perl-plugin)
164 + $(use_enable pgp pgpcore-plugin)
165 + $(use_enable pgp pgpinline-plugin)
166 + $(use_enable pgp pgpmime-plugin)
167 + $(use_enable python python-plugin)
168 + $(use_enable rss rssyl-plugin)
169 + $(use_enable session libsm)
170 + $(use_enable sieve managesieve-plugin)
171 + $(use_enable smime smime-plugin)
172 + $(use_enable spam-report spam_report-plugin)
173 + $(use_enable spamassassin spamassassin-plugin)
174 + $(use_enable spell enchant)
175 + $(use_enable startup-notification)
176 + $(use_enable svg)
177 + $(use_enable valgrind valgrind)
178 + $(use_enable xface compface)
179 + )
180 +
181 + # libetpan is needed if user wants nntp or imap functionality
182 + if use imap || use nntp ; then
183 + myeconfargs+=( --enable-libetpan )
184 + else
185 + myeconfargs+=( --disable-libetpan )
186 + fi
187 +
188 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
189 +}
190 +
191 +src_install() {
192 + local DOCS=( AUTHORS ChangeLog* INSTALL* NEWS README* TODO* )
193 + default
194 +
195 + # Makefile install claws-mail.png in /usr/share/icons/hicolor/48x48/apps
196 + # => also install it in /usr/share/pixmaps for other desktop envs
197 + # => also install higher resolution icons in /usr/share/icons/hicolor/...
198 + insinto /usr/share/pixmaps
199 + doins ${PN}.png
200 + local size
201 + for size in 64 128 ; do
202 + newicon -s ${size} ${PN}-${size}x${size}.png ${PN}.png
203 + done
204 +
205 + docinto tools
206 + dodoc tools/README*
207 +
208 + domenu ${PN}.desktop
209 +
210 + einfo "Installing extra tools"
211 + cd "${S}"/tools
212 + exeinto /usr/$(get_libdir)/${PN}/tools
213 + doexe *.pl *.py *.conf *.sh
214 + doexe tb2claws-mail update-po uudec uuooffice
215 +
216 + # kill useless files
217 + rm -f "${ED%/}"/usr/lib*/claws-mail/plugins/*.{a,la}
218 +}
219 +
220 +pkg_preinst() {
221 + gnome2_icon_savelist
222 +}
223 +
224 +pkg_postinst() {
225 + ewarn "When upgrading from version 3.9.0 or below some changes have happened:"
226 + ewarn "- There are no individual plugins in mail-client/claws-mail-* anymore, but they are integrated mostly controlled through USE flags"
227 + ewarn "- Plugins with no special dependencies are just built and can be loaded through the interface"
228 + ewarn "- The gtkhtml2, dillo and trayicon plugins have been dropped entirely"
229 + gnome2_icon_cache_update
230 + xdg_desktop_database_update
231 +}
232 +
233 +pkg_postrm() {
234 + gnome2_icon_cache_update
235 + xdg_desktop_database_update
236 +}