[racket-dev] Racket DMG improvements

From: Jakub Piotr Cłapa (jpc-ml at zenburn.net)
Date: Sun Jul 17 08:25:42 EDT 2011

I believe that making dmg files is quite difficult without OS X. The way 
to go is (confirmed here: [1]) is to create a template with the 
background and icons in place and then replace the contents of the disk 
image without touching the saved metadata. Uncompressed HFS+ images may 
be mounted on Linux but I am not sure if there is a way to do it without 
being root.

I believe there is a problem with compressing .dmg images without OS X. 
But these guys [2] seem to have some solution based on [3].

[1]: 
http://stackoverflow.com/questions/96882/how-do-i-create-a-nice-looking-dmg-for-mac-os-x-using-command-line-tools
[2]: http://svn.dmdirc.com/trunk/installer/osx/makeInstallerOSX.sh
[3]: https://github.com/planetbeing/libdmg-hfsplus

-- 
regards,
Jakub Piotr Cłapa


Posted on the dev mailing list.