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