summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 21:35:38 +0800
committerkwm <kwm@df743ca5-7f9a-e211-a948-0013205c9059>2011-03-07 21:35:38 +0800
commit5929cfe0083d301d1571c055132a69d1e8ca1530 (patch)
tree4604d14c74232e35c5fa716f18644eb94cd08661
parent3c063d32cb30132595dbe44f997ada171e16b80c (diff)
downloadmarcuscom-ports-5929cfe0083d301d1571c055132a69d1e8ca1530.tar
marcuscom-ports-5929cfe0083d301d1571c055132a69d1e8ca1530.tar.gz
marcuscom-ports-5929cfe0083d301d1571c055132a69d1e8ca1530.tar.bz2
marcuscom-ports-5929cfe0083d301d1571c055132a69d1e8ca1530.tar.lz
marcuscom-ports-5929cfe0083d301d1571c055132a69d1e8ca1530.tar.xz
marcuscom-ports-5929cfe0083d301d1571c055132a69d1e8ca1530.tar.zst
marcuscom-ports-5929cfe0083d301d1571c055132a69d1e8ca1530.zip
Fix build with newer gtk.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@15386 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--mail/evolution-exchange/Makefile71
-rw-r--r--mail/evolution-exchange/distinfo2
-rw-r--r--mail/evolution-exchange/files/patch-eplugin_exchange-operations.c24
-rw-r--r--mail/evolution-exchange/pkg-descr11
-rw-r--r--mail/evolution-exchange/pkg-plist187
5 files changed, 295 insertions, 0 deletions
diff --git a/mail/evolution-exchange/Makefile b/mail/evolution-exchange/Makefile
new file mode 100644
index 000000000..071d74b65
--- /dev/null
+++ b/mail/evolution-exchange/Makefile
@@ -0,0 +1,71 @@
+# New ports collection makefile for: evolution-exchange
+# Date created: 28 April, 2005
+# Whom: Adam Weinberger, based off kiesel's ximian-exchange port
+#
+# $FreeBSD: ports/mail/evolution-exchange/Makefile,v 1.67 2011/02/25 01:31:48 delphij Exp $
+# $MCom: ports/mail/evolution-exchange/Makefile,v 1.166 2010/11/16 09:52:36 kwm Exp $
+#
+
+PORTNAME= evolution-exchange
+PORTVERSION= 2.32.1
+PORTREVISION= 1
+CATEGORIES= mail gnome
+MASTER_SITES= GNOME
+DIST_SUBDIR= gnome2
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= Evolution plugin to connect to Microsoft Exchange servers
+
+EVO_PC_FILE= ${LOCALBASE}/libdata/pkgconfig/evolution-mail.pc
+BUILD_DEPENDS= ${EVO_PC_FILE}:${PORTSDIR}/mail/evolution
+RUN_DEPENDS= ${EVO_PC_FILE}:${PORTSDIR}/mail/evolution
+
+USE_BZIP2= yes
+USE_GETTEXT= yes
+USE_AUTOTOOLS= libtool
+USE_GMAKE= yes
+USE_BDB= 41
+USE_OPENLDAP= yes
+USE_GNOME= gnomeprefix intlhack gnomehack ltasneededhack
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${BDB_INCLUDE_DIR}" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --with-openldap=${LOCALBASE} \
+ --with-static-ldap=no \
+ --with-libdb=${LOCALBASE}
+
+EVO_VERSION= 2.32
+VERSION= 2.32
+PLIST_SUB= VERSION=${VERSION} EVO_VERSION=${EVO_VERSION} \
+ EDS_VERSION="1.2"
+
+GCONF_SCHEMAS= apps_exchange_addressbook-${VERSION}.schemas
+
+.include <bsd.port.pre.mk>
+
+.if defined(HEIMDAL_HOME) || defined(WITH_HEIMDAL) || defined(NO_KERBEROS)
+HEIMDAL_HOME?= ${LOCALBASE}
+LIB_DEPENDS+= krb5:${PORTSDIR}/security/heimdal
+CONFIGURE_ARGS+= --with-krb5=${HEIMDAL_HOME} \
+ --with-krb5-includes=${HEIMDAL_HOME}/include
+KRB5_LIB= `${HEIMDAL_HOME}/bin/krb5-config gssapi --libs`
+.elif !defined(NO_KERBEROS)
+CONFIGURE_ARGS+= --with-krb5=/usr
+KRB5_LIB= `/usr/bin/krb5-config gssapi --libs`
+.endif
+
+.if ${ARCH} == "amd64"
+CONFIGURE_ENV+= CFLAGS="${CFLAGS} -fPIC"
+.endif
+
+.if exists(${LOCALBASE}/include/mapi.h)
+IGNORE= build fails when ${LOCALBASE}/include/mapi.h exists in system, run pkg_info -W ${LOCALBASE}/include/mapi.h to find the offending port and uninstall it, then install ${PORTNAME} and reinstall the port that installed mapi.h
+.endif
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|-ldb|-l${BDB_LIB_NAME}|g' \
+ -e 's|-lkrb5 -lcrypto -lasn1 -lcom_err -lroken -lgssapi|${KRB5_LIB}|g' \
+ -e 's|-DGTK_DISABLE_DEPRECATED||g' \
+ -e 's|-Wmissing-include-dirs||g' \
+ ${WRKSRC}/configure
+
+.include <bsd.port.post.mk>
diff --git a/mail/evolution-exchange/distinfo b/mail/evolution-exchange/distinfo
new file mode 100644
index 000000000..8ac461492
--- /dev/null
+++ b/mail/evolution-exchange/distinfo
@@ -0,0 +1,2 @@
+SHA256 (gnome2/evolution-exchange-2.32.1.tar.bz2) = 300e2fd995eaecd2d0877b408cc8c6b3d26467aa36e41b1d690f8563b1df9dae
+SIZE (gnome2/evolution-exchange-2.32.1.tar.bz2) = 1307820
diff --git a/mail/evolution-exchange/files/patch-eplugin_exchange-operations.c b/mail/evolution-exchange/files/patch-eplugin_exchange-operations.c
new file mode 100644
index 000000000..5c7706bad
--- /dev/null
+++ b/mail/evolution-exchange/files/patch-eplugin_exchange-operations.c
@@ -0,0 +1,24 @@
+--- eplugin/exchange-operations.c.orig 2010-03-07 20:00:49.000000000 -0500
++++ eplugin/exchange-operations.c 2010-03-13 17:47:23.000000000 -0500
+@@ -304,3 +304,21 @@ is_exchange_personal_folder (ExchangeAcc
+ }
+ return FALSE;
+ }
++
++const char * g_module_check_init (gpointer module);
++const char *
++g_module_check_init (gpointer module) {
++ return NULL;
++}
++
++void g_module_unload (gpointer module);
++void
++g_module_unload (gpointer module) {
++ return;
++}
++
++GtkWidget *e_plugin_lib_get_configure_widget (EPlugin *plugin);
++GtkWidget *
++e_plugin_lib_get_configure_widget (EPlugin *plugin) {
++ return NULL;
++}
diff --git a/mail/evolution-exchange/pkg-descr b/mail/evolution-exchange/pkg-descr
new file mode 100644
index 000000000..03dc3b673
--- /dev/null
+++ b/mail/evolution-exchange/pkg-descr
@@ -0,0 +1,11 @@
+Evolution-exchange is a plugin for Evolution that adds Exchange client
+capabilities to Evolution.
+
+With Evolution-Exchange installed, Evolution functions as an
+Exchange client, enabling users to become full participants in company-wide
+group scheduling and other collaborative tasks. Linux, Solaris and FreeBSD
+users can access public folders, Global Address Lists, email, calendar,
+task lists, and group scheduling information.
+
+- Alex Kiesel
+kiesel@schlund.de
diff --git a/mail/evolution-exchange/pkg-plist b/mail/evolution-exchange/pkg-plist
new file mode 100644
index 000000000..851f156b6
--- /dev/null
+++ b/mail/evolution-exchange/pkg-plist
@@ -0,0 +1,187 @@
+bin/exchange-connector-setup-%%VERSION%%
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-operations.a
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-operations.la
+lib/evolution/%%VERSION%%/plugins/liborg-gnome-exchange-operations.so
+lib/evolution/%%VERSION%%/plugins/org-gnome-exchange-operations.eplug
+lib/evolution-data-server-%%EDS_VERSION%%/camel-providers/libcamelexchange.a
+lib/evolution-data-server-%%EDS_VERSION%%/camel-providers/libcamelexchange.la
+lib/evolution-data-server-%%EDS_VERSION%%/camel-providers/libcamelexchange.so
+lib/evolution-data-server-%%EDS_VERSION%%/camel-providers/libcamelexchange.urls
+lib/evolution-data-server-%%EDS_VERSION%%/extensions/libebookbackendexchange.a
+lib/evolution-data-server-%%EDS_VERSION%%/extensions/libebookbackendexchange.la
+lib/evolution-data-server-%%EDS_VERSION%%/extensions/libebookbackendexchange.so
+lib/evolution-data-server-%%EDS_VERSION%%/extensions/libecalbackendexchange.a
+lib/evolution-data-server-%%EDS_VERSION%%/extensions/libecalbackendexchange.la
+lib/evolution-data-server-%%EDS_VERSION%%/extensions/libecalbackendexchange.so
+%%DOCSDIR%%/E2kContext.html
+%%DOCSDIR%%/E2kGlobalCatalog.html
+%%DOCSDIR%%/E2kSecurityDescriptor.html
+%%DOCSDIR%%/ch01.html
+%%DOCSDIR%%/ch02.html
+%%DOCSDIR%%/ch03.html
+%%DOCSDIR%%/ch04.html
+%%DOCSDIR%%/ch05.html
+%%DOCSDIR%%/ch06.html
+%%DOCSDIR%%/evolution-exchange-E2kAutoconfig.html
+%%DOCSDIR%%/evolution-exchange-E2kContext-(private).html
+%%DOCSDIR%%/evolution-exchange-E2kOperation-(private).html
+%%DOCSDIR%%/evolution-exchange-E2kOperation.html
+%%DOCSDIR%%/evolution-exchange-E2kProperties.html
+%%DOCSDIR%%/evolution-exchange-E2kRestriction-(vaporware).html
+%%DOCSDIR%%/evolution-exchange-E2kResult-(private).html
+%%DOCSDIR%%/evolution-exchange-E2kSid.html
+%%DOCSDIR%%/evolution-exchange-E2kUserDialog.html
+%%DOCSDIR%%/evolution-exchange-MAPI.html
+%%DOCSDIR%%/evolution-exchange-e2k-action.html
+%%DOCSDIR%%/evolution-exchange-e2k-freebusy.html
+%%DOCSDIR%%/evolution-exchange-e2k-http-utils.html
+%%DOCSDIR%%/evolution-exchange-e2k-kerberos.html
+%%DOCSDIR%%/evolution-exchange-e2k-restriction.html
+%%DOCSDIR%%/evolution-exchange-e2k-result.html
+%%DOCSDIR%%/evolution-exchange-e2k-rule.html
+%%DOCSDIR%%/evolution-exchange-e2k-uri.html
+%%DOCSDIR%%/evolution-exchange-e2k-utils.html
+%%DOCSDIR%%/evolution-exchange-e2k-xml-utils.html
+%%DOCSDIR%%/evolution-exchange-test-utils.html
+%%DOCSDIR%%/evolution-exchange-xntlm-des.html
+%%DOCSDIR%%/evolution-exchange-xntlm-md4.html
+%%DOCSDIR%%/evolution-exchange-xntlm.html
+%%DOCSDIR%%/evolution-exchange.devhelp
+%%DOCSDIR%%/evolution-exchange.devhelp2
+%%DOCSDIR%%/home.png
+%%DOCSDIR%%/index.html
+%%DOCSDIR%%/index.sgml
+%%DOCSDIR%%/left.png
+%%DOCSDIR%%/right.png
+%%DOCSDIR%%/style.css
+%%DOCSDIR%%/up.png
+%%DOCSDIR%%/ximian-connector-autoconfig.html
+%%DOCSDIR%%/ximian-connector-bug-private.html
+%%DOCSDIR%%/ximian-connector-bug-xml.html
+%%DOCSDIR%%/ximian-connector-calendar.html
+%%DOCSDIR%%/ximian-connector-delegation.html
+%%DOCSDIR%%/ximian-connector-favorites.html
+%%DOCSDIR%%/ximian-connector-fba.html
+%%DOCSDIR%%/ximian-connector-freebusy.html
+%%DOCSDIR%%/ximian-connector-mail-threading.html
+%%DOCSDIR%%/ximian-connector-mail.html
+%%DOCSDIR%%/ximian-connector-ntlm.html
+%%DOCSDIR%%/ximian-connector-oof.html
+%%DOCSDIR%%/ximian-connector-other-users.html
+%%DOCSDIR%%/ximian-connector-permissions.html
+%%DOCSDIR%%/ximian-connnector-booking.html
+%%DATADIR%%/%%VERSION%%/images/connector-mini.png
+%%DATADIR%%/%%VERSION%%/images/connector.png
+%%DATADIR%%/%%VERSION%%/images/exchange-delegates-48.png
+%%DATADIR%%/%%VERSION%%/images/exchange-oof-48.png
+%%DATADIR%%/%%VERSION%%/ui/ximian-connector.xml
+share/evolution/%%VERSION%%/errors/org-gnome-exchange-operations.error
+share/locale/ar/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/as/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ast/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/az/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/bg/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/bn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/bn_IN/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ca/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ca@valencia/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/cs/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/cy/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/da/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/de/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/dz/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/el/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/en_CA/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/en_GB/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/en@shaw/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/es/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/et/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/eu/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/fa/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/fi/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/fr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/gl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/gu/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/he/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/hi/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/hu/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/id/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/it/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ja/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ka/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/kn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ko/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ku/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/lt/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/lv/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mai/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mk/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ml/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/mr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ms/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/nb/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ne/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/nl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/nn/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/oc/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/or/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pa/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pt/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/pt_BR/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ro/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ru/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/rw/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/si/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sk/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sl/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sq/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sr@latin/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/sv/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/ta/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/te/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/th/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/tr/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/uk/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/vi/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/xh/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/zh_CN/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/zh_HK/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+share/locale/zh_TW/LC_MESSAGES/evolution-exchange-%%VERSION%%.mo
+@dirrm %%DATADIR%%/%%VERSION%%/ui
+@dirrm %%DATADIR%%/%%VERSION%%/images
+@dirrm %%DATADIR%%/%%VERSION%%
+@dirrm %%DATADIR%%
+@dirrm %%DOCSDIR%%
+@dirrmtry share/locale/zh_HK/LC_MESSAGES
+@dirrmtry share/locale/zh_HK
+@dirrmtry share/locale/xh/LC_MESSAGES
+@dirrmtry share/locale/xh
+@dirrmtry share/locale/te/LC_MESSAGES
+@dirrmtry share/locale/te
+@dirrmtry share/locale/sr@latin/LC_MESSAGES
+@dirrmtry share/locale/sr@latin
+@dirrmtry share/locale/si/LC_MESSAGES
+@dirrmtry share/locale/si
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrmtry share/locale/oc/LC_MESSAGES
+@dirrmtry share/locale/oc
+@dirrmtry share/locale/mr/LC_MESSAGES
+@dirrmtry share/locale/mr
+@dirrmtry share/locale/mai/LC_MESSAGES
+@dirrmtry share/locale/mai
+@dirrmtry share/locale/ku/LC_MESSAGES
+@dirrmtry share/locale/ku
+@dirrmtry share/locale/en@shaw/LC_MESSAGES
+@dirrmtry share/locale/en@shaw
+@dirrmtry share/locale/dz/LC_MESSAGES
+@dirrmtry share/locale/dz
+@dirrmtry share/locale/ca@valencia/LC_MESSAGES
+@dirrmtry share/locale/ca@valencia
+@dirrmtry share/locale/bn_IN/LC_MESSAGES
+@dirrmtry share/locale/bn_IN
+@dirrmtry share/locale/as/LC_MESSAGES
+@dirrmtry share/locale/as