Update to sunbird 1.0beta2. Upstream doesn't have enough manpower to do

formal releases of sunbird, so let's build it from thunderbird source
tarball as we do for xulrunner w/ firefox. Use tb files/ and patches/
while here.
After discussion with upstream.
This commit is contained in:
landry 2011-03-20 20:09:28 +00:00
parent e544151d8e
commit 24f1db3203
3 changed files with 47 additions and 32 deletions

View File

@ -1,23 +1,25 @@
# $OpenBSD: Makefile,v 1.22 2011/01/28 21:38:12 landry Exp $
# $OpenBSD: Makefile,v 1.23 2011/03/20 20:09:28 landry Exp $
COMMENT = Mozilla calendar
MOZILLA_PROJECT = sunbird
MOZILLA_VERSION = 1.0beta1
MOZILLA_BRANCH = 1.9.1
TB_VERSION = 3.1.8
MOZILLA_VERSION = 1.0beta2
MOZILLA_BRANCH = 1.9.2
MOZILLA_CODENAME = calendar
DISTNAME = lightning-sunbird-1.0b1.source
REVISION = 11
DISTNAME = thunderbird-${TB_VERSION}.source
EPOCH = 0
MASTER_SITES = http://releases.mozilla.org/pub/mozilla.org/thunderbird/releases/${TB_VERSION}/source/
CATEGORIES = productivity mail
SO_VERSION = 16.1
SO_VERSION = 17.0
MOZILLA_LIBS = calbasecomps accessibility auth autoconfig caps chardet chrome \
commandlines cookie docshell embedcomponents fileview gkgfxthebes \
gklayout gkplugin htmlpars i18n imgicon imglib2 intlapp jar50 jsd mork \
gklayout gkplugin htmlpars i18n imgicon imglib2 intlapp jar50 jsd jsctypes mork \
mozfind necko nsappshell permissions pipboot pipnss pippki pref rdf \
remoteservice satchel spellchecker storagecomps system-pref \
tkautocomplete toolkitcomps txmgr uconv unixproxy webbrwsr widget_gtk2 \
@ -30,14 +32,16 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES = http://releases.mozilla.org/pub/mozilla.org/calendar/${MOZILLA_PROJECT}/releases/${MOZILLA_VERSION}/source/
MODULES = www/mozilla devel/gettext lang/python
# Regression tests are too hard to adapt to run here
NO_REGRESS = Yes
MODGNU_CONFIG_GUESS_DIRS += ${WRKSRC}/directory/c-sdk/config/autoconf
# use files and patches from mail/mozilla-thunderbird
PATCHDIR = ${PORTSDIR}/mail/mozilla-thunderbird/patches
FILESDIR = ${PORTSDIR}/mail/mozilla-thunderbird/files
MODGNU_CONFIG_GUESS_DIRS += ${WRKSRC}/directory/sdks/c-sdk/config/autoconf
CONFIGURE_STYLE = autoconf no-autoheader
CONFIGURE_ARGS = --enable-official-branding
@ -45,9 +49,9 @@ CONFIGURE_ARGS = --enable-official-branding
ALL_TARGET= default
MOZILLA_DATADIRS = calendar-js chrome components defaults dictionaries extensions \
greprefs icons modules plugins res
greprefs modules plugins res
MOZILLA_AUTOCONF_DIRS = directory/c-sdk mozilla mozilla/js/src
MOZILLA_AUTOCONF_DIRS = directory/sdks/c-sdk mozilla mozilla/js/src
MOZILLA_SUBST_FILES += config/autoconf.mk.in
.include <bsd.port.mk>

View File

