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
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@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
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.
I will take a look at it. I don't have a whole lot of time at the moment so don't expect any results within the next few weeks. Although I have a feeling that most people using Macs prefer the look of the Aqua interface I think it would be nice with the choice of being able to easily install and run pd under non-aqua X11.
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.
Thanks for these tips.
/henrik
Hello,
It was pretty straight forward to edit the u_main.tk to get it to use my X11 tcl/tk. But, I can't get it to draw any subwindows. IOW pd launches as expected, the main window is displayed, but choosing the 'open' or 'new' menu commands doesn't draw a new window. The patch is loaded though - if I start the DAC the patch produces audio...
Any ideas?
/Henrik
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
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