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

 
 

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

Submitted by:  None
Submitted on:  Thu 18 Sep 2014 07:08:41 AM UTC  
 
Category: Configuration and Build SystemSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Other
Status: InvalidAssigned to: None
Originator Name: Originator Email: -unavailable-
Open/Closed: ClosedRelease: 3.8.2
Operating System: Mac OS

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 18 Sep 2014 08:37:04 AM UTCcdfStatusNone=>Invalid
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1