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: Sat, 09 Jan 2021 10:37:38
Message-Id: 1610188638.54450b263436736cada0610161f8a251925c47aa.leio@gentoo
1 commit: 54450b263436736cada0610161f8a251925c47aa
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Jan 9 10:29:27 2021 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Jan 9 10:37:18 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54450b26
7
8 mail-client/evolution: bump to 3.38.3
9
10 Includes upstream fix for webkit-gtk built without -NDEBUG.
11 Require USE=spell on webkit-gtk if enabled on evolution, to ensure
12 visual highlighting of spelling errors works.
13
14 Bug: https://bugs.gentoo.org/761238
15 Closes: https://bugs.gentoo.org/751217
16 Package-Manager: Portage-3.0.12, Repoman-3.0.2
17 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
18
19 mail-client/evolution/Manifest | 1 +
20 mail-client/evolution/evolution-3.38.3.ebuild | 152 ++++++++++++++++++++++++++
21 2 files changed, 153 insertions(+)
22
23 diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest
24 index 06ab346ee0b..a923ed5dce7 100644
25 --- a/mail-client/evolution/Manifest
26 +++ b/mail-client/evolution/Manifest
27 @@ -1,2 +1,3 @@
28 DIST evolution-3.36.5.tar.xz 12137312 BLAKE2B dcd7785fabeda0b8daeadcf5858ac6ae9d11fa21ef4ff3f7b880f0b0c22ff2e8ba6dd25ef983ddf7d6c7c0d060613fea8f0f01a67b0641159cff908d0b2c8c9d SHA512 4f3a7e891f6e0bb8f3d44f838ecf0f373ad1133f465af3a0ab68e9ec9220e67025dc4e657c73bb8c212d958669e5285050234fb43b6bf0596bcd662de1ef9fd0
29 DIST evolution-3.38.2.tar.xz 12159172 BLAKE2B 9690428c05f985a73c2ae4d02a1d6fcc71aa02a6d10b8dec938ed65c48bde0e0c873bd0e65040ec90c0136346d76989a0758f59e29eb8526b6953fecaf11177e SHA512 30d40e9e8934afa2a8b602bccf740a055423892cc435b54e2cb116d0a8f24a369975f90a253da0c3554fd315a378c014a26c5b85af5b588c2afd9e8ad4698f3e
30 +DIST evolution-3.38.3.tar.xz 12159492 BLAKE2B 95fab6e01ae357437c834bc3651a5d599523004e9ca33ab07c552b99dd4119f0ec4cadea11a2e51ecfe61b2329454a866a211f99d35d912690288651f51134c8 SHA512 aaf30f95485939b3715803a46b484fd72d1a2e3d02a2cc0aabea1ee56a20babcea47804badb52219cecb2806c1ebf711ffb14f36918619fb62bf16a031623508
31
32 diff --git a/mail-client/evolution/evolution-3.38.3.ebuild b/mail-client/evolution/evolution-3.38.3.ebuild
33 new file mode 100644
34 index 00000000000..d84609add55
35 --- /dev/null
36 +++ b/mail-client/evolution/evolution-3.38.3.ebuild
37 @@ -0,0 +1,152 @@
38 +# Copyright 1999-2021 Gentoo Authors
39 +# Distributed under the terms of the GNU General Public License v2
40 +
41 +EAPI=7
42 +
43 +inherit cmake gnome2 flag-o-matic readme.gentoo-r1
44 +
45 +DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
46 +HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
47 +
48 +# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
49 +LICENSE="|| ( LGPL-2 LGPL-3 ) CC-BY-SA-3.0 FDL-1.3+ OPENLDAP"
50 +SLOT="2.0"
51 +
52 +IUSE="archive +bogofilter geolocation gtk-doc highlight ldap spamassassin spell ssl +weather ytnef"
53 +
54 +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
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 +# automagic libunity dep
61 +# >=gspell-1.8 to ensure it uses enchant:2 like webkit-gtk
62 +DEPEND="
63 + >=app-crypt/gcr-3.4:=[gtk]
64 + >=app-text/enchant-2.2.0:2
65 + >=dev-libs/glib-2.46:2[dbus]
66 + >=dev-libs/libxml2-2.7.3:2
67 + >=gnome-base/gnome-desktop-2.91.3:3=
68 + >=gnome-base/gsettings-desktop-schemas-2.91.92
69 + >=gnome-extra/evolution-data-server-${PV}:=[gtk,weather?]
70 + >=media-libs/libcanberra-0.25[gtk3]
71 + >=net-libs/libsoup-2.42:2.4
72 + >=net-libs/webkit-gtk-2.28.0:4[spell?]
73 + >=x11-libs/cairo-1.9.15:=[glib]
74 + >=x11-libs/gdk-pixbuf-2.24:2
75 + >=x11-libs/gtk+-3.22:3
76 + >=x11-libs/libnotify-0.7:=
77 + >=x11-misc/shared-mime-info-0.22
78 +
79 + >=app-text/iso-codes-0.49
80 + dev-libs/atk
81 + gnome-base/dconf
82 + x11-libs/libSM
83 + x11-libs/libICE
84 +
85 + archive? ( >=app-arch/gnome-autoar-0.1.1[gtk] )
86 + bogofilter? ( mail-filter/bogofilter )
87 + geolocation? (
88 + >=media-libs/libchamplain-0.12:0.12[gtk]
89 + >=media-libs/clutter-1.0.0:1.0
90 + >=media-libs/clutter-gtk-0.90:1.0
91 + >=sci-geosciences/geocode-glib-3.10.0
92 + x11-libs/mx:1.0 )
93 + ldap? ( >=net-nds/openldap-2:= )
94 + spamassassin? ( mail-filter/spamassassin )
95 + spell? ( >=app-text/gspell-1.8:= )
96 + ssl? (
97 + >=dev-libs/nspr-4.6.1:=
98 + >=dev-libs/nss-3.11:= )
99 + weather? ( >=dev-libs/libgweather-3.10:2= )
100 + ytnef? ( net-mail/ytnef )
101 +"
102 +RDEPEND="${DEPEND}
103 + highlight? ( app-text/highlight )
104 +"
105 +BDEPEND="
106 + app-text/docbook-xml-dtd:4.1.2
107 + dev-util/gdbus-codegen
108 + dev-util/glib-utils
109 + dev-util/itstool
110 + gtk-doc? ( dev-util/gtk-doc
111 + app-text/docbook-xml-dtd:4.3 )
112 + >=dev-util/intltool-0.40.0
113 + >=sys-devel/gettext-0.18.3
114 + virtual/pkgconfig
115 +"
116 +
117 +DISABLE_AUTOFORMATTING="yes"
118 +DOC_CONTENTS="To change the default browser if you are not using GNOME, edit
119 +~/.local/share/applications/mimeapps.list so it includes the
120 +following content:
121 +
122 +[Default Applications]
123 +x-scheme-handler/http=firefox.desktop
124 +x-scheme-handler/https=firefox.desktop
125 +
126 +(replace firefox.desktop with the name of the appropriate .desktop
127 +file from /usr/share/applications if you use a different browser)."
128 +
129 +# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare
130 +# call; if needed, set them after cmake_src_prepare call, if that works
131 +
132 +src_prepare() {
133 + cmake_src_prepare
134 + gnome2_src_prepare
135 +}
136 +
137 +src_configure() {
138 + # Use NSS/NSPR only if 'ssl' is enabled.
139 + local mycmakeargs=(
140 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
141 + -DENABLE_SCHEMAS_COMPILE=OFF
142 + -DENABLE_GTK_DOC=$(usex gtk-doc)
143 + -DWITH_OPENLDAP=$(usex ldap)
144 + -DENABLE_SMIME=$(usex ssl)
145 + -DENABLE_GNOME_DESKTOP=ON
146 + -DWITH_ENCHANT_VERSION=2
147 + -DENABLE_CANBERRA=ON
148 + -DENABLE_AUTOAR=$(usex archive)
149 + -DWITH_HELP=ON
150 + -DENABLE_YTNEF=OFF
151 + -DWITH_BOGOFILTER=$(usex bogofilter)
152 + -DWITH_SPAMASSASSIN=$(usex spamassassin)
153 + -DENABLE_GSPELL=$(usex spell)
154 + -DENABLE_TEXT_HIGHLIGHT=$(usex highlight)
155 + -DENABLE_WEATHER=$(usex weather)
156 + -DENABLE_CONTACT_MAPS=$(usex geolocation)
157 + -DENABLE_YTNEF=$(usex ytnef)
158 + -DENABLE_PST_IMPORT=OFF
159 + -DWITH_GLADE_CATALOG=OFF
160 + )
161 +
162 + cmake_src_configure
163 +}
164 +
165 +src_compile() {
166 + cmake_src_compile
167 +}
168 +
169 +src_test() {
170 + cmake_src_test
171 +}
172 +
173 +src_install() {
174 + cmake_src_install
175 +
176 + # Problems with prelink:
177 + # https://bugzilla.gnome.org/show_bug.cgi?id=731680
178 + # https://bugzilla.gnome.org/show_bug.cgi?id=732148
179 + # https://bugzilla.redhat.com/show_bug.cgi?id=1114538
180 + echo PRELINK_PATH_MASK=/usr/bin/evolution > ${T}/99${PN}
181 + doenvd "${T}"/99${PN}
182 +
183 + readme.gentoo_create_doc
184 +}
185 +
186 +pkg_postinst() {
187 + gnome2_pkg_postinst
188 + readme.gentoo_print_elog
189 +}