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.3-r1.ebuild
Date: Sun, 31 Jul 2011 18:29:07
Message-Id: 20110731182855.B94062004B@flycatcher.gentoo.org
1 pacho 11/07/31 18:28:55
2
3 Modified: ChangeLog
4 Added: evolution-data-server-2.32.3-r1.ebuild
5 Log:
6 Remove patches causing evolution to close when creating an appointment (bug #372651), that patches look to be no longer needed as told by original author in upstream report (https://bugzilla.gnome.org/show_bug.cgi?id=649787#c5).
7
8 (Portage version: 2.1.10.7/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.306 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.306&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.306&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?r1=1.305&r2=1.306
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v
20 retrieving revision 1.305
21 retrieving revision 1.306
22 diff -u -r1.305 -r1.306
23 --- ChangeLog 17 Jul 2011 21:00:40 -0000 1.305
24 +++ ChangeLog 31 Jul 2011 18:28:55 -0000 1.306
25 @@ -1,6 +1,14 @@
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.305 2011/07/17 21:00:40 maekke Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.306 2011/07/31 18:28:55 pacho Exp $
30 +
31 +*evolution-data-server-2.32.3-r1 (31 Jul 2011)
32 +
33 + 31 Jul 2011; Pacho Ramos <pacho@g.o>
34 + +evolution-data-server-2.32.3-r1.ebuild:
35 + Remove patches causing evolution to close when creating an appointment (bug
36 + #372651), that patches look to be no longer needed as told by original author
37 + in upstream report (https://bugzilla.gnome.org/show_bug.cgi?id=649787#c5).
38
39 17 Jul 2011; Markus Meier <maekke@g.o>
40 evolution-data-server-2.32.2-r1.ebuild:
41
42
43
44 1.1 gnome-extra/evolution-data-server/evolution-data-server-2.32.3-r1.ebuild
45
46 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.32.3-r1.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.32.3-r1.ebuild?rev=1.1&content-type=text/plain
48
49 Index: evolution-data-server-2.32.3-r1.ebuild
50 ===================================================================
51 # Copyright 1999-2011 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.32.3-r1.ebuild,v 1.1 2011/07/31 18:28:55 pacho Exp $
54
55 EAPI="4"
56 GCONF_DEBUG="no"
57 GNOME2_LA_PUNT="yes"
58 GNOME_TARBALL_SUFFIX="bz2"
59
60 inherit autotools db-use eutils flag-o-matic gnome2 versionator virtualx
61
62 DESCRIPTION="Evolution groupware backend"
63 HOMEPAGE="http://projects.gnome.org/evolution/"
64
65 SRC_URI="${SRC_URI} http://dev.gentoo.org/~pacho/gnome/${P}-patches.tar.xz"
66
67 LICENSE="LGPL-2 BSD DB"
68 SLOT="0"
69 KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~ia64-linux ~x86-linux ~x86-solaris"
70
71 IUSE="doc ipv6 kerberos gnome-keyring ldap +weather"
72
73 RDEPEND=">=dev-libs/glib-2.25.12:2
74 >=x11-libs/gtk+-2.24:2
75 >=gnome-base/gconf-2
76 >=dev-db/sqlite-3.5
77 >=dev-libs/libgdata-0.6.3
78 >=dev-libs/libical-0.43
79 >=net-libs/libsoup-2.4:2.4
80 >=dev-libs/libxml2-2
81 >=sys-libs/db-4
82 sys-libs/zlib
83 virtual/libiconv
84 >=dev-libs/nspr-4.4
85 >=dev-libs/nss-3.9
86 gnome-keyring? ( >=gnome-base/gnome-keyring-2.20.1 )
87 kerberos? ( virtual/krb5 )
88 ldap? ( >=net-nds/openldap-2 )
89 weather? ( >=dev-libs/libgweather-2.25.4:2 )
90 "
91 DEPEND="${RDEPEND}
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 doc? ( >=dev-util/gtk-doc-1.9 )"
99 # eautoreconf needs:
100 # >=gnome-base/gnome-common-2
101 # >=dev-util/gtk-doc-am-1.9
102
103 pkg_setup() {
104 DOCS="ChangeLog MAINTAINERS NEWS TODO"
105
106 # ssl stuff always enabled as recommended in upstream bug #642984
107 G2CONF="${G2CONF}
108 $(use_enable gnome-keyring)
109 $(use_enable ipv6)
110 $(use_with kerberos krb5 /usr)
111 $(use_with ldap openldap)
112 $(use_with weather)
113 --disable-gtk3
114 --enable-largefile
115 --with-libdb=/usr
116 --enable-ssl
117 --enable-smime"
118
119 }
120
121 src_prepare() {
122 gnome2_src_prepare
123
124 # Adjust to gentoo's /etc/service
125 epatch "${FILESDIR}/${PN}-2.31-gentoo_etc_services.patch"
126
127 # GNOME bug 611353 (skips failing test atm)
128 epatch "${FILESDIR}/e-d-s-camel-skip-failing-test.patch"
129
130 # GNOME bug 621763 (skip failing test-ebook-stress-factory--fifo)
131 sed -e 's/\(SUBDIRS =.*\)ebook/\1/' \
132 -i addressbook/tests/Makefile.{am,in} \
133 || die "failing test sed 1 failed"
134
135 # Apply multiple backports and fixed from master and 2.32 branches
136 #
137 # 009 and 010 patches are broken, bug #372651
138 rm "${WORKDIR}/${P}-patches"/009*.patch || die
139 rm "${WORKDIR}/${P}-patches"/010*.patch || die
140 epatch "${WORKDIR}/${P}-patches"/*.patch
141
142 # /usr/include/db.h is always db-1 on FreeBSD
143 # so include the right dir in CPPFLAGS
144 append-cppflags "-I$(db_includedir)"
145
146 # FIXME: Fix compilation flags crazyness
147 sed 's/^\(AM_CPPFLAGS="\)$WARNING_FLAGS/\1/' \
148 -i configure.ac configure || die "sed 3 failed"
149
150 intltoolize --force --copy --automake || die "intltoolize failed"
151 eautoreconf
152 }
153
154 src_install() {
155 # Prevent this evolution-data-server from linking to libs in the installed
156 # evolution-data-server libraries by adding -L arguments for build dirs to
157 # every .la file's relink_command field, forcing libtool to look there
158 # first during relinking. This will mangle the .la files installed by
159 # make install, but we don't care because we will be punting them anyway.
160 perl "${FILESDIR}/fix_relink_command.pl" . \
161 || die "fix_relink_command.pl failed"
162
163 gnome2_src_install
164
165 if use ldap; then
166 MY_MAJORV=$(get_version_component_range 1-2)
167 insinto /etc/openldap/schema
168 doins "${FILESDIR}"/calentry.schema || die "doins failed"
169 dosym /usr/share/${PN}-${MY_MAJORV}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
170 fi
171 }
172
173 src_test() {
174 unset DBUS_SESSION_BUS_ADDRESS
175 unset ORBIT_SOCKETDIR
176 unset SESSION_MANAGER
177 export XDG_DATA_HOME="${T}"
178 unset DISPLAY
179 Xemake check || die "Tests failed."
180 }
181
182 pkg_preinst() {
183 gnome2_pkg_preinst
184
185 for lib in libcamel-provider-1.2.so.14 libedata-cal-1.2.so.7 \
186 libgdata-1.2.so libgdata-google-1.2.so libcamel-1.2.so.14 \
187 libedata-book-1.2.so.2 libebook-1.2.so.9 \
188 libedataserver-1.2.so.13 libecal-1.2.so.7 libedataserverui-1.2.so.8
189 do
190 preserve_old_lib /usr/$(get_libdir)/$lib
191 done
192 }
193
194 pkg_postinst() {
195 gnome2_pkg_postinst
196
197 for lib in libcamel-provider-1.2.so.14 libedata-cal-1.2.so.7 \
198 libgdata-1.2.so libgdata-google-1.2.so libcamel-1.2.so.14 \
199 libedata-book-1.2.so.2 libebook-1.2.so.9 \
200 libedataserver-1.2.so.13 libecal-1.2.so.7 libedataserverui-1.2.so.8
201 do
202 preserve_old_lib_notify /usr/$(get_libdir)/$lib
203 done
204
205 if use ldap; then
206 elog ""
207 elog "LDAP schemas needed by evolution are installed in /etc/openldap/schema"
208 fi
209 }