Update of /cvsroot/pure-data/externals/grill/py In directory sc8-pr-cvs1:/tmp/cvs-serv15637
Modified Files: config-pd-darwin.txt config-pd-linux.txt makefile.pd-darwin readme.txt Log Message: ""
Index: config-pd-darwin.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/config-pd-darwin.txt,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** config-pd-darwin.txt 28 Dec 2003 03:51:40 -0000 1.3 --- config-pd-darwin.txt 29 Dec 2003 21:30:25 -0000 1.4 *************** *** 8,25 **** # leave it blank if it is a system directory (like /usr/local/include), # since gcc 3.2 complains about it ! PDPATH=/usr/local/pd/src
# where is the PD executable? ! PD=/usr/local/pd/bin/pd
# where do the flext libraries reside? ! FLEXTPATH=/usr/local/pd/flext ! ! # what is the python version? ! PYTHONVER=2.2 ! # where are the python header files? ! PYTHONINCLUDE=/usr/include/python${PYTHONVER} ! # where is the python library file? ! PYTHONLIB=/Volumes/Daten/Prog/packs/Python-2.2.2
# where should flext libraries be built? --- 8,18 ---- # leave it blank if it is a system directory (like /usr/local/include), # since gcc 3.2 complains about it ! PDPATH=/usr/local/lib/pd/src
# where is the PD executable? ! PD=/usr/local/bin/pd
# where do the flext libraries reside? ! FLEXTPATH=/usr/local/lib/pd/flext
# where should flext libraries be built? *************** *** 27,32 **** # where should the external be installed? # (leave blank to omit installation) ! INSTPATH=/usr/local/pd/extra
# user flags ! # UFLAGS=-O6 -maltivec --- 20,25 ---- # where should the external be installed? # (leave blank to omit installation) ! INSTPATH=/usr/local/lib/pd/extra
# user flags ! # UFLAGS=-O2 -faltivec -maltivec
Index: config-pd-linux.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/config-pd-linux.txt,v retrieving revision 1.7 retrieving revision 1.8 diff -C2 -d -r1.7 -r1.8 *** config-pd-linux.txt 28 Dec 2003 03:51:40 -0000 1.7 --- config-pd-linux.txt 29 Dec 2003 21:30:25 -0000 1.8 *************** *** 30,35 ****
# define for shared build ! FLEXT_SHARED=1
# additional user flags ! UFLAGS= \ No newline at end of file --- 30,35 ----
# define for shared build ! #FLEXT_SHARED=1
# additional user flags ! UFLAGS=
Index: makefile.pd-darwin =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/makefile.pd-darwin,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** makefile.pd-darwin 28 Dec 2003 03:51:40 -0000 1.3 --- makefile.pd-darwin 29 Dec 2003 21:30:25 -0000 1.4 *************** *** 16,26 ****
# compiler+linker stuff ! INCLUDES=${PDPATH} ${FLEXTPATH} ${PYTHONINCLUDE} ! LIBPATH= ${PYTHONLIB} FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS ! CFLAGS=$(UFLAGS) -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes #CFLAGS=-g ! LIBS=m python${PYTHONVER} ! LDFLAGS=-bundle -bundle_loader ${PD}
# --------------------------------------------- --- 16,25 ----
# compiler+linker stuff ! INCLUDES=${PDPATH} ${FLEXTPATH} FLAGS=-DFLEXT_SYS=2 -DFLEXT_THREADS ! CFLAGS=$(UFLAGS) -Wno-long-double -Wno-unused -Wno-parentheses -Wno-switch -Wstrict-prototypes #CFLAGS=-g ! LIBS=m ! LDFLAGS=-bundle -bundle_loader ${PD} -framework Python -framework Carbon
# ---------------------------------------------
Index: readme.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/readme.txt,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** readme.txt 21 Oct 2003 02:38:31 -0000 1.10 --- readme.txt 29 Dec 2003 21:30:25 -0000 1.11 *************** *** 29,32 **** --- 29,33 ----
PD - Load it as i library with e.g. "pd -lib py -path scripts" + Max/MSP - Wait for Windows or a Mach-O MacOSX version. MacOS9 doesn't want it.
*************** *** 44,49 ****
Known bugs: ! There are problems with importing the "time" module, experienced with Python 2.2.2 under OSX. ! Therefore, some help patches may not be functional.
---------------------------------------------------------------------------- --- 45,51 ----
Known bugs: ! - The TCL/TK help patch is not usable under OSX. ! - With the standard PD distribution, threaded py scripts will cause "Stack overflows" under some circumstances ! (the devel_0_37 cvs branch of PD contains the relevant fixes to avoid that)
---------------------------------------------------------------------------- *************** *** 55,58 **** --- 57,61 ---- The package should at least compile (and is tested) with the following compilers:
+ PD @ Windows: ------------- *************** *** 61,75 **** o Microsoft Visual C++ 6: usr "py.dsp" or edit "config-pd-msvc.txt" & run "build-pd-msvc.bat"
PD @ linux: ----------- - Python doesn't provide a shared lib by default - static linking produces huge externals - Ok, debian is an exception... the precompiled binary is for debian, therefore. - o GCC: edit "config-pd-linux.txt" & run "sh build-pd-linux.sh"
PD @ MacOSX: ---------------------
o GCC: edit "config-pd-darwin.txt" & run "sh build-pd-darwin.sh"
---------------------------------------------------------------------------- --- 64,81 ---- o Microsoft Visual C++ 6: usr "py.dsp" or edit "config-pd-msvc.txt" & run "build-pd-msvc.bat"
+ PD @ linux: ----------- o GCC: edit "config-pd-linux.txt" & run "sh build-pd-linux.sh"
+ PD @ MacOSX: --------------------- + You'll need to have Python installed as a framework. + This is the default with Panther - otherwise, all newer Python source distributions are buildable as a darwin framework + ( ./configure --enable-framework=/System/Library/Frameworks && make && make installframework )
o GCC: edit "config-pd-darwin.txt" & run "sh build-pd-darwin.sh" +
----------------------------------------------------------------------------