author | Petr Cerny <pcerny@suse.com> |
Sat, 18 Feb 2012 22:29:19 +0100 | |
branch | esr10 |
changeset 394 | 9f8c32361c40 |
parent 340 | aabcc7895695 |
child 382 | 67f876aafae8 |
child 429 | 3771f850eaa9 |
permissions | -rw-r--r-- |
279 | 1 |
# HG changeset patch |
340
aabcc7895695
update to version 8.0b1 (just merged stuff; build might still fail)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
294
diff
changeset
|
2 |
# Parent 07dc7ea11c92368cb7c137a403feaaa6861abb3c |
279 | 3 |
|
280
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
4 |
diff --git a/browser/app/Makefile.in b/browser/app/Makefile.in |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
5 |
--- a/browser/app/Makefile.in |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
6 |
+++ b/browser/app/Makefile.in |
294
5330447b83a3
update to aurora (6.99 / 20110721)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
289
diff
changeset
|
7 |
@@ -68,17 +68,17 @@ GRE_BUILDID = $(shell $(PYTHON) $(topsrc |
280
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
8 |
|
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
9 |
DEFINES += -DGRE_MILESTONE=$(GRE_MILESTONE) -DGRE_BUILDID=$(GRE_BUILDID) |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
10 |
|
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
11 |
MOZ_SOURCE_STAMP ?= $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null) |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
12 |
ifdef MOZ_SOURCE_STAMP |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
13 |
DEFINES += -DMOZ_SOURCE_STAMP="$(MOZ_SOURCE_STAMP)" |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
14 |
endif |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
15 |
|
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
16 |
-SOURCE_REPO := $(shell hg -R $(topsrcdir) showconfig paths.default 2>/dev/null | sed -e "s/^ssh:/http:/") |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
17 |
+SOURCE_REPO ?= $(shell hg -R $(topsrcdir) showconfig paths.default 2>/dev/null | sed -e "s/^ssh:/http:/") |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
18 |
ifdef SOURCE_REPO |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
19 |
DEFINES += -DMOZ_SOURCE_REPO="$(SOURCE_REPO)" |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
20 |
endif |
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
21 |
|
289
3c0dff7ca9c4
Update to version 6.0b1
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
280
diff
changeset
|
22 |
DEFINES += -DMOZ_APP_BASENAME="$(MOZ_APP_BASENAME)" \ |
3c0dff7ca9c4
Update to version 6.0b1
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
280
diff
changeset
|
23 |
-DMOZ_APP_VENDOR="$(MOZ_APP_VENDOR)" |
280
37650d092283
modify one more SOURCE_REPO occurrence to fix application.ini reference
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
279
diff
changeset
|
24 |
|
289
3c0dff7ca9c4
Update to version 6.0b1
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
280
diff
changeset
|
25 |
ifdef MOZ_APP_PROFILE |
279 | 26 |
diff --git a/toolkit/content/Makefile.in b/toolkit/content/Makefile.in |
27 |
--- a/toolkit/content/Makefile.in |
|
28 |
+++ b/toolkit/content/Makefile.in |
|
340
aabcc7895695
update to version 8.0b1 (just merged stuff; build might still fail)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
294
diff
changeset
|
29 |
@@ -65,17 +65,17 @@ endif |
aabcc7895695
update to version 8.0b1 (just merged stuff; build might still fail)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
294
diff
changeset
|
30 |
ifeq (Android,$(OS_TARGET)) |
aabcc7895695
update to version 8.0b1 (just merged stuff; build might still fail)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
294
diff
changeset
|
31 |
DEFINES += -DANDROID_PACKAGE_NAME=$(ANDROID_PACKAGE_NAME) |
279 | 32 |
endif |
33 |
||
34 |
# strip a trailing slash from the repo URL because it's not always present, |
|
35 |
# and we want to construct a working URL in buildconfig.html |
|
36 |
# make+shell+sed = awful |
|
37 |
_dollar=$$ |
|
38 |
-SOURCE_REPO := $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" ) |
|
39 |
+SOURCE_REPO ?= $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" ) |
|
40 |
# extra sanity check for old versions of hg |
|
41 |
# that don't support showconfig |
|
42 |
ifeq (http,$(patsubst http%,http,$(SOURCE_REPO))) |
|
43 |
DEFINES += -DSOURCE_REPO="$(SOURCE_REPO)" |
|
44 |
endif |
|
45 |
||
46 |
ifdef MOZ_TOOLKIT_SEARCH |
|
47 |
DEFINES += -DMOZ_TOOLKIT_SEARCH |
|
48 |
diff --git a/toolkit/mozapps/installer/package-name.mk b/toolkit/mozapps/installer/package-name.mk |
|
49 |
--- a/toolkit/mozapps/installer/package-name.mk |
|
50 |
+++ b/toolkit/mozapps/installer/package-name.mk |
|
294
5330447b83a3
update to aurora (6.99 / 20110721)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
289
diff
changeset
|
51 |
@@ -154,20 +154,20 @@ SYMBOL_ARCHIVE_BASENAME = $(PKG_BASENAME |
279 | 52 |
TEST_PACKAGE = $(PKG_BASENAME).tests.zip |
53 |
||
54 |
ifneq (,$(wildcard $(DIST)/bin/application.ini)) |
|
55 |
BUILDID = $(shell $(PYTHON) $(MOZILLA_DIR)/config/printconfigsetting.py $(DIST)/bin/application.ini App BuildID) |
|
56 |
else |
|
57 |
BUILDID = $(shell $(PYTHON) $(MOZILLA_DIR)/config/printconfigsetting.py $(DIST)/bin/platform.ini Build BuildID) |
|
58 |
endif |
|
59 |
||
60 |
-MOZ_SOURCE_STAMP = $(firstword $(shell hg -R $(MOZILLA_DIR) parent --template="{node|short}\n" 2>/dev/null)) |
|
61 |
+#MOZ_SOURCE_STAMP = $(firstword $(shell hg -R $(MOZILLA_DIR) parent --template="{node|short}\n" 2>/dev/null)) |
|
62 |
||
63 |
# strip a trailing slash from the repo URL because it's not always present, |
|
64 |
# and we want to construct a working URL in the sourcestamp file. |
|
65 |
# make+shell+sed = awful |
|
66 |
_dollar=$$ |
|
67 |
-MOZ_SOURCE_REPO = $(shell cd $(MOZILLA_DIR) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" ) |
|
68 |
+#MOZ_SOURCE_REPO = $(shell cd $(MOZILLA_DIR) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" ) |
|
69 |
||
70 |
MOZ_SOURCESTAMP_FILE = $(DIST)/$(PKG_PATH)/$(PKG_BASENAME).txt |
|
294
5330447b83a3
update to aurora (6.99 / 20110721)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
289
diff
changeset
|
71 |
|
5330447b83a3
update to aurora (6.99 / 20110721)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
289
diff
changeset
|
72 |
# JavaScript Shell |
5330447b83a3
update to aurora (6.99 / 20110721)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
289
diff
changeset
|
73 |
PKG_JSSHELL = $(DIST)/jsshell-$(MOZ_PKG_PLATFORM).zip |
279 | 74 |
diff --git a/toolkit/xre/Makefile.in b/toolkit/xre/Makefile.in |
75 |
--- a/toolkit/xre/Makefile.in |
|
76 |
+++ b/toolkit/xre/Makefile.in |
|
340
aabcc7895695
update to version 8.0b1 (just merged stuff; build might still fail)
Wolfgang Rosenauer <wr@rosenauer.org>
parents:
294
diff
changeset
|
77 |
@@ -227,17 +227,17 @@ DEFINES += -DHAVE_USR_LIB64_DIR |
279 | 78 |
endif |
79 |
endif |
|
80 |
||
81 |
MOZ_SOURCE_STAMP ?= $(firstword $(shell hg -R $(topsrcdir) parent --template="{node|short}\n" 2>/dev/null)) |
|
82 |
# strip a trailing slash from the repo URL because it's not always present, |
|
83 |
# and we want to construct a working URL in buildconfig.html |
|
84 |
# make+shell+sed = awful |
|
85 |
_dollar=$$ |
|
86 |
-SOURCE_REPO := $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" ) |
|
87 |
+SOURCE_REPO ?= $(shell cd $(topsrcdir) && hg showconfig paths.default 2>/dev/null | head -n1 | sed -e "s/^ssh:/http:/" -e "s/\/$(_dollar)//" ) |
|
88 |
||
89 |
ifdef MOZ_SOURCE_STAMP |
|
90 |
INIARGS = --sourcestamp=$(MOZ_SOURCE_STAMP) |
|
91 |
# extra sanity check for old versions of hg |
|
92 |
# that don't support showconfig |
|
93 |
ifeq (http,$(patsubst http%,http,$(SOURCE_REPO))) |
|
94 |
INIARGS += --sourcerepo=$(SOURCE_REPO) |
|
95 |
endif |