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, 09 Sep 2018 17:52:47
Message-Id: 1536515520.045f61b66b41c403696f53645bdbf671ff740f54.leio@gentoo
1 commit: 045f61b66b41c403696f53645bdbf671ff740f54
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 9 17:00:21 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 9 17:52:00 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=045f61b6
7
8 mail-client/evolution: bump to 3.26.6
9
10 Add SYSCONF_INSTALL_DIR passing to fix evolution-alarm-notify
11 autostart, ensuring alarms show up without having started
12 evolution after desktop session start.
13
14 Remove the gtk-update-icon-cache avoidance hack - it seems
15 upstream honors DESTDIR by now (not running it postinst if set).
16
17 Closes: https://bugs.gentoo.org/662222
18 Package-Manager: Portage-2.3.49, Repoman-2.3.10
19
20 mail-client/evolution/Manifest | 1 +
21 mail-client/evolution/evolution-3.26.6.ebuild | 159 ++++++++++++++++++++++++++
22 2 files changed, 160 insertions(+)
23
24 diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest
25 index 0a854b82c1c..c828262cc75 100644
26 --- a/mail-client/evolution/Manifest
27 +++ b/mail-client/evolution/Manifest
28 @@ -1,2 +1,3 @@
29 DIST evolution-3.22.4.tar.xz 12272488 BLAKE2B 7740d1d6e734fb7212d2b36f0a64dca03360ab059f0ca716522312c490f2b071a8fc6b383c98b429a6cb22ea5afec0e7e6c05dcb63b3908053ee891aa4129cdb SHA512 dd73a11d4d7903be6a99bf0d937f5a217a26f0dffb9dc0cea2ca81142d5783c42f889a8b913d565678e9f55b7f2f2a1d42f06c30e3cb004926c19f44dae3b70f
30 DIST evolution-3.24.6.tar.xz 12153692 BLAKE2B ced20d9e08f6b9aac65be6f5ecd5beb861feec40dddc4411b1bdc6519e249de8db8b3319450808d7a31b80386f9830f351b7edacb3c6fcd28fe5fdfe343329f7 SHA512 da5c9062791996735e52575894763597cc957cb17bc0abe46a966f0e3e6706550ce534ae03b2c444d142547119f3a59aec6ee17e0302a002d8437da166ef7178
31 +DIST evolution-3.26.6.tar.xz 12036120 BLAKE2B b0828f172935ce75bad6e2fa9859b65e96f8b8369d8f2c4b836ef9dd992168dcdca256df4aa0577117819f8d21da3976b338fb66b75f0e2511b7f1d23712befa SHA512 34a6f3ec12c6330c2b742281030f641a0998293663d3c2ac4151eef24067ff95403fec37550be2d8d22e43e334b4349f1ece40b75cc23b1dfcec88a9a694363f
32
33 diff --git a/mail-client/evolution/evolution-3.26.6.ebuild b/mail-client/evolution/evolution-3.26.6.ebuild
34 new file mode 100644
35 index 00000000000..439aa36d847
36 --- /dev/null
37 +++ b/mail-client/evolution/evolution-3.26.6.ebuild
38 @@ -0,0 +1,159 @@
39 +# Copyright 1999-2018 Gentoo Foundation
40 +# Distributed under the terms of the GNU General Public License v2
41 +
42 +EAPI=6
43 +GNOME2_LA_PUNT="yes"
44 +
45 +inherit cmake-utils gnome2 flag-o-matic readme.gentoo-r1
46 +
47 +DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
48 +HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
49 +
50 +# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
51 +LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
52 +SLOT="2.0"
53 +
54 +IUSE="archive +bogofilter crypt geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef"
55 +
56 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~x86"
57 +
58 +# We need a graphical pinentry frontend to be able to ask for the GPG
59 +# password from inside evolution, bug 160302
60 +PINENTRY_DEPEND="|| ( app-crypt/pinentry[gnome-keyring] app-crypt/pinentry[gtk] app-crypt/pinentry[qt4] app-crypt/pinentry[qt5] )"
61 +
62 +# glade-3 support is for maintainers only per configure.ac
63 +# pst is not mature enough and changes API/ABI frequently
64 +# dconf explicitely needed for backup plugin
65 +# gnome-desktop support is optional with --enable-gnome-desktop
66 +COMMON_DEPEND="
67 + >=app-crypt/gcr-3.4:=[gtk]
68 + >=app-text/enchant-1.1.7
69 + >=dev-libs/glib-2.46:2[dbus]
70 + >=dev-libs/libxml2-2.7.3:2
71 + >=gnome-base/gnome-desktop-2.91.3:3=
72 + >=gnome-base/gsettings-desktop-schemas-2.91.92
73 + >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
74 + >=media-libs/libcanberra-0.25[gtk3]
75 + >=net-libs/libsoup-2.42:2.4
76 + >=net-libs/webkit-gtk-2.16.0:4
77 + >=x11-libs/cairo-1.9.15:=[glib]
78 + >=x11-libs/gdk-pixbuf-2.24:2
79 + >=x11-libs/gtk+-3.10:3
80 + >=x11-libs/libnotify-0.7:=
81 + >=x11-misc/shared-mime-info-0.22
82 +
83 + >=app-text/iso-codes-0.49
84 + dev-libs/atk
85 + gnome-base/dconf
86 + dev-libs/libical:=
87 + x11-libs/libSM
88 + x11-libs/libICE
89 +
90 + archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] )
91 + crypt? (
92 + >=app-crypt/gnupg-1.4
93 + ${PINENTRY_DEPEND}
94 + x11-libs/libcryptui )
95 + geolocation? (
96 + >=media-libs/libchamplain-0.12:0.12[gtk]
97 + >=media-libs/clutter-1.0.0:1.0
98 + >=media-libs/clutter-gtk-0.90:1.0
99 + >=sci-geosciences/geocode-glib-3.10.0
100 + x11-libs/mx:1.0 )
101 + ldap? ( >=net-nds/openldap-2:= )
102 + spell? ( app-text/gtkspell:3 )
103 + ssl? (
104 + >=dev-libs/nspr-4.6.1:=
105 + >=dev-libs/nss-3.11:= )
106 + weather? ( >=dev-libs/libgweather-3.10:2= )
107 + ytnef? ( net-mail/ytnef )
108 +"
109 +DEPEND="${COMMON_DEPEND}
110 + app-text/docbook-xml-dtd:4.1.2
111 + dev-util/gdbus-codegen
112 + dev-util/glib-utils
113 + gtk-doc? ( dev-util/gtk-doc )
114 + >=dev-util/intltool-0.40.0
115 + >=sys-devel/gettext-0.18.3
116 + virtual/pkgconfig
117 +"
118 +RDEPEND="${COMMON_DEPEND}
119 + bogofilter? ( mail-filter/bogofilter )
120 + highlight? ( app-text/highlight )
121 + spamassassin? ( mail-filter/spamassassin )
122 + !gnome-extra/evolution-exchange
123 +"
124 +
125 +DISABLE_AUTOFORMATTING="yes"
126 +DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
127 +~/.local/share/applications/mimeapps.list so it includes the
128 +following content:
129 +
130 +[Default Applications]
131 +x-scheme-handler/http=firefox.desktop
132 +x-scheme-handler/https=firefox.desktop
133 +
134 +(replace firefox.desktop with the name of the appropriate .desktop
135 +file from /usr/share/applications if you use a different browser)."
136 +
137 +# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
138 +# call; if needed, set them after cmake-utils_src_prepare call, if that works
139 +
140 +src_prepare() {
141 + cmake-utils_src_prepare
142 + gnome2_src_prepare
143 +}
144 +
145 +src_configure() {
146 + # Use NSS/NSPR only if 'ssl' is enabled.
147 + local mycmakeargs=(
148 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
149 + -DENABLE_SCHEMAS_COMPILE=OFF
150 + -DENABLE_GTK_DOC=$(usex gtk-doc)
151 + -DWITH_OPENLDAP=$(usex ldap)
152 + -DENABLE_SMIME=$(usex ssl)
153 + -DENABLE_GNOME_DESKTOP=ON
154 + -DENABLE_CANBERRA=ON
155 + -DENABLE_AUTOAR=$(usex archive)
156 + -DWITH_HELP=ON
157 + -DENABLE_LIBCRYPTUI=$(usex crypt)
158 + -DENABLE_YTNEF=OFF
159 + -DWITH_BOGOFILTER=$(usex bogofilter)
160 + -DWITH_SPAMASSASSIN=$(usex spamassassin)
161 + -DENABLE_GTKSPELL=$(usex spell)
162 + -DENABLE_TEXT_HIGHLIGHT=$(usex highlight)
163 + -DENABLE_WEATHER=$(usex weather)
164 + -DENABLE_CONTACT_MAPS=$(usex geolocation)
165 + -DENABLE_YTNEF=$(usex ytnef)
166 + -DENABLE_PST_IMPORT=OFF
167 + -DWITH_GLADE_CATALOG=OFF
168 + )
169 +
170 + cmake-utils_src_configure
171 +}
172 +
173 +src_compile() {
174 + cmake-utils_src_compile
175 +}
176 +
177 +src_test() {
178 + cmake-utils_src_test
179 +}
180 +
181 +src_install() {
182 + cmake-utils_src_install
183 +
184 + # Problems with prelink:
185 + # https://bugzilla.gnome.org/show_bug.cgi?id=731680
186 + # https://bugzilla.gnome.org/show_bug.cgi?id=732148
187 + # https://bugzilla.redhat.com/show_bug.cgi?id=1114538
188 + echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
189 + doenvd "${T}"/99${PN}
190 +
191 + readme.gentoo_create_doc
192 +}
193 +
194 +pkg_postinst() {
195 + gnome2_pkg_postinst
196 + readme.gentoo_print_elog
197 +}