Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gnome-extra/evolution-data-server/
Date: Sun, 01 Mar 2020 16:18:52
Message-Id: 1583079452.dbdc751101645cd36bbd1e2e05e4bc18be88f31b.leio@gentoo
1 commit: dbdc751101645cd36bbd1e2e05e4bc18be88f31b
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sat Feb 29 21:25:39 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Mar 1 16:17:32 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dbdc7511
7
8 gnome-extra/evolution-data-server: bump to 3.34.4
9
10 Upstream concentrated on new libecal API, so the
11 libcamel-1.2/libedataserver-1.2 sonames actually didn't change, but
12 various others did. Add libebook soname to the subslot to trigger
13 the necessary rebuilds still, without just adding a fake extra
14 component.
15
16 Package-Manager: Portage-2.3.84, Repoman-2.3.20
17 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
18
19 gnome-extra/evolution-data-server/Manifest | 1 +
20 .../evolution-data-server-3.34.4.ebuild | 155 +++++++++++++++++++++
21 2 files changed, 156 insertions(+)
22
23 diff --git a/gnome-extra/evolution-data-server/Manifest b/gnome-extra/evolution-data-server/Manifest
24 index a49597a5244..271323aa34f 100644
25 --- a/gnome-extra/evolution-data-server/Manifest
26 +++ b/gnome-extra/evolution-data-server/Manifest
27 @@ -1 +1,2 @@
28 DIST evolution-data-server-3.32.5.tar.xz 4588900 BLAKE2B f14d0782c00e9cead10e9e5dd6c5686d4c8a292d70027a08dbac027ba92b998bcea1b219447847284d225096480e373c89369e12198fdf2516ca5b622f81cbb2 SHA512 a1bc350a7223dc2e3d369f0ac8fb3ab210b6b1cc25311daf1ddae6926168f7bd1c3fab69ab261e442e3c30f9b43754e2f8e38ac2a5c32a714223d9741045a1b6
29 +DIST evolution-data-server-3.34.4.tar.xz 4627704 BLAKE2B d1b93f17eec1dc71b31c9a842af369646c7412c63461a63a0c42026795d97f8b282c498ca56e14b258e7764ce333fad159d4fae534891cd02b99be6166bfbc23 SHA512 e353724591216f472faabaab468d6a8555e05cafda4a8b2c55fa3113226475f0ec9edad65d8acbf95c92844d33f36cf32d49ddc14fe934a2b8c127c32cc7b74f
30
31 diff --git a/gnome-extra/evolution-data-server/evolution-data-server-3.34.4.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-3.34.4.ebuild
32 new file mode 100644
33 index 00000000000..01ffd253f25
34 --- /dev/null
35 +++ b/gnome-extra/evolution-data-server/evolution-data-server-3.34.4.ebuild
36 @@ -0,0 +1,155 @@
37 +# Copyright 1999-2020 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +PYTHON_COMPAT=( python3_6 )
42 +VALA_USE_DEPEND="vapigen"
43 +
44 +inherit cmake-utils db-use flag-o-matic gnome2 python-any-r1 systemd vala virtualx
45 +
46 +DESCRIPTION="Evolution groupware backend"
47 +HOMEPAGE="https://wiki.gnome.org/Apps/Evolution"
48 +
49 +# Note: explicitly "|| ( LGPL-2 LGPL-3 )", not "LGPL-2+".
50 +LICENSE="|| ( LGPL-2 LGPL-3 ) BSD Sleepycat"
51 +SLOT="0/62-24-20" # subslot = libcamel-1.2/libedataserver-1.2/libebook-1.2.so soname version
52 +
53 +IUSE="berkdb +gnome-online-accounts +gtk gtk-doc +introspection ipv6 ldap kerberos oauth vala +weather"
54 +REQUIRED_USE="vala? ( introspection )"
55 +
56 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
57 +
58 +# gdata-0.17.7 soft required for new gdata_feed_get_next_page_token API to handle more than 100 google tasks
59 +# berkdb needed only for migrating old addressbook data from <3.13 versions, bug #519512
60 +# libical-glib currently (2020-02-29) oddly behind USE=introspection; but introspection also needed if USE=introspection for eds
61 +gdata_depend=">=dev-libs/libgdata-0.17.7:="
62 +RDEPEND="
63 + >=app-crypt/gcr-3.4
64 + >=app-crypt/libsecret-0.5[crypt]
65 + >=dev-db/sqlite-3.7.17:=
66 + >=dev-libs/glib-2.46:2
67 + >=dev-libs/libical-3.0.5:=[introspection]
68 + >=dev-libs/libxml2-2
69 + >=dev-libs/nspr-4.4:=
70 + >=dev-libs/nss-3.9:=
71 + >=net-libs/libsoup-2.42:2.4
72 +
73 + dev-libs/icu:=
74 + sys-libs/zlib:=
75 + virtual/libiconv
76 +
77 + berkdb? ( >=sys-libs/db-4:= )
78 + gtk? (
79 + >=app-crypt/gcr-3.4[gtk]
80 + >=x11-libs/gtk+-3.10:3
81 + >=media-libs/libcanberra-0.25[gtk3]
82 + )
83 + oauth? (
84 + >=dev-libs/json-glib-1.0.4
85 + >=net-libs/webkit-gtk-2.11.91:4
86 + ${gdata_depend}
87 + )
88 + gnome-online-accounts? (
89 + >=net-libs/gnome-online-accounts-3.8:=
90 + ${gdata_depend} )
91 + introspection? ( >=dev-libs/gobject-introspection-0.9.12:= )
92 + kerberos? ( virtual/krb5:= )
93 + ldap? ( >=net-nds/openldap-2:= )
94 + weather? ( >=dev-libs/libgweather-3.10:2= )
95 +"
96 +DEPEND="${RDEPEND}
97 + ${PYTHON_DEPS}
98 + dev-util/gdbus-codegen
99 + dev-util/glib-utils
100 + dev-util/gperf
101 + gtk-doc? ( >=dev-util/gtk-doc-1.14
102 + app-text/docbook-xml-dtd:4.1.2 )
103 + >=dev-util/intltool-0.35.5
104 + >=sys-devel/gettext-0.18.3
105 + virtual/pkgconfig
106 + vala? ( $(vala_depend)
107 + net-libs/libsoup:2.4[vala]
108 + dev-libs/libical[vala]
109 + )
110 +"
111 +
112 +# Some tests fail due to missing locales.
113 +# Also, dbus tests are flaky, bugs #397975 #501834
114 +# It looks like a nightmare to disable those for now.
115 +RESTRICT="test !test? ( test )"
116 +
117 +pkg_setup() {
118 + python-any-r1_pkg_setup
119 +}
120 +
121 +# global scope PATCHES or DOCS array mustn't be used due to double default_src_prepare call
122 +src_prepare() {
123 + use vala && vala_src_prepare
124 + cmake-utils_src_prepare
125 + gnome2_src_prepare
126 +
127 + # Make CMakeLists versioned vala enabled
128 + sed -e "s;\(find_program(VALAC\) valac);\1 ${VALAC});" \
129 + -e "s;\(find_program(VAPIGEN\) vapigen);\1 ${VAPIGEN});" \
130 + -i "${S}"/CMakeLists.txt || die
131 +}
132 +
133 +src_configure() {
134 + # /usr/include/db.h is always db-1 on FreeBSD
135 + # so include the right dir in CPPFLAGS
136 + use berkdb && append-cppflags "-I$(db_includedir)"
137 +
138 + local google_enable
139 + if use oauth || use gnome-online-accounts; then
140 + google_enable="ON"
141 + else
142 + google_enable="OFF"
143 + fi
144 +
145 + # phonenumber does not exist in tree
146 + local mycmakeargs=(
147 + -DSYSCONF_INSTALL_DIR="${EPREFIX}"/etc
148 + -DENABLE_GTK_DOC=$(usex gtk-doc)
149 + -DWITH_PRIVATE_DOCS=$(usex gtk-doc)
150 + -DENABLE_SCHEMAS_COMPILE=OFF
151 + -DENABLE_INTROSPECTION=$(usex introspection)
152 + -DWITH_KRB5=$(usex kerberos)
153 + -DWITH_KRB5_INCLUDES=$(usex kerberos "${EPREFIX}"/usr "")
154 + -DWITH_KRB5_LIBS=$(usex kerberos "${EPREFIX}"/usr/$(get_libdir) "")
155 + -DWITH_OPENLDAP=$(usex ldap)
156 + -DWITH_PHONENUMBER=OFF
157 + -DENABLE_SMIME=ON
158 + -DENABLE_GTK=$(usex gtk)
159 + -DENABLE_CANBERRA=$(usex gtk)
160 + -DENABLE_OAUTH2=$(usex oauth)
161 + -DENABLE_EXAMPLES=OFF
162 + -DENABLE_GOA=$(usex gnome-online-accounts)
163 + -DWITH_LIBDB=$(usex berkdb "${EPREFIX}"/usr OFF)
164 + # ENABLE_BACKTRACES requires libdwarf ?
165 + -DENABLE_IPV6=$(usex ipv6)
166 + -DENABLE_WEATHER=$(usex weather)
167 + -DENABLE_GOOGLE=${google_enable}
168 + -DENABLE_LARGEFILE=ON
169 + -DENABLE_VALA_BINDINGS=$(usex vala)
170 + )
171 +
172 + cmake-utils_src_configure
173 +}
174 +
175 +src_compile() {
176 + cmake-utils_src_compile
177 +}
178 +
179 +src_test() {
180 + virtx cmake-utils_src_test
181 +}
182 +
183 +src_install() {
184 + cmake-utils_src_install
185 +
186 + if use ldap; then
187 + insinto /etc/openldap/schema
188 + doins "${FILESDIR}"/calentry.schema
189 + dosym ../../../usr/share/${PN}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
190 + fi
191 +}