| 85 | == Packaging: Windows |
| 86 | * Complete the steps in [ReleaseProcessDraft#Setuppackaging Setup packaging] |
| 87 | * Run [source:/ps/trunk/source/tools/dist/build.sh source/tools/dist/build.sh] |
| 88 | [[BR]]'''Can be completed in phase:''' Packaging |
| 89 | [[BR]]'''Candidates:''' Whole team |
| 90 | |
| 91 | == Packaging: Mac OS X |
| 92 | * Complete the steps in [ReleaseProcessDraft#Setuppackaging Setup packaging] |
| 93 | * Build OS X app bundle: |
| 94 | * Requires OS X and Xcode |
| 95 | * Read documentation in [source:ps/trunk/build/workspaces/build-osx-bundle.sh build-osx-bundle.sh], update options if necessary (defaults work with Xcode 4.2+ and Lion) |
| 96 | * Run `build-osx-bundle.sh`, by default it creates a 64-bit 10.6+ compatible bundle, `build/workspaces/0ad.app` |
| 97 | * Optionally build a 32-bit 10.5+ bundle, following [source:'ps/trunk/build/workspaces/Cross-compiling a 32-bit Leopard bundle.txt' Cross-compiling a 32-bit Leopard bundle.txt] |
| 98 | * Package app into DMG (as outlined [http://mac101.net/content/how-to/how-to-create-dmg-art-for-fancy-application-installations/ here] and [http://el-tramo.be/guides/fancy-dmg/ here]) |
| 99 | * Use Disk Utility to create an uncompressed DMG large enough to hold `0ad.app` |
| 100 | * Set background image, `build/resources/dmgbackground.png` |
| 101 | * Copy `0ad.app` and Applications shortcut, arrange icons, set folder view options as desired |
| 102 | * Create a bzip2-compressed DMG with [http://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/hdiutil.1.html hdiutil]: `hdiutil convert 0ad.dmg -format UDBZ -o 0ad-[version]-alpha-osx64` |
| 103 | [[BR]]'''Can be completed in phase:''' Packaging |
| 104 | [[BR]]'''Candidates:''' Historicbruno, Wraitii |