OS X Clickable application

10 views
Skip to first unread message

Byungchul Cha

unread,
Mar 18, 2009, 9:43:37 PM3/18/09
to sage-support
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.
Message has been deleted

Byungchul Cha

unread,
Mar 19, 2009, 9:46:31 AM3/19/09
to sage-support

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,
> 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

unread,
Mar 19, 2009, 12:35:22 PM3/19/09
to sage-s...@googlegroups.com
On Thu, Mar 19, 2009 at 6:46 AM, Byungchul Cha <cha...@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

mabshoff

unread,
Mar 19, 2009, 1:03:11 PM3/19/09
to sage-support


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

adam

unread,
Mar 21, 2009, 11:17:12 AM3/21/09
to sage-support
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

meitnik

unread,
Mar 21, 2009, 9:38:40 PM3/21/09
to sage-support
Hey, I would like that script too, thanks. btw, can you have it do a
notebook too?
andrew
Reply all
Reply to author
Forward
Message has been deleted
0 new messages