@ -1,5 +1,5 @@
MD5 (lightning-sunbird-1.0b1.source.tar.bz2) = QYUjlpwAclvvNeEe9bBrmw==
RMD160 (lightning-sunbird-1.0b1.source.tar.bz2) = BR8I/GY8I998eJIyUPjlk8awYxo=
SHA1 (lightning-sunbird-1.0b1.source.tar.bz2) = HAjG4XNBLqlcm/0IHTJTrNbSE4A=
SHA256 (lightning-sunbird-1.0b1.source.tar.bz2) = hXKC49FI307gOul9EM8jsgcoEIF8ajodq+k9DZuCKP0=
SIZE (lightning-sunbird-1.0b1.source.tar.bz2) = 60442959
MD5 (thunderbird-3.1.8.source.tar.bz2) = u0Vk66Q3rc6yIpIknRhuEQ==
RMD160 (thunderbird-3.1.8.source.tar.bz2) = /6egx7nKTx2sJce7+BEatKkJZgE=
SHA1 (thunderbird-3.1.8.source.tar.bz2) = WCMNC/vGn0XXVNjretAS8d6/4gM=
SHA256 (thunderbird-3.1.8.source.tar.bz2) = 7EQ5793FLWcuqq/e5weXTGpZymY0yQhPf8hEpu4PTI4=
SIZE (thunderbird-3.1.8.source.tar.bz2) = 68613204

View File

