[PD-dev] extra reorg idea

zmoelnig at iem.at zmoelnig at iem.at
Fri Dec 17 09:01:33 CET 2004


Zitiere Hans-Christoph Steiner <hans at eds.org>:

> 
> I'd like to propose an idea for organizing all of the objects, instead 
> of placing everything directly in "extra" and "doc/5.reference".  
> Everything that is aimed to be a standard part of Pd would go in  
> "extra" and "5.reference". Then objects that have conflicted names,  
> objects that are deprecated, or cyclone/Max-compatibility objects would 
> go into their own folders.  When someone wants to use these objects,  
> they can add then directories using -path and -helppath.

correct me if i am wrong:
1) let's assume wwe have a libraray "foo", containing of foo.pd_linux and a
number of help patches foo-help.pd and bar-help.pd;
_now_ these files are in /usr/lib/pd/extra/: /usr/lib/pd/extra/foo.pd_linux,
/usr/lib/pd/extra/foo-help.pd and /usr/lib/pd/extra/bar-help.pd
you _propoese_ them to be in /usr/lib/pd/foo/ or in /usr/lib/pd/extra/foo ??
- the first solution would impose a bad thing on the usability of pd (in my
opinion): up till now, you can specify the libraries you want to be loaded in
the patch itself, without having to hazzle with command-line arguments or
rc-files: this is ok if you have only one evironment you work with, but if you
want "several different pds-flavours" (libraries loaded,...) you would need to
eliminate (or strip down) you rc-file and write quite long .BAT-fies (notice
that the use of .BAT is on pupose as i really think this is old, clumsy and
should be deprecated, especially with respect to the new console-less pd)
- the second solution is already implemented in pd (i think), so people would
just need to use it (which thy should do anyhow and which makes your proposal
not at all "useless")

2) problems with libraries containing mulitple so-files and pd-files are a bit
more complicated (so i guess you are refereing to that)
i really think that the solution with giving a lot of path-names is _not_ good,
because (as mentioned before) we are not (yet ?) able to add things to the
search-path from within the patch (probably we are, with some weird messages)
but anyhow, then we would need knowledge about the directory-layout on the
harddisc which is a bad thing too)
BUT: using your layout (without adding -path !) would enforce people to use our
all-time favourite "namespaces" which is indeed a good thing.



so as a conclusion:
i think too that libraries should go into separate directories, AND i think that
these directories should be in pd/extra 


mfg.ads.r
IOhannes




More information about the Pd-dev mailing list