shithub: choc

Download patch

ref: eaf851e095ca15c11b26d2aa7c2589617939d2db
parent: 0d083b8565e10c8629ea2a66c7d985e95f979af8
author: Simon Howard <[email protected]>
date: Sat Jan 14 16:52:50 EST 2017

osx: Use bzip2 compression for .dmg files.

bzip2 compression has been supported since OS X 10.4 and we don't
distribute binaries for anything older, so there's no reason not to
use this. It makes the generated .dmg files ~40KB smaller.

--- a/pkg/osx/GNUmakefile
+++ b/pkg/osx/GNUmakefile
@@ -23,7 +23,7 @@
 $(DMG) : tmp.dmg
 	rm -f $@
 	./dmgfix "$(realpath tmp.dmg)" "$(PACKAGE_STRING)" "$(PACKAGE_NAME).app"
-	hdiutil convert -format UDZO -o $@ tmp.dmg
+	hdiutil convert -format UDBZ -o $@ tmp.dmg
 	rm -f tmp.dmg
 
 tmp.dmg : $(STAGING_DIR)