File tree Expand file tree Collapse file tree 10 files changed +7
-111
lines changed
patches/native_libdmg-hfsplus Expand file tree Collapse file tree 10 files changed +7
-111
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,6 @@ src/qt/bitcoin-qt.includes
77
77
* .log
78
78
* .trs
79
79
* .dmg
80
- * .iso
81
80
82
81
* .json.h
83
82
* .raw.h
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ if ENABLE_MAN
12
12
SUBDIRS += doc/man
13
13
endif
14
14
.PHONY : deploy FORCE
15
- .INTERMEDIATE : $(OSX_TEMP_ISO ) $( COVERAGE_INFO )
15
+ .INTERMEDIATE : $(COVERAGE_INFO )
16
16
17
17
export PYTHONPATH
18
18
@@ -37,7 +37,6 @@ space := $(empty) $(empty)
37
37
OSX_APP =Bitcoin-Qt.app
38
38
OSX_VOLNAME = $(subst $(space ) ,-,$(PACKAGE_NAME ) )
39
39
OSX_DMG = $(OSX_VOLNAME ) .dmg
40
- OSX_TEMP_ISO = $(OSX_DMG:.dmg= ) .temp.iso
41
40
OSX_DEPLOY_SCRIPT =$(top_srcdir ) /contrib/macdeploy/macdeployqtplus
42
41
OSX_INSTALLER_ICONS =$(top_srcdir ) /src/qt/res/icons/bitcoin.icns
43
42
OSX_PLIST =$(top_builddir ) /share/qt/Info.plist # not installed
@@ -129,19 +128,15 @@ deploydir: $(OSX_DMG)
129
128
else !BUILD_DARWIN
130
129
APP_DIST_DIR =$(top_builddir ) /dist
131
130
132
- $(OSX_TEMP_ISO ) : $( APP_DIST_DIR ) / $( OSX_APP ) /Contents/MacOS/Bitcoin-Qt
131
+ $(OSX_DMG ) : deploydir
133
132
$(XORRISOFS ) -D -l -V " $( OSX_VOLNAME) " -no-pad -r -dir-mode 0755 -o $@ $(APP_DIST_DIR ) -- $(if $(SOURCE_DATE_EPOCH ) ,-volume_date all_file_dates =$(SOURCE_DATE_EPOCH ) )
134
133
135
- $(OSX_DMG ) : $(OSX_TEMP_ISO )
136
- $(DMG ) dmg " $<" " $@ "
137
-
138
134
$(APP_DIST_DIR ) /$(OSX_APP ) /Contents/MacOS/Bitcoin-Qt : $(OSX_APP_BUILT ) $(OSX_PACKAGING )
139
135
INSTALLNAMETOOL=$(INSTALLNAMETOOL ) OTOOL=$(OTOOL ) STRIP=$(STRIP ) $(PYTHON ) $(OSX_DEPLOY_SCRIPT ) $(OSX_APP ) $(OSX_VOLNAME ) -translations-dir=$(QT_TRANSLATION_DIR )
140
136
141
137
deploydir : $(APP_DIST_DIR ) /$(OSX_APP ) /Contents/MacOS/Bitcoin-Qt
142
138
endif !BUILD_DARWIN
143
139
144
- appbundle : $(OSX_APP_BUILT )
145
140
deploy : $(OSX_DMG )
146
141
endif
147
142
Original file line number Diff line number Diff line change @@ -778,7 +778,6 @@ case $host in
778
778
AC_PATH_TOOL ( [ INSTALLNAMETOOL] , [ install_name_tool] , [ install_name_tool] )
779
779
AC_PATH_TOOL ( [ OTOOL] , [ otool] , [ otool] )
780
780
AC_PATH_PROGS ( [ XORRISOFS] , [ xorrisofs] , [ xorrisofs] )
781
- AC_PATH_PROGS ( [ DMG] , [ dmg] , [ dmg] )
782
781
783
782
dnl libtool will try to strip the static lib, which is a problem for
784
783
dnl cross-builds because strip attempts to call a hard-coded ld,
Original file line number Diff line number Diff line change @@ -79,19 +79,6 @@ prepend_to_search_env_var() {
79
79
export " ${1} =${2}${! 1: +: }${! 1} "
80
80
}
81
81
82
- case " $HOST " in
83
- * darwin* )
84
- # When targeting darwin, zlib is required by native_libdmg-hfsplus.
85
- zlib_store_path=$( store_path " zlib" )
86
- zlib_static_store_path=$( store_path " zlib" static)
87
-
88
- prepend_to_search_env_var LIBRARY_PATH " ${zlib_static_store_path} /lib:${zlib_store_path} /lib"
89
- prepend_to_search_env_var C_INCLUDE_PATH " ${zlib_store_path} /include"
90
- prepend_to_search_env_var CPLUS_INCLUDE_PATH " ${zlib_store_path} /include"
91
- prepend_to_search_env_var OBJC_INCLUDE_PATH " ${zlib_store_path} /include"
92
- prepend_to_search_env_var OBJCPLUS_INCLUDE_PATH " ${zlib_store_path} /include"
93
- esac
94
-
95
82
# Set environment variables to point the CROSS toolchain to the right
96
83
# includes/libs for $HOST
97
84
case " $HOST " in
@@ -332,8 +319,7 @@ mkdir -p "$DISTSRC"
332
319
mkdir -p " unsigned-app-${HOST} "
333
320
cp --target-directory=" unsigned-app-${HOST} " \
334
321
osx_volname \
335
- contrib/macdeploy/detached-sig-create.sh \
336
- " ${BASEPREFIX} /${HOST} " /native/bin/dmg
322
+ contrib/macdeploy/detached-sig-create.sh
337
323
mv --target-directory=" unsigned-app-${HOST} " dist
338
324
(
339
325
cd " unsigned-app-${HOST} "
Original file line number Diff line number Diff line change @@ -84,14 +84,11 @@ mkdir -p "$DISTSRC"
84
84
# Apply detached codesignatures to dist/ (in-place)
85
85
signapple apply dist/Bitcoin-Qt.app codesignatures/osx/dist
86
86
87
- # Make an uncompressed DMG from dist/
87
+ # Make a DMG from dist/
88
88
xorrisofs -D -l -V " $( < osx_volname) " -no-pad -r -dir-mode 0755 \
89
- -o uncompressed .dmg \
89
+ -o " ${OUTDIR} / ${DISTNAME} - ${HOST} .dmg" \
90
90
dist \
91
91
-- -volume_date all_file_dates =" $SOURCE_DATE_EPOCH "
92
-
93
- # Compress uncompressed.dmg and output to OUTDIR
94
- ./dmg dmg uncompressed.dmg " ${OUTDIR} /${DISTNAME} -${HOST} .dmg"
95
92
;;
96
93
* )
97
94
exit 1
Original file line number Diff line number Diff line change @@ -572,8 +572,6 @@ inspecting signatures in Mach-O binaries.")
572
572
bzip2
573
573
gzip
574
574
xz
575
- zlib
576
- (list zlib " static" )
577
575
; ; Build tools
578
576
gnu-make
579
577
libtool
Original file line number Diff line number Diff line change @@ -89,16 +89,7 @@ redistributed.
89
89
90
90
[ ` xorrisofs ` ] ( https://www.gnu.org/software/xorriso/ ) is used to create the DMG.
91
91
92
- ` xorrisofs ` cannot compress DMGs, so afterwards, the DMG tool from the
93
- ` libdmg-hfsplus ` project is used to compress it. There are several bugs in this
94
- tool and its maintainer has seemingly abandoned the project.
95
-
96
- The DMG tool has the ability to create DMGs from scratch as well, but this functionality is
97
- broken. Only the compression feature is currently used. Ideally, the creation could be fixed
98
- and ` xorrisofs ` would no longer be necessary.
99
-
100
- Background images and other features can be added to DMG files by inserting a
101
- ` .DS_Store ` during creation.
92
+ A background image is added to DMG files by inserting a ` .DS_Store ` during creation.
102
93
103
94
As of OS X 10.9 Mavericks, using an Apple-blessed key to sign binaries is a requirement in
104
95
order to satisfy the new Gatekeeper requirements. Because this private key cannot be
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ usdt_linux_packages=systemtap
26
26
darwin_native_packages = native_ds_store native_mac_alias
27
27
28
28
ifneq ($(build_os ) ,darwin)
29
- darwin_native_packages += native_cctools native_libtapi native_libdmg-hfsplus
29
+ darwin_native_packages += native_cctools native_libtapi
30
30
31
31
ifeq ($(strip $(FORCE_USE_SYSTEM_CLANG ) ) ,)
32
32
darwin_native_packages+ = native_clang
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments