[PD] using namespace prefixes in a vanilla setup

Hans-Christoph Steiner hans at at.or.at
Wed May 6 23:02:42 CEST 2009


Jumped the gun a bit, forgot to include the new demo, here's an  
updated zip file:

http://puredata.info/Members/hans/vanilla_libdir-20090506.zip

Basically, my point is, it would be great if abstractions also looked  
in '.' for their helppatch just like externals.

.hc


On May 6, 2009, at 1:54 AM, Frank Barknecht wrote:

> Hallo,
> Hans-Christoph Steiner hat gesagt: // Hans-Christoph Steiner wrote:
>
>> On May 5, 2009, at 12:09 PM, Steffen Juul wrote:
>>>
>>> On 02/05/2009, at 3.31, Hans-Christoph Steiner wrote:
>>>
>>>> So here's the solution i came up with, you
>>>> make a 'lib' folder in your project, stick the libraries as folders
>>>> in
>>>> 'lib', then use [declare -path lib].  Here's an example:
>>>>
>>>> http://puredata.info/Members/hans/vanilla_libdir.tar.bz2
>>>
>>> But what about "sorry, couldn't find help patch for "mapping/
>>> curve.pd"" ?
>>
>>
>> I should have said, due to bugs in [declare], this only works on GNU/
>> Linux.  Since Miller uses Linux, I was assuming that its the  
>> reference
>> platform in terms of how [declare] works.  It currently works
>> differently/less on Mac OS X, for example.
>
> What are these differences? In our RjDj sprints, most people use OS- 
> X with no
> problems, and on Linux, the help files still aren't found either -  
> which is a
> known issue of directory prefixes since ages: You have to set the  
> help-path as
> well.
>
>>> But if libraries have complicated interdependencies or assume  
>>> certain
>>> global
>>> path layouts, then this approach fails, which was the case with the
>>> old mapping
>>> files, at least partly.
>>
>> Part of my point with this examples is to show that you can have a
>> simple setup while using namespace prefixes in the project,  
>> libraries as
>> folders, and in the libraries that a project uses.  I couldn't find  
>> any
>> issues with the setup illustrated in that tarball, have you found  
>> some?
>
> "mapping" still assumes that it is installed in a subdirectory  
> called "mapping"
> whose parent is in the search path. It's not possible for a user to  
> just drop
> the patches from "mapping" into her project folder directly or into a
> differently named subdir made know with declare. A user has to  
> mimick the
> directory layout set in mapping. And do so for purepd as well.  
> That's not a
> problem with the tarball, it just a - deliberate - restriction of  
> "mapping".
>
> Ciao
> -- 
> Frank
>
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list




----------------------------------------------------------------------------

All mankind is of one author, and is one volume; when one man dies,  
one chapter is not torn out of the book, but translated into a better  
language; and every chapter must be so translated.... -John Donne






More information about the Pd-list mailing list