diff options
author | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-13 15:49:44 +0800 |
---|---|---|
committer | marcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059> | 2010-03-13 15:49:44 +0800 |
commit | 9cbda9d58c40f84ed684aa16b58f47b21060808f (patch) | |
tree | d75ced0e6eddb9ff56bbf122cc2475adb84d0577 /mail/evolution | |
parent | a78c363df0e5a913884f2f95f1e7e3fc16ccb815 (diff) | |
download | marcuscom-ports-9cbda9d58c40f84ed684aa16b58f47b21060808f.tar marcuscom-ports-9cbda9d58c40f84ed684aa16b58f47b21060808f.tar.gz marcuscom-ports-9cbda9d58c40f84ed684aa16b58f47b21060808f.tar.bz2 marcuscom-ports-9cbda9d58c40f84ed684aa16b58f47b21060808f.tar.lz marcuscom-ports-9cbda9d58c40f84ed684aa16b58f47b21060808f.tar.xz marcuscom-ports-9cbda9d58c40f84ed684aa16b58f47b21060808f.tar.zst marcuscom-ports-9cbda9d58c40f84ed684aa16b58f47b21060808f.zip |
Update to 2.29.92.1, and add missing stub symbols to the plugins to speed
up load time.
Stub symbol idea submitted by: Sergio de Almeida Lenzi <lenzi.sergio@gmail.com>
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@13803 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'mail/evolution')
-rw-r--r-- | mail/evolution/Makefile | 5 | ||||
-rw-r--r-- | mail/evolution/distinfo | 6 | ||||
-rwxr-xr-x | mail/evolution/files/fix-plugins.sh | 23 | ||||
-rw-r--r-- | mail/evolution/pkg-plist | 3 |
4 files changed, 32 insertions, 5 deletions
diff --git a/mail/evolution/Makefile b/mail/evolution/Makefile index 5d4d7341f..696038438 100644 --- a/mail/evolution/Makefile +++ b/mail/evolution/Makefile @@ -3,11 +3,11 @@ # Whom: Ade Lovett <ade@FreeBSD.org> # # $FreeBSD$ -# $MCom: ports/mail/evolution/Makefile,v 1.215 2010/02/23 08:13:03 avl Exp $ +# $MCom: ports/mail/evolution/Makefile,v 1.216 2010/03/06 17:04:13 marcus Exp $ # PORTNAME= evolution -PORTVERSION= 2.29.91 +PORTVERSION= 2.29.92.1 CATEGORIES= mail gnome MASTER_SITES= GNOME DIST_SUBDIR= gnome2 @@ -125,5 +125,6 @@ post-patch: ${WRKSRC}/plugins/bogo-junk-plugin/bf-junk-filter.c @${REINPLACE_CMD} -e 's|/usr/sbin|${LOCALBASE}/bin|g' \ ${WRKSRC}/plugins/sa-junk-plugin/em-junk-filter.c + @${SH} ${FILESDIR}/fix-plugins.sh ${WRKSRC} .include <bsd.port.post.mk> diff --git a/mail/evolution/distinfo b/mail/evolution/distinfo index 10446affb..28382d6b4 100644 --- a/mail/evolution/distinfo +++ b/mail/evolution/distinfo @@ -1,3 +1,3 @@ -MD5 (gnome2/evolution-2.29.91.tar.bz2) = 8d04fa06bac8067f12273d6c6f5d85c8 -SHA256 (gnome2/evolution-2.29.91.tar.bz2) = 2b13eb5adfeb483304de1b76947d394211ccdd941b5e510e0aa064944a6e2622 -SIZE (gnome2/evolution-2.29.91.tar.bz2) = 30280331 +MD5 (gnome2/evolution-2.29.92.1.tar.bz2) = 069125b198c195fb6d090ae3581e8c0a +SHA256 (gnome2/evolution-2.29.92.1.tar.bz2) = c2c2708abdbc11ec2558f5262b4fa79777c08c0dc00a6d0865ff56300d6dcb27 +SIZE (gnome2/evolution-2.29.92.1.tar.bz2) = 30439108 diff --git a/mail/evolution/files/fix-plugins.sh b/mail/evolution/files/fix-plugins.sh new file mode 100755 index 000000000..265182877 --- /dev/null +++ b/mail/evolution/files/fix-plugins.sh @@ -0,0 +1,23 @@ +#!/bin/sh + +plugin_srcs="addressbook-file/addressbook-file.c attachment-reminder/attachment-reminder.c audio-inline/audio-inline.c backup-restore/backup-restore.c bbdb/bbdb.c bogo-junk-plugin/bf-junk-filter.c caldav/caldav-source.c calendar-file/calendar-file.c calendar-http/calendar-http.c calendar-weather/calendar-weather.c contacts-map/contacts-map.c default-mailer/default-mailer.c default-source/default-source.c email-custom-header/email-custom-header.c external-editor/external-editor.c face/face.c google-account-setup/google-source.c groupwise-features/install-shared.c hula-account-setup/hula-account-setup.c image-inline/image-inline.c imap-features/imap-headers.c itip-formatter/itip-formatter.c mail-notification/mail-notification.c mail-to-task/mail-to-task.c mailing-list-actions/mailing-list-actions.c mark-all-read/mark-all-read.c plugin-manager/plugin-manager.c prefer-plain/prefer-plain.c profiler/profiler.c pst-import/pst-importer.c publish-calendar/publish-calendar.c sa-junk-plugin/em-junk-filter.c save-calendar/save-calendar.c startup-wizard/startup-wizard.c subject-thread/subject-thread.c templates/templates.c tnef-attachments/tnef-plugin.c vcard-inline/vcard-inline.c webdav-account-setup/webdav-contacts-source.c" + +WRKSRC=$1 + +for i in ${plugin_srcs}; do + if [ ! -f ${WRKSRC}/plugins/${i} ]; then + echo "WARNING: Failed to find plugin source file ${WRKSRC}/plugins/${i}" + continue + fi + cp ${WRKSRC}/plugins/${i} ${WRKSRC}/plugins/${i}.bak + printf "char * g_module_check_init (void);\n" >> ${WRKSRC}/plugins/${i} + printf "char *\ng_module_check_init () {\n\treturn NULL;\n}\n" >> ${WRKSRC}/plugins/${i} + printf "char * g_module_unload (void);\n" >> ${WRKSRC}/plugins/${i} + printf "char *\ng_module_unload () {\n\treturn NULL;\n}\n" >> ${WRKSRC}/plugins/${i} + dir=$(dirname ${WRKSRC}/plugins/${i}) + if ! grep -q e_plugin_lib_enable ${dir}/*.c; then + printf "#include <e-util/e-config.h>\n" >> ${WRKSRC}/plugins/${i} + printf "gint e_plugin_lib_enable (EPlugin *ep, gint enable);\n" >> ${WRKSRC}/plugins/${i} + printf "gint\ne_plugin_lib_enable (EPlugin *ep, gint enable) {\n\treturn 0;\n}\n" >> ${WRKSRC}/plugins/${i} + fi +done diff --git a/mail/evolution/pkg-plist b/mail/evolution/pkg-plist index 76a850a30..aa38c6048 100644 --- a/mail/evolution/pkg-plist +++ b/mail/evolution/pkg-plist @@ -7,6 +7,8 @@ include/evolution-%%VERSION%%/calendar/common/authentication.h include/evolution-%%VERSION%%/calendar/gui/cal-editor-utils.h include/evolution-%%VERSION%%/calendar/gui/calendar-config-keys.h include/evolution-%%VERSION%%/calendar/gui/calendar-config.h +include/evolution-%%VERSION%%/calendar/gui/calendar-view-factory.h +include/evolution-%%VERSION%%/calendar/gui/calendar-view.h include/evolution-%%VERSION%%/calendar/gui/comp-util.h include/evolution-%%VERSION%%/calendar/gui/dialogs/alarm-dialog.h include/evolution-%%VERSION%%/calendar/gui/dialogs/alarm-list-dialog.h @@ -38,6 +40,7 @@ include/evolution-%%VERSION%%/calendar/gui/dialogs/task-page.h include/evolution-%%VERSION%%/calendar/gui/e-alarm-list.h include/evolution-%%VERSION%%/calendar/gui/e-cal-config.h include/evolution-%%VERSION%%/calendar/gui/e-cal-event.h +include/evolution-%%VERSION%%/calendar/gui/e-cal-list-view.h include/evolution-%%VERSION%%/calendar/gui/e-cal-model-calendar.h include/evolution-%%VERSION%%/calendar/gui/e-cal-model.h include/evolution-%%VERSION%%/calendar/gui/e-calendar-selector.h |