2011-06-15 17:00:40 +02:00
|
|
|
# HG changeset patch
|
2012-03-01 10:09:12 +01:00
|
|
|
# Parent e315e5900fa90c2183edccd211fbe1e81cdb4c5f
|
2011-06-15 17:00:40 +02:00
|
|
|
|
2012-03-01 10:09:12 +01:00
|
|
|
diff --git a/build/Makefile.in b/build/Makefile.in
|
|
|
|
--- a/build/Makefile.in
|
|
|
|
+++ b/build/Makefile.in
|
|
|
|
@@ -86,17 +86,17 @@ DEFINES += -DMOZ_APP_VERSION="$(MOZ_APP_
|
|
|
|
APP_INI_DEPS += $(DEPTH)/config/autoconf.mk
|
2011-06-20 11:20:23 +02:00
|
|
|
|
2012-03-01 10:09:12 +01:00
|
|
|
MOZ_SOURCE_STAMP ?= $(firstword $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null))
|
2011-06-20 11:20:23 +02:00
|
|
|
ifdef MOZ_SOURCE_STAMP
|
|
|
|
DEFINES += -DMOZ_SOURCE_STAMP="$(MOZ_SOURCE_STAMP)"
|
|
|
|
endif
|
|
|
|
|
2012-03-01 10:09:12 +01:00
|
|
|
_dollar=$$
|
|
|
|
-SOURCE_REPO := $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
|
|
|
+SOURCE_REPO ?= $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
2011-06-20 11:20:23 +02:00
|
|
|
ifdef SOURCE_REPO
|
|
|
|
DEFINES += -DMOZ_SOURCE_REPO="$(SOURCE_REPO)"
|
|
|
|
endif
|
|
|
|
|
2012-03-01 10:09:12 +01:00
|
|
|
DEFINES += \
|
|
|
|
-DMOZ_APP_BASENAME="$(MOZ_APP_BASENAME)" \
|
|
|
|
-DMOZ_APP_VENDOR="$(MOZ_APP_VENDOR)" \
|
|
|
|
-DMOZ_APP_ID="$(MOZ_APP_ID)" \
|
2011-06-15 17:00:40 +02:00
|
|
|
diff --git a/toolkit/content/Makefile.in b/toolkit/content/Makefile.in
|
|
|
|
--- a/toolkit/content/Makefile.in
|
|
|
|
+++ b/toolkit/content/Makefile.in
|
2011-11-09 13:04:11 +01:00
|
|
|
@@ -65,17 +65,17 @@ endif
|
|
|
|
ifeq (Android,$(OS_TARGET))
|
|
|
|
DEFINES += -DANDROID_PACKAGE_NAME=$(ANDROID_PACKAGE_NAME)
|
2011-06-15 17:00:40 +02:00
|
|
|
endif
|
|
|
|
|
|
|
|
# strip a trailing slash from the repo URL because it's not always present,
|
|
|
|
# and we want to construct a working URL in buildconfig.html
|
|
|
|
# make+shell+sed = awful
|
|
|
|
_dollar=$$
|
|
|
|
-SOURCE_REPO := $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
|
|
|
+SOURCE_REPO ?= $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
|
|
|
# extra sanity check for old versions of hg
|
|
|
|
# that don't support showconfig
|
|
|
|
ifeq (http,$(patsubst http%,http,$(SOURCE_REPO)))
|
|
|
|
DEFINES += -DSOURCE_REPO="$(SOURCE_REPO)"
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifdef MOZ_TOOLKIT_SEARCH
|
|
|
|
DEFINES += -DMOZ_TOOLKIT_SEARCH
|
|
|
|
diff --git a/toolkit/mozapps/installer/package-name.mk b/toolkit/mozapps/installer/package-name.mk
|
|
|
|
--- a/toolkit/mozapps/installer/package-name.mk
|
|
|
|
+++ b/toolkit/mozapps/installer/package-name.mk
|
2012-03-01 10:09:12 +01:00
|
|
|
@@ -156,20 +156,20 @@ SYMBOL_ARCHIVE_BASENAME = $(PKG_BASENAME
|
2011-06-15 17:00:40 +02:00
|
|
|
TEST_PACKAGE = $(PKG_BASENAME).tests.zip
|
|
|
|
|
|
|
|
ifneq (,$(wildcard $(DIST)/bin/application.ini))
|
|
|
|
BUILDID = $(shell $(PYTHON) $(MOZILLA_DIR)/config/printconfigsetting.py $(DIST)/bin/application.ini App BuildID)
|
|
|
|
else
|
|
|
|
BUILDID = $(shell $(PYTHON) $(MOZILLA_DIR)/config/printconfigsetting.py $(DIST)/bin/platform.ini Build BuildID)
|
|
|
|
endif
|
|
|
|
|
|
|
|
-MOZ_SOURCE_STAMP = $(firstword $(shell hg -R $(MOZILLA_DIR) parent --template="{node|short}\n" 2>/dev/null))
|
|
|
|
+#MOZ_SOURCE_STAMP = $(firstword $(shell hg -R $(MOZILLA_DIR) parent --template="{node|short}\n" 2>/dev/null))
|
|
|
|
|
|
|
|
# strip a trailing slash from the repo URL because it's not always present,
|
|
|
|
# and we want to construct a working URL in the sourcestamp file.
|
|
|
|
# make+shell+sed = awful
|
|
|
|
_dollar=$$
|
|
|
|
-MOZ_SOURCE_REPO = $(shell cd $(MOZILLA_DIR) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
|
|
|
+#MOZ_SOURCE_REPO = $(shell cd $(MOZILLA_DIR) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
|
|
|
|
|
|
|
MOZ_SOURCESTAMP_FILE = $(DIST)/$(PKG_PATH)/$(PKG_BASENAME).txt
|
2011-09-26 08:53:33 +02:00
|
|
|
|
|
|
|
# JavaScript Shell
|
|
|
|
PKG_JSSHELL = $(DIST)/jsshell-$(MOZ_PKG_PLATFORM).zip
|
2011-06-15 17:00:40 +02:00
|
|
|
diff --git a/toolkit/xre/Makefile.in b/toolkit/xre/Makefile.in
|
|
|
|
--- a/toolkit/xre/Makefile.in
|
|
|
|
+++ b/toolkit/xre/Makefile.in
|
2012-03-01 10:09:12 +01:00
|
|
|
@@ -235,17 +235,17 @@ DEFINES += -DHAVE_USR_LIB64_DIR
|
2011-06-15 17:00:40 +02:00
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
MOZ_SOURCE_STAMP ?= $(firstword $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null))
|
|
|
|
# strip a trailing slash from the repo URL because it's not always present,
|
|
|
|
# and we want to construct a working URL in buildconfig.html
|
|
|
|
# make+shell+sed = awful
|
|
|
|
_dollar=$$
|
|
|
|
-SOURCE_REPO := $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
|
|
|
+SOURCE_REPO ?= $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" )
|
|
|
|
|
|
|
|
ifdef MOZ_SOURCE_STAMP
|
|
|
|
INIARGS = --sourcestamp=$(MOZ_SOURCE_STAMP)
|
|
|
|
# extra sanity check for old versions of hg
|
|
|
|
# that don't support showconfig
|
|
|
|
ifeq (http,$(patsubst http%,http,$(SOURCE_REPO)))
|
|
|
|
INIARGS += --sourcerepo=$(SOURCE_REPO)
|
|
|
|
endif
|