hello,
With default path, or using the -noprefs starting option, Pd is not looking for externals where deken install them. I.E : if I install pmppd with deken, start pd -noprefs, Pd can't find the pmpd object, even with "declare -stdpath pmpd -path pmpd" in the patch
Is this the expected behaviours? I think the deken path should be add to the standard search path. (standard search path are only : patch location, ~/.local/lib/pd/extra/, ~/pd-externals/, /usr/local/lib/pd-externals/, /usr/local/lib/pd/extra/)
Ubuntu linux Pd 0.55test1 Cheers C
On 9/12/24 15:17, cyrille henry wrote:
hello,
With default path, or using the -noprefs starting option, Pd is not looking for externals where deken install them. I.E : if I install pmppd with deken, start pd -noprefs, Pd can't find the pmpd object, even with "declare -stdpath pmpd -path pmpd" in the patch
Is this the expected behaviours? I think the deken path should be add to the standard search path. (standard search path are only : patch location, ~/.local/lib/pd/extra/, ~/pd-externals/, /usr/local/lib/pd-externals/, /usr/local/lib/pd/extra/)
it's more complicated. Pd doesn't know about deken (the latter being a pure Pd-GUI thing). deken tries to use the default search path as the default installation path.
but once you started Pd and accepted the ~/Documents/Pd path as the default, deken will remember that selection. you can also set whatever path you want for deken to install externals to, but deken will use it's own (pd-gui) preferences, and not tell the Pd-core about that.
this all works nicely, as long as you don't try to force some specific
settings, e.g. via (-noprefs
).
if you know how to use -noprefs
, we assume you can also add "-path
/path/to/where/i/told/deken/to/put/stuff" :-)
gfmadsr IOhannes
Le 12/09/2024 à 18:07, IOhannes m zmoelnig a écrit :
On 9/12/24 15:17, cyrille henry wrote:
hello,
With default path, or using the -noprefs starting option, Pd is not looking for externals where deken install them. I.E : if I install pmppd with deken, start pd -noprefs, Pd can't find the pmpd object, even with "declare -stdpath pmpd -path pmpd" in the patch
Is this the expected behaviours? I think the deken path should be add to the standard search path. (standard search path are only : patch location, ~/.local/lib/pd/extra/, ~/pd-externals/, /usr/local/lib/pd-externals/, /usr/local/lib/pd/extra/)
it's more complicated.
I was expecting that!
Pd doesn't know about deken (the latter being a pure Pd-GUI thing). deken tries to use the default search path as the default installation path.
That is what I expected, but it look like it fail on my computer, since deken install dir is : ~/Documents/Pd/externals and pd default search path are : ~/ ~/.local/lib/pd/extra/ ~/pd-externals/ /usr/local/lib/pd-externals/ /usr/local/lib/pd/extra/
why not use ~/pd-externals/ as deken default installation dir? or add ~/Documents/Pd/externals as pd default search path? This will make thing work also when using the -noprefs flag.
(I'm sorry I miss all discussion about deken)
but once you started Pd and accepted the ~/Documents/Pd path as the default, deken will remember that selection. you can also set whatever path you want for deken to install externals to, but deken will use it's own (pd-gui) preferences, and not tell the Pd-core about that.
ok
this all works nicely, as long as you don't try to force some specific settings, e.g. via (
-noprefs
).
sure!
if you know how to use
-noprefs
, we assume you can also add "-path /path/to/where/i/told/deken/to/put/stuff" :-)
My aim is to test a patch to be sure that it will work on someone else computer. So I use the -noprefs on my computer to remove all stuff I have in my search path and simulate a fresh pd installation. (That way, I'm sure I did not forget a dependency). The solution is : to change default deken install dir to one of pd search path, or to start pd with -noprefs -path /where/deken/coose/to/install/stuff I was not expecting that, but that's not a problem.
But I also wanted to use -noprefs on the other computer, to simulate a fresh pd installation, just to be sure that the patch will work the same way on all computer. I will just avoid doing that, and hope for the best.
cheers Cyrille
gfmadsr IOhannes
pd-list@lists.iem.at - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/pd-list@lists.iem.at/message/3Q6AI6YV4L...
To unsubscribe send an email to pd-list-leave@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/