Hi Conrad,

this is even better (and what I was probably hinting at). Presets should be then even 
deeper under
$LADSPA_PATH/share/ladspa/presets/[plugin]/
and $LADSPA_PATH is our $PREFIX
For the plugins it could be considered to further divide it into
$LADSPA_PATH/lib/ladspa/
   producers/  (no input, just outputs = synths, audio-ins, file-ins)
   operators/  (input and outputs = fx)
   consumers/  (inputs, but no outputs = audio-outs, file-outs, analysers)

Stefan
> On Wed, May 08, 2002 at 01:08:19PM +0200, Stefan Kost wrote:
> 
>>Hi,
>>
>>>On Tue, 7 May 2002 [EMAIL PROTECTED] wrote:
>>>
>>>
>>>
>>>>Idem for presets : this subject has been discussed a lot, but how do we store 
>>>>them and where, finally ? 
>>>
>>>
>>>Where?  That was never really decided.  I think the idea was to have one
>>>under $LADSPA_PATH/presets and that others could be added as well.  I
>>>don't know of any programs that do this now.
>>
>>The use of libxml(2) is what I would recommend too. For the path I would suggest
>>$LADSPA_PATH/share/presets/[plugin]/
>>
>>Ideally the LADSPA plugins would be in in $LADSPA_PATH/lib
>>Tools (like listplugins) could be in $LADSPA_PATH/bin
> 
> 
> the directories used should follow the FHS (filesystem heirarchy standard:
> 
>     http://www.pathname.com/fhs/
> 
> (AFAIK required by most distros). This would mean the following directories:
> 
>   plugins:  $PREFIX/lib/ladspa/
>   tools:    $PREFIX/bin/
>   presets:  $PREFIX/share/ladspa/
> 
> for package installations where $PREFIX is /usr, assuming all this data
> can be installed read-only.  For consistency, installations in other
> directories (eg. /usr/local/ rather than /usr) should work similarly.
> Read-write data (such as user-saved params) should go in the user's home
> dir (~/.ladspa) or /var/share/ladspa.
> 
> We shouldn't encourage putting everything under one dir (such as
> /opt/ladspa or /usr/local/ladspa). The rationale for all this is outlined
> in the intro to section 2 of the FHS, and is to do with allowing the
> software to be installed on shared filesystems for multiple architectures. 
> 
> Conrad.
> 



-- 
       \|/
      <@ @> Stefan Kost  private                   business
+-oOO-(_)-OOo------------------------------------------------------------- - - -  -   -
|        __    Address  Zwenkauer Str. 24         HTWK Leipzig, Fb IMN, Postfach 300066
|       ///             04277 Leipzig             04277 Leipzig
|  __  ///              Germany                   Germany
|  \\\///      Phone    +49341 3910483            +49341 30766101
|   \__/       EMail    [EMAIL PROTECTED]           [EMAIL PROTECTED]
|              WWW      http://www.sonicpulse.de  
|http://www.imn.htwk-leipzig.de/~kost/about.html
===-=-=--=---=---------------------------------- - - -  -    -

Reply via email to