[PD-dev] Compiling pd against Tcl/Tk X11 on Darwin
Hans-Christoph Steiner
hans at eds.org
Tue Apr 11 00:33:18 CEST 2006
A Fink package of Pd-extended would be quite nice. Tigital has been
talking about it because it would be faster and the GUI will use less
CPU.
The C code will probably be easy to get going, but there is going to
be some added checks on the Tcl/Tk side of things (pd/src/u_main.tk
aka pd.tk). Basically, the GUI only checks the OS not the Windowing
engine. So you'll have to add checks to pd/src/u_main.tk. In an
installed app its known as bin/pd.tk, but its the exact same file.
This is the command you'll need: tk windowingsystem
which returns one of
aqua
win32
x11
tk::mac::useCGDrawing is a Tk/Aqua-only command, so that might be the
only change needed.
.hc
On Apr 10, 2006, at 8:53 AM, Henrik Frisk wrote:
> Hello,
>
> New to the list. I read in the archives a thread about making a Fink
> package for pd. I would personally like that, and I could possibly
> help.
>
> In the mean time, I'm trying to compile pd for Tcl/Tk for X11, the one
> installed through Fink. I changed a few lines i s_inter.c so that it
> finds wish, but it still assumes I have the Aqua version of Tcl/Tk
> installed and complains about tk::mac::useCGDrawing is missing (run
> time
> - compiling works fine). Any help would be appreciated.
>
> /Henrik Frisk
>
> _______________________________________________
> PD-dev mailing list
> PD-dev at iem.at
> http://lists.puredata.info/listinfo/pd-dev
________________________________________________________________________
____
"Computer science is no more related to the computer than astronomy
is related to the telescope."
-Edsger
Dykstra
More information about the Pd-dev
mailing list