[sage-devel] Re: [EMAIL PROTECTED]: SAGE for Mac OSX-installation]

2008-06-17 Thread mabshoff



On Jun 17, 5:21 pm, Dan Drake [EMAIL PROTECTED] wrote:
 - Forwarded message from Roberto Canteri [EMAIL PROTECTED] -

Hi Dan,

Greg Lansweber actually has working code code for an OSX app he demoed
at Dev1 that will hopefully make it into Sage soon.

Cheers,

Michael

  Date: Tue, 17 Jun 2008 14:55:29 +0200
  From: Roberto Canteri [EMAIL PROTECTED]
  To: [EMAIL PROTECTED]
  Subject: SAGE for Mac OSX-installation

  Hello dr. Drake,
             I am writing you because I wish to share the information for 
  making  
  SAGE a Mac OSX application with icon and double click for open it.
  In the file sage-README-osx.txt there is the following:

  If you're an OSX guru and want to make steps 4--6 much nicer,
  join sage-devel and tell us.  You'll be greatly appreciated
  by a lot of people!
             http://groups.google.com/group/sage-devel

  Unfortunately I am not a guru at all and I do not know how to post in a
  IRC channel. So I beg your pardon for writing you instead of the  
  sage-devel. May be you are more familiar with IRC channel or mailing  
  lists than me and you could forward this small howto to the sage-devel.
  Many thanks in advance.
  Roberto

  The following how-to worked for me:

  HOWTO - SAGE - Mac OSX

  1) Download the Platypus application from here: http://
 www.sveinbjorn.org/platypus

  2) Unzip it and Drag the Platypus folder somewhere, e.g., ~/Applications

  3) run the Platypus application:
  At the graphical interface set the following:
     App name: SAGE
     Script Type: Shell
     Script Path: Select... the file sage_script reported into this mail
     Version: 3.0.2
     Identifier: 
     Author: 

  On the right check Remain running after completion
  optional: drag a png picture (eg:sage_banner.png) on the icon to change
  it
  then click on Create

  This shoud create a MacOSX application folder SAGE.app with your icon

  4) Download the sage dmg from sagemath.org somewhere and double click on
  it.
  5) Use finder to visit the SAGE.app folder (show package contents in the
  Action menu) you just created and locate the Resources folder

  6) Drag all the files and folders which are in the sage folder  into the
  Resources folder of the SAGE.app you created

   ** WARNING ** If you get an error copying the folder do the following:
      Do not drag the the folder out of the dmg image. Use the
      shell (via Terminal) and do a
       cp -R -P /Volumes/sage-2.9.2-OSX10.4-intel-i386-Darwin/sage/* .
      from the location where you want to install to. Adjust the name of
  the
      Volume as needed.

  7) Double click on the SAGE.app icon  and SAGE should pop up in a  
  Terminal window.

  No modification to any file are requested.

  ++
  +
  save the following script as a file eg:sage_script

  #!/bin/sh
  # Copyright (C) 2007, Thomas Treichl and Paul Kienzle
  # This program is free software; you can redistribute it and/or modify
  # it under the terms of the GNU General Public License as published by
  # the Free Software Foundation; either version 2 of the License, or
  # (at your option) any later version.
  #
  # This program is distributed in the hope that it will be useful, but
  # WITHOUT ANY WARRANTY; without even the implied warranty of
  # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
  # General Public License for more details.
  #
  # You should have received a copy of the GNU General Public License
  # along with this program; if not, write to the Free Software
  # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
  # 02110-1301 USA

  SAGE_ROOT=${0%/script}

  if [ -z ${SAGE_TERM} ]; then
  # This is the startup procedure written as AppleScript to open a
  # Terminal.app (if the Terminal.app is not already running) and start
  # the sage program.
  # 20071007 removed: open -a /Applications/Utilities/Terminal.app
  osascript 21/dev/null EOF
    tell application System Events to set ProcessList to get name of  
  every process
    tell application Terminal
      activate
      if ProcessList contains Terminal then
        do script (exec '${SAGE_ROOT}/sage')
      else
        do script (exec '${SAGE_ROOT}/sage') in front window
      end if
    end tell
  EOF

  # If you set the variable ${SAGE_TERM} to x11 then we try to open the
  # X11 environment and a XTerm with the sage program running in this
  # XTerm instead of a shell.
  elif [ ${SAGE_TERM} == x11 ]; then
    open /Applications/Utilities/X11.app
    if [ -z ${DISPLAY} ]; then export DISPLAY=:0.0; fi
    /usr/X11R6/bin/xterm -fn -adobe-courier-medium-*-*-*-14-*-*-*-*-*-*-* \
      -e '${SAGE_ROOT}/sage';
  fi

  # Quit the sage application immediately after startup (ie. quitting
  # it in the taskbar) because once it is started it cannot be restarted
  # a second time. If sage.app stays (eg. because of a crash) opened
  # then restarting is not possible.
  osascript 

[sage-devel] Re: [EMAIL PROTECTED]

2007-04-30 Thread Hamptonio


I would love to attend, but during the week I am teaching a summer
course.

On Apr 27, 5:56 pm, David Joyner [EMAIL PROTECTED] wrote:
 Hello SAGE people:

 This is proposal for 4th SAGE days 2007, to be held the week of
 June 11-16, 2007 (a Monday thru Saturday) in the Mathematics Department of
 the University of Washington in scenic Seattle.

 The focus will be on coding sprints, rather than talks on various
 SAGE-related topics. Namely, it is planned to be a developers workshop,
 with fewer general audience talks.

 If you think you can make it and are interested in attending, please email
 me ([EMAIL PROTECTED]) or this list. If there is sufficient interest,
 then we will try to get funding and take it from there.

 - David Joyner and William Stein


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: [EMAIL PROTECTED]

2007-04-29 Thread Nick Alexander

David Joyner [EMAIL PROTECTED] writes:

 Hello SAGE people:

 This is proposal for 4th SAGE days 2007, to be held the week of
 June 11-16, 2007 (a Monday thru Saturday) in the Mathematics Department of
 the University of Washington in scenic Seattle.

I'm interested.

Nick

--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: [EMAIL PROTECTED]

2007-04-27 Thread boothby

My goal, come hell or high water:  Notebook version 1.


On Fri, 27 Apr 2007, David Joyner wrote:


 Hello SAGE people:

 This is proposal for 4th SAGE days 2007, to be held the week of
 June 11-16, 2007 (a Monday thru Saturday) in the Mathematics Department of
 the University of Washington in scenic Seattle.

 The focus will be on coding sprints, rather than talks on various
 SAGE-related topics. Namely, it is planned to be a developers workshop,
 with fewer general audience talks.

 If you think you can make it and are interested in attending, please email
 me ([EMAIL PROTECTED]) or this list. If there is sufficient interest,
 then we will try to get funding and take it from there.

 - David Joyner and William Stein

 




--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---



[sage-devel] Re: [EMAIL PROTECTED]

2007-04-27 Thread Timothy Clemans

I'm interested.

On 4/27/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:

 My goal, come hell or high water:  Notebook version 1.


 On Fri, 27 Apr 2007, David Joyner wrote:

 
  Hello SAGE people:
 
  This is proposal for 4th SAGE days 2007, to be held the week of
  June 11-16, 2007 (a Monday thru Saturday) in the Mathematics Department of
  the University of Washington in scenic Seattle.
 
  The focus will be on coding sprints, rather than talks on various
  SAGE-related topics. Namely, it is planned to be a developers workshop,
  with fewer general audience talks.
 
  If you think you can make it and are interested in attending, please email
  me ([EMAIL PROTECTED]) or this list. If there is sufficient interest,
  then we will try to get funding and take it from there.
 
  - David Joyner and William Stein
 
  
 



 


--~--~-~--~~~---~--~~
To post to this group, send email to sage-devel@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~--~~~~--~~--~--~---