Add "mozilla-lightning" option which enables the calendar extension. This is enabled by default. If you don't want to run lightning it can be disabled under tools -> add-ons -> Extensions. Bump PKGREVISION.diff -r1.51 -r1.52 pkgsrc/mail/thunderbird/Makefile
(tnn)
@@ -1,29 +1,31 @@ | @@ -1,29 +1,31 @@ | |||
1 | # $NetBSD: Makefile,v 1.51 2010/03/30 14:21:42 tnn Exp $ | 1 | # $NetBSD: Makefile,v 1.52 2010/04/21 13:33:26 tnn Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= thunderbird-${TB_VER}.source | 4 | DISTNAME= thunderbird-${TB_VER}.source | |
5 | PKGNAME= thunderbird-${TB_VER} | 5 | PKGNAME= thunderbird-${TB_VER} | |
6 | PKGREVISION= 1 | |||
6 | TB_VER= 3.0.4 | 7 | TB_VER= 3.0.4 | |
7 | CATEGORIES= mail | 8 | CATEGORIES= mail | |
8 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/} | 9 | MASTER_SITES= ${MASTER_SITE_MOZILLA:=thunderbird/releases/${TB_VER}/source/} | |
9 | EXTRACT_SUFX= .tar.bz2 | 10 | EXTRACT_SUFX= .tar.bz2 | |
10 | 11 | |||
11 | MAINTAINER= tnn@NetBSD.org | 12 | MAINTAINER= tnn@NetBSD.org | |
12 | HOMEPAGE= http://www.mozillamessaging.com/en-US/thunderbird/ | 13 | HOMEPAGE= http://www.mozillamessaging.com/en-US/thunderbird/ | |
13 | COMMENT= Organize, secure and customize your mail | 14 | COMMENT= Organize, secure and customize your mail | |
14 | 15 | |||
15 | WRKSRC= ${WRKDIR}/comm-1.9.1 | 16 | WRKSRC= ${WRKDIR}/comm-1.9.1 | |
16 | MOZILLA_DIR= mozilla/ | 17 | MOZILLA_DIR= mozilla/ | |
18 | PLIST_SRC+= PLIST | |||
17 | 19 | |||
18 | CONFIG_GUESS_OVERRIDE+= directory/c-sdk/config/autoconf/config.guess | 20 | CONFIG_GUESS_OVERRIDE+= directory/c-sdk/config/autoconf/config.guess | |
19 | CONFIG_SUB_OVERRIDE+= directory/c-sdk/config/autoconf/config.sub | 21 | CONFIG_SUB_OVERRIDE+= directory/c-sdk/config/autoconf/config.sub | |
20 | 22 | |||
21 | CONFIGURE_ARGS+= --enable-application=mail | 23 | CONFIGURE_ARGS+= --enable-application=mail | |
22 | CONFIGURE_ARGS+= --enable-static | 24 | CONFIGURE_ARGS+= --enable-static | |
23 | 25 | |||
24 | ALL_ENV+= MOZILLA_PKG_NAME=thunderbird | 26 | ALL_ENV+= MOZILLA_PKG_NAME=thunderbird | |
25 | 27 | |||
26 | pre-configure: | 28 | pre-configure: | |
27 | cd ${WRKSRC}/directory/c-sdk && ${SETENV} ${CONFIGURE_ENV} autoconf | 29 | cd ${WRKSRC}/directory/c-sdk && ${SETENV} ${CONFIGURE_ENV} autoconf | |
28 | cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoconf | 30 | cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} autoconf | |
29 | cd ${WRKSRC}/mozilla && ${SETENV} ${CONFIGURE_ENV} autoconf | 31 | cd ${WRKSRC}/mozilla && ${SETENV} ${CONFIGURE_ENV} autoconf |
@comment $NetBSD: PLIST.lightning,v 1.1 2010/04/21 13:33:26 tnn Exp $
lib/thunderbird/extensions/calendar-timezones@mozilla.org/chrome.manifest
lib/thunderbird/extensions/calendar-timezones@mozilla.org/chrome/calendar-timezones-en-US.jar
lib/thunderbird/extensions/calendar-timezones@mozilla.org/chrome/calendar-timezones.jar
lib/thunderbird/extensions/calendar-timezones@mozilla.org/defaults/preferences/preferences.js
lib/thunderbird/extensions/calendar-timezones@mozilla.org/install.rdf
lib/thunderbird/extensions/calendar-timezones@mozilla.org/timezones.sqlite
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calAlarm.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calAlarmMonitor.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calAlarmService.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calAttachment.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calAttendee.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calCachedCalendar.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calCalendarManager.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calCalendarSearchService.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calDateTimeFormatter.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calDavCalendar.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calDavRequestHandlers.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calEvent.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calFilter.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calFreeBusyService.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calHtmlExport.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calICSCalendar.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calIcsImportExport.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calIcsParser.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calIcsSerializer.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calItemBase.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calItipItem.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calListFormatter.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calMemoryCalendar.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calMonthGridPrinter.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calOutlookCSVImportExport.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calProtocolHandler.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calRecurrenceInfo.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calRelation.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calStorageCalendar.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calTimezoneService.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calTodo.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calTransactionManager.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calUtils.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWcapCalendar.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWcapCalendarItems.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWcapErrors.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWcapRequest.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWcapSession.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWcapUtils.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWeekInfoService.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/calendar-js/calWeekPrinter.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome.manifest
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar-en-US.jar
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/calendar.jar
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/icons/default/calendar-alarm-dialog.xpm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/icons/default/calendar-event-dialog.xpm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/icons/default/calendar-event-summary-dialog.xpm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/icons/default/calendar-task-dialog.xpm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/icons/default/calendar-task-summary-dialog.xpm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/lightning-en-US.jar
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/chrome/lightning.jar
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calCompositeCalendar.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calDavCalendarModule.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calICSCalendarModule.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calImportExportModule.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calItemModule.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calItipEmailTransport.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calItipProtocolHandler.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calMemoryCalendarModule.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calStorageCalendarModule.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calWcapCalendarModule.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calbase.xpt
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/calbaseinternal.xpt
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/caldav.xpt
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/libcalbasecomps.so
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/lightningTextCalendarConverter.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/components/wcap.xpt
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/defaults/preferences/lightning.js
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/install.rdf
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calAlarmUtils.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calAuthUtils.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calIteratorUtils.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calItipUtils.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calProviderUtils.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calStorageHelpers.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calStorageUpgrade.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/modules/calUtils.jsm
lib/thunderbird/extensions/{e2fda1a4-762b-4020-b5ad-a41df1933103}/timezones.sqlite
@@ -1,17 +1,18 @@ | @@ -1,17 +1,18 @@ | |||
1 | # $NetBSD: options.mk,v 1.2 2009/12/11 15:00:00 tnn Exp $ | 1 | # $NetBSD: options.mk,v 1.3 2010/04/21 13:33:26 tnn Exp $ | |
2 | 2 | |||
3 | PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird | 3 | PKG_OPTIONS_VAR= PKG_OPTIONS.thunderbird | |
4 | PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome official-mozilla-branding | 4 | PKG_SUPPORTED_OPTIONS= debug mozilla-jemalloc gnome official-mozilla-branding mozilla-lightning | |
5 | PKG_SUGGESTED_OPTIONS= mozilla-lightning | |||
5 | 6 | |||
6 | PLIST_VARS+= branding debug gnome | 7 | PLIST_VARS+= branding debug gnome | |
7 | 8 | |||
8 | .if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" | 9 | .if ${OPSYS} == "Linux" || ${OPSYS} == "SunOS" | |
9 | PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc | 10 | PKG_SUGGESTED_OPTIONS+= mozilla-jemalloc | |
10 | .endif | 11 | .endif | |
11 | 12 | |||
12 | .if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Msparc) || \ | 13 | .if !empty(MACHINE_ARCH:Mi386) || !empty(MACHINE_ARCH:Msparc) || \ | |
13 | !empty(MACHINE_ARCH:Marm) | 14 | !empty(MACHINE_ARCH:Marm) | |
14 | PKG_SUPPORTED_OPTIONS+= mozilla-jit | 15 | PKG_SUPPORTED_OPTIONS+= mozilla-jit | |
15 | PKG_SUGGESTED_OPTIONS+= mozilla-jit | 16 | PKG_SUGGESTED_OPTIONS+= mozilla-jit | |
16 | .endif | 17 | .endif | |
17 | 18 | |||
@@ -35,23 +36,30 @@ CONFIGURE_ARGS+= --disable-jemalloc | @@ -35,23 +36,30 @@ CONFIGURE_ARGS+= --disable-jemalloc | |||
35 | .if !empty(PKG_OPTIONS:Mdebug) | 36 | .if !empty(PKG_OPTIONS:Mdebug) | |
36 | CONFIGURE_ARGS+= --enable-debug | 37 | CONFIGURE_ARGS+= --enable-debug | |
37 | PLIST.debug= yes | 38 | PLIST.debug= yes | |
38 | .else | 39 | .else | |
39 | CONFIGURE_ARGS+= --disable-debug | 40 | CONFIGURE_ARGS+= --disable-debug | |
40 | .endif | 41 | .endif | |
41 | 42 | |||
42 | .if !empty(PKG_OPTIONS:Mmozilla-jit) | 43 | .if !empty(PKG_OPTIONS:Mmozilla-jit) | |
43 | CONFIGURE_ARGS+= --enable-jit | 44 | CONFIGURE_ARGS+= --enable-jit | |
44 | .else | 45 | .else | |
45 | CONFIGURE_ARGS+= --disable-jit | 46 | CONFIGURE_ARGS+= --disable-jit | |
46 | .endif | 47 | .endif | |
47 | 48 | |||
49 | .if !empty(PKG_OPTIONS:Mmozilla-lightning) | |||
50 | CONFIGURE_ARGS+= --enable-calendar | |||
51 | PLIST_SRC+= PLIST.lightning | |||
52 | .else | |||
53 | CONFIGURE_ARGS+= --disable-calendar | |||
54 | .endif | |||
55 | ||||
48 | .if !empty(PKG_OPTIONS:Mofficial-mozilla-branding) | 56 | .if !empty(PKG_OPTIONS:Mofficial-mozilla-branding) | |
49 | CONFIGURE_ARGS+= --enable-official-branding | 57 | CONFIGURE_ARGS+= --enable-official-branding | |
50 | PLIST.branding= yes | 58 | PLIST.branding= yes | |
51 | LICENSE= mozilla-trademark-license | 59 | LICENSE= mozilla-trademark-license | |
52 | RESTRICTED= Trademark holder prohibits distribution of modified versions. | 60 | RESTRICTED= Trademark holder prohibits distribution of modified versions. | |
53 | NO_BIN_ON_CDROM= ${RESTRICTED} | 61 | NO_BIN_ON_CDROM= ${RESTRICTED} | |
54 | NO_BIN_ON_FTP= ${RESTRICTED} | 62 | NO_BIN_ON_FTP= ${RESTRICTED} | |
55 | .else | 63 | .else | |
56 | CONFIGURE_ARGS+= --disable-official-branding | 64 | CONFIGURE_ARGS+= --disable-official-branding | |
57 | .endif | 65 | .endif |