[Bf-committers] Mac OS X again

Frank van Beek bf-committers@blender.org
Mon, 13 Jan 2003 05:03:01 +0100 (CET)

Hi Charles,

Most of the stuff below is allready in CVS. The location is:
develop/blender/source/darwin and it was used to build the application
bundles @ NaN. I'm not sure if this directory is still traversed when
building the Mac OS X binary.


> 7) I could be wrong on this, but I don't think that the actual .app
> bundle is being built by the current make system.  It seems to be just
> creating blender.app as it would a regular console executable, which
> doesn't work under OS X if you want it double-clickable.  If we've
> already got the resources, the following'd would work (given another
> target, blender.app):
> mkdir -p blender.app/Contents/MacOS
> mkdir blender.app/Contents/Resources
> cp blender blender.app/Contents/MacOS
> cp Info.plist blender.app/Contents
> cp PkgInfo blender.app/Contents
> cp blender\ file\ icon.icns blender.app/Contents/Resources
> cp blender\ publisher\ icon.icns blender.app/Contents/Resources
> The above of course assumes that Info.plist is properly-formed XML and
> contains the names of the above .icns files; since it's a text file it
> could be generated at build time.  PkgInfo is only a text file with
> "APPL????" in it, which could also be generated.