gEDA-dev: add-on dir name for pcb

Dan McMahill dan at mcmahill.net
Mon Oct 2 07:27:13 EDT 2006


DJ Delorie wrote:
>>I was originally thinking that they could go in $prefix/share/, but
>>I think for consistency with other apps, .so files ought to go in
>>$prefix/lib/appname/
> 
> 
> Technically, that would be $exec_prefix/...
> 
> So...
> 
> $exec_prefix/lib/pcb/*.so
> or
> $exec_prefix/lib/pcb/hids/*.so
> or
> $exec_prefix/lib/pcb/plugins/*.so  ?
> 
> As for $HOME, I think ~/.pcb/hids/ makes the most sense; we don't need
> the generic "lib/" subdir there.
> 
> Although an optional platform-specific subdir in ~ might be useful, if
> you run pcb on multiple architectures with the same $HOME.
> 
> That would be ~/.pcb/hids/i686-pc-linux-gnu/ on my machine.

I run pcb on multiple arch's with the same $HOME so this would be most 
appreciated by me.

Here's another thought (sorry for coming late to the discussion). 
Should that directory be versioned (pcb version) too?

~/.pcb/hids/alpha-unknown-netbsd2.0/{20060822,1.99t}/
~/.pcb/hids/sparc-sun-solaris2.9/20060822/

I've done something like that with plugins for scilab where I know I may 
run more than one version of scilab on more than one architecture.

-Dan



More information about the geda-dev mailing list