[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: gEDA-user: gafrc nonsense



>> (define default-titleblock "title-B-wcjc.sym") (define gedasymbols
>> "/home/cullen/gaf/wcjc/symbols")
>
> This is ok.
>


>> cullen@nnnnn:~$ cat .gEDA/gafrc
>> (define gedasymbols "/home/cullen/gaf/wcjc/symbols")
>   ^^^^^^^^^^^^^^^^^^^
> (..snip..)
>> None of the above three listed symbols appear in the "Select
>> Component..." dialog box, under "local", where I think they should
>> appear. What am I missing?
>
> The define command in your gafrc just defines a local variable
> "gedasymbol". However, gschem and gsch2pcb do not know about this
> variable.

ah!
>
> To add your local path to the search path for symbols, you have to
> execute the command "component-library" with the desired path.
> Simple example:
> (component-library "/home/foo/bar/gedalib")
>
> To add the current working directory to the search path you can
> use the "." command of the shell:
> (component-library ".")

right! Now I see.

>
> The define statement can be used to build a more complex path and
> reuse this path with several component-library statements. Example:
>
> (define symbolspath (build-path (getenv "HOME") "geda" "symbols"))
> (component-library (build-path symbolspath "titleblock"))
> (component-library (build-path symbolspath "power"))
> (component-library (build-path symbolspath "misc"))
>
> Hope, this helps,

Yes! Thanks very much!


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user