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