<div dir="ltr"><div><div>Yes, my plan is to include whatever abstractions in my own libraries.<br></div><div>But I do not know what those dependencies are!!<br></div><div>That is the problem.<br></div><div><br></div></div><div>My goal is to have a script or program which can<br></div><div>a) examine an arbitrary patch, (example: "BillsPatch.pd") and<br></div><div>b) examine my Pd runtime environment <br><br></div><div>... and build a dependency tree. Something like this:<br><br></div><div>$ perl ShowPdDependencyTree.pl BillsPatch.pd<br></div><div><b><br></b></div><div><b>BillsPatch.pd<br></b></div><div><b>|\--------/home/bh/pd/abstractions/BillVerb~.pd<br></b></div><div><b>|            \---------- /home/bh/pd/pd-0.43.4-extended/extra/freeverb.ld<br></b></div><div><b>|\--------/home/bh/pd/abstractions/flanger~.pd<br>|              \---------------/home/bh/pd/abstractions/autophase12~.pd<br>|              \---------------/home/bh/pd/abstractions/autopan12~.pd<br>|                                   \---------- /home/bh/pd/pd-0.43.4-extended/extra/flatgui/knob.ld<br>|\--------/home/bh/pd/abstractions/MultiOsc~.pd<br></b></div><div><b>|<br></b></div><div><b>..... (etc.)......<br></b></div><div><br></div><div>Make sense? <br></div><div>I want this to be able to work anywhere why Pd works (OSX, Windows, Linux). <br></div><div><br></div><div>Thanks,<br></div><div>BH<br></div><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jun 6, 2016 at 9:30 PM, Lucas Cordiviola <span dir="ltr"><<a href="mailto:lucarda27@hotmail.com" target="_blank">lucarda27@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr"><div>Hi William,</div><div><br></div><div>You can include all the externals that you need in your distribution.</div><div><br></div><div>You know that pd-vanilla will be there and you supply a folder (probably with sub-folders) with all externals (for all platforms if needed).</div><div><br></div><div>Then you simply use [declare] </div><div><br></div><div>That`s it.</div><div><br></div><div>You can download the zips of the externals with deken or from <a href="http://puredata.info" target="_blank">puredata.info</a>.</div><div><br></div><div>Hope this helps,</div><div>If you need more clarification on how to do this write back.</div><div><br></div><div>Or you are trying to do something that I don't understand.</div><div><br></div><div>Salutti,</div><div>Lucarda.</div><br><font face="Courier New, Courier, Monospace" size="2">Mensaje telepatico asistido por maquinas.</font><br><br><div><hr>From: <a href="mailto:williamahuston@gmail.com" target="_blank">williamahuston@gmail.com</a><br>Date: Mon, 6 Jun 2016 16:52:32 -0400<br>To: <a href="mailto:pd-list@lists.iem.at" target="_blank">pd-list@lists.iem.at</a><br>Subject: [PD] Determine library dependency tree for a patch?<div><div class="h5"><br><br><div dir="ltr"><div><div><div><div><div></div>My idea is, I want to distribute a patch. <br><br></div>But I build my patches with layers of abstractions.<br><br></div>So I want to make a recursive map of the dependency tree,<br></div>including any external libraries needed, so I can know<br></div><div>what needs to be included when I distribute the patch.<br></div><div><br>Has anyone tried this?<br><br></div><div>I will probably do this with an external program,<br></div><div>probably Perl (not within Pd). <br></div><div><br></div><div>First it seems I really need to understand how to <br></div><div>Pd does conflict resolution in case of name clashes. <br></div><div><br></div><div>Next, it seems one must know the search path. <br></div><div><br>This is a bit easier on Linux systems b/c it just<br></div><div>requires parsing a flat file. <br><br></div><div>On Windows it requires parsing the Registry <br></div><div>(which I admit is still a big mystery for me).<br><br></div><div>On My machine, I am finding the search path here:<br></div><div><br>HKEY_USERS\S-1-5-21-1970324843-3388967453-2642309065-1000\Software\Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Pd\<br><br></div><div>npath=12 means 12 directories to search, each being<br></div><div>path1=(path1)<br></div><div>path2=(path2)<br>...<br></div><div>path12=(path12)<br><br></div><div>I also find this repeated here:<br></div><div><br></div><div><div><div><div><div><div><div><div>HKEY_USERS\S-1-5-21-1970324843-3388967453-2642309065-1000_Classes\VirtualStore\MACHINE\SOFTWARE\Wow6432Node\Pd<br clear="all"><div><br></div><div>One question is, where does this strange string come from?<br></div><div>Is this guaranteed to be the same on every Windows systems?<br></div><div><br>S-1-5-21-1970324843-3388967453-2642309065-1000<br>S-1-5-21-1970324843-3388967453-2642309065-1000_Classes<br><br></div><div>Ugh. Anyway, just looking for some general guidance here.<br><br></div><div>Thanks,<br></div><div>BH<br></div><div><br>-- <br><div data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<br>
May you, and all beings<br>
be happy and free from suffering :)<br>
-- ancient Buddhist Prayer (Metta)<br></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div>
<br></div></div><span class="">_______________________________________________
<a href="mailto:Pd-list@lists.iem.at" target="_blank">Pd-list@lists.iem.at</a> mailing list
UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a></span></div>                                         </div></div>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr">--<br>
May you, and all beings<br>
be happy and free from suffering :)<br>
-- ancient Buddhist Prayer (Metta)<br></div></div></div></div>
</div>