summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-05-23 22:11:42 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-05-23 22:11:42 +0000
commit3d0c1a9f469970a2fa36306ac5177abc76887938 (patch)
tree1dc715bf8cdb92b369e6c55764702c30526bb3ca /gnome-extra/evolution-data-server
parentUse system sdl-gfx instead of the bundled version, bug #252526 (diff)
downloadgentoo-2-3d0c1a9f469970a2fa36306ac5177abc76887938.tar.gz
gentoo-2-3d0c1a9f469970a2fa36306ac5177abc76887938.tar.bz2
gentoo-2-3d0c1a9f469970a2fa36306ac5177abc76887938.zip
New version for GNOME 2.26. CalDAV support for VTODO and VJOURNAL. Drop libical fork and use system's copy. Mail DB reorganization for unreleased beagle/tracker. Clean up old revisions.
(Portage version: 2.2_rc33/cvs/Linux x86_64)
Diffstat (limited to 'gnome-extra/evolution-data-server')
-rw-r--r--gnome-extra/evolution-data-server/ChangeLog25
-rw-r--r--gnome-extra/evolution-data-server/evolution-data-server-1.12.3.ebuild145
-rw-r--r--gnome-extra/evolution-data-server/evolution-data-server-2.26.2.ebuild (renamed from gnome-extra/evolution-data-server/evolution-data-server-2.22.3-r2.ebuild)86
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-1.11.3-as-needed.patch35
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch28
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-gtk-doc.patch30
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-no-libsoup24.patch47
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-as-needed.patch54
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-gtkdoc-rebase.patch13
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.21.90-icaltz-util.patch36
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-CVE-2009-0547.patch107
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-mail-cleanup-delay.patch98
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-timezone-western.patch54
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.25.5-as-needed.patch54
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-2.25.90-no-libdb.patch13
-rw-r--r--gnome-extra/evolution-data-server/files/evolution-data-server-no_lazy_bindings.patch12
16 files changed, 132 insertions, 705 deletions
diff --git a/gnome-extra/evolution-data-server/ChangeLog b/gnome-extra/evolution-data-server/ChangeLog
index 5a908442df2f..4080b092f8b7 100644
--- a/gnome-extra/evolution-data-server/ChangeLog
+++ b/gnome-extra/evolution-data-server/ChangeLog
@@ -1,6 +1,29 @@
# ChangeLog for gnome-extra/evolution-data-server
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.230 2009/04/27 14:39:31 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/ChangeLog,v 1.231 2009/05/23 22:11:41 eva Exp $
+
+*evolution-data-server-2.26.2 (23 May 2009)
+
+ 23 May 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ -files/evolution-data-server-1.11.3-as-needed.patch,
+ -files/evolution-data-server-1.12.1-icaltz-util.patch,
+ -evolution-data-server-1.12.3.ebuild,
+ -files/evolution-data-server-1.12.3-gtk-doc.patch,
+ -files/evolution-data-server-1.12.3-no-libsoup24.patch,
+ -files/evolution-data-server-2.21.4-as-needed.patch,
+ -files/evolution-data-server-2.21.4-gtkdoc-rebase.patch,
+ -files/evolution-data-server-2.21.90-icaltz-util.patch,
+ -evolution-data-server-2.22.3-r2.ebuild,
+ -files/evolution-data-server-2.22.3-CVE-2009-0547.patch,
+ -files/evolution-data-server-2.22.3-mail-cleanup-delay.patch,
+ -files/evolution-data-server-2.22.3-timezone-western.patch,
+ +files/evolution-data-server-2.25.5-as-needed.patch,
+ +files/evolution-data-server-2.25.90-no-libdb.patch,
+ +evolution-data-server-2.26.2.ebuild,
+ -files/evolution-data-server-no_lazy_bindings.patch:
+ New version for GNOME 2.26. CalDAV support for VTODO and VJOURNAL. Drop
+ libical fork and use system's copy. Mail DB reorganization for unreleased
+ beagle/tracker. Clean up old revisions.
27 Apr 2009; Jeroen Roovers <jer@gentoo.org>
evolution-data-server-2.24.5-r2:
diff --git a/gnome-extra/evolution-data-server/evolution-data-server-1.12.3.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-1.12.3.ebuild
deleted file mode 100644
index 1e3461481922..000000000000
--- a/gnome-extra/evolution-data-server/evolution-data-server-1.12.3.ebuild
+++ /dev/null
@@ -1,145 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-1.12.3.ebuild,v 1.14 2009/03/16 22:48:38 eva Exp $
-EAPI="1"
-
-inherit db-use eutils flag-o-matic gnome2 autotools
-
-DESCRIPTION="Evolution groupware backend"
-HOMEPAGE="http://www.gnome.org/projects/evolution/"
-
-LICENSE="LGPL-2 Sleepycat"
-SLOT="0"
-KEYWORDS="arm"
-IUSE="doc ipv6 kerberos gnome-keyring krb4 ldap ssl"
-
-RDEPEND=">=x11-libs/gtk+-2.10
- >=gnome-base/orbit-2.9.8
- >=gnome-base/gnome-vfs-2.4
- >=gnome-base/libbonobo-2.4.2
- >=gnome-base/gconf-2
- >=gnome-base/libglade-2
- >=gnome-base/libgnome-2
- >=dev-libs/libxml2-2
- gnome-keyring? ( gnome-base/gnome-keyring )
- ssl? (
- >=dev-libs/nspr-4.4
- >=dev-libs/nss-3.9 )
- >=gnome-base/libgnomeui-2
- >=net-libs/libsoup-2.2.91:2.2
- sys-libs/zlib
- =sys-libs/db-4*
- ldap? ( >=net-nds/openldap-2.0 )
- kerberos? ( virtual/krb5 )
- krb4? ( virtual/krb5 )"
-
-DEPEND="${RDEPEND}
- >=dev-util/pkgconfig-0.9
- >=dev-util/intltool-0.35.5
- >=gnome-base/gnome-common-2
- doc? ( >=dev-util/gtk-doc-1.4 )"
-
-DOCS="ChangeLog MAINTAINERS NEWS TODO"
-
-pkg_setup() {
- G2CONF="$(use_with ldap openldap) \
- $(use_with kerberos krb5 /usr) \
- $(use_enable ssl nss) \
- $(use_enable ssl smime) \
- $(use_enable ipv6) \
- $(use_enable gnome-keyring) \
- --with-libdb=/usr/$(get_libdir)"
-
- if use krb4 && ! built_with_use virtual/krb5 krb4; then
- ewarn
- ewarn "In order to add kerberos 4 support, you have to emerge"
- ewarn "virtual/krb5 with the 'krb4' USE flag enabled as well."
- ewarn
- ewarn "Skipping for now."
- ewarn
- G2CONF="${G2CONF} --without-krb4"
- else
- G2CONF="${G2CONF} $(use_with krb4 krb4 /usr)"
- fi
-}
-
-src_unpack() {
- gnome2_src_unpack
-
- # Fix what ?
- epatch "${FILESDIR}"/${PN}-1.2.0-gentoo_etc_services.patch
-
- # Fix broken libdb build
- epatch "${FILESDIR}"/${PN}-1.11.3-no-libdb.patch
-
- # Resolve symbols at execution time for setgid binaries
- epatch "${FILESDIR}"/${PN}-no_lazy_bindings.patch
-
- # Rewind in camel-disco-diary to fix a crash
- epatch "${FILESDIR}"/${PN}-1.8.0-camel-rewind.patch
-
- # Don't assume that endian.h and byteswap.h exist on all non sun os's
- epatch "${FILESDIR}"/${PN}-1.12.1-icaltz-util.patch
-
- # Fix broken gtk-doc.make
- epatch "${FILESDIR}"/${PN}-1.12.3-gtk-doc.patch
-
- # Don't check for libsoup-2.4 - is not adapted to further API changes in 2.3 development
- epatch "${FILESDIR}/${P}-no-libsoup24.patch"
-
-#-------------Upstream GNOME look here -----------------#
-
- # --as-needed fixes
- epatch "${FILESDIR}"/${PN}-1.11.3-as-needed.patch
-
- # fix for dep ordering so we can add libedataserverui to libexchange-storage
- # we need to do this or: undefined reference to `e_passwords_get_password'
- # are the kinds of errors you will get.
-
- # move the groupwise backend and provider for addressbook, camel, and
- # calendar to its own folder called server.deps.
- mkdir server.deps || die "mkdir server.deps failed"
- mv addressbook/backends/groupwise server.deps/addressbook || die "mv address/groupwise failed"
- mv camel/providers/groupwise server.deps/camel || die "mv camel/groupwise failed"
- mv calendar/backends/groupwise server.deps/calendar || die "mv calendar/groupwise failed"
-
- # now fix the autotools foo for the new directory and the removed ones
- echo "SUBDIRS = addressbook camel calendar" > server.deps/Makefile.am || die "echo failed"
-
- # remove groupwise folder from Makefile's since they are in a diff location
- sed -i -e 's: groupwise::' addressbook/backends/Makefile.am camel/providers/Makefile.am calendar/backends/Makefile.am || die "sed 1 failed"
-
- # fix configure.in location of the Makefile's
- sed -i -e 's:addressbook/backends/groupwise:server.deps/addressbook:' configure.in || die "sed 2 failed"
- sed -i -e 's:camel/providers/groupwise:server.deps/camel:' configure.in || die "sed 3 failed"
- # tack on the server.deps Makefile on our last edit
- sed -i -e 's:calendar/backends/groupwise:server.deps/calendar/Makefile\nserver.deps:' configure.in || die "sed 4 failed"
-
- # fix file includes
- 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"
-
- # Fix db version for FreeBSD users where -ldb is always db-1
- sed -i -e "s:-ldb:-l$(db_libname):" configure.in || die "sed 6 failed"
-
-#---------------Upstream GNOME stop here---------------
- eautoreconf
-}
-
-src_compile() {
- # Use NSS/NSPR only if 'ssl' is enabled.
- if use ssl ; then
- sed -i -e "s|mozilla-nss|nss|
- s|mozilla-nspr|nspr|" "${S}"/configure
- G2CONF="${G2CONF} --enable-nss=yes"
- else
- G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
- --without-nss-libs --without-nss-includes"
- fi
-
- # /usr/include/db.h is always db-1 on FreeBSD
- # so include the right dir in CPPFLAGS
- append-cppflags "-I$(db_includedir)"
-
- cd "${S}"
- gnome2_src_compile
-}
diff --git a/gnome-extra/evolution-data-server/evolution-data-server-2.22.3-r2.ebuild b/gnome-extra/evolution-data-server/evolution-data-server-2.26.2.ebuild
index 372909f1902d..2847d182bcb4 100644
--- a/gnome-extra/evolution-data-server/evolution-data-server-2.22.3-r2.ebuild
+++ b/gnome-extra/evolution-data-server/evolution-data-server-2.26.2.ebuild
@@ -1,28 +1,32 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.22.3-r2.ebuild,v 1.8 2009/03/19 02:10:25 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/gnome-extra/evolution-data-server/evolution-data-server-2.26.2.ebuild,v 1.1 2009/05/23 22:11:42 eva Exp $
-inherit db-use eutils flag-o-matic gnome2 autotools
+EAPI="2"
+
+inherit db-use eutils flag-o-matic gnome2 autotools versionator
DESCRIPTION="Evolution groupware backend"
HOMEPAGE="http://www.gnome.org/projects/evolution/"
LICENSE="LGPL-2 Sleepycat"
SLOT="0"
-KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~sparc ~x86 ~x86-fbsd"
IUSE="doc ipv6 kerberos gnome-keyring krb4 ldap ssl"
-RDEPEND=">=dev-libs/glib-2.15.3
- >=x11-libs/gtk+-2.10
+RDEPEND=">=dev-libs/glib-2.16.1
+ >=x11-libs/gtk+-2.14
>=gnome-base/orbit-2.9.8
- >=gnome-base/gnome-vfs-2.4
>=gnome-base/libbonobo-2.20.3
>=gnome-base/gconf-2
>=gnome-base/libglade-2
>=gnome-base/libgnome-2
>=dev-libs/libxml2-2
>=net-libs/libsoup-2.4
- gnome-keyring? ( >=gnome-base/gnome-keyring-2.20 )
+ >=dev-libs/libgweather-2.25.4
+ >=dev-libs/libical-0.43
+ gnome-keyring? ( >=gnome-base/gnome-keyring-2.20.1 )
+ >=dev-db/sqlite-3.5
ssl? (
>=dev-libs/nspr-4.4
>=dev-libs/nss-3.9 )
@@ -31,7 +35,7 @@ RDEPEND=">=dev-libs/glib-2.15.3
=sys-libs/db-4*
ldap? ( >=net-nds/openldap-2.0 )
kerberos? ( virtual/krb5 )
- krb4? ( virtual/krb5 )"
+ krb4? ( virtual/krb5[krb4] )"
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.9
@@ -45,65 +49,39 @@ DOCS="ChangeLog MAINTAINERS NEWS TODO"
pkg_setup() {
G2CONF="${G2CONF}
$(use_with ldap openldap)
+ $(use_with krb4 krb4 /usr)
$(use_with kerberos krb5 /usr)
$(use_enable ssl nss)
$(use_enable ssl smime)
$(use_enable ipv6)
$(use_enable gnome-keyring)
+ --with-weather
--with-libdb=/usr/$(get_libdir)"
-
- if use krb4 && ! built_with_use virtual/krb5 krb4; then
- ewarn
- ewarn "In order to add kerberos 4 support, you have to emerge"
- ewarn "virtual/krb5 with the 'krb4' USE flag enabled as well."
- ewarn
- ewarn "Skipping for now."
- ewarn
- G2CONF="${G2CONF} --without-krb4"
- else
- G2CONF="${G2CONF} $(use_with krb4 krb4 /usr)"
- fi
}
-src_unpack() {
- gnome2_src_unpack
+src_prepare() {
+ gnome2_src_prepare
# Adjust to gentoo's /etc/service
epatch "${FILESDIR}"/${PN}-1.2.0-gentoo_etc_services.patch
# Fix broken libdb build
- epatch "${FILESDIR}"/${PN}-1.11.3-no-libdb.patch
+ epatch "${FILESDIR}"/${PN}-2.25.90-no-libdb.patch
# Rewind in camel-disco-diary to fix a crash
epatch "${FILESDIR}"/${PN}-1.8.0-camel-rewind.patch
- # Don't assume that endian.h and byteswap.h exist on all non sun os's
- epatch "${FILESDIR}"/${PN}-2.21.90-icaltz-util.patch
-
- # Don't error out if gtkdoc-rebase doesn't exist.
- epatch "${FILESDIR}"/${PN}-2.21.4-gtkdoc-rebase.patch
-
- # Fix building evo-exchange with --as-needed
- epatch "${FILESDIR}"/${PN}-2.21.4-as-needed.patch
-
- # Fix automatic mail delete after X days, upstream bug #514827
- epatch "${FILESDIR}"/${P}-mail-cleanup-delay.patch
-
- # Fix calculation of weekday, upstream bug #548268
- epatch "${FILESDIR}"/${P}-timezone-western.patch
-
- # Fix S/MIME verification. Bug #258867
- epatch "${FILESDIR}"/${P}-CVE-2009-0547.patch
+ # Fix building evo-exchange with --as-needed, upstream bug #342830
+ epatch "${FILESDIR}"/${PN}-2.25.5-as-needed.patch
# gtk-doc-am and gnome-common needed for this
+ intltoolize --force --copy --automake || die "intltoolize failed"
eautoreconf
-}
-src_compile() {
# Use NSS/NSPR only if 'ssl' is enabled.
if use ssl ; then
sed -i -e "s|mozilla-nss|nss|
- s|mozilla-nspr|nspr|" "${S}"/configure
+ s|mozilla-nspr|nspr|" "${S}"/configure || die "sed failed"
G2CONF="${G2CONF} --enable-nss=yes"
else
G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
@@ -113,7 +91,25 @@ src_compile() {
# /usr/include/db.h is always db-1 on FreeBSD
# so include the right dir in CPPFLAGS
append-cppflags "-I$(db_includedir)"
+}
+
+src_install() {
+ gnome2_src_install
+
+ if use ldap; then
+ MY_MAJORV=$(get_version_component_range 1-2)
+ insinto /etc/openldap/schema
+ doins "${FILESDIR}"/calentry.schema || die "doins failed"
+ dosym "${D}"/usr/share/${PN}-${MY_MAJORV}/evolutionperson.schema /etc/openldap/schema/evolutionperson.schema
+ fi
- cd "${S}"
- gnome2_src_compile
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ if use ldap; then
+ elog ""
+ elog "LDAP schemas needed by evolution are installed in /etc/openldap/schema"
+ fi
}
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.11.3-as-needed.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.11.3-as-needed.patch
deleted file mode 100644
index fe287ea2377a..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-1.11.3-as-needed.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-1.11.3.orig/Makefile.am evolution-data-server-1.11.3/Makefile.am
---- evolution-data-server-1.11.3.orig/Makefile.am 2007-06-04 01:41:14.000000000 -0400
-+++ evolution-data-server-1.11.3/Makefile.am 2007-06-07 11:03:46.000000000 -0400
-@@ -9,8 +9,8 @@ if ENABLE_CALENDAR
- CALENDAR_DIR = calendar
- endif
-
--SUBDIRS = $(LIBDB) win32 libedataserver servers camel addressbook $(CALENDAR_DIR) libedataserverui src docs art po
--DIST_SUBDIRS= win32 libedataserver servers camel addressbook calendar libedataserverui src docs art po
-+SUBDIRS = $(LIBDB) win32 libedataserver camel addressbook $(CALENDAR_DIR) libedataserverui servers server.deps src docs art po
-+DIST_SUBDIRS= win32 libedataserver camel addressbook calendar libedataserverui servers server.deps src docs art po
-
- changelogs = \
- ChangeLog
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-1.11.3.orig/servers/exchange/storage/Makefile.am evolution-data-server-1.11.3/servers/exchange/storage/Makefile.am
---- evolution-data-server-1.11.3.orig/servers/exchange/storage/Makefile.am 2007-06-01 03:06:39.000000000 -0400
-+++ evolution-data-server-1.11.3/servers/exchange/storage/Makefile.am 2007-06-07 11:02:23.000000000 -0400
-@@ -63,14 +63,15 @@ libexchange_storage_1_2_la_LIBADD = \
- $(top_builddir)/servers/exchange/lib/libexchange.la \
- $(top_builddir)/servers/exchange/xntlm/libxntlm.la \
- $(top_builddir)/libedataserver/libedataserver-1.2.la \
-+ $(top_builddir)/libedataserverui/libedataserverui-1.2.la\
- $(E_DATA_SERVER_LIBS) \
- $(E_DATA_SERVER_UI_LIBS) \
- $(LDAP_LIBS) \
- $(SOUP_LIBS) \
-- $(SOCKET_LIBS)
-+ $(SOCKET_LIBS) \
-+ $(KRB5_LDFLAGS)
-
- libexchange_storage_1_2_la_LDFLAGS = \
-- $(KRB5_LDFLAGS) \
- $(NO_UNDEFINED) \
- -version-info $(LIBEXCHANGE_STORAGE_CURRENT):$(LIBEXCHANGE_STORAGE_REVISION):$(LIBEXCHANGE_STORAGE_AGE)
-
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch
deleted file mode 100644
index 982291b274aa..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.1-icaltz-util.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-diff -ur a/calendar/libical/src/libical/icaltz-util.c b/calendar/libical/src/libical/icaltz-util.c
---- a/calendar/libical/src/libical/icaltz-util.c 2007-10-12 07:31:10 +0100
-+++ b/calendar/libical/src/libical/icaltz-util.c 2007-10-19 11:34:38 +0100
-@@ -23,9 +23,11 @@
- #include <string.h>
- #if defined(sun) && defined(__SVR4)
- #include <sys/byteorder.h>
--#else
-+#elif defined(__linux__)
- #include <byteswap.h>
- #include <endian.h>
-+#else
-+#include <sys/endian.h>
- #endif
- #include <limits.h>
- #include <time.h>
-@@ -89,7 +91,11 @@
- if ((BYTE_ORDER == BIG_ENDIAN) && sizeof (int) == 4)
- return *(const int *) ptr;
- else if (BYTE_ORDER == LITTLE_ENDIAN && sizeof (int) == 4)
-+#ifdef __linux__
- return bswap_32 (*(const int *) ptr);
-+#else
-+ return bswap32 (*(const uint32_t *) ptr);
-+#endif
- #endif
- else
- {
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-gtk-doc.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-gtk-doc.patch
deleted file mode 100644
index 62577ea90621..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-gtk-doc.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- gtk-doc.make 2008-01-20 13:50:03.000000000 +0100
-+++ gtk-doc.make 2007-10-14 19:45:39.000000000 +0200
-@@ -5,11 +5,11 @@
- ####################################
-
- if GTK_DOC_USE_LIBTOOL
--GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
--GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
-+GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
-+GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
- else
--GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
--GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
-+GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CFLAGS) $(CFLAGS)
-+GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS)
- endif
-
- # We set GPATH here; this gives us semantics for GNU make
-@@ -139,8 +139,9 @@
- done; \
- echo '-- Installing $(srcdir)/html/index.sgml' ; \
- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
-- which gtkdoc-rebase >/dev/null && \
-- gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
-+ if test `which gtkdoc-rebase` != ""; then \
-+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
-+ fi \
- fi
-
-
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-no-libsoup24.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-no-libsoup24.patch
deleted file mode 100644
index 2f78ccdf7c73..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-1.12.3-no-libsoup24.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- configure.in.orig 2008-03-26 02:45:26.000000000 +0200
-+++ configure.in 2008-03-26 02:46:03.000000000 +0200
-@@ -1407,14 +1407,8 @@
- AC_SUBST(E_FACTORY_LIBS)
-
- dnl --- Groupwise flags
--PKG_CHECK_EXISTS(libsoup-2.4, have_libsoup_24=yes, have_libsoup_24=no)
--if test $have_libsoup_24 = yes; then
-- LIBSOUP_REQUIRED=2.3.0
-- LIBSOUP=libsoup-2.4
--else
-- LIBSOUP_REQUIRED=2.2.91
-- LIBSOUP=libsoup-2.2
--fi
-+LIBSOUP_REQUIRED=2.2.91
-+LIBSOUP=libsoup-2.2
- AC_SUBST(LIBSOUP_REQUIRED)
- AC_SUBST(LIBSOUP)
- EVO_SET_COMPILE_FLAGS(SOUP, $LIBSOUP >= $LIBSOUP_REQUIRED)
---- configure.orig 2008-03-26 02:45:29.000000000 +0200
-+++ configure 2008-03-26 02:46:18.000000000 +0200
-@@ -31479,23 +31479,8 @@
-
-
-
--if test -n "$PKG_CONFIG" && \
-- { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libsoup-2.4\"") >&5
-- ($PKG_CONFIG --exists --print-errors "libsoup-2.4") 2>&5
-- ac_status=$?
-- echo "$as_me:$LINENO: \$? = $ac_status" >&5
-- (exit $ac_status); }; then
-- have_libsoup_24=yes
--else
-- have_libsoup_24=no
--fi
--if test $have_libsoup_24 = yes; then
-- LIBSOUP_REQUIRED=2.3.0
-- LIBSOUP=libsoup-2.4
--else
-- LIBSOUP_REQUIRED=2.2.91
-- LIBSOUP=libsoup-2.2
--fi
-+LIBSOUP_REQUIRED=2.2.91
-+LIBSOUP=libsoup-2.2
-
-
-
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-as-needed.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-as-needed.patch
deleted file mode 100644
index a64d5675e581..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-as-needed.patch
+++ /dev/null
@@ -1,54 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.21.4.orig/addressbook/backends/Makefile.am evolution-data-server-2.21.4/addressbook/backends/Makefile.am
---- evolution-data-server-2.21.4.orig/addressbook/backends/Makefile.am 2007-10-23 05:57:41.000000000 -0400
-+++ evolution-data-server-2.21.4/addressbook/backends/Makefile.am 2007-12-17 13:25:00.000000000 -0500
-@@ -4,4 +4,4 @@ else
- LDAP_SUBDIR =
- endif
-
--SUBDIRS = file vcf $(LDAP_SUBDIR) groupwise
-+SUBDIRS = file vcf $(LDAP_SUBDIR)
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.21.4.orig/calendar/backends/Makefile.am evolution-data-server-2.21.4/calendar/backends/Makefile.am
---- evolution-data-server-2.21.4.orig/calendar/backends/Makefile.am 2007-10-24 02:39:45.000000000 -0400
-+++ evolution-data-server-2.21.4/calendar/backends/Makefile.am 2007-12-17 13:33:56.000000000 -0500
-@@ -1 +1 @@
--SUBDIRS = file groupwise http contacts weather caldav google
-+SUBDIRS = file http contacts weather caldav
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.21.4.orig/camel/providers/Makefile.am evolution-data-server-2.21.4/camel/providers/Makefile.am
---- evolution-data-server-2.21.4.orig/camel/providers/Makefile.am 2007-10-23 05:57:04.000000000 -0400
-+++ evolution-data-server-2.21.4/camel/providers/Makefile.am 2007-12-17 13:24:50.000000000 -0500
-@@ -17,6 +17,6 @@ else
- SENDMAIL_DIR=sendmail
- endif
-
--SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAP4_DIR) $(NNTP_DIR) local $(IMAPP_DIR) groupwise hula
-+SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAP4_DIR) $(NNTP_DIR) local $(IMAPP_DIR) hula
-
-
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.21.4.orig/Makefile.am evolution-data-server-2.21.4/Makefile.am
---- evolution-data-server-2.21.4.orig/Makefile.am 2007-10-23 05:59:44.000000000 -0400
-+++ evolution-data-server-2.21.4/Makefile.am 2007-12-17 13:33:44.000000000 -0500
-@@ -7,9 +7,12 @@ endif
-
- if ENABLE_CALENDAR
- CALENDAR_DIR = calendar
-+CALENDAR_LATER = calendar/backends/groupwise calendar/backends/google
- endif
-
--SUBDIRS = $(LIBDB) win32 libedataserver servers camel addressbook $(CALENDAR_DIR) libedataserverui src docs art po
-+LATER = camel/providers/groupwise addressbook/backends/groupwise $(CALENDAR_LATER)
-+
-+SUBDIRS = $(LIBDB) win32 libedataserver camel addressbook $(CALENDAR_DIR) libedataserverui servers $(LATER) src docs art po
- DIST_SUBDIRS= win32 libedataserver servers camel addressbook calendar libedataserverui src docs art po
-
- changelogs = \
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.21.4.orig/servers/exchange/storage/Makefile.am evolution-data-server-2.21.4/servers/exchange/storage/Makefile.am
---- evolution-data-server-2.21.4.orig/servers/exchange/storage/Makefile.am 2007-10-23 05:57:26.000000000 -0400
-+++ evolution-data-server-2.21.4/servers/exchange/storage/Makefile.am 2007-12-17 13:20:50.000000000 -0500
-@@ -63,6 +63,7 @@ libexchange_storage_1_2_la_LIBADD = \
- $(top_builddir)/servers/exchange/lib/libexchange.la \
- $(top_builddir)/servers/exchange/xntlm/libxntlm.la \
- $(top_builddir)/libedataserver/libedataserver-1.2.la \
-+ $(top_builddir)/libedataserverui/libedataserverui-1.2.la \
- $(E_DATA_SERVER_LIBS) \
- $(E_DATA_SERVER_UI_LIBS) \
- $(LDAP_LIBS) \
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-gtkdoc-rebase.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-gtkdoc-rebase.patch
deleted file mode 100644
index 963d5e2b0130..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.4-gtkdoc-rebase.patch
+++ /dev/null
@@ -1,13 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.21.4.orig/gtk-doc.make evolution-data-server-2.21.4/gtk-doc.make
---- evolution-data-server-2.21.4.orig/gtk-doc.make 2007-12-16 22:56:57.000000000 -0500
-+++ evolution-data-server-2.21.4/gtk-doc.make 2007-12-17 10:51:40.000000000 -0500
-@@ -139,8 +139,7 @@ install-data-local:
- done; \
- echo '-- Installing $(srcdir)/html/index.sgml' ; \
- $(INSTALL_DATA) $(srcdir)/html/index.sgml $(DESTDIR)$(TARGET_DIR) || :; \
-- which gtkdoc-rebase >/dev/null && \
-- gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) ; \
-+ gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$(DESTDIR)$(TARGET_DIR) || true ; \
- fi
-
-
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.90-icaltz-util.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.90-icaltz-util.patch
deleted file mode 100644
index 0fbc8cb30b84..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-2.21.90-icaltz-util.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.21.90.orig/calendar/libical/src/libical/icaltz-util.c evolution-data-server-2.21.90/calendar/libical/src/libical/icaltz-util.c
---- evolution-data-server-2.21.90.orig/calendar/libical/src/libical/icaltz-util.c 2008-01-23 06:16:42.000000000 -0500
-+++ evolution-data-server-2.21.90/calendar/libical/src/libical/icaltz-util.c 2008-01-30 18:27:13.000000000 -0500
-@@ -23,16 +23,16 @@
- #include <string.h>
- #if defined(sun) && defined(__SVR4)
- #include <sys/byteorder.h>
--#else
--#ifdef _WIN32
-+#elif defined(_WIN32)
- #define BIG_ENDIAN 'B'
- #define LITTLE_ENDIAN 'l'
- #define BYTE_ORDER LITTLE_ENDIAN
- #define bswap_32(val) ((((val) & 0x000000ffU) << 24) | (((val) & 0x0000ff00U) << 8) | (((val) & 0x00ff0000U) >> 8) | (((val) & 0xff000000U) >> 24))
--#else
-+#elif defined(__linux__)
- #include <byteswap.h>
- #include <endian.h>
--#endif
-+#else
-+#include <sys/endian.h>
- #endif
- #include <limits.h>
- #include <time.h>
-@@ -96,7 +96,11 @@ decode (const void *ptr)
- if ((BYTE_ORDER == BIG_ENDIAN) && sizeof (int) == 4)
- return *(const int *) ptr;
- else if (BYTE_ORDER == LITTLE_ENDIAN && sizeof (int) == 4)
-+#ifdef __linux__
- return bswap_32 (*(const int *) ptr);
-+#else
-+ return bswap32 (*(const uint32_t *) ptr);
-+#endif
- #endif
- else
- {
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-CVE-2009-0547.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-CVE-2009-0547.patch
deleted file mode 100644
index 7ce27faf4723..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-CVE-2009-0547.patch
+++ /dev/null
@@ -1,107 +0,0 @@
-diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.22.3.orig/camel/camel-smime-context.c evolution-data-server-2.22.3/camel/camel-smime-context.c
---- evolution-data-server-2.22.3.orig/camel/camel-smime-context.c 2008-04-04 05:01:59.000000000 -0400
-+++ evolution-data-server-2.22.3/camel/camel-smime-context.c 2009-03-07 15:44:47.000000000 -0500
-@@ -40,6 +40,7 @@
- #include <smime.h>
- #include <pkcs11t.h>
- #include <pk11func.h>
-+#include <secoid.h>
-
- #include <errno.h>
-
-@@ -534,6 +535,7 @@ sm_verify_cmsg(CamelCipherContext *conte
- for (i = 0; i < count; i++) {
- NSSCMSContentInfo *cinfo = NSS_CMSMessage_ContentLevel(cmsg, i);
- SECOidTag typetag = NSS_CMSContentInfo_GetContentTypeTag(cinfo);
-+ int which_digest;
-
- switch (typetag) {
- case SEC_OID_PKCS7_SIGNED_DATA:
-@@ -543,45 +545,50 @@ sm_verify_cmsg(CamelCipherContext *conte
- goto fail;
- }
-
-- /* need to build digests of the content */
-- if (!NSS_CMSSignedData_HasDigests(sigd)) {
-- if (extstream == NULL) {
-- camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Digests missing from enveloped data"));
-- goto fail;
-- }
--
-- if ((poolp = PORT_NewArena(1024)) == NULL) {
-- camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, g_strerror (ENOMEM));
-- goto fail;
-- }
--
-- digestalgs = NSS_CMSSignedData_GetDigestAlgs(sigd);
-
-- digcx = NSS_CMSDigestContext_StartMultiple(digestalgs);
-- if (digcx == NULL) {
-- camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot calculate digests"));
-- goto fail;
-- }
--
-- mem = (CamelStreamMem *)camel_stream_mem_new();
-- camel_stream_write_to_stream(extstream, (CamelStream *)mem);
-- NSS_CMSDigestContext_Update(digcx, mem->buffer->data, mem->buffer->len);
-- camel_object_unref(mem);
--
-- if (NSS_CMSDigestContext_FinishMultiple(digcx, poolp, &digests) != SECSuccess) {
-- camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot calculate digests"));
-- goto fail;
-- }
--
-- if (NSS_CMSSignedData_SetDigests(sigd, digestalgs, digests) != SECSuccess) {
-- camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot set message digests"));
-- goto fail;
-- }
--
-- PORT_FreeArena(poolp, PR_FALSE);
-- poolp = NULL;
-+ if (extstream == NULL) {
-+ camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Digests missing from enveloped data"));
-+ goto fail;
- }
--
-+
-+ if ((poolp = PORT_NewArena(1024)) == NULL) {
-+ camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, g_strerror (ENOMEM));
-+ goto fail;
-+ }
-+
-+ digestalgs = NSS_CMSSignedData_GetDigestAlgs(sigd);
-+
-+ digcx = NSS_CMSDigestContext_StartMultiple(digestalgs);
-+ if (digcx == NULL) {
-+ camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot calculate digests"));
-+ goto fail;
-+ }
-+
-+ mem = (CamelStreamMem *)camel_stream_mem_new();
-+ camel_stream_write_to_stream(extstream, (CamelStream *)mem);
-+ NSS_CMSDigestContext_Update(digcx, mem->buffer->data, mem->buffer->len);
-+ camel_object_unref(mem);
-+
-+ if (NSS_CMSDigestContext_FinishMultiple(digcx, poolp, &digests) != SECSuccess) {
-+ camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot calculate digests"));
-+ goto fail;
-+ }
-+
-+ for (which_digest = 0; digests[which_digest] != NULL; which_digest++) {
-+ SECOidData *digest_alg = SECOID_FindOID (&digestalgs[which_digest]->algorithm);
-+ if (digest_alg == NULL) {
-+ camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot set message digests"));
-+ goto fail;
-+ }
-+ if (NSS_CMSSignedData_SetDigestValue (sigd, digest_alg->offset, digests[which_digest]) != SECSuccess) {
-+ camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Cannot set message digests"));
-+ goto fail;
-+ }
-+ }
-+
-+ PORT_FreeArena(poolp, PR_FALSE);
-+ poolp = NULL;
-+
- /* import all certificates present */
- if (NSS_CMSSignedData_ImportCerts(sigd, p->certdb, certUsageEmailSigner, PR_TRUE) != SECSuccess) {
- camel_exception_set (ex, CAMEL_EXCEPTION_SYSTEM, _("Certificate import failed"));
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-mail-cleanup-delay.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-mail-cleanup-delay.patch
deleted file mode 100644
index 51030a14df37..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-mail-cleanup-delay.patch
+++ /dev/null
@@ -1,98 +0,0 @@
----
-
-At http://bugzilla.gnome.org/show_bug.cgi?id=514827
-
-I have POP account in web.de
-I would like to leave in server only 1 days, and older messages should be
-deleted.
-I tried to do this with the pop account preference setting:
-x Leave messages on server
-x Delete messages older than 1 days
-
-However, the messages are still kept in the server although it is more than
-several days.
-
-Index: b/camel/providers/pop3/camel-pop3-folder.c
-===================================================================
---- a/camel/providers/pop3/camel-pop3-folder.c (revision 9476)
-+++ b/camel/providers/pop3/camel-pop3-folder.c (working copy)
-@@ -356,6 +356,48 @@
- camel_pop3_store_expunge (pop3_store, ex);
- }
-
-+static gboolean
-+pop3_get_message_time_from_cache (CamelFolder *folder, const char *uid, time_t *message_time)
-+{
-+ CamelPOP3Store *pop3_store;
-+ CamelStream *stream = NULL;
-+ char buffer[1];
-+ gboolean res = FALSE;
-+
-+ g_return_val_if_fail (folder != NULL, FALSE);
-+ g_return_val_if_fail (uid != NULL, FALSE);
-+ g_return_val_if_fail (message_time != NULL, FALSE);
-+
-+ pop3_store = CAMEL_POP3_STORE (folder->parent_store);
-+
-+ g_return_val_if_fail (pop3_store->cache != NULL, FALSE);
-+
-+ if ((stream = camel_data_cache_get (pop3_store->cache, "cache", uid, NULL)) != NULL
-+ && camel_stream_read (stream, buffer, 1) == 1
-+ && buffer[0] == '#') {
-+ CamelMimeMessage *message;
-+
-+ message = camel_mime_message_new ();
-+ if (camel_data_wrapper_construct_from_stream ((CamelDataWrapper *)message, stream) == -1) {
-+ g_warning (_("Cannot get message %s: %s"), uid, g_strerror (errno));
-+ camel_object_unref ((CamelObject *)message);
-+ message = NULL;
-+ }
-+
-+ if (message) {
-+ res = TRUE;
-+ *message_time = message->date + message->date_offset;
-+
-+ camel_object_unref ((CamelObject *)message);
-+ }
-+ }
-+
-+ if (stream) {
-+ camel_object_unref (stream);
-+ }
-+ return res;
-+}
-+
- int
- camel_pop3_delete_old(CamelFolder *folder, int days_to_delete, CamelException *ex)
- {
-@@ -363,8 +405,7 @@
- CamelPOP3FolderInfo *fi;
- int i;
- CamelPOP3Store *pop3_store;
-- time_t temp;
-- CamelMessageInfo *minfo;
-+ time_t temp, message_time;
-
- pop3_folder = CAMEL_POP3_FOLDER (folder);
- pop3_store = CAMEL_POP3_STORE (CAMEL_FOLDER(pop3_folder)->parent_store);
-@@ -374,10 +415,8 @@
- for (i = 0; i < pop3_folder->uids->len; i++) {
- fi = pop3_folder->uids->pdata[i];
-
-- minfo = camel_folder_get_message_info (folder, fi->uid);
- d(printf("%s(%d): fi->uid=[%s]\n", __FILE__, __LINE__, fi->uid));
-- if(minfo) {
-- time_t message_time = ((CamelMessageInfoBase *)minfo)->date_received;
-+ if (pop3_get_message_time_from_cache (folder, fi->uid, &message_time)) {
- double time_diff = difftime(temp,message_time);
- int day_lag = time_diff/(60*60*24);
-
-@@ -407,8 +446,6 @@
- camel_data_cache_remove(pop3_store->cache, "cache", fi->uid, NULL);
- }
- }
-- /* free message - not used anymore */
-- camel_folder_free_message_info (folder, minfo);
- }
- }
-
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-timezone-western.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-timezone-western.patch
deleted file mode 100644
index e1a4e6c2a12d..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-2.22.3-timezone-western.patch
+++ /dev/null
@@ -1,54 +0,0 @@
----
-At http://bugzilla.gnome.org/show_bug.cgi?id=548268
-
-As discussed in bug #528902, Evolution now uses time zone information extracted
-from the binary system time zone database.
-
-This conversion fails in at least in one case: Germany's (and therefore
-probably much of Western Europe) switch from summer saving time to normal time
-is exported in iCalendar events as [...]
-
-Index: b/calendar/libical/src/libical/icaltz-util.c
-===================================================================
---- a/calendar/libical/src/libical/icaltz-util.c (revision 646)
-+++ b/calendar/libical/src/libical/icaltz-util.c (working copy)
-@@ -198,6 +198,21 @@ icaltzutil_get_zone_directory (void)
- return zdir;
- }
-
-+/* Calculate the relative position of the week in a month from a date */
-+static int
-+calculate_pos (icaltimetype icaltime)
-+{
-+ int pos;
-+
-+ pos = (icaltime.day -1) / 7;
-+
-+ /* Check if pos 3 is the last occurence of the week day in the month */
-+ if (pos == 3 && ((icaltime.day + 7) > icaltime_days_in_month (icaltime.month, icaltime.year)))
-+ pos = 4;
-+
-+ return r_pos [pos];
-+}
-+
- icalcomponent*
- icaltzutil_fetch_timezone (const char *location)
- {
-@@ -349,7 +364,7 @@ icaltzutil_fetch_timezone (const char *l
- icalrecurrencetype_clear (&ical_recur);
- ical_recur.freq = ICAL_YEARLY_RECURRENCE;
- ical_recur.by_month [0] = icaltime.month;
-- pos = r_pos [icaltime.day/7];
-+ pos = calculate_pos (icaltime);
- pos < 0 ? (sign = -1): (sign = 1);
- ical_recur.by_day [0] = sign * ((abs (pos) * 8) + icaltime_day_of_week (icaltime));
- icalprop = icalproperty_new_rrule (ical_recur);
-@@ -387,7 +402,7 @@ icaltzutil_fetch_timezone (const char *l
- icalrecurrencetype_clear (&ical_recur);
- ical_recur.freq = ICAL_YEARLY_RECURRENCE;
- ical_recur.by_month [0] = icaltime.month;
-- pos = r_pos [icaltime.day/7];
-+ pos = calculate_pos (icaltime);
- pos < 0 ? (sign = -1): (sign = 1);
- ical_recur.by_day [0] = sign * ((abs (pos) * 8) + icaltime_day_of_week (icaltime));
- icalprop = icalproperty_new_rrule (ical_recur);
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.25.5-as-needed.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.25.5-as-needed.patch
new file mode 100644
index 000000000000..c8c33b400ed6
--- /dev/null
+++ b/gnome-extra/evolution-data-server/files/evolution-data-server-2.25.5-as-needed.patch
@@ -0,0 +1,54 @@
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.23.6.orig/addressbook/backends/Makefile.am evolution-data-server-2.23.6/addressbook/backends/Makefile.am
+--- evolution-data-server-2.23.6.orig/addressbook/backends/Makefile.am 2008-08-04 00:28:27.000000000 -0400
++++ evolution-data-server-2.23.6/addressbook/backends/Makefile.am 2008-08-05 12:26:15.000000000 -0400
+@@ -4,4 +4,4 @@ else
+ LDAP_SUBDIR =
+ endif
+
+-SUBDIRS = file vcf $(LDAP_SUBDIR) google groupwise webdav
++SUBDIRS = file vcf $(LDAP_SUBDIR)
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.23.6.orig/calendar/backends/Makefile.am evolution-data-server-2.23.6/calendar/backends/Makefile.am
+--- evolution-data-server-2.23.6.orig/calendar/backends/Makefile.am 2008-04-11 07:10:31.000000000 -0400
++++ evolution-data-server-2.23.6/calendar/backends/Makefile.am 2008-08-05 12:25:51.000000000 -0400
+@@ -7 +7 @@
+-SUBDIRS = file groupwise http contacts $(WEATHER_SUBDIR) caldav google
++SUBDIRS = file http contacts $(WEATHER_SUBDIR) caldav
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.23.6.orig/camel/providers/Makefile.am evolution-data-server-2.23.6/camel/providers/Makefile.am
+--- evolution-data-server-2.23.6.orig/camel/providers/Makefile.am 2008-08-01 02:34:59.000000000 -0400
++++ evolution-data-server-2.23.6/camel/providers/Makefile.am 2008-08-05 12:26:59.000000000 -0400
+@@ -21,6 +21,6 @@ else
+ SENDMAIL_DIR=sendmail
+ endif
+
+-SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAP4_DIR) $(NNTP_DIR) local $(IMAPP_DIR) groupwise $(HULA_DIR)
++SUBDIRS = pop3 $(SENDMAIL_DIR) smtp imap $(IMAP4_DIR) $(NNTP_DIR) local $(IMAPP_DIR) $(HULA_DIR)
+
+
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.23.6.orig/Makefile.am evolution-data-server-2.23.6/Makefile.am
+--- evolution-data-server-2.23.6.orig/Makefile.am 2008-08-01 02:35:37.000000000 -0400
++++ evolution-data-server-2.23.6/Makefile.am 2008-08-05 12:28:22.000000000 -0400
+@@ -7,9 +7,12 @@ endif
+
+ if ENABLE_CALENDAR
+ CALENDAR_DIR = calendar
++CALENDAR_LATER = calendar/backends/groupwise calendar/backends/google
+ endif
+
+-SUBDIRS = $(LIBDB) win32 libedataserver libebackend servers camel addressbook $(CALENDAR_DIR) libedataserverui src docs art po
++LATER = camel/providers/groupwise addressbook/backends/groupwise addressbook/backends/google addressbook/backends/webdav $(CALENDAR_LATER)
++
++SUBDIRS = $(LIBDB) win32 libedataserver libebackend camel addressbook $(CALENDAR_DIR) libedataserverui servers $(LATER) src docs art po
+ DIST_SUBDIRS= win32 libedataserver libebackend servers camel addressbook calendar libedataserverui src docs art po
+ changelogs = \
+ ChangeLog
+diff --exclude-from=/home/dang/.scripts/diffrc -up -ruN evolution-data-server-2.23.6.orig/servers/exchange/storage/Makefile.am evolution-data-server-2.23.6/servers/exchange/storage/Makefile.am
+--- evolution-data-server-2.23.6.orig/servers/exchange/storage/Makefile.am 2008-04-11 07:10:16.000000000 -0400
++++ evolution-data-server-2.23.6/servers/exchange/storage/Makefile.am 2008-08-05 12:25:51.000000000 -0400
+@@ -64,6 +64,7 @@ libexchange_storage_1_2_la_LIBADD = \
+ $(top_builddir)/servers/exchange/lib/libexchange.la \
+ $(top_builddir)/servers/exchange/xntlm/libxntlm.la \
+ $(top_builddir)/libedataserver/libedataserver-1.2.la \
++ $(top_builddir)/libedataserverui/libedataserverui-1.2.la \
+ $(E_DATA_SERVER_LIBS) \
+ $(E_DATA_SERVER_UI_LIBS) \
+ $(LDAP_LIBS) \
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-2.25.90-no-libdb.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-2.25.90-no-libdb.patch
new file mode 100644
index 000000000000..d201a56ac9b7
--- /dev/null
+++ b/gnome-extra/evolution-data-server/files/evolution-data-server-2.25.90-no-libdb.patch
@@ -0,0 +1,13 @@
+# We only support dynamic libdb
+--- a/configure.in 2007-06-04 06:50:47.000000000 -0400
++++ b/configure.in 2007-06-07 10:58:22.000000000 -0400
+@@ -1431,9 +1431,6 @@ export privdatadir
+ export privincludedir
+ export privdatadir
+
+-if test $dynamic_libdb = no; then
+- AC_CONFIG_SUBDIRS(libdb/dist)
+-fi
+ AC_OUTPUT([
+ Makefile
+ evolution-data-server-zip
diff --git a/gnome-extra/evolution-data-server/files/evolution-data-server-no_lazy_bindings.patch b/gnome-extra/evolution-data-server/files/evolution-data-server-no_lazy_bindings.patch
deleted file mode 100644
index a094433c8c93..000000000000
--- a/gnome-extra/evolution-data-server/files/evolution-data-server-no_lazy_bindings.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -NurdB evolution-data-server-1.3.7/camel/Makefile.am evolution-data-server-1.3.7-patched/camel/Makefile.am
---- evolution-data-server-1.3.7/camel/Makefile.am 2005-07-08 11:57:02.000000000 -0500
-+++ evolution-data-server-1.3.7-patched/camel/Makefile.am 2005-08-17 15:40:24.000000000 -0500
-@@ -271,6 +271,8 @@
- camel-lock-helper.c \
- camel-lock-helper.h
-
-+camel_lock_helper_1_2_LDFLAGS = -Wl,-z,now
-+
- # NOTE: This needs to be cleaned up, it shouldn't link with all this crap,
- # because it might be setuid.
- camel_lock_helper_1_2_LDADD = \