| On Nov 20, 2005, at 2:30 PM, Russell Johnston wrote:
> For whatever it's worth, I agree that Lua (although it looks like a
> very interesting language) is still pretty eclectic to be built into
> the canonical distribution. Surely anyone who wants to hack csound
> in Lua will be comfortable installing it as an add-on?
I'm just curious - would it perhaps be advisable to create separate
installers for
Csound - binaries, opcodes, examples, manual
Dependencies - liblo, etc (only for the canonical front end)
Extras - interface library et al + their dependencies
and then let the user decide whether to take the red pill or the blue
pill ?
Also RE: setting OPCODEDIR et al on OSX I have found that by using
~/.MacOSX/environment.plist (Mac OS 10.3.x)
or
~/.Mac OSX/environment.plist (Mac OS 10.4.x)
it is possible to set all Csound environment variables and they will be
uniform to the Aqua interface as well as the Terminal (all shells -
csh, bash, zsh, ksh, tcsh, etc).
by using this environment.plist file
OPCODEDIR
/Users/daveakbari/CVS/csound5
OPCODEDIR64
/Users/daveakbari/CVS/csound5
INCDIR
/Users/daveakbari/CODE/_UDO
SFDIR
/loops
This shows up by typing setenv
SECURITYSESSIONID=213e00
HOME=/Users/daveakbari
SHELL=/bin/tcsh
USER=daveakbari
PATH=/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin:/
usr/X11R6/bin
INCDIR=/Users/daveakbari/CODE/_UDO
OPCODEDIR=/Users/daveakbari/CVS/csound5
OPCODEDIR64=/Users/daveakbari/CVS/csound5
SFDIR=/loops
__CF_USER_TEXT_ENCODING=0x1F7:0:0
TERM_PROGRAM=Apple_Terminal
TERM_PROGRAM_VERSION=100.1.8
TERM=xterm-color
... etc
or export in bash shell
declare -x HOME="/Users/daveakbari"
declare -x HOSTTYPE="powermac"
declare -x INCDIR="/Users/daveakbari/CODE/_UDO"
declare -x INFOPATH="/sw/share/info:/sw/info:/usr/share/info"
declare -x LOGNAME="daveakbari"
declare -x MACHTYPE="powerpc"
declare -x
MANPATH="/sw/share/man:/usr/share/man:/usr/local/man:/usr/X11R6/man"
declare -x OLDPWD
declare -x OPCODEDIR="/Users/daveakbari/CVS/csound5"
declare -x OPCODEDIR64="/Users/daveakbari/CVS/csound5"
declare -x OSTYPE="darwin"
declare -x
PATH="/sw/bin:/sw/sbin:/bin:/sbin:/usr/bin:/usr/local/bin:/usr/sbin:/
usr/X11R6/bin"
... etc
so I'm fairly certain this should be the standard practice of
installing with environment variables already set on OSX; by appending
this file elseif it doesn't exist then create it. Then of course the
issue is the "reasonable defaults" for these variables ...
What are the expected "reasonable default" settings for the following ??
"CSNOSTOP",
"CSOUNDRC",
"CSSTRNGS",
"CS_LANG",
"HOME",
"INCDIR",
"OPCODEDIR",
"OPCODEDIR64",
"RAWWAVE_PATH",
"SADIR",
"SFDIR",
"SFOUTYP",
"SNAPDIR",
"SSDIR"
-David
-------------------------------------------------------
This SF.Net email is sponsored by the JBoss Inc. Get Certified Today
Register for a JBoss Training Course. Free Certification Exam
for All Training Attendees Through End of 2005. For more info visit:
http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click
_______________________________________________
Csound-devel mailing list
Csound-devel@lists.sourceforge.net |