Bug 673084 - postflight_all errors when building official mac universal builds manually - don't attempt to install lightning for universal builds as the install process doesn't work, and we're looking at a different solution (bug 673083); r=Fallen a=transplanting-calendar-changes CLOSED TREE
authorMark Banner <bugzilla@standard8.plus.com>
Wed, 10 Aug 2011 12:06:02 +0100
changeset 8364 a068360cfbef0771ba225775f5aba533eb986755
parent 8363 218eee0c4d28e0ca14e980fc873d6e5465e6fdca
child 8365 ab422cc8f58cf8c8bf1060a54d9a8727863a4b03
push idunknown
push userunknown
push dateunknown
reviewersFallen, transplanting-calendar-changes
bugs673084, 673083
Bug 673084 - postflight_all errors when building official mac universal builds manually - don't attempt to install lightning for universal builds as the install process doesn't work, and we're looking at a different solution (bug 673083); r=Fallen a=transplanting-calendar-changes CLOSED TREE
build/macosx/universal/flight.mk
--- a/build/macosx/universal/flight.mk
+++ b/build/macosx/universal/flight.mk
@@ -95,40 +95,22 @@ postflight_all:
 # about:buildconfig page.  Fix it up.
 	$(TOPSRCDIR)/mozilla/build/macosx/universal/fix-buildconfig $(FIX_MODE) \
 	  $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME)/$(BUILDCONFIG) \
 	  $(DIST_ARCH_2)/$(MOZ_PKG_APPNAME)/$(APPNAME)/$(BUILDCONFIG)
 	mkdir -p $(DIST_UNI)/$(MOZ_PKG_APPNAME)
 	rm -f $(DIST_ARCH_2)/universal
 	ln -s $(DIST_UNI) $(DIST_ARCH_2)/universal
 	rm -rf $(DIST_UNI)/$(MOZ_PKG_APPNAME)/$(APPNAME)
-ifdef MOZ_CALENDAR
-ifndef DISABLE_LIGHTNING_INSTALL
-ifndef MOZ_SUNBIRD
-# workaround for different platforms in lightning installrdf
-	$(PYTHON) $(TOPSRCDIR)/build/merge-installrdf.py $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\} $(DIST_ARCH_2)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\} > $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}/install.rdf_
-	mv $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}/install.rdf_ $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}/install.rdf
-	cp $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}/install.rdf $(DIST_ARCH_2)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}/install.rdf
-endif
-endif
-endif
 	$(TOPSRCDIR)/mozilla/build/macosx/universal/unify \
 	    --unify-with-sort "\.manifest$$" \
 	    --unify-with-sort "components\.list$$" \
 	    $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME) \
 	    $(DIST_ARCH_2)/$(MOZ_PKG_APPNAME)/$(APPNAME) \
 	    $(DIST_UNI)/$(MOZ_PKG_APPNAME)/$(APPNAME)
-ifdef MOZ_CALENDAR
-ifndef DISABLE_LIGHTNING_INSTALL
-ifndef MOZ_SUNBIRD
-	rm $(DIST_ARCH_1)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}/install.rdf \
-	   $(DIST_ARCH_2)/$(MOZ_PKG_APPNAME)/$(APPNAME)/Contents/MacOS/extensions/\{e2fda1a4-762b-4020-b5ad-a41df1933103\}/install.rdf
-endif
-endif
-endif
 ifdef ENABLE_TESTS
 # A universal .dmg can now be produced by making in either architecture's
 # INSTALLER_DIR.
 # Now, repeat the process for the test package.
 	$(MAKE) -C $(OBJDIR_ARCH_1) UNIVERSAL_BINARY= CHROME_JAR= package-tests
 	$(MAKE) -C $(OBJDIR_ARCH_2) UNIVERSAL_BINARY= CHROME_JAR= package-tests
 	rm -rf $(DIST_UNI)/test-package-stage
 # automation.py differs because it hardcodes a path to