Gentoo Archives: gentoo-commits

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