Mozart application bundle for MacOs X
Torsten Anders
torsten.anders at plymouth.ac.uk
Tue Oct 2 12:03:39 CEST 2007
Dear Gustavo,
sorry for the delay, I finally tested your new version.
On my system (Mac OS X 10.4.10), no file ~/.mozartapp was written
after the first startup and at every startup Mozart.app ask about the
path issue.
Nevertheless, my ~/.profile file was updated accordingly (each
time ;-) ). There seems to be a tiny issue: the PATH is set to
SOMETHING/mozart-1.3.2/Mozart.app/Contents/Resources//bin (i.e. there
are two slashes before the bin directory). However, it works anyway ;-)
Concerning the Emacs configuration file: in my ~/.emacs I don't have
any "(require 'oz)", but I set OZHOME (see below for the exact code).
So, Mozart.app did not show any warning but my ~/.emacs would have
broken it because I overwrote OZHOME. Nevertheless, I feel this is a
rare situation for Mac users looking for a drag-and-drop installation
of Mozart ;-) So, perhaps it is sufficient just to put a warning in
the documentation of Mozart.app.
Again, thanks for doing this work!!
Best
Torsten
On Sep 25, 2007, at 6:56 AM, Gustavo Gutierrez wrote:
> Even easier, after learning some bash scripting, i modified the
> mozart.app to do the following:
>
> 1) When executed for the first time, it asks the user to add command
> line tools to its path environment variable. If user answers yes then
> the command line tools are added to the path in the ~/.profile file.
> In any case a .mozartapp is created in the home directory to signal no
> first time launching.
>
> 2) Emacs configuration file detection was improved, now it checks that
> a "(require 'oz)" line does not occur in the file. If it does, then
> the warning is shown.
>
> Please, fell free to download the new version and make your comments.
>
> Cheers,
> --
> Gustavo Gutierrez
> ______________________________________________________________________
> ___________
> mozart-hackers mailing list mozart-
> hackers at mozart-oz.org
> http://www.mozart-oz.org/mailman/listinfo/mozart-hackers
--
Torsten Anders
Interdisciplinary Centre for Computer Music Research
University of Plymouth
Office: +44-1752-233667
Private: +44-1752-663492
http://strasheela.sourceforge.net
http://www.torsten-anders.de
More information about the mozart-hackers
mailing list