← Back to team overview

neos team mailing list archive

[Bug 498149] Re: (FR) Build DMG image for MacOS X

 

Yes, of course the DMG files should be generated as well. It is for this
reason we should add something like this inside the build-jarbundler
target:

<echo message="Creating disk image..."/>
<exec executable="hdiutil">
  <arg line="create -srcfolder ${dmg.dir} ${dmg.name}"/>
</exec>
<exec executable="hdiutil">
  <arg line="internet-enable -yes ${dmg.name}"/>
</exec>

@Daniel: Generally, you're right. I've already found a possibility to create DMG files on Linux systems:
http://confluence.concord.org/display/CCTR/Creating+MacOS+dmg+files+in+Linux
But this approach produces DMG files which are much bigger concerning their size. Another problem is that it seems not to be possible to use the jarbundler task on a non-MacOSX system. Even if you extract the Java libraries from Mac OS X into your Linux system, the produced APP file won't run on Mac OS X.

Therefore we should use hdiutil to create the DMG files only if the
build script runs on Mac OS X.

-- 
(FR) Build DMG image for MacOS X
https://bugs.launchpad.net/bugs/498149
You received this bug notification because you are a member of Team
N.E.O.S., which is the registrant for RevAger.

Status in RevAger: New

Bug description:
DMG disk images are a common way to distribute applications for MacOS X. The RevAger build script should create DMG files as well, at least if it is executed on a MacOS X system (hdiutil is needed for building DMG files).





References