Gentoo Archives: gentoo-commits

From: "Pacho Ramos (pacho)" <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-data-server: ChangeLog evolution-data-server-2.32.1-r1.ebuild
Date: Sat, 01 Jan 2011 18:03:50
Message-Id: 20110101180340.C107020054@flycatcher.gentoo.org
1 pacho 11/01/01 18:03:40
2
3 Modified: ChangeLog
4 Added: evolution-data-server-2.32.1-r1.ebuild
5 Log:
6 Revision bump including all bugfixes committed to gnome-2.32 branch.
7
8 (Portage version: 2.1.9.27/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.282 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.282&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.282&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?r1=1.281&r2=1.282
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v
20 retrieving revision 1.281
21 retrieving revision 1.282
22 diff -u -r1.281 -r1.282
23 --- ChangeLog 16 Nov 2010 19:03:21 -0000 1.281
24 +++ ChangeLog 1 Jan 2011 18:03:40 -0000 1.282
25 @@ -1,6 +1,12 @@
26 # ChangeLog for gnome-extra/evolution-data-server
27 -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.281 2010/11/16 19:03:21 pacho Exp $
29 +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.282 2011/01/01 18:03:40 pacho Exp $
31 +
32 +*evolution-data-server-2.32.1-r1 (01 Jan 2011)
33 +
34 + 01 Jan 2011; Pacho Ramos <pacho@g.o>
35 + +evolution-data-server-2.32.1-r1.ebuild:
36 + Revision bump including all bugfixes committed to gnome-2.32 branch.
37
38 *evolution-data-server-2.32.1 (16 Nov 2010)
39
40
41
42
43 1.1 gnome-extra/evolution-data-server/evolution-data-server-2.32.1-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.32.1-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.32.1-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: evolution-data-server-2.32.1-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.32.1-r1.ebuild,v 1.1 2011/01/01 18:03:40 pacho Exp $
53
54 EAPI="3"
55 GCONF_DEBUG="no"
56
57 inherit autotools db-use eutils flag-o-matic gnome2 versionator virtualx
58
59 DESCRIPTION="Evolution groupware backend"
60 HOMEPAGE="http://www.gnome.org/projects/evolution/"
61
62 SRC_URI="${SRC_URI} mirror://gentoo/${P}-patches.tar.bz2"
63
64 LICENSE="LGPL-2 BSD DB"
65 SLOT="0"
66 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
67
68 IUSE="doc ipv6 kerberos gnome-keyring ldap ssl +weather"
69
70 RDEPEND=">=dev-libs/glib-2.25.12:2
71 >=x11-libs/gtk+-2.20:2
72 >=gnome-base/gconf-2
73 >=dev-db/sqlite-3.5
74 >=dev-libs/libgdata-0.6.3
75 >=dev-libs/libical-0.43
76 >=net-libs/libsoup-2.4:2.4
77 >=dev-libs/libxml2-2
78 >=sys-libs/db-4
79 sys-libs/zlib
80 virtual/libiconv
81 gnome-keyring? ( >=gnome-base/gnome-keyring-2.20.1 )
82 kerberos? ( virtual/krb5 )
83 ldap? ( >=net-nds/openldap-2 )
84 ssl? (
85 >=dev-libs/nspr-4.4
86 >=dev-libs/nss-3.9 )
87 weather? ( >=dev-libs/libgweather-2.25.4 )
88 "
89 DEPEND="${RDEPEND}
90 >=dev-util/pkgconfig-0.9
91 >=dev-util/intltool-0.35.5
92 sys-devel/bison
93 >=gnome-base/gnome-common-2
94 >=dev-util/gtk-doc-am-1.9
95 doc? ( >=dev-util/gtk-doc-1.9 )"
96 # eautoreconf needs:
97 # >=gnome-base/gnome-common-2
98 # >=dev-util/gtk-doc-am-1.9
99
100 pkg_setup() {
101 DOCS="ChangeLog MAINTAINERS NEWS TODO"
102 G2CONF="${G2CONF}
103 $(use_enable gnome-keyring)
104 $(use_enable ipv6)
105 $(use_with kerberos krb5 /usr)
106 $(use_with ldap openldap)
107 $(use_enable ssl ssl)
108 $(use_enable ssl smime)
109 $(use_with weather)
110 --disable-gtk3
111 --enable-largefile
112 --with-libdb=/usr"
113 }
114
115 src_prepare() {
116 gnome2_src_prepare
117
118 # Adjust to gentoo's /etc/service
119 epatch "${FILESDIR}/${PN}-2.31-gentoo_etc_services.patch"
120
121 # Apply upstream patches committed to gnome-2.32 branch
122 epatch "${WORKDIR}"/${P}-patches/*.patch
123
124 # GNOME bug 611353 (skips failing test atm)
125 epatch "${FILESDIR}/e-d-s-camel-skip-failing-test.patch"
126
127 # GNOME bug 621763 (skip failing test-ebook-stress-factory--fifo)
128 sed -e 's/\(SUBDIRS =.*\)ebook/\1/' \
129 -i addressbook/tests/Makefile.{am,in} \
130 || die "failing test sed 1 failed"
131
132 # /usr/include/db.h is always db-1 on FreeBSD
133 # so include the right dir in CPPFLAGS
134 append-cppflags "-I$(db_includedir)"
135
136 # FIXME: Fix compilation flags crazyness
137 sed 's/^\(AM_CPPFLAGS="\)$WARNING_FLAGS/\1/' \
138 -i configure.ac configure || die "sed 3 failed"
139
140 intltoolize --force --copy --automake || die "intltoolize failed"
141 eautoreconf
142 }
143
144 src_install() {
145 gnome2_src_install
146 find "${ED}" -name "*.la" -delete || die "la files removal failed"
147
148 if use ldap; then
149 MY_MAJORV=$(get_version_component_range 1-2)
150 insinto /etc/openldap/schema
151 doins "${FILESDIR}"/calentry.schema || die "doins failed"
152 dosym /usr/share/${PN}-${MY_MAJORV}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
153 fi
154 }
155
156 src_test() {
157 unset DBUS_SESSION_BUS_ADDRESS
158 unset ORBIT_SOCKETDIR
159 unset SESSION_MANAGER
160 export XDG_DATA_HOME="${T}"
161 unset DISPLAY
162 Xemake check || die "Tests failed."
163 }
164
165 pkg_preinst() {
166 gnome2_pkg_preinst
167
168 for lib in libcamel-provider-1.2.so.14 libedata-cal-1.2.so.7 \
169 libgdata-1.2.so libgdata-google-1.2.so libcamel-1.2.so.14 \
170 libedata-book-1.2.so.2 libebook-1.2.so.9 \
171 libedataserver-1.2.so.13 libecal-1.2.so.7 libedataserverui-1.2.so.8
172 do
173 preserve_old_lib /usr/$(get_libdir)/$lib
174 done
175 }
176
177 pkg_postinst() {
178 gnome2_pkg_postinst
179
180 for lib in libcamel-provider-1.2.so.14 libedata-cal-1.2.so.7 \
181 libgdata-1.2.so libgdata-google-1.2.so libcamel-1.2.so.14 \
182 libedata-book-1.2.so.2 libebook-1.2.so.9 \
183 libedataserver-1.2.so.13 libecal-1.2.so.7 libedataserverui-1.2.so.8
184 do
185 preserve_old_lib_notify /usr/$(get_libdir)/$lib
186 done
187
188 if use ldap; then
189 elog ""
190 elog "LDAP schemas needed by evolution are installed in /etc/openldap/schema"
191 fi
192 }