diff --git a/calendar/confvars.sh b/calendar/confvars.sh index 0610c70f68..9ec257591b 100755 --- a/calendar/confvars.sh +++ b/calendar/confvars.sh @@ -56,7 +56,19 @@ NECKO_COOKIES= MOZ_NO_XPCOM_OBSOLETE=1 MOZ_EXTENSIONS_DEFAULT= MOZ_UNIVERSALCHARDET= -MOZ_APP_VERSION=`cat $topsrcdir/$MOZ_BUILD_APP/sunbird/config/version.txt` + +# Needed for the mozilla-central build side of the system. +# Can be dropped when we branch MOZILLA_1_9_2_BRANCH +MOZILLA_BRANCH_VERSION=`echo ${MOZILLA_VERSION} | sed -e 's/^\([0-9]\.[0-9]\.[0-9]\).*/\1/;'` + +if test "$MOZILLA_BRANCH_VERSION" = "1.9.2"; then + MOZ_APP_VERSION_TXT=$topsrcdir/$MOZ_BUILD_APP/sunbird/config/version-192.txt +else + MOZ_APP_VERSION_TXT=$topsrcdir/$MOZ_BUILD_APP/sunbird/config/version.txt +fi + +MOZ_APP_VERSION=`cat $MOZ_APP_VERSION_TXT` + SUNBIRD_VERSION=$MOZ_APP_VERSION # Until we can build with libxul, we can't have ipc either diff --git a/calendar/lightning/Makefile.in b/calendar/lightning/Makefile.in index d670eb9902..53fb3fe812 100644 --- a/calendar/lightning/Makefile.in +++ b/calendar/lightning/Makefile.in @@ -53,10 +53,11 @@ XPI_PKGNAME = lightning STRIP_XPI = 1 DIST_FILES = install.rdf PREF_JS_EXPORTS = $(srcdir)/content/lightning.js -LIGHTNING_VERSION := $(shell cat $(srcdir)/../sunbird/config/version.txt) ifdef MOZILLA_1_9_2_BRANCH +LIGHTNING_VERSION := $(shell cat $(srcdir)/../sunbird/config/version-192.txt) THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version-192.txt) else +LIGHTNING_VERSION := $(shell cat $(srcdir)/../sunbird/config/version.txt) THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version.txt) endif ifdef MOZILLA_1_9_1_BRANCH diff --git a/calendar/lightning/install.rdf b/calendar/lightning/install.rdf index 069a367961..dac52b7d3d 100644 --- a/calendar/lightning/install.rdf +++ b/calendar/lightning/install.rdf @@ -11,7 +11,11 @@ {3550f703-e582-4d05-9a08-453d09bdfdc6} +#ifdef MOZILLA_1_9_2_BRANCH 3.1a1pre +#else + 3.2a1pre +#endif @THUNDERBIRD_VERSION@ @@ -49,7 +53,7 @@ Mozilla Calendar Project http://www.mozilla.org/projects/calendar/releases/lightning@LIGHTNING_VERSION@.html #ifdef MOZ_LANGPACK_CREATOR - @MOZ_LANGPACK_CREATOR@ + @MOZ_LANGPACK_CREATOR@ #endif #ifdef MOZ_LANGPACK_CONTRIBUTORS @MOZ_LANGPACK_CONTRIBUTORS@ diff --git a/calendar/providers/gdata/Makefile.in b/calendar/providers/gdata/Makefile.in index 84b529af8d..5896a0167c 100644 --- a/calendar/providers/gdata/Makefile.in +++ b/calendar/providers/gdata/Makefile.in @@ -49,10 +49,11 @@ DIST_FILES = install.rdf XPI_PKGNAME = gdata-provider STRIP_XPI = 1 -CALENDAR_VERSION := $(shell cat $(topsrcdir)/calendar/sunbird/config/version.txt) ifdef MOZILLA_1_9_2_BRANCH +CALENDAR_VERSION := $(shell cat $(topsrcdir)/calendar/sunbird/config/version-192.txt) THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version-192.txt) else +CALENDAR_VERSION := $(shell cat $(topsrcdir)/calendar/sunbird/config/version.txt) THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version.txt) endif ifdef MOZILLA_1_9_1_BRANCH diff --git a/calendar/sunbird/config/version-192.txt b/calendar/sunbird/config/version-192.txt new file mode 100644 index 0000000000..a7452d2230 --- /dev/null +++ b/calendar/sunbird/config/version-192.txt @@ -0,0 +1 @@ +1.0b2pre diff --git a/calendar/timezones/Makefile.in b/calendar/timezones/Makefile.in index 3b1e3c35c9..ce64917107 100644 --- a/calendar/timezones/Makefile.in +++ b/calendar/timezones/Makefile.in @@ -77,8 +77,10 @@ INSTALL_EXTENSION_ID = calendar-timezones@mozilla.org endif ifdef MOZILLA_1_9_2_BRANCH +CALENDAR_VERSION := $(shell cat $(topsrcdir)/calendar/sunbird/config/version-192.txt) THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version-192.txt) else +CALENDAR_VERSION := $(shell cat $(topsrcdir)/calendar/sunbird/config/version.txt) THUNDERBIRD_VERSION := $(shell cat $(topsrcdir)/mail/config/version.txt) endif ifdef MOZILLA_1_9_1_BRANCH @@ -86,7 +88,6 @@ SEAMONKEY_VERSION := $(shell cat $(topsrcdir)/suite/config/version-191.txt) else SEAMONKEY_VERSION := $(shell cat $(topsrcdir)/suite/config/version.txt) endif -CALENDAR_VERSION := $(shell cat $(topsrcdir)/calendar/sunbird/config/version.txt) TIMEZONES_VERSION := $(shell cat $(srcdir)/config/version.txt) DEFINES += -DAB_CD=$(AB_CD) \ diff --git a/calendar/timezones/install.rdf b/calendar/timezones/install.rdf index 9982ebb1be..87add16d09 100644 --- a/calendar/timezones/install.rdf +++ b/calendar/timezones/install.rdf @@ -50,7 +50,7 @@ {718e30fb-e89b-41dd-9da7-e25a45638b28} - 1.1a1pre + 0.9 @CALENDAR_VERSION@ @@ -58,7 +58,7 @@ {3550f703-e582-4d05-9a08-453d09bdfdc6} - 3.1a1pre + 2.0 @THUNDERBIRD_VERSION@ @@ -66,7 +66,7 @@ {92650c4d-4b8e-4d2a-b7eb-24ecf4f6b63a} - 2.1a1pre + 2.0 @SEAMONKEY_VERSION@