gEDA-dev: PCB Library regression
DJ Delorie
dj at delorie.com
Fri Feb 16 20:19:33 EST 2007
> If the generator were to have a list of footprints provided by the
> script, would it have to modify ListLibraryContents.sh to enumerate its
> (possibly dynamic) list of footprints as well?
PCB uses two separate programs, one for extracting and one for
listing. The two programs are QueryLibrary.sh (lib-command) and
ListLibraryContents.sh (lib-contents-command).
$ pcb -h 2>&1 | grep command
--font-command <string>
--file-command <string> Command to read a file.
--element-command <string>
--lib-command-dir <string>
--lib-command <string>
--lib-contents-command <string>
--save-command <string>
--rat-command <string>
--save-last-command
--lprcommand <string> Command to print
Defaults are in src/main.c:
SSET (LibraryCommand, "QueryLibrary.sh '%p' '%f' %a",
"lib-command", 0),
SSET (LibraryContentsCommand, "ListLibraryContents.sh '%p' '%f'",
"lib-contents-command", 0),
More information about the geda-dev
mailing list