octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #43245] Octave can easily have a .app on mac o


From: anonymous
Subject: [Octave-bug-tracker] [bug #43245] Octave can easily have a .app on mac os x
Date: Thu, 18 Sep 2014 07:08:43 +0000
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:32.0) Gecko/20100101 Firefox/32.0

URL:
  <http://savannah.gnu.org/bugs/?43245>

                 Summary: Octave can easily have a .app on mac os x
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Thu 18 Sep 2014 07:08:41 AM UTC
                Category: Configuration and Build System
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Other
                  Status: None
             Assigned to: None
         Originator Name: 
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 3.8.2
        Operating System: Mac OS

    _______________________________________________________

Details:

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!





    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?43245>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]