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