gEDA-dev: Draft: Creating and maintaining a spice model library
Werner Hoch
werner.ho at gmx.de
Thu Nov 29 14:33:06 EST 2007
Hi Peter,
On Samstag, 24. November 2007, Peter TB Brett wrote:
> On Saturday 24 November 2007 18:38:00 Werner Hoch wrote:
> > ------
> > ; add a library with the command backend
> > ; Syntax:
> > ; (component-library-command "[listcommand]" "[getcommand]"
> > "[name]") ;
> > (component-library-command
> > "/home/werner/oss/geda/spicelib/scripts/gedaparts
> > nxp_bipolar.index"
> > "/home/werner/oss/geda/spicelib/scripts/gedaparts
> > nxp_bipolar.index" "0_NXP bipolar transistors")
> > ------
>
> "geda-clib.scm" gets clobbered everytime you upgrade gEDA.
Yes, you're right. I haven't updated gEDA while working on my spicelib.
> Better would be to create a file "gedaparts.scm" with exactly the
> same contents in the same directory as geda-clib.scm. Any file in
> this directory is assumed to be a Scheme file and is executed at
> startup. (This functionality requires you to be running -unstable
> newer than 2007-10-21).
That works great. I'll add the required script to my spicelib package.
Regards
Werner
More information about the geda-dev
mailing list