Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-data-server: ChangeLog evolution-data-server-3.2.2-r1.ebuild
Date: Sat, 31 Dec 2011 04:53:33
Message-Id: 20111231045323.B9A8E2004C@flycatcher.gentoo.org
1 tetromino 11/12/31 04:53:23
2
3 Modified: ChangeLog
4 Added: evolution-data-server-3.2.2-r1.ebuild
5 Log:
6 Add upstream patches to fix several bugs, including a crash. Also, fix linking with glib-2.31 (bug #395777, thanks to Oschtan for reporting).
7
8 (Portage version: 2.2.0_alpha84/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.321 gnome-extra/evolution-data-server/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.321&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.321&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?r1=1.320&r2=1.321
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v
20 retrieving revision 1.320
21 retrieving revision 1.321
22 diff -u -r1.320 -r1.321
23 --- ChangeLog 7 Dec 2011 07:33:02 -0000 1.320
24 +++ ChangeLog 31 Dec 2011 04:53:23 -0000 1.321
25 @@ -1,6 +1,17 @@
26 # ChangeLog for gnome-extra/evolution-data-server
27 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.320 2011/12/07 07:33:02 tetromino Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.321 2011/12/31 04:53:23 tetromino Exp $
30 +
31 +*evolution-data-server-3.2.2-r1 (31 Dec 2011)
32 +
33 + 31 Dec 2011; Alexandre Rostovtsev <tetromino@g.o>
34 + +evolution-data-server-3.2.2-r1.ebuild,
35 + +files/evolution-data-server-3.2.2-gmodule-explicit.patch,
36 + +files/evolution-data-server-3.2.2-libical-timezones.patch,
37 + +files/evolution-data-server-3.2.2-new-folder-imap.patch,
38 + +files/evolution-data-server-3.2.2-retrieval_done-crash.patch:
39 + Add upstream patches to fix several bugs, including a crash. Also, fix
40 + linking with glib-2.31 (bug #395777, thanks to Oschtan for reporting).
41
42 07 Dec 2011; Alexandre Rostovtsev <tetromino@g.o>
43 evolution-data-server-2.32.2.ebuild, evolution-data-server-2.32.2-r1.ebuild,
44
45
46
47 1.1 gnome-extra/evolution-data-server/evolution-data-server-3.2.2-r1.ebuild
48
49 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-3.2.2-r1.ebuild?rev=1.1&view=markup
50 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-3.2.2-r1.ebuild?rev=1.1&content-type=text/plain
51
52 Index: evolution-data-server-3.2.2-r1.ebuild
53 ===================================================================
54 # Copyright 1999-2011 Gentoo Foundation
55 # Distributed under the terms of the GNU General Public License v2
56 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-3.2.2-r1.ebuild,v 1.1 2011/12/31 04:53:23 tetromino Exp $
57
58 EAPI="4"
59 GCONF_DEBUG="no"
60 GNOME2_LA_PUNT="yes"
61
62 inherit autotools db-use eutils flag-o-matic gnome2 versionator virtualx
63
64 DESCRIPTION="Evolution groupware backend"
65 HOMEPAGE="http://www.gnome.org/projects/evolution/"
66
67 LICENSE="LGPL-2 BSD DB"
68 SLOT="0"
69 KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
70 IUSE="doc +gnome-online-accounts +introspection ipv6 ldap kerberos vala +weather"
71
72 # GNOME3: How do we slot libedataserverui-3.0.so?
73 # Also, libedata-cal-1.2.so and libecal-1.2.so use gtk-3, but aren't slotted
74 RDEPEND=">=dev-libs/glib-2.28:2
75 >=x11-libs/gtk+-3.0:3
76 >=gnome-base/gconf-2
77 >=dev-db/sqlite-3.5
78 >=dev-libs/libgdata-0.9.1
79 >=gnome-base/gnome-keyring-2.20.1
80 >=dev-libs/libical-0.43
81 >=net-libs/libsoup-2.31.2:2.4
82 >=dev-libs/libxml2-2
83 >=dev-libs/nspr-4.4
84 >=dev-libs/nss-3.9
85 >=sys-libs/db-4
86 sys-libs/zlib
87 virtual/libiconv
88 gnome-online-accounts? (
89 >=net-libs/gnome-online-accounts-3.1.1
90 >=net-libs/liboauth-0.9.4 )
91 introspection? ( >=dev-libs/gobject-introspection-0.9.12 )
92 kerberos? ( virtual/krb5 )
93 ldap? ( >=net-nds/openldap-2 )
94 weather? ( >=dev-libs/libgweather-2.90.0:2 )
95 "
96 DEPEND="${RDEPEND}
97 dev-lang/perl
98 dev-util/gperf
99 >=dev-util/pkgconfig-0.9
100 >=dev-util/intltool-0.35.5
101 sys-devel/bison
102 >=gnome-base/gnome-common-2
103 >=dev-util/gtk-doc-am-1.9
104 >=sys-devel/gettext-0.17
105 doc? ( >=dev-util/gtk-doc-1.9 )
106 vala? ( >=dev-lang/vala-0.13.0:0.14[vapigen] )"
107 # eautoreconf needs:
108 # >=gnome-base/gnome-common-2
109 # >=dev-util/gtk-doc-am-1.9
110
111 REQUIRED_USE="vala? ( introspection )"
112
113 # FIXME
114 RESTRICT="test"
115
116 pkg_setup() {
117 DOCS="ChangeLog MAINTAINERS NEWS TODO"
118 # Uh, what to do about dbus-call-timeout ?
119 # Fails to build with --disable-ssl; bug #392679, https://bugzilla.gnome.org/show_bug.cgi?id=642984
120 G2CONF="${G2CONF}
121 VALAC=$(type -P valac-0.14)
122 VAPIGEN=$(type -P vapigen-0.14)
123 $(use_enable gnome-online-accounts goa)
124 $(use_enable introspection)
125 $(use_enable ipv6)
126 $(use_with kerberos krb5 ${EPREFIX}/usr)
127 $(use_with ldap openldap)
128 $(use_enable vala vala-bindings)
129 $(use_enable weather)
130 --enable-calendar
131 --enable-largefile
132 --enable-nntp
133 --enable-ssl
134 --enable-smime
135 --with-libdb=${EPREFIX}/usr"
136 }
137
138 src_prepare() {
139 # Useful upstream patches, will be in next release
140 epatch "${FILESDIR}/${P}-libical-timezones.patch"
141 epatch "${FILESDIR}/${P}-new-folder-imap.patch"
142 epatch "${FILESDIR}/${P}-retrieval_done-crash.patch"
143
144 # fix linking with glib-2.31, bug #395777
145 epatch "${FILESDIR}/${PN}-3.2.2-gmodule-explicit.patch"
146
147 eautoreconf
148
149 gnome2_src_prepare
150
151 # GNOME bug 611353 (skips failing test atm)
152 # XXX: uncomment when there's a proper fix
153 #epatch "${FILESDIR}/e-d-s-camel-skip-failing-test.patch"
154
155 # GNOME bug 621763 (skip failing test-ebook-stress-factory--fifo)
156 #sed -e 's/\(SUBDIRS =.*\)ebook/\1/' \
157 # -i addressbook/tests/Makefile.{am,in} \
158 # || die "failing test sed 1 failed"
159
160 # /usr/include/db.h is always db-1 on FreeBSD
161 # so include the right dir in CPPFLAGS
162 append-cppflags "-I$(db_includedir)"
163
164 # FIXME: Fix compilation flags crazyness
165 # Touch configure.ac if doing eautoreconf
166 sed 's/^\(AM_CPPFLAGS="\)$WARNING_FLAGS/\1/' \
167 -i configure || die "sed failed"
168 }
169
170 src_install() {
171 # Prevent this evolution-data-server from linking to libs in the installed
172 # evolution-data-server libraries by adding -L arguments for build dirs to
173 # every .la file's relink_command field, forcing libtool to look there
174 # first during relinking. This will mangle the .la files installed by
175 # make install, but we don't care because we will be punting them anyway.
176 perl "${FILESDIR}/fix_relink_command.pl" . ||
177 die "fix_relink_command.pl failed"
178 gnome2_src_install
179
180 if use ldap; then
181 MY_MAJORV=$(get_version_component_range 1-2)
182 insinto /etc/openldap/schema
183 doins "${FILESDIR}"/calentry.schema || die "doins failed"
184 dosym /usr/share/${PN}-${MY_MAJORV}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
185 fi
186 }
187
188 src_test() {
189 unset DBUS_SESSION_BUS_ADDRESS
190 unset ORBIT_SOCKETDIR
191 unset SESSION_MANAGER
192 export XDG_DATA_HOME="${T}"
193 unset DISPLAY
194 Xemake check || die "Tests failed."
195 }
196
197 pkg_postinst() {
198 gnome2_pkg_postinst
199
200 if use ldap; then
201 elog ""
202 elog "LDAP schemas needed by evolution are installed in /etc/openldap/schema"
203 fi
204 }