Gentoo Archives: gentoo-commits

From: "Daniel Gryniewicz (dang)" <dang@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in gnome-extra/evolution-data-server: ChangeLog evolution-data-server-1.12.2.ebuild
Date: Mon, 26 Nov 2007 15:34:04
Message-Id: E1Iwfxz-0005ni-Kf@stork.gentoo.org
1 dang 07/11/26 15:33:47
2
3 Modified: ChangeLog
4 Added: evolution-data-server-1.12.2.ebuild
5 Log:
6 Bump to 1.12.2
7 - Keep character's case as user types. (Milan Crha)
8 - Use correct year when filling structure, not only years 1970+ (Peter
9 Lord)
10 - Disable SSLv2 compatible HELLO on SSL stream when SSLv2 is disabled
11 (Niels Vorgaard Christensen)
12 - Use proxy if user uses it and do not crash if have proxy without name
13 and password (Milan Crha)
14 - Fix a crash when IMAP server sent response to FETCH BODY containing
15 size=0 (Milan Crha)
16 - The base URL can be without a path, so do not crash, if that happen
17 (Milan Crha)
18 - Move mail to/from sent-items (Sankar P)
19 - Avoid a double free and make sure that the view_ functions free at all
20 cases (Akhil Laddha)
21 - Don't reopen a database using the same DB handle (Matthew Barnes)
22 - Return NULL pointer after freeing timezone structure (Ondrej Jirman)
23 - Check for NULL too, so do not crash when something goes wrong (Milan
24 Crha)
25
26 (Portage version: 2.1.4_rc3)
27
28 Revision Changes Path
29 1.160 gnome-extra/evolution-data-server/ChangeLog
30
31 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.160&view=markup
32 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?rev=1.160&content-type=text/plain
33 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog?r1=1.159&r2=1.160
34
35 Index: ChangeLog
36 ===================================================================
37 RCS file: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v
38 retrieving revision 1.159
39 retrieving revision 1.160
40 diff -u -r1.159 -r1.160
41 --- ChangeLog 26 Nov 2007 13:30:39 -0000 1.159
42 +++ ChangeLog 26 Nov 2007 15:33:47 -0000 1.160
43 @@ -1,6 +1,30 @@
44 # ChangeLog for gnome-extra/evolution-data-server
45 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
46 -# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.159 2007/11/26 13:30:39 corsair Exp $
47 +# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.160 2007/11/26 15:33:47 dang Exp $
48 +
49 +*evolution-data-server-1.12.2 (26 Nov 2007)
50 +
51 + 26 Nov 2007; Daniel Gryniewicz <dang@g.o>
52 + +evolution-data-server-1.12.2.ebuild:
53 + Bump to 1.12.2
54 + - Keep character's case as user types. (Milan Crha)
55 + - Use correct year when filling structure, not only years 1970+ (Peter
56 + Lord)
57 + - Disable SSLv2 compatible HELLO on SSL stream when SSLv2 is disabled
58 + (Niels Vorgaard Christensen)
59 + - Use proxy if user uses it and do not crash if have proxy without name
60 + and password (Milan Crha)
61 + - Fix a crash when IMAP server sent response to FETCH BODY containing
62 + size=0 (Milan Crha)
63 + - The base URL can be without a path, so do not crash, if that happen
64 + (Milan Crha)
65 + - Move mail to/from sent-items (Sankar P)
66 + - Avoid a double free and make sure that the view_ functions free at all
67 + cases (Akhil Laddha)
68 + - Don't reopen a database using the same DB handle (Matthew Barnes)
69 + - Return NULL pointer after freeing timezone structure (Ondrej Jirman)
70 + - Check for NULL too, so do not crash when something goes wrong (Milan
71 + Crha)
72
73 26 Nov 2007; Markus Rothe <corsair@g.o>
74 evolution-data-server-1.12.1.ebuild:
75
76
77
78 1.1 gnome-extra/evolution-data-server/evolution-data-server-1.12.2.ebuild
79
80 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.12.2.ebuild?rev=1.1&view=markup
81 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.12.2.ebuild?rev=1.1&content-type=text/plain
82
83 Index: evolution-data-server-1.12.2.ebuild
84 ===================================================================
85 # Copyright 1999-2007 Gentoo Foundation
86 # Distributed under the terms of the GNU General Public License v2
87 # $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.12.2.ebuild,v 1.1 2007/11/26 15:33:47 dang Exp $
88
89 inherit db-use eutils flag-o-matic gnome2 autotools
90
91 DESCRIPTION="Evolution groupware backend"
92 HOMEPAGE="http://www.gnome.org/projects/evolution/"
93
94 LICENSE="LGPL-2 Sleepycat"
95 SLOT="0"
96 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd"
97 IUSE="doc ipv6 kerberos keyring krb4 ldap ssl"
98
99 RDEPEND=">=x11-libs/gtk+-2.10
100 >=gnome-base/orbit-2.9.8
101 >=gnome-base/gnome-vfs-2.4
102 >=gnome-base/libbonobo-2.4.2
103 >=gnome-base/gconf-2
104 >=gnome-base/libglade-2
105 >=gnome-base/libgnome-2
106 >=dev-libs/libxml2-2
107 keyring? ( gnome-base/gnome-keyring )
108 ssl? (
109 >=dev-libs/nspr-4.4
110 >=dev-libs/nss-3.9 )
111 >=gnome-base/libgnomeui-2
112 >=net-libs/libsoup-2.2.91
113 >=gnome-base/gnome-common-2
114 sys-libs/zlib
115 =sys-libs/db-4*
116 ldap? ( >=net-nds/openldap-2.0 )
117 kerberos? ( virtual/krb5 )
118 krb4? ( virtual/krb5 )"
119
120 DEPEND="${RDEPEND}
121 >=dev-util/pkgconfig-0.9
122 >=dev-util/intltool-0.35.5
123 doc? ( >=dev-util/gtk-doc-1.4 )"
124
125 DOCS="ChangeLog MAINTAINERS NEWS TODO"
126
127 pkg_setup() {
128 G2CONF="$(use_with ldap openldap) \
129 $(use_with kerberos krb5 /usr) \
130 $(use_enable ssl nss) \
131 $(use_enable ssl smime) \
132 $(use_enable ipv6) \
133 $(use_enable keyring gnome-keyring) \
134 --with-libdb=/usr/$(get_libdir)"
135
136 if use krb4 && ! built_with_use virtual/krb5 krb4; then
137 ewarn
138 ewarn "In order to add kerberos 4 support, you have to emerge"
139 ewarn "virtual/krb5 with the 'krb4' USE flag enabled as well."
140 ewarn
141 ewarn "Skipping for now."
142 ewarn
143 G2CONF="${G2CONF} --without-krb4"
144 else
145 G2CONF="${G2CONF} $(use_with krb4 krb4 /usr)"
146 fi
147 }
148
149 src_unpack() {
150 gnome2_src_unpack
151
152 # Fix what ?
153 epatch "${FILESDIR}"/${PN}-1.2.0-gentoo_etc_services.patch
154
155 # Fix broken libdb build
156 epatch "${FILESDIR}"/${PN}-1.11.3-no-libdb.patch
157
158 # Resolve symbols at execution time for setgid binaries
159 epatch "${FILESDIR}"/${PN}-no_lazy_bindings.patch
160
161 # Rewind in camel-disco-diary to fix a crash
162 epatch "${FILESDIR}"/${PN}-1.8.0-camel-rewind.patch
163
164 # Don't assume that endian.h and byteswap.h exist on all non sun os's
165 epatch "${FILESDIR}"/${PN}-1.12.1-icaltz-util.patch
166
167 #-------------Upstream GNOME look here -----------------#
168
169 # --as-needed fixes
170 epatch "${FILESDIR}"/${PN}-1.11.3-as-needed.patch
171
172 # fix for dep ordering so we can add libedataserverui to libexchange-storage
173 # we need to do this or: undefined reference to `e_passwords_get_password'
174 # are the kinds of errors you will get.
175
176 # move the groupwise backend and provider for addressbook, camel, and
177 # calendar to its own folder called server.deps.
178 mkdir server.deps || die "mkdir server.deps failed"
179 mv addressbook/backends/groupwise server.deps/addressbook || die "mv address/groupwise failed"
180 mv camel/providers/groupwise server.deps/camel || die "mv camel/groupwise failed"
181 mv calendar/backends/groupwise server.deps/calendar || die "mv calendar/groupwise failed"
182
183 # now fix the autotools foo for the new directory and the removed ones
184 echo "SUBDIRS = addressbook camel calendar" > server.deps/Makefile.am || die "echo failed"
185
186 # remove groupwise folder from Makefile's since they are in a diff location
187 sed -i -e 's: groupwise::' addressbook/backends/Makefile.am camel/providers/Makefile.am calendar/backends/Makefile.am || die "sed 1 failed"
188
189 # fix configure.in location of the Makefile's
190 sed -i -e 's:addressbook/backends/groupwise:server.deps/addressbook:' configure.in || die "sed 2 failed"
191 sed -i -e 's:camel/providers/groupwise:server.deps/camel:' configure.in || die "sed 3 failed"
192 # tack on the server.deps Makefile on our last edit
193 sed -i -e 's:calendar/backends/groupwise:server.deps/calendar/Makefile\nserver.deps:' configure.in || die "sed 4 failed"
194
195 # fix file includes
196 sed -i -e 's:<backends/groupwise/e-book-backend-groupwise.h>:"server.deps/addressbook/e-book-backend-groupwise.h":' addressbook/libedata-book/e-data-book-factory.c || die "sed 5 failed"
197
198 # Fix db version for FreeBSD users where -ldb is always db-1
199 sed -i -e "s:-ldb:-l$(db_libname):" configure.in || die "sed 6 failed"
200
201 #---------------Upstream GNOME stop here---------------
202 eautoreconf
203 }
204
205 src_compile() {
206 # Use NSS/NSPR only if 'ssl' is enabled.
207 if use ssl ; then
208 sed -i -e "s|mozilla-nss|nss|
209 s|mozilla-nspr|nspr|" "${S}"/configure
210 G2CONF="${G2CONF} --enable-nss=yes"
211 else
212 G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
213 --without-nss-libs --without-nss-includes"
214 fi
215
216 # /usr/include/db.h is always db-1 on FreeBSD
217 # so include the right dir in CPPFLAGS
218 append-cppflags "-I$(db_includedir)"
219
220 cd "${S}"
221 gnome2_src_compile
222 }
223
224
225
226 --
227 gentoo-commits@g.o mailing list