[sage-support] Re: OS X Clickable application

2009-03-21 Thread adam

You can use AppleScript to create a launcher for Sage:
Here is the AppleScript code:

tell application Terminal
do script /Applications/sage/sage
end tell

Note: It assumes that Sage is located in the Applications
folder.

If you would like I can email you my  Sage launcher for
which I created an Sage icon.

Adam


On Mar 18, 9:43 pm, Byungchul Cha cha3...@gmail.com wrote:
 I remember reading something about making a clickable sage application
 for mac os X. Can I now do such a thing with sage 3.4? If so, where I
 can find the instruction?

 Thanks.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Clickable application

2009-03-21 Thread meitnik

Hey, I would like that script too, thanks. btw, can you have it do a
notebook too?
andrew

On Mar 21, 11:17 am, adam ahauskne...@umassd.edu wrote:
 You can use AppleScript to create a launcher for Sage:
 Here is the AppleScript code:

 tell application Terminal
         do script /Applications/sage/sage
 end tell

 Note: It assumes that Sage is located in the Applications
 folder.

 If you would like I can email you my  Sage launcher for
 which I created an Sage icon.

 Adam

 On Mar 18, 9:43 pm, Byungchul Cha cha3...@gmail.com wrote:

  I remember reading something about making a clickable sage application
  for mac os X. Can I now do such a thing with sage 3.4? If so, where I
  can find the instruction?

  Thanks.
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Clickable application

2009-03-21 Thread Minh Nguyen

Hi,

On Thu, Mar 19, 2009 at 1:46 PM, Byungchul Cha cha3...@gmail.com wrote:


 I must misunderstand something very trivial. I followed the steps
 described at the release tour of Sage 3.3, except that I replaced 3.3
 with 3.4, since I thought I was compiling sage-3.4. Compiling was
 successful and when I did ./sage -bdist 3.4, I saw that this generated
 a directory SAGE_ROOT/dist. But, in the directory I have a dmg file
 and one subdirectory sage-3.4-i386-Darwin, which just looks like
 another copy of SAGE_ROOT. I don't see any clickable Mac OS X app
 anywhere, including in the disk image from the dmg file.

 What am I missing?

 Oh, btw, I'm using OS X 10.5.6. Thanks in advance.

Sorry about this late reply, but I've updated the instructions for
building a clickable app. The new instructions can be found at

http://mvngu.wordpress.com/2009/03/22/clickable-mac-os-x-app-for-sage-34/

-- 
Regards
Minh Van Nguyen

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Clickable application

2009-03-19 Thread Byungchul Cha


I must misunderstand something very trivial. I followed the steps
described at the release tour of Sage 3.3, except that I replaced 3.3
with 3.4, since I thought I was compiling sage-3.4. Compiling was
successful and when I did ./sage -bdist 3.4, I saw that this generated
a directory SAGE_ROOT/dist. But, in the directory I have a dmg file
and one subdirectory sage-3.4-i386-Darwin, which just looks like
another copy of SAGE_ROOT. I don't see any clickable Mac OS X app
anywhere, including in the disk image from the dmg file.

What am I missing?

Oh, btw, I'm using OS X 10.5.6. Thanks in advance.

On Mar 18, 9:50 pm, Minh Nguyen nguyenmi...@gmail.com wrote:
 Hi,

 On Thu, Mar 19, 2009 at 1:43 AM, Byungchul Cha cha3...@gmail.com wrote:

  I remember reading something about making a clickable sage application
  for mac os X. Can I now do such a thing with sage 3.4? If so, where I
  can find the instruction?

 The release tour of Sage 3.3 at

 http://mvngu.wordpress.com/2009/02/23/sage-33-released/

 contains instruction on making a clickable Mac OS X app. See
 especially the instructions under the heading Distribution on that
 page. If any of the three steps listed under that heading fail for
 your particular OS X version, please inform me.

 --
 Regards
 Minh Van Nguyen
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Clickable application

2009-03-19 Thread William Stein

On Thu, Mar 19, 2009 at 6:46 AM, Byungchul Cha cha3...@gmail.com wrote:


 I must misunderstand something very trivial. I followed the steps
 described at the release tour of Sage 3.3, except that I replaced 3.3
 with 3.4, since I thought I was compiling sage-3.4. Compiling was
 successful and when I did ./sage -bdist 3.4, I saw that this generated
 a directory SAGE_ROOT/dist. But, in the directory I have a dmg file
 and one subdirectory sage-3.4-i386-Darwin, which just looks like
 another copy of SAGE_ROOT. I don't see any clickable Mac OS X app
 anywhere, including in the disk image from the dmg file.

 What am I missing?

I believe there were some bugs/kinks in the clickable app, so we still
aren't making it by default when one does sage -bdist.

William


 Oh, btw, I'm using OS X 10.5.6. Thanks in advance.

 On Mar 18, 9:50 pm, Minh Nguyen nguyenmi...@gmail.com wrote:
 Hi,

 On Thu, Mar 19, 2009 at 1:43 AM, Byungchul Cha cha3...@gmail.com wrote:

  I remember reading something about making a clickable sage application
  for mac os X. Can I now do such a thing with sage 3.4? If so, where I
  can find the instruction?

 The release tour of Sage 3.3 at

 http://mvngu.wordpress.com/2009/02/23/sage-33-released/

 contains instruction on making a clickable Mac OS X app. See
 especially the instructions under the heading Distribution on that
 page. If any of the three steps listed under that heading fail for
 your particular OS X version, please inform me.

 --
 Regards
 Minh Van Nguyen
 




-- 
William Stein
Associate Professor of Mathematics
University of Washington
http://wstein.org

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Clickable application

2009-03-19 Thread mabshoff



On Mar 19, 9:35 am, William Stein wst...@gmail.com wrote:
 On Thu, Mar 19, 2009 at 6:46 AM, Byungchul Cha cha3...@gmail.com wrote:

  I must misunderstand something very trivial. I followed the steps
  described at the release tour of Sage 3.3, except that I replaced 3.3
  with 3.4, since I thought I was compiling sage-3.4. Compiling was
  successful and when I did ./sage -bdist 3.4, I saw that this generated
  a directory SAGE_ROOT/dist. But, in the directory I have a dmg file
  and one subdirectory sage-3.4-i386-Darwin, which just looks like
  another copy of SAGE_ROOT. I don't see any clickable Mac OS X app
  anywhere, including in the disk image from the dmg file.

  What am I missing?

 I believe there were some bugs/kinks in the clickable app, so we still
 aren't making it by default when one does sage -bdist.

 William

Run

   SAGE_APP_BUNDLE=yes; export SAGE_APP_BUNDLE

before -bdisting and there App bundle will be created. As William
mentioned due to bugs this is not done per default at the moment.

Cheers,

Michael
--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---



[sage-support] Re: OS X Clickable application

2009-03-18 Thread Minh Nguyen

Hi,

On Thu, Mar 19, 2009 at 1:43 AM, Byungchul Cha cha3...@gmail.com wrote:

 I remember reading something about making a clickable sage application
 for mac os X. Can I now do such a thing with sage 3.4? If so, where I
 can find the instruction?

The release tour of Sage 3.3 at

http://mvngu.wordpress.com/2009/02/23/sage-33-released/

contains instruction on making a clickable Mac OS X app. See
especially the instructions under the heading Distribution on that
page. If any of the three steps listed under that heading fail for
your particular OS X version, please inform me.

-- 
Regards
Minh Van Nguyen

--~--~-~--~~~---~--~~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~--~~~~--~~--~--~---