brizental pushed to branch tor-browser-140.0a1-15.0-1 at The Tor Project / Applications / Tor Browser
Commits:
-
fadec010
by Beatriz Rizental at 2025-06-12T17:31:27+02:00
-
d1bcbcb1
by Beatriz Rizental at 2025-06-12T17:31:27+02:00
-
315fd439
by Beatriz Rizental at 2025-06-12T17:31:28+02:00
3 changed files:
- python/mozbuild/mozbuild/action/make_dmg.py
- toolkit/mozapps/installer/packager.mk
- toolkit/mozapps/installer/upload-files.mk
Changes:
... | ... | @@ -7,6 +7,7 @@ import platform |
7 | 7 | import sys
|
8 | 8 | from pathlib import Path
|
9 | 9 | |
10 | +import buildconfig
|
|
10 | 11 | from mozpack import dmg
|
11 | 12 | |
12 | 13 | from mozbuild.bootstrap import bootstrap_toolchain
|
... | ... | @@ -46,9 +47,11 @@ def main(args): |
46 | 47 | )
|
47 | 48 | |
48 | 49 | # Resolve required tools
|
49 | - dmg_tool = bootstrap_toolchain("dmg/dmg")
|
|
50 | - hfs_tool = bootstrap_toolchain("dmg/hfsplus")
|
|
51 | - mkfshfs_tool = bootstrap_toolchain("hfsplus/newfs_hfs")
|
|
50 | + dmg_tool = buildconfig.substs.get("DMG_TOOL") or bootstrap_toolchain("dmg/dmg")
|
|
51 | + hfs_tool = buildconfig.substs.get("HFS_TOOL") or bootstrap_toolchain("dmg/hfsplus")
|
|
52 | + mkfshfs_tool = buildconfig.substs.get("MKFSHFS") or bootstrap_toolchain(
|
|
53 | + "hfsplus/newfs_hfs"
|
|
54 | + )
|
|
52 | 55 | |
53 | 56 | dmg.create_dmg(
|
54 | 57 | source_directory=Path(options.inpath),
|
... | ... | @@ -135,7 +135,7 @@ make-package: FORCE |
135 | 135 | $(MAKE) make-package-internal
|
136 | 136 | ifeq (WINNT,$(OS_ARCH))
|
137 | 137 | ifeq ($(MOZ_PKG_FORMAT),ZIP)
|
138 | - $(MAKE) -C windows ZIP_IN='$(ABS_DIST)/$(PACKAGE)' installer
|
|
138 | +# $(MAKE) -C windows ZIP_IN='$(ABS_DIST)/$(PACKAGE)' installer
|
|
139 | 139 | endif
|
140 | 140 | endif
|
141 | 141 | ifdef MOZ_AUTOMATION
|
... | ... | @@ -205,9 +205,9 @@ ifeq ($(MOZ_PKG_FORMAT),DMG) |
205 | 205 | |
206 | 206 | _ABS_MOZSRCDIR = $(shell cd $(MOZILLA_DIR) && pwd)
|
207 | 207 | PKG_DMG_SOURCE = $(MOZ_PKG_DIR)
|
208 | - MOZ_PKG_MAC_DSSTORE=$(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/dsstore
|
|
209 | - MOZ_PKG_MAC_BACKGROUND=$(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/background.png
|
|
210 | - MOZ_PKG_MAC_ICON=$(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/disk.icns
|
|
208 | + MOZ_PKG_MAC_DSSTORE?=$(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/dsstore
|
|
209 | + MOZ_PKG_MAC_BACKGROUND?=$(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/background.png
|
|
210 | + MOZ_PKG_MAC_ICON?=$(topsrcdir)/$(MOZ_BRANDING_DIRECTORY)/disk.icns
|
|
211 | 211 | INNER_MAKE_PACKAGE = \
|
212 | 212 | $(call py_action,make_dmg, \
|
213 | 213 | $(if $(MOZ_PKG_MAC_DSSTORE),--dsstore '$(MOZ_PKG_MAC_DSSTORE)') \
|