Fix
bug 808668 - Upgrade update.php script with new locations and re-enable automatic nightly updates by adding em:updateURL to install.rdf. r=Standard8
--- a/calendar/lightning/Makefile.in
+++ b/calendar/lightning/Makefile.in
@@ -44,18 +44,19 @@ SEAMONKEY_MAXVERSION := $(SEAMONKEY_VERS
ifneq (a,$(findstring a,$(SEAMONKEY_VERSION)))
SEAMONKEY_MAXVERSION := $(shell echo $(SEAMONKEY_VERSION) | sed "s|\(^[0-9]*.[0-9]*\).*|\1|" ).*
endif
ifneq (,$(findstring a,$(LIGHTNING_VERSION)))
DEFINES += -DLIGHTNING_PRERELEASE_VERSION=1
endif
-ifdef LIGHTNING_UPDATE_LOCATION
-DEFINES += -DLIGHTNING_UPDATE_LOCATION=$(LIGHTNING_UPDATE_LOCATION)
+# Enable nightly updates on aurora and nightly channel
+ifeq (nightly,$(subst aurora,nightly,$(MOZ_UPDATE_CHANNEL)))
+DEFINES += -DLIGHTNING_UPDATE_LOCATION=https://calendar.mozilla.org/update.php
endif
# Gecko milestone
GRE_MILESTONE = $(shell $(PYTHON) $(MOZILLA_SRCDIR)/config/printconfigsetting.py $(LIBXUL_DIST)/bin/platform.ini Build Milestone)
ifdef GRE_MILESTONE
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE)
endif
--- a/mail/config/mozconfigs/linux32/debug
+++ b/mail/config/mozconfigs/linux32/debug
@@ -10,19 +10,16 @@ ac_add_options --enable-calendar
ac_add_options --enable-stdcxx-compat
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
# Enable parallel compiling
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
#Use ccache
ac_add_options --with-ccache=/usr/bin/ccache
# Run client.py
--- a/mail/config/mozconfigs/linux32/nightly
+++ b/mail/config/mozconfigs/linux32/nightly
@@ -12,20 +12,16 @@ ac_add_options --enable-calendar
ac_add_options --enable-stdcxx-compat
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird, but enable updates for created xpis
-export LIGHTNING_UPDATE_LOCATION=https://calendar.mozilla.org/update.php
-export DISABLE_LIGHTNING_INSTALL=1
-
# Enable parallel compiling
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
# Use ccache
ac_add_options --with-ccache=/usr/bin/ccache
# Run client.py
--- a/mail/config/mozconfigs/linux32/release
+++ b/mail/config/mozconfigs/linux32/release
@@ -10,18 +10,15 @@ ac_add_options --enable-calendar
ac_add_options --enable-stdcxx-compat
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
# Enable parallel compiling
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
# Run client.py
mk_add_options CLIENT_PY_ARGS="$(cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
--- a/mail/config/mozconfigs/linux64/debug
+++ b/mail/config/mozconfigs/linux64/debug
@@ -10,19 +10,16 @@ ac_add_options --enable-calendar
ac_add_options --enable-stdcxx-compat
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
# Enable parallel compiling
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
# Use ccache
ac_add_options --with-ccache=/usr/bin/ccache
# Run client.py
--- a/mail/config/mozconfigs/linux64/nightly
+++ b/mail/config/mozconfigs/linux64/nightly
@@ -12,20 +12,16 @@ ac_add_options --enable-calendar
ac_add_options --enable-stdcxx-compat
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird, but enable updates for created xpis
-export LIGHTNING_UPDATE_LOCATION=https://calendar.mozilla.org/update.php
-export DISABLE_LIGHTNING_INSTALL=1
-
# Enable parallel compiling
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
# Use ccache
ac_add_options --with-ccache=/usr/bin/ccache
# Run client.py
--- a/mail/config/mozconfigs/linux64/release
+++ b/mail/config/mozconfigs/linux64/release
@@ -10,18 +10,15 @@ ac_add_options --enable-calendar
ac_add_options --enable-stdcxx-compat
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
# Enable parallel compiling
CONCURRENCY=$(( `grep processor /proc/cpuinfo | wc -l` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
# Run client.py
mk_add_options CLIENT_PY_ARGS="$(cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
--- a/mail/config/mozconfigs/macosx-universal/nightly
+++ b/mail/config/mozconfigs/macosx-universal/nightly
@@ -20,20 +20,16 @@ ac_add_options --enable-profiling
ac_add_options --enable-calendar
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
-# Don't install Lightning into Thunderbird, but enable updates for created xpis
-export LIGHTNING_UPDATE_LOCATION=https://calendar.mozilla.org/update.php
-export DISABLE_LIGHTNING_INSTALL=1
-
# Make sure Lightning is also unified
mk_add_options MOZ_POSTFLIGHT_ALL+=calendar/lightning/build/universal.mk
# Enable parallel compiling
CONCURRENCY=$(( `sysctl hw.logicalcpu | awk {'print $2'}` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
ac_add_options --with-ccache
--- a/mail/config/mozconfigs/macosx-universal/release
+++ b/mail/config/mozconfigs/macosx-universal/release
@@ -17,19 +17,16 @@ ac_add_options --enable-official-brandin
ac_add_options --enable-calendar
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
# Make sure Lightning is also unified
mk_add_options MOZ_POSTFLIGHT_ALL+=calendar/lightning/build/universal.mk
# Enable parallel compiling
CONCURRENCY=$(( `sysctl hw.logicalcpu | awk {'print $2'}` + 2 ))
mk_add_options MOZ_MAKE_FLAGS="-j$CONCURRENCY"
# Run client.py
--- a/mail/config/mozconfigs/macosx64/debug
+++ b/mail/config/mozconfigs/macosx64/debug
@@ -10,16 +10,13 @@ ac_add_options --enable-calendar
mk_add_options MOZ_MAKE_FLAGS="-j12"
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
ac_add_options --with-ccache
# Run client.py
mk_add_options CLIENT_PY_ARGS="$(cat $topsrcdir/build/client.py-args)"
mk_add_options ALWAYS_RUN_CLIENT_PY=1
--- a/mail/config/mozconfigs/win32/debug
+++ b/mail/config/mozconfigs/win32/debug
@@ -7,19 +7,16 @@ ac_add_options --enable-signmar
ac_add_options --enable-calendar
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
if test -n "${_PYMAKE}"; then
mk_add_options MOZ_MAKE_FLAGS=-j4
else
mk_add_options MOZ_MAKE_FLAGS=-j1
fi
if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then
. $topsrcdir/build/win32/mozconfig.vs2010-win64
--- a/mail/config/mozconfigs/win32/nightly
+++ b/mail/config/mozconfigs/win32/nightly
@@ -9,20 +9,16 @@ ac_add_options --enable-profiling
ac_add_options --enable-calendar
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
-# Don't install Lightning into Thunderbird, but enable updates for created xpis
-export LIGHTNING_UPDATE_LOCATION=https://calendar.mozilla.org/update.php
-export DISABLE_LIGHTNING_INSTALL=1
-
if test -n "${_PYMAKE}"; then
mk_add_options MOZ_MAKE_FLAGS=-j4
else
mk_add_options MOZ_MAKE_FLAGS=-j1
fi
if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then
. $topsrcdir/build/win32/mozconfig.vs2010-win64
--- a/mail/config/mozconfigs/win32/release
+++ b/mail/config/mozconfigs/win32/release
@@ -8,19 +8,16 @@ ac_add_options --enable-official-brandin
ac_add_options --enable-calendar
# For NSS symbols
export MOZ_DEBUG_SYMBOLS=1
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
if test -n "${_PYMAKE}"; then
mk_add_options MOZ_MAKE_FLAGS=-j4
else
mk_add_options MOZ_MAKE_FLAGS=-j1
fi
if test "$PROCESSOR_ARCHITECTURE" = "AMD64" -o "$PROCESSOR_ARCHITEW6432" = "AMD64"; then
. $topsrcdir/build/win32/mozconfig.vs2010-win64
--- a/mail/config/mozconfigs/win64/debug
+++ b/mail/config/mozconfigs/win64/debug
@@ -7,19 +7,16 @@ ac_add_options --enable-application=mail
ac_add_options --enable-debug
ac_add_options --enable-trace-malloc
ac_add_options --enable-signmar
ac_add_options --enable-calendar
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
-# Don't install Lightning into Thunderbird
-export DISABLE_LIGHTNING_INSTALL=1
-
if test -n "${_PYMAKE}"; then
mk_add_options MOZ_MAKE_FLAGS=-j4
else
mk_add_options MOZ_MAKE_FLAGS=-j1
fi
. $topsrcdir/build/win64/mozconfig.vs2010
--- a/mail/config/mozconfigs/win64/nightly
+++ b/mail/config/mozconfigs/win64/nightly
@@ -9,20 +9,16 @@ ac_add_options --enable-update-packaging
ac_add_options --enable-jemalloc
ac_add_options --enable-signmar
ac_add_options --enable-profiling
ac_add_options --enable-calendar
# Needed to enable breakpad in application.ini
export MOZILLA_OFFICIAL=1
-# Don't install Lightning into Thunderbird, but enable updates for created xpis
-export LIGHTNING_UPDATE_LOCATION=https://calendar.mozilla.org/update.php
-export DISABLE_LIGHTNING_INSTALL=1
-
if test -n "${_PYMAKE}"; then
mk_add_options MOZ_MAKE_FLAGS=-j4
else
mk_add_options MOZ_MAKE_FLAGS=-j1
fi
. $topsrcdir/build/win64/mozconfig.vs2010