bugGNU Octave - Bugs: bug #43245, Octave can easily have a .app on...

 
 

bug #43245: Octave can easily have a .app on mac os x

Submitter:  None
Submitted:  Thu 18 Sep 2014 07:08:41 AM UTC
   
 
Category:  Configuration and Build System Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Other
Status:  Invalid / Not an Octave Bug Assigned to:  None
Originator Name:  Originator Email:  -email is unavailable-
Open/Closed:  * Closed Release:  * 3.8.2
Operating System:  * Mac OS Fixed Release:  None
Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Thu 18 Sep 2014 08:37:04 AM UTC, comment #1: 

I don't see why you call this a bug ...
Anyway this is what is being done in the
binary distribution of Octave for OSX:

http://sourceforge.net/projects/octave/files/Octave%20MacOSX%20Binary/2013-12-30%20binary%20installer%20of%20Octave%203.8.0%20for%20OSX%2010.9.1%20%28beta%29/

If you think it would be cool to have this done
directly by the Makefiles, please prepare a mercurial
changeset to implement your idea and submit it to the
patch tracker or to the maintainers mailing list.

Carlo de Falco <cdf>
Group Member
Thu 18 Sep 2014 07:08:41 AM UTC, original submission:  

A gui app on Mac should be able to launch from the GUI.  The bundled binary download of octave has everything necessary to do this, so its very, very little modification to the build system. 

All the build has to do, is create a folder structure exactly like the binary bundle, with three files in it:

Octave-gui.app/
     Contents/
         Info.plist -- some copyright data, take it from the bundle
         Resources/
                  appIcon.icns -- the icons for the app
         MacOS/
                  Octave -- a shell script.

The shell script is easily modified from the one in the bundle simply by changing the paths.  The only un-commented-out lines necessary are (in my build):

export GNUTERM=aqua  
cd ~/   #otherwise the GUI starts in /Applications/
exec /usr/local/bin/octave -i --force-gui | logger 2>&1

And then octave is a full-fledged Mac OS GUI app!

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by cdf (Posted a comment)
  • -email is unavailable- added by None (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-09-18 cdf StatusNone Invalid / Not an Octave Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code