<div class="markdown_content"><hr />
<p><strong> <a class="alink" href="http://sourceforge.net/p/pure-data/patches/517/">[patches:#517]</a> Use all default search-paths for <span><span>[declare]</span></span>'s stdlib/stdpath</strong></p>
<p><strong>Status:</strong> open<br />
<strong>Labels:</strong> path <br />
<strong>Created:</strong> Fri Nov 08, 2013 01:54 PM UTC by IOhannes m zmölnig<br />
<strong>Last Updated:</strong> Fri Nov 08, 2013 01:54 PM UTC<br />
<strong>Owner:</strong> Miller Puckette</p>
<p>the <span>[declare]</span> object allows to add search-paths and load libraries,<br />
relative to the "Pd installation".<br />
However, it does not honour the "standard" (immutable) search-paths<br />
(as stored in <code>sys_staticpath</code>).</p>
<p>This patch will make '-stdpath' and '-stdlib' use all "standard" search-paths.</p>
<p>This allows to use <span>[declare -stdlib zexy]</span>, which will load the "zexy"<br />
library if it can be found in one of ~/pd-externals, /usr/local/lib/pd-externals<br />
/usr/local/lib/pd/extra/ (in case Pd is installed in /usr/local), but it will not attempt to load "zexy" from a user-defined search path.</p>
<p>When using the "standard" search-paths, any leading "extra/" will be stripped (since '/path/to/pd/extra' <em>is</em> already the search-path), in order to keep compatible with the original implementation that required to use <span>[declare -stdlib extra/zexy]</span> (at least on <em>some</em> platforms)</p>
<p>the patch is against todays git (master branch); apply with "git am ..."</p>
<hr />
<p>Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to <a href="https://sourceforge.net/p/pure-data/patches/">https://sourceforge.net/p/pure-data/patches/</a></p>
<p>To unsubscribe from further messages, a project admin can change settings at <a href="https://sourceforge.net/p/pure-data/admin/patches/options.">https://sourceforge.net/p/pure-data/admin/patches/options.</a>  Or, if this is a mailing list, you can unsubscribe from the mailing list.</p></div>