On 2016-06-09 10:58, cyrille henry wrote:
Le 09/06/2016 10:33, Roman Haefeli a écrit :
In my ideal world, I write a Pd project, make sure it properly declares what it needs and then people who want to run my project find a list in the documentation with the required externals
in an other ideal world, [declare] notice that the declared lib is not installed, so it ask if deken should install it...
so because cyrille was faster than max, i'm answering this: i think it should be fairly simple to implement that functionality as a "loader".
since Pd-0.47, loaders can differentiate whether they should search for a library in a given directory, or "wherever they please" (this is a last ressort, after all the search-paths have been walked). and this would be the perfect time to fire up deken, and prefill it with the search term (so the user only needs to hit "search").
the drawbacks are, that the loader cannot really distinguish whether Pd tried to load a library ("zexy") or an objectclass ("demultiplex"), and deken is really only good at finding libraries.
it also might get triggered multiple times (e.g. because my patch is full of unavailable [nop]s)
therefore i don't think it would be a good idea to
mnfgasdr IOhannes