summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Dartiguelongue <eva@gentoo.org>2009-07-23 21:02:16 +0000
committerGilles Dartiguelongue <eva@gentoo.org>2009-07-23 21:02:16 +0000
commit41e4f8867a6bbf8727cdb0573148ed91711e8a3f (patch)
treed7d1f36b73acf9c21c704c1a94bd450af741168f /mail-client/evolution
parentFix building with GCC 4.4 wrt #269312. (diff)
downloadhistorical-41e4f8867a6bbf8727cdb0573148ed91711e8a3f.tar.gz
historical-41e4f8867a6bbf8727cdb0573148ed91711e8a3f.tar.bz2
historical-41e4f8867a6bbf8727cdb0573148ed91711e8a3f.zip
Version bump. A few bug/crash fixes and translation updates. Use app-misc/krb5 where virtual/krb5 is inappropriate, bug #277218. Disable pst plugin due unstable API, bug #271451. Make gstreamer not automagic for real this time, bug #204300.
Package-Manager: portage-2.2_rc33/cvs/Linux x86_64
Diffstat (limited to 'mail-client/evolution')
-rw-r--r--mail-client/evolution/ChangeLog12
-rw-r--r--mail-client/evolution/Manifest19
-rw-r--r--mail-client/evolution/evolution-2.24.5.ebuild6
-rw-r--r--mail-client/evolution/evolution-2.26.2.ebuild12
-rw-r--r--mail-client/evolution/evolution-2.26.3.ebuild156
-rw-r--r--mail-client/evolution/files/evolution-2.26.3-automagic-plugins.patch176
6 files changed, 369 insertions, 12 deletions
diff --git a/mail-client/evolution/ChangeLog b/mail-client/evolution/ChangeLog
index 820b1911bd7d..d0906e02aa46 100644
--- a/mail-client/evolution/ChangeLog
+++ b/mail-client/evolution/ChangeLog
@@ -1,6 +1,16 @@
# ChangeLog for mail-client/evolution
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.268 2009/06/15 03:55:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/ChangeLog,v 1.269 2009/07/23 21:02:16 eva Exp $
+
+*evolution-2.26.3 (23 Jul 2009)
+
+ 23 Jul 2009; Gilles Dartiguelongue <eva@gentoo.org>
+ evolution-2.24.5.ebuild, evolution-2.26.2.ebuild,
+ +evolution-2.26.3.ebuild, +files/evolution-2.26.3-automagic-plugins.patch:
+ Version bump. A few bug/crash fixes and translation updates. Use
+ app-misc/krb5 where virtual/krb5 is inappropriate, bug #277218. Disable
+ pst plugin due unstable API, bug #271451. Make gstreamer not automagic for
+ real this time, bug #204300.
15 Jun 2009; Jeroen Roovers <jer@gentoo.org> evolution-2.26.2.ebuild:
Marked ~hppa (bug #271002).
diff --git a/mail-client/evolution/Manifest b/mail-client/evolution/Manifest
index 23d2ddcdc99f..48ea39b74658 100644
--- a/mail-client/evolution/Manifest
+++ b/mail-client/evolution/Manifest
@@ -1,9 +1,22 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX evolution-2.21.3-fbsd.patch 1107 RMD160 7dbbf08ed68124a398b9db64bac6a4b0cecfa9ef SHA1 05f581d030bb81aad2e0f734f432dd23add4b3c2 SHA256 942b81689f9e4b5a1896ec7c810c323bfaeb74d40c6c6683d8dfd8b670236e77
AUX evolution-2.23.3.1-delete-key.patch 2382 RMD160 41e30f2f9e52c8a1a45db11d12fa5da8eb137c04 SHA1 2df3f06c427072d2de7bf379f6d0b6fedaf2a4e1 SHA256 37809a6b12cb93a6da0cf11a50e33d040380ac31b1377eba867e3a12f92d1cbc
AUX evolution-2.26.1.1-automagics-plugins.patch 5062 RMD160 ae242cd20fb13ed49e99c25bc5cff108f5ec607e SHA1 4817e96e82c0437d629bc20945eec0f13e6fc579 SHA256 30eb88eb84a8f41d97d93d9220eefc7ce80f7209ef8845b8340f14ad4f5b7737
+AUX evolution-2.26.3-automagic-plugins.patch 7022 RMD160 2e7279257e90c66abbfc4703ba0fbba015b6f484 SHA1 23602b5b73caf2b06235422042ae3e32c6b520c3 SHA256 acae2843c8068b298b0e54eb263b3b7582ddf272aae5c0ceffa3d4d095f40e91
DIST evolution-2.24.5.tar.bz2 32657364 RMD160 bc074627728d9f9bae10e271285bfdf31c8555bc SHA1 3bc92b45b532d35decb7a8238afb469ff90c1596 SHA256 9892a49d0a2659af550299d9d57dd076a52d428f4f68457c352ec69fcc911e01
DIST evolution-2.26.2.tar.bz2 32881504 RMD160 0f90ddc834b7d55854e53b2e5bd91f70b8125058 SHA1 97a737b160d75772517a8fcfd4fe644b3b7dfc27 SHA256 be0f95b5287d019e810ddd05fa89aa1b49d946090955cfcad4225af14d4000aa
-EBUILD evolution-2.24.5.ebuild 4526 RMD160 eeb162652f6969acef6adb921d6d5065e4bd7e13 SHA1 c517da87739b5640599eeeee2468042360a061ca SHA256 64e30981a820d4c691eafcb49a4784f7220cf9c8977927ebee0598feccb9da63
-EBUILD evolution-2.26.2.ebuild 4798 RMD160 1491bf07324f9766a61ffb006454eaa51dd15a02 SHA1 299faabd09675ad26aa72816ea557744f4675246 SHA256 a0d6dac11f27dbc8ed5ecf3080ffb6d8c8ef02fcb3f0bf522214d850fe391c1e
-MISC ChangeLog 64046 RMD160 ea63a6290d5ab5a28332eac2270d9feeba9b8038 SHA1 df703fee21d4a4f7cad311f3135bee7adc3b5fba SHA256 c55887c115c5774d4c1cde2d71da6e73e6c5867efffbf9e237c8d630b3272fe7
+DIST evolution-2.26.3.tar.bz2 36427464 RMD160 f2b3aa2275095feb2af406022c0a6bc8a381e8d5 SHA1 d0e247ccb903a57a5e6fe23cfb04535ea141e9fb SHA256 e37f8d21a8aa201e9a3d91a110ec9d4dc3feae978be45b0c16cf93adacd5605b
+EBUILD evolution-2.24.5.ebuild 4538 RMD160 1cea143b11523c34e0963a90ea05dbeec23e0965 SHA1 ba0224786b7d3bd78f520444b726e3ecd05277b3 SHA256 f2fde6ec1a183cffde76fc6d1d812b6d5d9b9459d008d720534d24d29e6b2446
+EBUILD evolution-2.26.2.ebuild 4837 RMD160 f62f0b28e8533df121b579cffbcb21f2ec3de0e5 SHA1 d8e2f094519ac76c3176207314c7c2534af9fb4f SHA256 3a98e1e1edb5ce2f4e50f1954855e4d21ab67b024a9fc401cf34fcbe77cc44b2
+EBUILD evolution-2.26.3.ebuild 4860 RMD160 3e784b622411cad84b1f7ae736f830bbda5dbc4f SHA1 67d7959166b46d6f32134fa624b4a158483c4d62 SHA256 d18151ca8f6c26aac5d02849a5dd2af60b0924cfafd942b3a2cc509e9a09cb0e
+MISC ChangeLog 64512 RMD160 8b4ab91d47831681600cf7fecc818523de685719 SHA1 3e21908fbe2518e47bae57e4165bcfe6dfd86848 SHA256 778453683c55dbd158ad408dc75a8b610fca4919e0aac57417ae603c042bc2f8
MISC metadata.xml 1452 RMD160 4c241305d5c2ca2f8c0d04c73e5fc7d0e7bbf3ff SHA1 df814ef0682a3d25cba419dc88b082c346b7a27b SHA256 9666e927f4ce6f45b20af5bde39bb8df2806bd6e91db68c3e3475d303bf451f3
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkpoz98ACgkQ1fmVwcYIWAaRDACdH6sjtTLFF+TpkBKYkHnQat+k
+VgsAoOZGeBJWPwabLp+JQZFf0FKgiy1a
+=OE0m
+-----END PGP SIGNATURE-----
diff --git a/mail-client/evolution/evolution-2.24.5.ebuild b/mail-client/evolution/evolution-2.24.5.ebuild
index 9d9969fe86c4..dd6304354a33 100644
--- a/mail-client/evolution/evolution-2.24.5.ebuild
+++ b/mail-client/evolution/evolution-2.24.5.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.24.5.ebuild,v 1.8 2009/04/27 14:40:57 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.24.5.ebuild,v 1.9 2009/07/23 21:02:16 eva Exp $
inherit gnome2 flag-o-matic libtool
@@ -39,7 +39,7 @@ RDEPEND=">=dev-libs/glib-2.16
networkmanager? ( net-misc/networkmanager )
>=net-libs/libsoup-2.4
kerberos? ( virtual/krb5 )
- krb4? ( virtual/krb5 )
+ krb4? ( app-crypt/mit-krb5 )
>=gnome-base/orbit-2.9.8
crypt? ( || ( >=app-crypt/gnupg-2.0.1-r2 =app-crypt/gnupg-1.4* ) )
ldap? ( >=net-nds/openldap-2 )
@@ -81,7 +81,7 @@ pkg_setup() {
fi
fi
- if use krb4 && ! built_with_use virtual/krb5 krb4; then
+ if use krb4 && ! built_with_use app-crypt/mit-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."
diff --git a/mail-client/evolution/evolution-2.26.2.ebuild b/mail-client/evolution/evolution-2.26.2.ebuild
index 1dbfede8440f..5a696cdd4046 100644
--- a/mail-client/evolution/evolution-2.26.2.ebuild
+++ b/mail-client/evolution/evolution-2.26.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.26.2.ebuild,v 1.4 2009/06/15 03:55:22 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.26.2.ebuild,v 1.5 2009/07/23 21:02:16 eva Exp $
EAPI="2"
@@ -12,7 +12,8 @@ HOMEPAGE="http://www.gnome.org/projects/evolution/"
LICENSE="GPL-2 FDL-1.1"
SLOT="2.0"
KEYWORDS="~alpha ~amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd"
-IUSE="crypt dbus hal kerberos krb4 ldap mono networkmanager nntp pda profile python ssl gstreamer exchange pst"
+IUSE="crypt dbus hal kerberos krb4 ldap mono networkmanager nntp pda profile python ssl gstreamer exchange"
+# pst
# Pango dependency required to avoid font rendering problems
RDEPEND=">=dev-libs/glib-2.18
@@ -31,7 +32,6 @@ RDEPEND=">=dev-libs/glib-2.18
>=x11-misc/shared-mime-info-0.22
dbus? ( dev-libs/dbus-glib )
hal? ( >=sys-apps/hal-0.5.4 )
- pst? ( net-mail/libpst )
x11-libs/libnotify
pda? (
>=app-pda/gnome-pilot-2.0.15
@@ -43,7 +43,7 @@ RDEPEND=">=dev-libs/glib-2.18
networkmanager? ( net-misc/networkmanager )
>=net-libs/libsoup-2.4
kerberos? ( virtual/krb5 )
- krb4? ( virtual/krb5[krb4] )
+ krb4? ( app-crypt/mit-krb5[krb4] )
>=gnome-base/orbit-2.9.8
crypt? ( || ( >=app-crypt/gnupg-2.0.1-r2 =app-crypt/gnupg-1.4* ) )
ldap? ( >=net-nds/openldap-2 )
@@ -52,6 +52,8 @@ RDEPEND=">=dev-libs/glib-2.18
gstreamer? (
>=media-libs/gstreamer-0.10
>=media-libs/gst-plugins-base-0.10 )"
+# Disabled until API stabilizes
+# pst? ( >=net-mail/libpst-0.6 )
DEPEND="${RDEPEND}
>=dev-util/pkgconfig-0.16
@@ -80,7 +82,7 @@ pkg_setup() {
$(use_enable dbus)
$(use_enable gstreamer audio-inline)
$(use_enable exchange)
- $(use_enable pst pst-import)
+ --disable-pst-import
$(use_enable pda pilot-conduits)
$(use_enable profile profiling)
$(use_enable python)
diff --git a/mail-client/evolution/evolution-2.26.3.ebuild b/mail-client/evolution/evolution-2.26.3.ebuild
new file mode 100644
index 000000000000..f9e42a286322
--- /dev/null
+++ b/mail-client/evolution/evolution-2.26.3.ebuild
@@ -0,0 +1,156 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/mail-client/evolution/evolution-2.26.3.ebuild,v 1.1 2009/07/23 21:02:16 eva Exp $
+
+EAPI="2"
+
+inherit autotools gnome2 flag-o-matic python
+
+DESCRIPTION="Integrated mail, addressbook and calendaring functionality"
+HOMEPAGE="http://www.gnome.org/projects/evolution/"
+
+LICENSE="GPL-2 FDL-1.1"
+SLOT="2.0"
+KEYWORDS="~alpha ~amd64 ~hppa ~ppc64 ~x86 ~x86-fbsd"
+IUSE="crypt dbus hal kerberos krb4 ldap mono networkmanager nntp pda profile python ssl gstreamer exchange"
+# pst
+
+# Pango dependency required to avoid font rendering problems
+RDEPEND=">=dev-libs/glib-2.18
+ >=x11-libs/gtk+-2.14
+ >=gnome-extra/evolution-data-server-2.26.1
+ >=x11-themes/gnome-icon-theme-2.20
+ >=gnome-base/libbonobo-2.20.3
+ >=gnome-base/libbonoboui-2.4.2
+ >=gnome-extra/gtkhtml-3.25.4
+ >=gnome-base/gconf-2
+ >=gnome-base/libglade-2
+ >=gnome-base/libgnomecanvas-2
+ >=gnome-base/libgnomeui-2
+ >=dev-libs/libxml2-2
+ >=dev-libs/libgweather-2.25.3
+ >=x11-misc/shared-mime-info-0.22
+ dbus? ( dev-libs/dbus-glib )
+ hal? ( >=sys-apps/hal-0.5.4 )
+ x11-libs/libnotify
+ pda? (
+ >=app-pda/gnome-pilot-2.0.15
+ >=app-pda/gnome-pilot-conduits-2 )
+ dev-libs/atk
+ ssl? (
+ >=dev-libs/nspr-4.6.1
+ >=dev-libs/nss-3.11 )
+ networkmanager? ( net-misc/networkmanager )
+ >=net-libs/libsoup-2.4
+ kerberos? ( virtual/krb5 )
+ krb4? ( app-crypt/mit-krb5[krb4] )
+ >=gnome-base/orbit-2.9.8
+ crypt? ( || ( >=app-crypt/gnupg-2.0.1-r2 =app-crypt/gnupg-1.4* ) )
+ ldap? ( >=net-nds/openldap-2 )
+ mono? ( >=dev-lang/mono-1 )
+ python? ( >=dev-lang/python-2.4 )
+ gstreamer? (
+ >=media-libs/gstreamer-0.10
+ >=media-libs/gst-plugins-base-0.10 )"
+# Disabled until API stabilizes
+# pst? ( >=net-mail/libpst-0.6 )
+
+DEPEND="${RDEPEND}
+ >=dev-util/pkgconfig-0.16
+ >=dev-util/intltool-0.35.5
+ sys-devel/gettext
+ sys-devel/bison
+ app-text/scrollkeeper
+ >=gnome-base/gnome-common-2.12.0
+ >=app-text/gnome-doc-utils-0.9.1"
+
+PDEPEND="exchange? ( >=gnome-extra/evolution-exchange-2.26.1 )"
+
+DOCS="AUTHORS ChangeLog* HACKING MAINTAINERS NEWS* README"
+ELTCONF="--reverse-deps"
+GCONF_DEBUG="no"
+
+pkg_setup() {
+ G2CONF="${G2CONF}
+ --without-kde-applnk-path
+ --enable-plugins=experimental
+ --with-weather
+ $(use_enable ssl nss)
+ $(use_enable ssl smime)
+ $(use_enable mono)
+ $(use_enable nntp)
+ $(use_enable dbus)
+ $(use_enable gstreamer audio-inline)
+ $(use_enable exchange)
+ --disable-pst-import
+ $(use_enable pda pilot-conduits)
+ $(use_enable profile profiling)
+ $(use_enable python)
+ $(use_with ldap openldap)
+ $(use_with kerberos krb5 /usr)
+ $(use_with krb4 krb4 /usr)"
+
+ # We need a graphical pinentry frontend to be able to ask for the GPG
+ # password from inside evolution, bug 160302
+ if use crypt && has_version '>=app-crypt/gnupg-2.0.1-r2'; then
+ if ! built_with_use -o app-crypt/pinentry gtk qt3; then
+ die "You must build app-crypt/pinentry with GTK or QT3 support"
+ fi
+ fi
+
+ # dang - I've changed this to do --enable-plugins=experimental. This will
+ # autodetect new-mail-notify and exchange, but that cannot be helped for the
+ # moment. They should be changed to depend on a --enable-<foo> like mono
+ # is. This cleans up a ton of crap from this ebuild.
+}
+
+src_prepare() {
+ gnome2_src_prepare
+
+ # Fix timezone offsets on fbsd. bug #183708
+ epatch "${FILESDIR}/${PN}-2.21.3-fbsd.patch"
+
+ # Fix delete keyboard shortcut
+ epatch "${FILESDIR}/${PN}-2.23.3.1-delete-key.patch"
+
+ # Fix multiple automagic plugins, bug #204300 & bug #271451
+ epatch "${FILESDIR}/${PN}-2.26.3-automagic-plugins.patch"
+
+ intltoolize --force --copy --automake || die "intltoolize failed"
+ eautoreconf
+
+ # 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 || die "sed 1 failed"
+ G2CONF="${G2CONF} --enable-nss=yes"
+ else
+ G2CONF="${G2CONF} --without-nspr-libs --without-nspr-includes \
+ --without-nss-libs --without-nss-includes"
+ fi
+
+ # problems with -O3 on gcc-3.3.1
+ replace-flags -O3 -O2
+
+ # Bug #?
+ if [ "${ARCH}" = "hppa" ]; then
+ append-flags "-fPIC -ffunction-sections"
+ # bad bad bad, what about user settings !!!
+ export LDFLAGS="-ffunction-sections -Wl,--stub-group-size=25000"
+ fi
+}
+
+pkg_postinst() {
+ gnome2_pkg_postinst
+
+ elog "To change the default browser if you are not using GNOME, do:"
+ elog "gconftool-2 --set /desktop/gnome/url-handlers/http/command -t string 'mozilla %s'"
+ elog "gconftool-2 --set /desktop/gnome/url-handlers/https/command -t string 'mozilla %s'"
+ elog ""
+ elog "Replace 'mozilla %s' with which ever browser you use."
+ elog ""
+ elog "Junk filters are now a run-time choice. You will get a choice of"
+ elog "bogofilter or spamassassin based on which you have installed"
+ elog ""
+ elog "You have to install one of these for the spam filtering to actually work"
+}
diff --git a/mail-client/evolution/files/evolution-2.26.3-automagic-plugins.patch b/mail-client/evolution/files/evolution-2.26.3-automagic-plugins.patch
new file mode 100644
index 000000000000..30634b1441f9
--- /dev/null
+++ b/mail-client/evolution/files/evolution-2.26.3-automagic-plugins.patch
@@ -0,0 +1,176 @@
+Fix automagic dependencies for PST [1] and gtreamer [2]
+
+[1] https://bugs.gentoo.org/show_bug.cgi?id=271451
+[2] https://bugs.gentoo.org/show_bug.cgi?id=204300
+
+---
+
+ configure.in | 127 +++++++++++++++++++++++++++++++++-------------------------
+ 1 files changed, 73 insertions(+), 54 deletions(-)
+
+
+diff --git a/configure.in b/configure.in
+index 4e36e01..fe03ff8 100644
+--- a/configure.in
++++ b/configure.in
+@@ -1773,9 +1773,9 @@ dnl Add any new plugins here
+ plugins_base_always="calendar-file calendar-http $CALENDAR_WEATHER itip-formatter plugin-manager default-source addressbook-file startup-wizard mark-all-read groupwise-features groupwise-account-setup mail-account-disable publish-calendar caldav imap-features google-account-setup webdav-account-setup"
+
+ plugins_base="$plugins_base_always $SA_JUNK_PLUGIN $BF_JUNK_PLUGIN $EXCHANGE_PLUGIN $MONO_PLUGIN "
+-all_plugins_base="$plugins_base_always sa-junk-plugin bogo-junk-plugin exchange-operations mono"
++all_plugins_base="$plugins_base_always sa-junk-plugin bogo-junk-plugin mono"
+
+-plugins_standard_always="bbdb subject-thread save-calendar select-one-source copy-tool mail-to-task audio-inline mailing-list-actions default-mailer import-ics-attachments prefer-plain mail-notification attachment-reminder face backup-restore email-custom-header templates pst-import"
++plugins_standard_always="bbdb subject-thread save-calendar select-one-source copy-tool mail-to-task mailing-list-actions default-mailer import-ics-attachments prefer-plain mail-notification attachment-reminder face backup-restore email-custom-header templates"
+
+ plugins_standard="$plugins_standard_always"
+ all_plugins_standard="$plugins_standard"
+@@ -1830,53 +1830,89 @@ if test "x${enable_python}" = "xyes"; then
+ msg_plugins="$msg_plugins (and python)"
+ fi
+
+-AC_SUBST(plugins_enabled)
+-AC_SUBST(all_plugins_base)
+-AC_SUBST(all_plugins_standard)
+-AC_SUBST(all_plugins_experimental)
++dnl *********************
++dnl gstreamer
++dnl *********************
++AC_ARG_ENABLE([audio-inline],
++ AC_HELP_STRING([--disable-audio-inline],
++ [Disable audio-inline plugin @<:@default=yes@:>@]),
++ [enable_audio_inline="$enableval"], [enable_audio_inline=yes])
+
+-if echo ${plugins_enabled} | grep "audio-inline" > /dev/null
++if test "x$enable_audio_inline" = "xyes"
+ then
+- if ${PKG_CONFIG} --exists gstreamer-0.10
+- then
+- dnl *********************
+- dnl gstreamer
+- dnl *********************
+- PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10)
+- AC_SUBST(GSTREAMER_CFLAGS)
+- AC_SUBST(GSTREAMER_LIBS)
++ PKG_CHECK_MODULES(GSTREAMER, gstreamer-0.10, have_gst=yes, have_gst=no)
++ AC_SUBST(GSTREAMER_CFLAGS)
++ AC_SUBST(GSTREAMER_LIBS)
++
++ if test "$have_gst" = "yes"; then
++ plugins_enabled="$plugins_enabled audio-inline"
++ msg_plugins="$msg_plugins (audio-inline)"
+ else
+- plugins_enabled=`echo $plugins_enabled | sed -e "s/audio-inline//g"`
+- echo "warning: gstreamer was not found, audio-inline plugin will not be built."
+- echo "you are probably missing gstreamer-devel package."
++ AC_MSG_WARN([gstreamer was not found, audio-inline plugin will not be built.
++You are probably missing gstreamer-devel package.])
+ fi
+ fi
+
+-if ${PKG_CONFIG} --exists dbus-glib-1 ; then
++dnl *********************
++dnl libpst
++dnl *********************
++
++AC_ARG_ENABLE([pst-import],
++ AC_HELP_STRING([--disable-pst-import],
++ [Disable pst import plugin @<:@default=yes@:>@]),
++ [enable_pst="$enableval"], [enable_pst=yes])
++
++if test "x$enable_pst" = "xyes"
++then
++ PKG_CHECK_MODULES(LIBPST, libpst, have_pst=yes, have_pst=no)
++ AC_SUBST(LIBPST_CFLAGS)
++ AC_SUBST(LIBPST_LIBS)
++
++ if test "$have_pst" = "yes"; then
++ plugins_enabled="$plugins_enabled pst-import"
++ msg_plugins="$msg_plugins (pst-import)"
++ else
++ AC_MSG_WARN([libpst was not found, pst-import plugin will not be built.
++You are probably missing libpst-devel package.])
++ fi
++fi
++
++AC_SUBST(plugins_enabled)
++AC_SUBST(all_plugins_base)
++AC_SUBST(all_plugins_standard)
++AC_SUBST(all_plugins_experimental)
++
++AC_ARG_ENABLE([dbus],
++ AC_HELP_STRING([--disable-dbus], [Disable mail notification DBus messages plugin @<:@default=yes@:>@]),
++ [enable_dbus="$enableval"], [enable_dbus=yes])
++
++if test "x$enable_dbus" = "xyes"; then
+ dnl **************************************************
+ dnl * Mail Notification plugin's DBus messages
+ dnl **************************************************
+- PKG_CHECK_MODULES(NMN, dbus-glib-1)
+- AC_SUBST(NMN_CFLAGS)
+- AC_SUBST(NMN_LIBS)
+-
+- # Get the version of the DBus API, so we can hack around API changes until the API stabilises:
+- # multiply by 1000 to convert decimal to integer; so e.g. 0.31 become 310
+- # since preprocessor values must be integral
+- FOUND_DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1 | $AWK '{print 1000 * $1}'`"
+- AC_SUBST(FOUND_DBUS_VERSION)
+- AC_DEFINE(HAVE_DBUS,1,[Define if you have DBUS support])
+- AC_SUBST(HAVE_DBUS)
+- AM_CONDITIONAL(ENABLE_DBUS, true)
+-
+-else
+- echo "warning: dbus-glib-1 was not found, Mail notification plugins's dbus message support not built"
+- AM_CONDITIONAL(ENABLE_DBUS, false)
++ if $PKG_CONFIG --exists dbus-glib-1; then
++ PKG_CHECK_MODULES(NMN, dbus-glib-1)
++ AC_SUBST(NMN_CFLAGS)
++ AC_SUBST(NMN_LIBS)
++
++ # Get the version of the DBus API, so we can hack around API changes until the API stabilises:
++ # multiply by 1000 to convert decimal to integer; so e.g. 0.31 become 310
++ # since preprocessor values must be integral
++ FOUND_DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1 | $AWK '{print 1000 * $1}'`"
++ AC_SUBST(FOUND_DBUS_VERSION)
++ AC_DEFINE(HAVE_DBUS,1,[Define if you have DBUS support])
++ AC_SUBST(HAVE_DBUS)
++ else
++ echo "warning: dbus-glib-1 was not found, Mail notification plugins's dbus message support not built"
++ fi
+
+ fi
+
+-if echo ${plugins_enabled} | grep "exchange-operations" > /dev/null ; then
+- PKG_CHECK_MODULES(LIBEXCHANGESTORAGE, libexchange-storage-$EDS_PACKAGE >= eds_minimum_version, have_libexchange="yes", have_libexchange="no")
++AM_CONDITIONAL(ENABLE_DBUS, test x$enable_dbus = xyes)
++
++if test "x$enable_exchange" = "xyes"; then
++ PKG_CHECK_MODULES(LIBEXCHANGESTORAGE, libexchange-storage-$EDS_PACKAGE >= eds_minimum_version,
++ have_libexchange="yes", have_libexchange="no")
+ if test "x$have_libexchange" = "xyes"; then
+ dnl **************************************************
+ dnl * Exchange Operations plugin
+@@ -1890,23 +1926,6 @@ if echo ${plugins_enabled} | grep "exchange-operations" > /dev/null ; then
+ fi
+ fi
+
+-if echo ${plugins_enabled} | grep "pst-import" > /dev/null
+-then
+- if ${PKG_CONFIG} --exists libpst
+- then
+- dnl *********************
+- dnl libpst
+- dnl *********************
+- PKG_CHECK_MODULES(LIBPST, libpst)
+- AC_SUBST(LIBPST_CFLAGS)
+- AC_SUBST(LIBPST_LIBS)
+- else
+- plugins_enabled=`echo $plugins_enabled | sed -e "s/pst-import//g"`
+- echo "warning: libpst was not found, pst-import plugin will not be built."
+- echo "you are probably missing libpst-devel package."
+- fi
+-fi
+-
+ dnl ***********
+ dnl GConf stuff
+ dnl ***********