The pdgtk demo compiled ok on macOS 14.5 with the following Homebrew packages installed: tcl-tk gtk4
I am not able to run it though, pdgtk is complaining about a missing port on invocation:
danomatika@danomatika pdgtk % pd -guicmd `pwd`/pdgtk -nrt -stderr z.pd usage: /Users/danomatika/Downloads/pdgtk/pdgtk <port> ^CPd: signal 2 gui socket 0 - closing audio... closing MIDI... ... done.
On Sep 29, 2024, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Well, I made a stab at doing the same thing with GTK4 - you can grab it here: http://msp.ucsd.edu/tmp/2024.09.28-pdgtk.tgz . It's about 1200 lines of code and does only a coupe of very basic things, but it allows us to guess what it would entail to do the whole job. Of the 325 calls to pdgui_v[a]mess in the PD source, it takes care of about 10 I think.
-------- Dan Wilcox danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
You need the very latest pd in git... I had to fix the guicmd flag.
On 9/30/24 7:48 PM, Dan Wilcox wrote:
The pdgtk demo compiled ok on macOS 14.5 with the following Homebrew packages installed: tcl-tk gtk4
I am not able to run it though, pdgtk is complaining about a missing port on invocation:
danomatika@danomatika pdgtk % pd -guicmd `pwd`/pdgtk -nrt -stderr z.pd usage: /Users/danomatika/Downloads/pdgtk/pdgtk <port> ^CPd: signal 2 gui socket 0 - closing audio... closing MIDI... ... done.
On Sep 29, 2024, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Well, I made a stab at doing the same thing with GTK4 - you can grab it here:http://msp.ucsd.edu/tmp/2024.09.28-pdgtk.tgz.%C2%A0 It's about 1200 lines of code and does only a coupe of very basic things, but it allows us to guess what it would entail to do the whole job. Of the 325 calls to pdgui_v[a]mess in the PD source, it takes care of about 10 I think.
Dan Wilcox danomatika.com https://urldefense.com/v3/__http://danomatika.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCBKg69nQ$ robotcowboy.com https://urldefense.com/v3/__http://robotcowboy.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCKigPjDw$
Ok, it works. Not 100%, for instance the key inputs seem to be repeated but basic mode changing, movement, redraw, and object edit function.

On Sep 30, 2024, at 8:02 PM, Miller Puckette mpuckette@cloud.ucsd.edu wrote:
You need the very latest pd in git... I had to fix the guicmd flag.
On 9/30/24 7:48 PM, Dan Wilcox wrote:
The pdgtk demo compiled ok on macOS 14.5 with the following Homebrew packages installed: tcl-tk gtk4
I am not able to run it though, pdgtk is complaining about a missing port on invocation:
danomatika@danomatika pdgtk % pd -guicmd `pwd`/pdgtk -nrt -stderr z.pd usage: /Users/danomatika/Downloads/pdgtk/pdgtk <port> ^CPd: signal 2 gui socket 0 - closing audio... closing MIDI... ... done.
On Sep 29, 2024, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Well, I made a stab at doing the same thing with GTK4 - you can grab it here:http://msp.ucsd.edu/tmp/2024.09.28-pdgtk.tgz. It's about 1200 lines of code and does only a coupe of very basic things, but it allows us to guess what it would entail to do the whole job. Of the 325 calls to pdgui_v[a]mess in the PD source, it takes care of about 10 I think.
Dan Wilcox danomatika.com http://danomatika.com/https://urldefense.com/v3/__http://danomatika.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCBKg69nQ$ robotcowboy.com http://robotcowboy.com/https://urldefense.com/v3/__http://robotcowboy.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCKigPjDw$
-------- Dan Wilcox danomatika.com http://danomatika.com/ robotcowboy.com http://robotcowboy.com/
as always the fonts look different on Mac vs. linux ... sigh...
Anyway it's mostly there to investigate what it would be if it were filled out.
M
On 9/30/24 9:02 PM, Dan Wilcox wrote:
Ok, it works. Not 100%, for instance the key inputs seem to be repeated but basic mode changing, movement, redraw, and object edit function.
Screenshot 2024-09-30 at 8.37.45 PM.png
On Sep 30, 2024, at 8:02 PM, Miller Puckette mpuckette@cloud.ucsd.edu wrote:
You need the very latest pd in git... I had to fix the guicmd flag.
On 9/30/24 7:48 PM, Dan Wilcox wrote:
The pdgtk demo compiled ok on macOS 14.5 with the following Homebrew packages installed: tcl-tk gtk4
I am not able to run it though, pdgtk is complaining about a missing port on invocation:
danomatika@danomatika pdgtk % pd -guicmd `pwd`/pdgtk -nrt -stderr z.pd usage: /Users/danomatika/Downloads/pdgtk/pdgtk <port> ^CPd: signal 2 gui socket 0 - closing audio... closing MIDI... ... done.
On Sep 29, 2024, at 12:00 PM, pd-dev-request@lists.iem.at wrote:
Well, I made a stab at doing the same thing with GTK4 - you can grab it here:http://msp.ucsd.edu/tmp/2024.09.28-pdgtk.tgz. It's about 1200 lines of code and does only a coupe of very basic things, but it allows us to guess what it would entail to do the whole job. Of the 325 calls to pdgui_v[a]mess in the PD source, it takes care of about 10 I think.
Dan Wilcox danomatika.com https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!EOEettr5e2bSDk_tr4T1JgnX1bSikF9cyHkDltFARo9nFI_svhAF4r_n7gB9NTrshhiEYNITEgMlPVqVuDuemop5lg$https://urldefense.com/v3/__http://danomatika.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCBKg69nQ$ robotcowboy.com https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!EOEettr5e2bSDk_tr4T1JgnX1bSikF9cyHkDltFARo9nFI_svhAF4r_n7gB9NTrshhiEYNITEgMlPVqVuDsOCPYdsg$https://urldefense.com/v3/__http://robotcowboy.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCKigPjDw$
Dan Wilcox danomatika.com https://urldefense.com/v3/__http://danomatika.com/__;!!Mih3wA!EOEettr5e2bSDk_tr4T1JgnX1bSikF9cyHkDltFARo9nFI_svhAF4r_n7gB9NTrshhiEYNITEgMlPVqVuDuemop5lg$ robotcowboy.com https://urldefense.com/v3/__http://robotcowboy.com/__;!!Mih3wA!EOEettr5e2bSDk_tr4T1JgnX1bSikF9cyHkDltFARo9nFI_svhAF4r_n7gB9NTrshhiEYNITEgMlPVqVuDsOCPYdsg$