Gentoo Archives: gentoo-commits

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