gEDA-user: Making gsch2pcb prefer files vs m4?

2007-02-24 Thread Ben Jackson
I have jcl's library installed.  If I specify a package name that appears
many places, like 0805, I get the m4 one from gsch2pcb.  Similarly for
SO16W.  If I specify a name that's unique, like DIP-18-300, then it will
find the file and use it.

How can I set the search order to prefer a particular directory?

-- 
Ben Jackson AD7GD
[EMAIL PROTECTED]
http://www.ben.com/


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


Re: gEDA-user: Making gsch2pcb prefer files vs m4?

2007-02-24 Thread [EMAIL PROTECTED]

Ben Jackson wrote:

I have jcl's library installed.


You can also install jcl's sch2pcb, specifying the directory and _file_ 
footprints.


Save a text file as sch2pcb in your project directory and just

./sch2pcb project

 to get it to run.  It should be something like what's below, changing 
for your specified footprint directory.


Also deleting your M4 footprints directory is a favorite PCB past time. 
 But try this thing below first.


Phil

_sch2pcb_

#!/bin/bash
#this script was written by John Luciani
gsch2pcb --elements-dir /home/phil/pcb/footprints --use-files $@




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


Re: gEDA-user: Making gsch2pcb prefer files vs m4?

2007-02-24 Thread Dan McMahill

[EMAIL PROTECTED] wrote:

Ben Jackson wrote:


I have jcl's library installed.



You can also install jcl's sch2pcb, specifying the directory and _file_ 
footprints.


Save a text file as sch2pcb in your project directory and just

./sch2pcb project

 to get it to run.  It should be something like what's below, changing 
for your specified footprint directory.


Also deleting your M4 footprints directory is a favorite PCB past time. 
 But try this thing below first.


and hopefully an obsolete pass time.  Just use --skip-m4 on the 
gsch2pcb command line or skip_m4 in the gsch2pcb project file and m4 
will never be called.  That is if you're using 20070216 or later.



If you want to use m4 when the files are not found then the option is 
--use-files from the command line or use_files in the project file.



-Dan


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