Gentoo Archives: gentoo-commits

From: "Nirbheek Chauhan (nirbheek)" <nirbheek@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.0.3.ebuild evolution-data-server-3.0.2.1.ebuild
Date: Fri, 02 Sep 2011 08:20:56
Message-Id: 20110902082046.0DDBB2004C@flycatcher.gentoo.org
1 nirbheek 11/09/02 08:20:46
2
3 Modified: ChangeLog
4 Added: evolution-data-server-3.0.3.ebuild
5 Removed: evolution-data-server-3.0.2.1.ebuild
6 Log:
7 Bump to 3.0.3, remove old
8
9 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.309 gnome-extra/evolution-data-server/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.309&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.309&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?r1=1.308&r2=1.309
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v
21 retrieving revision 1.308
22 retrieving revision 1.309
23 diff -u -r1.308 -r1.309
24 --- ChangeLog 18 Aug 2011 07:48:34 -0000 1.308
25 +++ ChangeLog 2 Sep 2011 08:20:45 -0000 1.309
26 @@ -1,6 +1,12 @@
27 # ChangeLog for gnome-extra/evolution-data-server
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.308 2011/08/18 07:48:34 nirbheek Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.309 2011/09/02 08:20:45 nirbheek Exp $
31 +
32 +*evolution-data-server-3.0.3 (02 Sep 2011)
33 +
34 + 02 Sep 2011; Nirbheek Chauhan <nirbheek@g.o>
35 + -evolution-data-server-3.0.2.1.ebuild, +evolution-data-server-3.0.3.ebuild:
36 + Bump to 3.0.3, remove old
37
38 *evolution-data-server-3.0.2.1 (18 Aug 2011)
39
40
41
42
43 1.1 gnome-extra/evolution-data-server/evolution-data-server-3.0.3.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-3.0.3.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-3.0.3.ebuild?rev=1.1&content-type=text/plain
47
48 Index: evolution-data-server-3.0.3.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-3.0.3.ebuild,v 1.1 2011/09/02 08:20:45 nirbheek Exp $
53
54 EAPI="4"
55 GCONF_DEBUG="no"
56 GNOME2_LA_PUNT="yes"
57
58 inherit autotools db-use eutils flag-o-matic gnome2 versionator virtualx
59
60 DESCRIPTION="Evolution groupware backend"
61 HOMEPAGE="http://www.gnome.org/projects/evolution/"
62
63 LICENSE="LGPL-2 BSD DB"
64 SLOT="0"
65 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
66 IUSE="doc +introspection ipv6 ldap kerberos ssl +weather"
67
68 # GNOME3: How do we slot libedataserverui-3.0.so?
69 # Also, libedata-cal-1.2.so and libecal-1.2.so use gtk-3, but aren't slotted
70 RDEPEND=">=dev-libs/glib-2.28:2
71 >=x11-libs/gtk+-3.0:3
72 >=gnome-base/gconf-2
73 >=dev-db/sqlite-3.5
74 >=dev-libs/libgdata-0.7.0
75 >=gnome-base/gnome-keyring-2.20.1
76 >=dev-libs/libical-0.43
77 >=net-libs/libsoup-2.31.2:2.4
78 >=dev-libs/libxml2-2
79 >=sys-libs/db-4
80 sys-libs/zlib
81 virtual/libiconv
82 introspection? ( >=dev-libs/gobject-introspection-0.9.12 )
83 kerberos? ( virtual/krb5 )
84 ldap? ( >=net-nds/openldap-2 )
85 ssl? (
86 >=dev-libs/nspr-4.4
87 >=dev-libs/nss-3.9 )
88 weather? ( >=dev-libs/libgweather-2.90.0:2 )
89 "
90 DEPEND="${RDEPEND}
91 dev-lang/perl
92 dev-util/gperf
93 >=dev-util/pkgconfig-0.9
94 >=dev-util/intltool-0.35.5
95 sys-devel/bison
96 >=gnome-base/gnome-common-2
97 >=dev-util/gtk-doc-am-1.9
98 >=sys-devel/gettext-0.17
99 doc? ( >=dev-util/gtk-doc-1.9 )"
100 # eautoreconf needs:
101 # >=gnome-base/gnome-common-2
102 # >=dev-util/gtk-doc-am-1.9
103
104 # FIXME
105 RESTRIC="test"
106
107 pkg_setup() {
108 DOCS="ChangeLog MAINTAINERS NEWS TODO"
109 # Uh, what to do about dbus-call-timeout ?
110 G2CONF="${G2CONF}
111 $(use_enable ipv6)
112 $(use_with kerberos krb5 /usr)
113 $(use_with ldap openldap)
114 $(use_enable ssl ssl)
115 $(use_enable ssl smime)
116 $(use_enable weather)
117 --enable-calendar
118 --enable-nntp
119 --enable-largefile
120 --with-libdb=/usr"
121 }
122
123 src_prepare() {
124 gnome2_src_prepare
125
126 # Adjust to gentoo's /etc/service
127 epatch "${FILESDIR}/${PN}-2.31-gentoo_etc_services.patch"
128
129 # GNOME bug 611353 (skips failing test atm)
130 # XXX: uncomment when there's a proper fix
131 #epatch "${FILESDIR}/e-d-s-camel-skip-failing-test.patch"
132
133 # GNOME bug 621763 (skip failing test-ebook-stress-factory--fifo)
134 #sed -e 's/\(SUBDIRS =.*\)ebook/\1/' \
135 # -i addressbook/tests/Makefile.{am,in} \
136 # || die "failing test sed 1 failed"
137
138 # /usr/include/db.h is always db-1 on FreeBSD
139 # so include the right dir in CPPFLAGS
140 append-cppflags "-I$(db_includedir)"
141
142 # FIXME: Fix compilation flags crazyness
143 # Touch configure.ac if doing eautoreconf
144 sed 's/^\(AM_CPPFLAGS="\)$WARNING_FLAGS/\1/' \
145 -i configure || die "sed failed"
146 }
147
148 src_install() {
149 # Prevent this evolution-data-server from linking to libs in the installed
150 # evolution-data-server libraries by adding -L arguments for build dirs to
151 # every .la file's relink_command field, forcing libtool to look there
152 # first during relinking. This will mangle the .la files installed by
153 # make install, but we don't care because we will be punting them anyway.
154 perl "${FILESDIR}/fix_relink_command.pl" . ||
155 die "fix_relink_command.pl failed"
156 gnome2_src_install
157
158 if use ldap; then
159 MY_MAJORV=$(get_version_component_range 1-2)
160 insinto /etc/openldap/schema
161 doins "${FILESDIR}"/calentry.schema || die "doins failed"
162 dosym /usr/share/${PN}-${MY_MAJORV}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
163 fi
164 }
165
166 src_test() {
167 unset DBUS_SESSION_BUS_ADDRESS
168 unset ORBIT_SOCKETDIR
169 unset SESSION_MANAGER
170 export XDG_DATA_HOME="${T}"
171 unset DISPLAY
172 Xemake check || die "Tests failed."
173 }
174
175 pkg_postinst() {
176 gnome2_pkg_postinst
177
178 if use ldap; then
179 elog ""
180 elog "LDAP schemas needed by evolution are installed in /etc/openldap/schema"
181 fi
182 }