Create a MacOS X App Bundle Using MacPorts: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
|||
Line 89: | Line 89: | ||
sudo mv /opt-save /opt</nowiki> | sudo mv /opt-save /opt</nowiki> | ||
The Octave App bundle for MacOS X is now ready to run. | The Octave App bundle for MacOS X is now ready to run. | ||
=Running Octave from the Terminal's Command Line= | |||
The bundled Octave may be run from a terminal command line using the command below. | |||
<nowiki>/Applications/Octave-3.7.0+.app/Contents/Resources/bin/octave</nowiki> | <nowiki>/Applications/Octave-3.7.0+.app/Contents/Resources/bin/octave</nowiki> | ||
To create a symbolic link in your path that runs the bundled Octave, us the command below. | To create a symbolic link in your path that runs the bundled Octave, us the command below. | ||
Line 113: | Line 117: | ||
* The {{Codeline|<nowiki>mex</nowiki>}} and {{Codeline|<nowiki>mkoctfile</nowiki>}} functions have not been tested. Although the App bundle does include a gcc toolset, some debugging is expected before this will work reliably. | * The {{Codeline|<nowiki>mex</nowiki>}} and {{Codeline|<nowiki>mkoctfile</nowiki>}} functions have not been tested. Although the App bundle does include a gcc toolset, some debugging is expected before this will work reliably. | ||
* When Octave is running, clicking on Octave's icon in the dock has no effect. This is because the App bundle runs a shell script which launches Terminal.app which runs Octave. To locate the Octave session, click on the Terminal.app. | * When Octave is running, clicking on Octave's icon in the dock has no effect. This is because the App bundle runs a shell script which launches Terminal.app which runs Octave. To locate the Octave session, click on the Terminal.app. | ||
* Only one instance of the App may be run. Multiple instances may be run from the command line. | * Only one instance of the App may be run by clicking on the app. Multiple instances may be run from the command line. | ||
=Testing= | =Testing= |