Create a MacOS X App Bundle Using MacPorts: Difference between revisions

No edit summary
Line 48: Line 48:
==Use Platypus to produce a template for the App bundle==
==Use Platypus to produce a template for the App bundle==


[[File:Platypus.png|300px|thumb|right|Initial Platypus Dialog (click to enlarge)]]
[[File:Platypus.png|500px|thumb|right|Initial Platypus Dialog (click to enlarge)]]


To creating an application bundle for MacOS X the utility, [http://sveinbjorn.org/platypus Platypus], is used.  Platypus is a developer tool for the Mac OS X operating system which is intended to create native Mac OS X applications from interpreted scripts such as shell scripts or Perl, Ruby and Python programs.
To creating an application bundle for MacOS X the utility, [http://sveinbjorn.org/platypus Platypus], is used.  Platypus is a developer tool for the Mac OS X operating system which is intended to create native Mac OS X applications from interpreted scripts such as shell scripts or Perl, Ruby and Python programs.
Line 55: Line 55:


* Run the Platypus application.
* Run the Platypus application.
* Import Octave's Icon.
* Import Octave's [http://www.octave.org/wiki/index.php?title=File:Icon.png icon].
** The icon linked to above is a png with a transparent background.  This feature is needed to produce a MacOS X application icon.
** Using the icon linked to above the ''Icon Composer'' developers utility may be used to create a MacOS X icon. The Icon Composer is part of Xcode's developer's tools. Its home is {{Codeline|<nowiki>/Developer/Applications/Icon Composer.app</nowiki>}}
* Set the "Script Type" to "Shell"
* Set the "Script Type" to "Shell"
* Specify the "Script Path".
* Specify the "Script Path".
364

edits