@ -1,9 +1,7 @@
@comment $OpenBSD: PLIST,v 1.3 2011/01/14 22:57:44 landry Exp $
@comment $OpenBSD: PLIST,v 1.4 2011/03/20 20:09:28 landry Exp $
@conflict sunbird-<=1.0b1
@pkgpath productivity/sunbird,-main
bin/${MOZILLA_PROJECT}
@comment mozilla-thunderbird/
@comment mozilla-thunderbird/extensions/
share/applications/${MOZILLA_PROJECT}.desktop
${MOZILLA_PROJECT}/
${MOZILLA_PROJECT}/application.ini
@ -62,12 +60,15 @@ ${MOZILLA_PROJECT}/chrome/en-US.jar
${MOZILLA_PROJECT}/chrome/en-US.manifest
${MOZILLA_PROJECT}/chrome/icons/
${MOZILLA_PROJECT}/chrome/icons/default/
${MOZILLA_PROJECT}/chrome/icons/default/calendar-alarm-dialog.xpm
${MOZILLA_PROJECT}/chrome/icons/default/calendar-event-dialog.xpm
${MOZILLA_PROJECT}/chrome/icons/default/calendar-event-summary-dialog.xpm
${MOZILLA_PROJECT}/chrome/icons/default/calendar-task-dialog.xpm
${MOZILLA_PROJECT}/chrome/icons/default/calendar-task-summary-dialog.xpm
${MOZILLA_PROJECT}/chrome/icons/default/calendar-alarm-dialog.png
${MOZILLA_PROJECT}/chrome/icons/default/calendar-event-dialog.png
${MOZILLA_PROJECT}/chrome/icons/default/calendar-event-summary-dialog.png
${MOZILLA_PROJECT}/chrome/icons/default/calendar-task-dialog.png
${MOZILLA_PROJECT}/chrome/icons/default/calendar-task-summary-dialog.png
${MOZILLA_PROJECT}/chrome/icons/default/default.xpm
${MOZILLA_PROJECT}/chrome/icons/default/default128.png
${MOZILLA_PROJECT}/chrome/icons/default/default16.xpm
${MOZILLA_PROJECT}/chrome/icons/default/default50.xpm
${MOZILLA_PROJECT}/chrome/pippki.jar
${MOZILLA_PROJECT}/chrome/pippki.manifest
${MOZILLA_PROJECT}/chrome/${MOZILLA_PROJECT}-en-US.jar
@ -78,6 +79,7 @@ ${MOZILLA_PROJECT}/chrome/toolkit.jar
${MOZILLA_PROJECT}/chrome/toolkit.manifest
${MOZILLA_PROJECT}/components/
${MOZILLA_PROJECT}/components/FeedProcessor.js
${MOZILLA_PROJECT}/components/GPSDGeolocationProvider.js
${MOZILLA_PROJECT}/components/NetworkGeolocationProvider.js
${MOZILLA_PROJECT}/components/accessibility.xpt
${MOZILLA_PROJECT}/components/alerts.xpt
@ -102,8 +104,10 @@ ${MOZILLA_PROJECT}/components/chardet.xpt
${MOZILLA_PROJECT}/components/chrome.xpt
${MOZILLA_PROJECT}/components/commandhandler.xpt
${MOZILLA_PROJECT}/components/commandlines.xpt
${MOZILLA_PROJECT}/components/components.list
${MOZILLA_PROJECT}/components/composer.xpt
${MOZILLA_PROJECT}/components/content_base.xpt
${MOZILLA_PROJECT}/components/content_events.xpt
${MOZILLA_PROJECT}/components/content_html.xpt
${MOZILLA_PROJECT}/components/content_htmldoc.xpt
${MOZILLA_PROJECT}/components/content_xmldoc.xpt
@ -178,6 +182,7 @@ ${MOZILLA_PROJECT}/components/layout_xul_tree.xpt
@lib ${MOZILLA_PROJECT}/components/libimglib2.so.${LIBimglib2_VERSION}
@lib ${MOZILLA_PROJECT}/components/libintlapp.so.${LIBintlapp_VERSION}
@lib ${MOZILLA_PROJECT}/components/libjar50.so.${LIBjar50_VERSION}
@lib ${MOZILLA_PROJECT}/components/libjsctypes.so.${LIBjsctypes_VERSION}
@lib ${MOZILLA_PROJECT}/components/libjsd.so.${LIBjsd_VERSION}
@lib ${MOZILLA_PROJECT}/components/libmork.so.${LIBmork_VERSION}
@lib ${MOZILLA_PROJECT}/components/libmozfind.so.${LIBmozfind_VERSION}
@ -233,8 +238,10 @@ ${MOZILLA_PROJECT}/components/nsDefaultCLH.js
${MOZILLA_PROJECT}/components/nsDownloadManagerUI.js
${MOZILLA_PROJECT}/components/nsExtensionManager.js
${MOZILLA_PROJECT}/components/nsFilePicker.js
${MOZILLA_PROJECT}/components/nsFormAutoComplete.js
${MOZILLA_PROJECT}/components/nsHandlerService.js
${MOZILLA_PROJECT}/components/nsHelperAppDlg.js
${MOZILLA_PROJECT}/components/nsINIProcessor.js
${MOZILLA_PROJECT}/components/nsLoginInfo.js
${MOZILLA_PROJECT}/components/nsLoginManager.js
${MOZILLA_PROJECT}/components/nsLoginManagerPrompter.js
@ -244,7 +251,7 @@ ${MOZILLA_PROJECT}/components/nsSearchService.js
${MOZILLA_PROJECT}/components/nsSearchSuggestions.js
${MOZILLA_PROJECT}/components/nsTryToClose.js
${MOZILLA_PROJECT}/components/nsURLFormatter.js
${MOZILLA_PROJECT}/components/nsUpdateService.js
${MOZILLA_PROJECT}/components/nsUpdateTimerManager.js
${MOZILLA_PROJECT}/components/nsWebHandlerApp.js
${MOZILLA_PROJECT}/components/parentalcontrols.xpt
${MOZILLA_PROJECT}/components/pipboot.xpt
@ -333,10 +340,6 @@ ${MOZILLA_PROJECT}/greprefs/
${MOZILLA_PROJECT}/greprefs/all.js
${MOZILLA_PROJECT}/greprefs/security-prefs.js
${MOZILLA_PROJECT}/greprefs/xpinstall.js
${MOZILLA_PROJECT}/icons/
${MOZILLA_PROJECT}/icons/mozicon128.png
${MOZILLA_PROJECT}/icons/mozicon16.xpm
${MOZILLA_PROJECT}/icons/mozicon50.xpm
@lib ${MOZILLA_PROJECT}/libgfxpsshar.so.${LIBgfxpsshar_VERSION}
@lib ${MOZILLA_PROJECT}/libgkgfx.so.${LIBgkgfx_VERSION}
@lib ${MOZILLA_PROJECT}/libgtkxtbin.so.${LIBgtkxtbin_VERSION}
@ -346,22 +349,30 @@ ${MOZILLA_PROJECT}/icons/mozicon50.xpm
@lib ${MOZILLA_PROJECT}/libxpcom_core.so.${LIBxpcom_core_VERSION}
@lib ${MOZILLA_PROJECT}/libxul.so.${LIBxul_VERSION}
${MOZILLA_PROJECT}/modules/
${MOZILLA_PROJECT}/modules/CertUtils.jsm
${MOZILLA_PROJECT}/modules/DownloadLastDir.jsm
${MOZILLA_PROJECT}/modules/DownloadUtils.jsm
${MOZILLA_PROJECT}/modules/FileUtils.jsm
${MOZILLA_PROJECT}/modules/ISO8601DateUtils.jsm
${MOZILLA_PROJECT}/modules/LightweightThemeConsumer.jsm
${MOZILLA_PROJECT}/modules/LightweightThemeManager.jsm
${MOZILLA_PROJECT}/modules/Microformats.js
${MOZILLA_PROJECT}/modules/NetUtil.jsm
${MOZILLA_PROJECT}/modules/PluralForm.jsm
${MOZILLA_PROJECT}/modules/SpatialNavigation.js
${MOZILLA_PROJECT}/modules/WindowDraggingUtils.jsm
${MOZILLA_PROJECT}/modules/XPCOMUtils.jsm
${MOZILLA_PROJECT}/modules/calAlarmUtils.jsm
${MOZILLA_PROJECT}/modules/calAuthUtils.jsm
${MOZILLA_PROJECT}/modules/calHashedArray.jsm
${MOZILLA_PROJECT}/modules/calIteratorUtils.jsm
${MOZILLA_PROJECT}/modules/calItipUtils.jsm
${MOZILLA_PROJECT}/modules/calPrintUtils.jsm
${MOZILLA_PROJECT}/modules/calProviderUtils.jsm
${MOZILLA_PROJECT}/modules/calStorageHelpers.jsm
${MOZILLA_PROJECT}/modules/calStorageUpgrade.jsm
${MOZILLA_PROJECT}/modules/calUtils.jsm
${MOZILLA_PROJECT}/modules/ctypes.jsm
${MOZILLA_PROJECT}/modules/debug.js
@bin ${MOZILLA_PROJECT}/mozilla-xremote-client
${MOZILLA_PROJECT}/platform.ini
@ -372,7 +383,7 @@ ${MOZILLA_PROJECT}/plugins/
${MOZILLA_PROJECT}/res/
${MOZILLA_PROJECT}/res/arrow.gif
${MOZILLA_PROJECT}/res/arrowd.gif
${MOZILLA_PROJECT}/res/broken-image.gif
${MOZILLA_PROJECT}/res/broken-image.png
${MOZILLA_PROJECT}/res/charsetData.properties
${MOZILLA_PROJECT}/res/charsetalias.properties
${MOZILLA_PROJECT}/res/contenteditable.css
@ -392,7 +403,7 @@ ${MOZILLA_PROJECT}/res/html.css
${MOZILLA_PROJECT}/res/html/folder.png
${MOZILLA_PROJECT}/res/langGroups.properties
${MOZILLA_PROJECT}/res/language.properties
${MOZILLA_PROJECT}/res/loading-image.gif
${MOZILLA_PROJECT}/res/loading-image.png
${MOZILLA_PROJECT}/res/quirk.css
${MOZILLA_PROJECT}/res/svg.css
${MOZILLA_PROJECT}/res/ua.css