Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-client/evolution/
Date: Sun, 02 Apr 2017 14:00:44
Message-Id: 1491141565.beece5287b5bd04b61dd88b19e1310e96e9dab3f.leio@gentoo
1 commit: beece5287b5bd04b61dd88b19e1310e96e9dab3f
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Apr 2 13:59:25 2017 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Apr 2 13:59:25 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=beece528
7
8 Revert "mail-client/evolution: remove old"
9
10 This reverts commit 738bad51a0d2760800c906be21a77347f5d71227.
11
12 mail-client/evolution/Manifest | 2 +
13 mail-client/evolution/evolution-3.20.5.ebuild | 140 ++++++++++++++++++++++++++
14 mail-client/evolution/evolution-3.22.4.ebuild | 138 +++++++++++++++++++++++++
15 mail-client/evolution/metadata.xml | 2 +
16 4 files changed, 282 insertions(+)
17
18 diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest
19 index 7b37462b5d6..2e0ec01c1a9 100644
20 --- a/mail-client/evolution/Manifest
21 +++ b/mail-client/evolution/Manifest
22 @@ -1 +1,3 @@
23 +DIST evolution-3.20.5.tar.xz 12133872 SHA256 2e13551ce0996963506f0bdde5e01c3b8aa0622849a272ff12877cd595baeb6e SHA512 4b974ac5d8f3918a8012192634e8d131b1f6af0ed40a32181eb9500bc43b8bf4cf29a6fc7e49620638ada8f2456117e263e6162f21c0e1deef81861789a97906 WHIRLPOOL 1ed38bd2b9de97ad50bb832e03b76bf94131e65f0cf05c555d9e62d0e908467382b7e879d8eeb9513a6a09396da77eb2b2ac3a0dd3b97c6f2cde373dd65222ae
24 +DIST evolution-3.22.4.tar.xz 12272488 SHA256 522209f022a468c9031fd393fe4ba6c655dedfa06dd6ae59d2d693d1485c690a SHA512 dd73a11d4d7903be6a99bf0d937f5a217a26f0dffb9dc0cea2ca81142d5783c42f889a8b913d565678e9f55b7f2f2a1d42f06c30e3cb004926c19f44dae3b70f WHIRLPOOL 6aadef7a735cd351abbcdaacd086641b656ac7d94d78ab278ef0270725f487a5cd0eb6b859530611f41049024e12945368e6616fe2a3afd4481cce6654ee6279
25 DIST evolution-3.22.6.tar.xz 12288232 SHA256 9f4be4a1d5ee4d5eb9b132cf751ba3afc833025aa6dc7baa1f9483489d8a943e SHA512 c699adae640d05558b583b05eda5c5ad3de99aa1d1bbfa24af6110be41251f715ff4b16ff0efb96c8de7faa8c895d82460b504c2704974d4c9731f1bc3e7739f WHIRLPOOL df9fde3db1b6ebf11551d81694a99e07822ab184cc4d14e7d54777eab348de60c5180bd73e0795a3c190509b97f0d948b4e0f4b6d32816e46d967a555746ae98
26
27 diff --git a/mail-client/evolution/evolution-3.20.5.ebuild b/mail-client/evolution/evolution-3.20.5.ebuild
28 new file mode 100644
29 index 00000000000..f0e6929dac2
30 --- /dev/null
31 +++ b/mail-client/evolution/evolution-3.20.5.ebuild
32 @@ -0,0 +1,140 @@
33 +# Copyright 1999-2016 Gentoo Foundation
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=6
37 +GNOME2_LA_PUNT="yes"
38 +
39 +inherit flag-o-matic readme.gentoo-r1 gnome2
40 +
41 +DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
42 +HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
43 +
44 +# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
45 +LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
46 +SLOT="2.0"
47 +
48 +IUSE="+bogofilter crypt highlight ldap map spamassassin spell ssl +weather"
49 +
50 +KEYWORDS="~alpha amd64 ~arm ~ia64 ~ppc ~ppc64 x86 ~x86-fbsd"
51 +
52 +# We need a graphical pinentry frontend to be able to ask for the GPG
53 +# password from inside evolution, bug 160302
54 +PINENTRY_DEPEND="|| ( app-crypt/pinentry[gnome-keyring] app-crypt/pinentry[gtk] app-crypt/pinentry[qt4] app-crypt/pinentry[qt5] )"
55 +
56 +# glade-3 support is for maintainers only per configure.ac
57 +# pst is not mature enough and changes API/ABI frequently
58 +# dconf explicitely needed for backup plugin
59 +# gnome-desktop support is optional with --enable-gnome-desktop
60 +# gnome-autoar (currently disabled because no release has been made)
61 +COMMON_DEPEND="
62 + >=app-crypt/gcr-3.4:=
63 + >=app-text/enchant-1.1.7
64 + >=dev-libs/glib-2.40:2[dbus]
65 + >=dev-libs/libxml2-2.7.3:2
66 + >=gnome-base/gnome-desktop-2.91.3:3=
67 + >=gnome-base/gsettings-desktop-schemas-2.91.92
68 + >=gnome-extra/evolution-data-server-3.20.3:=[gtk,weather?]
69 + >=media-libs/libcanberra-0.25[gtk3]
70 + >=net-libs/libsoup-2.42:2.4
71 + >=net-libs/webkit-gtk-2.2:3
72 + >=x11-libs/cairo-1.9.15:=[glib]
73 + >=x11-libs/gdk-pixbuf-2.24:2
74 + >=x11-libs/gtk+-3.10:3
75 + >=x11-libs/libnotify-0.7:=
76 + >=x11-misc/shared-mime-info-0.22
77 +
78 + >=app-text/iso-codes-0.49
79 + dev-libs/atk
80 + gnome-base/dconf
81 + dev-libs/libical:=
82 + x11-libs/libSM
83 + x11-libs/libICE
84 +
85 + crypt? (
86 + >=app-crypt/gnupg-1.4
87 + ${PINENTRY_DEPEND}
88 + x11-libs/libcryptui )
89 + map? (
90 + >=media-libs/libchamplain-0.12:0.12[gtk]
91 + >=media-libs/clutter-1.0.0:1.0
92 + >=media-libs/clutter-gtk-0.90:1.0
93 + >=sci-geosciences/geocode-glib-3.10.0
94 + x11-libs/mx:1.0 )
95 + spell? ( app-text/gtkspell:3 )
96 + ldap? ( >=net-nds/openldap-2:= )
97 + ssl? (
98 + >=dev-libs/nspr-4.6.1:=
99 + >=dev-libs/nss-3.11:= )
100 + weather? ( >=dev-libs/libgweather-3.10:2= )
101 +"
102 +DEPEND="${COMMON_DEPEND}
103 + app-text/docbook-xml-dtd:4.1.2
104 + dev-util/gtk-doc-am
105 + >=dev-util/intltool-0.40.0
106 + dev-util/itstool
107 + virtual/pkgconfig
108 +"
109 +# eautoreconf needs:
110 +# app-text/yelp-tools
111 +# >=gnome-base/gnome-common-2.12
112 +RDEPEND="${COMMON_DEPEND}
113 + bogofilter? ( mail-filter/bogofilter )
114 + highlight? ( app-text/highlight )
115 + spamassassin? ( mail-filter/spamassassin )
116 + !gnome-extra/evolution-exchange
117 +"
118 +
119 +DISABLE_AUTOFORMATTING="yes"
120 +DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
121 +~/.local/share/applications/mimeapps.list so it includes the
122 +following content:
123 +
124 +[Default Applications]
125 +x-scheme-handler/http=firefox.desktop
126 +x-scheme-handler/https=firefox.desktop
127 +
128 +(replace firefox.desktop with the name of the appropriate .desktop
129 +file from /usr/share/applications if you use a different browser)."
130 +
131 +src_configure() {
132 + # Use NSS/NSPR only if 'ssl' is enabled.
133 + gnome2_src_configure \
134 + --without-glade-catalog \
135 + --disable-autoar \
136 + --disable-code-coverage \
137 + --disable-installed-tests \
138 + --disable-pst-import \
139 + --enable-canberra \
140 + $(use_enable crypt libcryptui) \
141 + $(use_enable highlight text-highlight) \
142 + $(use_enable map contact-maps) \
143 + $(use_enable spell gtkspell) \
144 + $(use_enable ssl nss) \
145 + $(use_enable ssl smime) \
146 + $(use_with bogofilter) \
147 + $(use_with ldap openldap) \
148 + $(use_with spamassassin) \
149 + $(usex ssl --enable-nss=yes "--without-nspr-libs
150 + --without-nspr-includes
151 + --without-nss-libs
152 + --without-nss-includes") \
153 + $(use_enable weather)
154 +}
155 +
156 +src_install() {
157 + gnome2_src_install
158 +
159 + # Problems with prelink:
160 + # https://bugzilla.gnome.org/show_bug.cgi?id=731680
161 + # https://bugzilla.gnome.org/show_bug.cgi?id=732148
162 + # https://bugzilla.redhat.com/show_bug.cgi?id=1114538
163 + echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
164 + doenvd "${T}"/99${PN}
165 +
166 + readme.gentoo_create_doc
167 +}
168 +
169 +pkg_postinst() {
170 + gnome2_pkg_postinst
171 + readme.gentoo_print_elog
172 +}
173
174 diff --git a/mail-client/evolution/evolution-3.22.4.ebuild b/mail-client/evolution/evolution-3.22.4.ebuild
175 new file mode 100644
176 index 00000000000..230c6c35213
177 --- /dev/null
178 +++ b/mail-client/evolution/evolution-3.22.4.ebuild
179 @@ -0,0 +1,138 @@
180 +# Copyright 1999-2017 Gentoo Foundation
181 +# Distributed under the terms of the GNU General Public License v2
182 +
183 +EAPI=6
184 +GNOME2_LA_PUNT="yes"
185 +
186 +inherit gnome2 flag-o-matic readme.gentoo-r1
187 +
188 +DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
189 +HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
190 +
191 +# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
192 +LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
193 +SLOT="2.0"
194 +
195 +IUSE="+bogofilter crypt geolocation highlight ldap spamassassin spell ssl +weather"
196 +
197 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
198 +
199 +# We need a graphical pinentry frontend to be able to ask for the GPG
200 +# password from inside evolution, bug 160302
201 +PINENTRY_DEPEND="|| ( app-crypt/pinentry[gnome-keyring] app-crypt/pinentry[gtk] app-crypt/pinentry[qt4] app-crypt/pinentry[qt5] )"
202 +
203 +# glade-3 support is for maintainers only per configure.ac
204 +# pst is not mature enough and changes API/ABI frequently
205 +# dconf explicitely needed for backup plugin
206 +# gnome-desktop support is optional with --enable-gnome-desktop
207 +# gnome-autoar (currently disabled because no release has been made)
208 +COMMON_DEPEND="
209 + >=app-crypt/gcr-3.4:=
210 + >=app-text/enchant-1.1.7
211 + >=dev-libs/glib-2.46:2[dbus]
212 + >=dev-libs/libxml2-2.7.3:2
213 + >=gnome-base/gnome-desktop-2.91.3:3=
214 + >=gnome-base/gsettings-desktop-schemas-2.91.92
215 + >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
216 + >=media-libs/libcanberra-0.25[gtk3]
217 + >=net-libs/libsoup-2.42:2.4
218 + >=net-libs/webkit-gtk-2.13.90:4
219 + >=x11-libs/cairo-1.9.15:=[glib]
220 + >=x11-libs/gdk-pixbuf-2.24:2
221 + >=x11-libs/gtk+-3.10:3
222 + >=x11-libs/libnotify-0.7:=
223 + >=x11-misc/shared-mime-info-0.22
224 +
225 + >=app-text/iso-codes-0.49
226 + dev-libs/atk
227 + gnome-base/dconf
228 + dev-libs/libical:=
229 + x11-libs/libSM
230 + x11-libs/libICE
231 +
232 + crypt? (
233 + >=app-crypt/gnupg-1.4
234 + ${PINENTRY_DEPEND}
235 + x11-libs/libcryptui )
236 + geolocation? (
237 + >=media-libs/libchamplain-0.12:0.12[gtk]
238 + >=media-libs/clutter-1.0.0:1.0
239 + >=media-libs/clutter-gtk-0.90:1.0
240 + >=sci-geosciences/geocode-glib-3.10.0
241 + x11-libs/mx:1.0 )
242 + ldap? ( >=net-nds/openldap-2:= )
243 + spell? ( app-text/gtkspell:3 )
244 + ssl? (
245 + >=dev-libs/nspr-4.6.1:=
246 + >=dev-libs/nss-3.11:= )
247 + weather? ( >=dev-libs/libgweather-3.10:2= )
248 +"
249 +DEPEND="${COMMON_DEPEND}
250 + app-text/docbook-xml-dtd:4.1.2
251 + app-text/yelp-tools
252 + >=dev-util/gtk-doc-am-1.14
253 + >=dev-util/intltool-0.40.0
254 + >=gnome-base/gnome-common-2.12
255 + virtual/pkgconfig
256 +"
257 +RDEPEND="${COMMON_DEPEND}
258 + bogofilter? ( mail-filter/bogofilter )
259 + highlight? ( app-text/highlight )
260 + spamassassin? ( mail-filter/spamassassin )
261 + !gnome-extra/evolution-exchange
262 +"
263 +
264 +DISABLE_AUTOFORMATTING="yes"
265 +DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
266 +~/.local/share/applications/mimeapps.list so it includes the
267 +following content:
268 +
269 +[Default Applications]
270 +x-scheme-handler/http=firefox.desktop
271 +x-scheme-handler/https=firefox.desktop
272 +
273 +(replace firefox.desktop with the name of the appropriate .desktop
274 +file from /usr/share/applications if you use a different browser)."
275 +
276 +src_configure() {
277 + # Use NSS/NSPR only if 'ssl' is enabled.
278 + gnome2_src_configure \
279 + --without-glade-catalog \
280 + --disable-autoar \
281 + --disable-code-coverage \
282 + --disable-installed-tests \
283 + --disable-pst-import \
284 + --enable-canberra \
285 + $(use_enable crypt libcryptui) \
286 + $(use_enable highlight text-highlight) \
287 + $(use_enable geolocation contact-maps) \
288 + $(use_enable spell gtkspell) \
289 + $(use_enable ssl nss) \
290 + $(use_enable ssl smime) \
291 + $(use_with bogofilter) \
292 + $(use_with ldap openldap) \
293 + $(use_with spamassassin) \
294 + $(usex ssl --enable-nss=yes "--without-nspr-libs
295 + --without-nspr-includes
296 + --without-nss-libs
297 + --without-nss-includes") \
298 + $(use_enable weather)
299 +}
300 +
301 +src_install() {
302 + gnome2_src_install
303 +
304 + # Problems with prelink:
305 + # https://bugzilla.gnome.org/show_bug.cgi?id=731680
306 + # https://bugzilla.gnome.org/show_bug.cgi?id=732148
307 + # https://bugzilla.redhat.com/show_bug.cgi?id=1114538
308 + echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
309 + doenvd "${T}"/99${PN}
310 +
311 + readme.gentoo_create_doc
312 +}
313 +
314 +pkg_postinst() {
315 + gnome2_pkg_postinst
316 + readme.gentoo_print_elog
317 +}
318
319 diff --git a/mail-client/evolution/metadata.xml b/mail-client/evolution/metadata.xml
320 index b6c93561db3..da11033a349 100644
321 --- a/mail-client/evolution/metadata.xml
322 +++ b/mail-client/evolution/metadata.xml
323 @@ -17,6 +17,8 @@
324 plugin</flag>
325 <flag name="ldap">Enable support for fetching contacts from an LDAP or
326 Active Directory server using <pkg>net-nds/openldap</pkg></flag>
327 + <flag name="map">Enable support for displaying contacts on a map inside
328 + evolution using <pkg>media-libs/libchamplain</pkg></flag>
329 <flag name="spamassassin">Build <pkg>mail-filter/spamassassin</pkg>
330 plugin</flag>
331 <flag name="weather">Enable optional weather calendar support</flag>