Hi all,
Is there by any chance a way of building OSX application bundles from the command line - I'm guessing no & patches are welcome ;)
Thanks,
Reinier

Mailing lists / lazarus / 2013-11
7 messages · 4 people · –
Reply by email Subscribe to this list Your subscription
Read-only archive. Use j and k to move between messages.
Hi all,
Is there by any chance a way of building OSX application bundles from the command line - I'm guessing no & patches are welcome ;)
Thanks,
Reinier
Mmm, I realize I could adapt some scripts from the OSX wiki pages, but having it incorporated into lazbuild would be nice ;)
There is an example in
components/macfiles/examples/createmacapplication.lpi
Mattias
Here is a shell script i've written for my 3D world editor:
http://runtimelegend.com/rep/rtworld/artifact/86a5ad373309b3f56d79b1252be705b8e6c0b4a8
It does a full release build: builds the project's Release configuration, creates the app bundle, creates directories for a clean distribution, copies the files, removes any annoying .DS_Store files and creates a ready to use DMG from the folder's contents.
Kostas Michalopoulos wroteHere is a shell script i've written for my 3D world editor:
<snip>
On Thu, Nov 21, 2013 at 3:41 PM, Mattias Gaertner wrote:
Thanks, guys!
Hi
The Makefile of UltraStar Deluxe has the creation of the OSX application bundles including adjustments of dylibs. Check the targets macosx-app and macosx-standalone-app
Link: http://sourceforge.net/p/ultrastardx/svn/HEAD/tree/trunk/Makefile.in
Maybe the creation of the disk image is also helpful. target macosx-dmg
Michael Schindler
On Thu, 21 Nov 2013 15:35:05 +0100 There is an example in…
Well, it seems lazbuild itself already builds application bundles. No idea if you first need to have clicked on create application bundle in project options but it works.
My version of an application bundle/.dmg creation script can be found at https://bitbucket.org/reiniero/smalltools/src/
directory BankConvert,
banco_OSX_bundle_dmg_creation_make-mac-dist.sh
Catchy name, eh ;)
The only thing it adds over Kostas' version is a link to the Applications directory inside the dmg so the user can drag and drop the application bundle on the link to install more easily.
Thanks,
Reinier