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