Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: profiles/, gnome-extra/evolution-data-server/
Date: Sat, 09 Oct 2021 10:17:33
Message-Id: 1633772857.4166aabd1a51f65d7a29aba8a8df08f9c8258293.leio@gentoo
1 commit: 4166aabd1a51f65d7a29aba8a8df08f9c8258293
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Tue Oct 5 21:23:40 2021 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 9 09:47:37 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4166aabd
7
8 gnome-extra/evolution-data-server: bump to 3.42.0
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.2
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 gnome-extra/evolution-data-server/Manifest | 1 +
14 .../evolution-data-server-3.42.0.ebuild | 155 +++++++++++++++++++++
15 profiles/package.mask | 4 +
16 3 files changed, 160 insertions(+)
17
18 diff --git a/gnome-extra/evolution-data-server/Manifest b/gnome-extra/evolution-data-server/Manifest
19 index 75437de7e05..b1126d05a0c 100644
20 --- a/gnome-extra/evolution-data-server/Manifest
21 +++ b/gnome-extra/evolution-data-server/Manifest
22 @@ -1,2 +1,3 @@
23 DIST evolution-data-server-3.40.3.tar.xz 4625980 BLAKE2B 7b344c1bb279367c9eca136b9f4689f049ba126b9ffd6ba1a1a819c5f86db66bae4082ebab83c8895831e97a4ed4384bb923584146b6081ffbbc24c327d5f3d4 SHA512 ba5db9850d68c23ddc77e53ccb2500f613dcdc5689234b3365edbc97eb6e73c4f15c13df5dee0b2aab1d0af5a22d543c6aeb814c4abfe1dc652b46712c0e2e79
24 DIST evolution-data-server-3.40.4.tar.xz 4622640 BLAKE2B 93a4570da53fb34b496cd471e5daff07fa044ed5c230f7de85276ab9aacd0f2e6c6f749a0d63d076fc192e695f68a0c451a7a6573621ff5092cd5ea6a9302ee2 SHA512 664c2d41b6f212e6ddef554767ca651e4179ce861898cb11ed373f30473c2a1a3a47191ae504be7d38beb0e721782564b70f5f519a3184216a02be1bd89678b5
25 +DIST evolution-data-server-3.42.0.tar.xz 4614616 BLAKE2B 801e1a71c10af4f7c8b2e8478631ed76269170b01bb30dca296da7b151041981e0f45f9a69fe4873f503d0d38b7e6fdf50c6a7006d001af7d16663478a102b6e SHA512 44e4a45ac7779fd5a336aa84b8e23926cc861c1a3d1ca5629a4997a8783415eca1f6bdcef4fa6ed10e5417a64eef31dbe9edbf027954a653f4c22e25c90f16c1
26
27 diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.42.0.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.42.0.ebuild
28 new file mode 100644
29 index 00000000000..42b2525574f
30 --- /dev/null
31 +++ b/gnome-extra/evolution-data-server/evolution-data-server-3.42.0.ebuild
32 @@ -0,0 +1,155 @@
33 +# Copyright 1999-2021 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +VALA_USE_DEPEND="vapigen"
38 +
39 +inherit cmake db-use flag-o-matic gnome2 systemd vala virtualx
40 +
41 +DESCRIPTION="Evolution groupware backend"
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 ) BSD Sleepycat"
46 +SLOT="0/63-26-20" # subslot = libcamel-1.2/libedataserver-1.2/libebook-1.2.so soname version
47 +
48 +IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ipv6 ldap kerberos oauth vala +weather"
49 +REQUIRED_USE="vala? ( introspection )"
50 +
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
52 +
53 +# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks
54 +# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512
55 +# glib-2.70 for build-time optional GPowerProfileMonitor
56 +gdata_depend=">=dev-libs/libgdata-0.17.7:="
57 +RDEPEND="
58 + >=app-crypt/gcr-3.4
59 + >=app-crypt/libsecret-0.5[crypt]
60 + >=dev-db/sqlite-3.7.17:=
61 + >=dev-libs/glib-2.70:2
62 + >=dev-libs/libical-3.0.8:=[glib,introspection?]
63 + >=dev-libs/libxml2-2
64 + >=dev-libs/nspr-4.4:=
65 + >=dev-libs/nss-3.9:=
66 + >=net-libs/libsoup-2.58:2.4
67 +
68 + dev-libs/icu:=
69 + sys-libs/zlib:=
70 + virtual/libiconv
71 +
72 + berkdb? ( >=sys-libs/db-4:= )
73 + gtk? (
74 + >=app-crypt/gcr-3.4[gtk]
75 + >=x11-libs/gtk+-3.16:3
76 + >=media-libs/libcanberra-0.25[gtk3]
77 + )
78 + oauth? (
79 + >=dev-libs/json-glib-1.0.4
80 + >=net-libs/webkit-gtk-2.28.0:4
81 + ${gdata_depend}
82 + )
83 + gnome-online-accounts? (
84 + >=net-libs/gnome-online-accounts-3.8:=
85 + ${gdata_depend} )
86 + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
87 + kerberos? ( virtual/krb5:= )
88 + ldap? ( >=net-nds/openldap-2:= )
89 + weather? ( >=dev-libs/libgweather-3.10:2= )
90 +"
91 +DEPEND="${RDEPEND}
92 + vala? ( $(vala_depend)
93 + net-libs/libsoup:2.4[vala]
94 + dev-libs/libical[vala]
95 + oauth? ( dev-libs/libgdata[vala] )
96 + gnome-online-accounts? ( dev-libs/libgdata[vala] )
97 + )
98 +"
99 +BDEPEND="
100 + dev-util/gdbus-codegen
101 + dev-util/glib-utils
102 + dev-util/gperf
103 + gtk-doc? ( >=dev-util/gtk-doc-1.14
104 + app-text/docbook-xml-dtd:4.1.2 )
105 + >=dev-util/intltool-0.35.5
106 + >=sys-devel/gettext-0.18.3
107 + virtual/pkgconfig
108 +"
109 +
110 +# Some tests fail due to missing locales.
111 +# Also, dbus tests are flaky, bugs #397975 #501834
112 +# It looks like a nightmare to disable those for now.
113 +RESTRICT="test !test? ( test )"
114 +
115 +# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
116 +src_prepare() {
117 + use vala && vala_src_prepare
118 + cmake_src_prepare
119 + gnome2_src_prepare
120 +
121 + eapply "${FILESDIR}"/3.36.5-gtk-doc-1.32-compat.patch
122 +
123 + # Make CMakeLists versioned vala enabled
124 + sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
125 + -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
126 + -i "${S}"/CMakeLists.txt || die
127 +}
128 +
129 +src_configure() {
130 + # /usr/include/db.h is always db-1 on FreeBSD
131 + # so include the right dir in CPPFLAGS
132 + use berkdb && append-cppflags "-I$(db_includedir)"
133 +
134 + local google_enable
135 + if use oauth || use gnome-online-accounts; then
136 + google_enable="ON"
137 + else
138 + google_enable="OFF"
139 + fi
140 +
141 + # phonenumber does not exist in tree
142 + local mycmakeargs=(
143 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
144 + -DENABLE_GTK_DOC=$(usex gtk-doc)
145 + -DWITH_PRIVATE_DOCS=$(usex gtk-doc)
146 + -DENABLE_SCHEMAS_COMPILE=OFF
147 + -DENABLE_INTROSPECTION=$(usex introspection)
148 + -DWITH_KRB5=$(usex kerberos)
149 + -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
150 + -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
151 + -DWITH_OPENLDAP=$(usex ldap)
152 + -DWITH_PHONENUMBER=OFF
153 + -DENABLE_SMIME=ON
154 + -DENABLE_GTK=$(usex gtk)
155 + -DENABLE_CANBERRA=$(usex gtk)
156 + -DENABLE_OAUTH2=$(usex oauth)
157 + -DENABLE_EXAMPLES=OFF
158 + -DENABLE_GOA=$(usex gnome-online-accounts)
159 + -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
160 + # ENABLE_BACKTRACES requires libdwarf ?
161 + -DENABLE_IPV6=$(usex ipv6)
162 + -DENABLE_WEATHER=$(usex weather)
163 + -DENABLE_GOOGLE=${google_enable}
164 + -DENABLE_LARGEFILE=ON
165 + -DENABLE_VALA_BINDINGS=$(usex vala)
166 + )
167 +
168 + cmake_src_configure
169 +}
170 +
171 +src_compile() {
172 + cmake_src_compile
173 +}
174 +
175 +src_test() {
176 + virtx cmake_src_test
177 +}
178 +
179 +src_install() {
180 + cmake_src_install
181 +
182 + if use ldap; then
183 + insinto /etc/openldap/schema
184 + doins "${FILESDIR}"/calentry.schema
185 + dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
186 + fi
187 +}
188
189 diff --git a/profiles/package.mask b/profiles/package.mask
190 index 69e159a28c3..bef9607da4d 100644
191 --- a/profiles/package.mask
192 +++ b/profiles/package.mask
193 @@ -33,6 +33,10 @@
194
195 #--- END OF EXAMPLES ---
196
197 +# Gnome Team <gnome@g.o> (2021-10-09)
198 +# GNOME 41 mask, bug #812986
199 +>=gnome-extra/evolution-data-server-3.41
200 +
201 # Fabian Groffen <grobian@g.o> (2021-10-03)
202 # Masked for erratic behaviour
203 # https://bugs.exim.org/show_bug.cgi?id=2813