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

gEDA-cvs: CVS update: Makefile.am



  User: danmc   
  Date: 07/02/08 19:24:11

  Modified:    .        Makefile.am project.sample
  Added:       .        first.sch second.sch third.sch
  Log:
  1)  add a new option to gsch2pcb "use-m4" for the project file or "--use-m4" for the
  
  command line.  By default now, gsch2pcb will not try to run m4 at all.  If you want
  
  the old behaviour of running m4, you'll have to use this option.  It seems that this
  
  is what most users want (no m4 involved at run time).
  
  
  
  2) rather than hard coding a number of paths like /usr/X11R6/lib and /usr/local/share
  
  into the code for places to look for PCB footprints, use a single default directory
  
  which is based on ${datadir}.  If the user wants to, they can override that with
  
  --with-pcb-datadir=/opt/pcb-20070204/share for example.
  
  
  
  3)  when searching for newlib footprints with, for example, a name like
  
  footprint=MY1206, match either "MY1206" or "MY1206.fp" so we can start having extensions
  
  on footprint files without needing to explicitly add the ".fp" part in the footprint=
  
  attribute.  All of the footprints in the pcb distribution which came from the m4
  
  libraries have .fp extensions now.
  
  
  
  4)  add some example schematic files in the gsch2pcb example directory
  
  
  
  
  Revision  Changes    Path
  1.2       +1 -1      eda/geda/gaf/utils/examples/gsch2pcb/Makefile.am
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: Makefile.am
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/utils/examples/gsch2pcb/Makefile.am,v
  retrieving revision 1.1
  retrieving revision 1.2
  diff -u -b -r1.1 -r1.2
  --- Makefile.am	28 Sep 2003 02:47:28 -0000	1.1
  +++ Makefile.am	9 Feb 2007 00:24:09 -0000	1.2
  @@ -1,6 +1,6 @@
   ## Process this file with automake to produce Makefile.in
   
  -EXTRA_DIST = project.sample
  +EXTRA_DIST = project.sample first.sch second.sch third.sch
    
   MOSTLYCLEANFILES = *.log *.ps core FILE *~
   CLEANFILES = *.log *.ps core FILE *~ 
  
  
  
  1.4       +14 -4     eda/geda/gaf/utils/examples/gsch2pcb/project.sample
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: project.sample
  ===================================================================
  RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/utils/examples/gsch2pcb/project.sample,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -b -r1.3 -r1.4
  --- project.sample	11 Jan 2004 22:31:22 -0000	1.3
  +++ project.sample	9 Feb 2007 00:24:09 -0000	1.4
  @@ -1,3 +1,5 @@
  +# $Id: project.sample,v 1.4 2007/02/09 00:24:09 danmc Exp $
  +#
   #           Sample poject file for gsch2pcb versions >= 1.0
   #
   # A project file may be named anything that does not end in ".sch" and placed
  @@ -32,10 +34,18 @@
   #elements-dir  ~/gaf/pcb-elements
   #elements-dir  /usr/local/share/pcb/newlib
   
  -# The default is to search for gschem footprints first in PCB m4 files and
  -# if not found, then in PCB newlib style file element directories.  Uncomment
  -# the use-files line to force using any found file elements even though a
  -# m4 element may have been found first.
  +# The default is to not invoke M4 for PCB footprints.  Starting with the
  +# 20070208 snapshot of PCB, the footprints which were generated with m4
  +# are available as newlib footprints.  If you wish to still invoke m4
  +# (perhaps because you have extra footprints configured), then set
  +# this variable.
  +#
  +use-m4
  +
  +# If "use-m4" is specified, the default is to search for gschem footprints
  +# first in PCB m4 files and if not found, then in PCB newlib style file 
  +# element directories.  Uncomment the use-files line to force using any
  +# found file elements even though a m4 element may have been found first.
   #
   #use-files
   
  
  
  
  1.1                  eda/geda/gaf/utils/examples/gsch2pcb/first.sch
  
  Index: first.sch
  ===================================================================
  v 20050820 1
  C 29900 52500 1 90 0 resistor-1.sym
  {
  T 29600 52700 5 10 1 1 90 0 1
  refdes=R1
  T 30100 52700 5 10 1 1 90 0 1
  footprint=RESC2012N
  T 30300 52700 5 10 1 1 90 0 1
  value=10k
  }
  C 32400 52500 1 90 0 resistor-1.sym
  {
  T 32100 52700 5 10 1 1 90 0 1
  refdes=R3
  T 32600 52700 5 10 1 1 90 0 1
  footprint=RESC2012N
  T 32800 52700 5 10 1 1 90 0 1
  value=20k
  }
  C 30600 53900 1 0 0 resistor-1.sym
  {
  T 30800 54200 5 10 1 1 0 0 1
  refdes=R2
  T 30800 53700 5 10 1 1 0 0 1
  footprint=RESC2012N
  T 30800 53500 5 10 1 1 0 0 1
  value=10k
  }
  N 29800 53400 29800 54000 4
  N 29800 54000 30600 54000 4
  N 31500 54000 33100 54000 4
  N 32300 53400 32300 54000 4
  N 29800 51800 34800 51800 4
  N 32300 51800 32300 52500 4
  C 29700 51100 1 0 0 gnd-1.sym
  N 29800 51400 29800 52500 4
  C 33100 53900 1 0 0 resistor-1.sym
  {
  T 33300 54200 5 10 1 1 0 0 1
  refdes=R4
  T 33300 53700 5 10 1 1 0 0 1
  footprint=RESC2012N
  T 33300 53500 5 10 1 1 0 0 1
  value=10k
  }
  N 34000 54000 35600 54000 4
  N 34800 53400 34800 54000 4
  C 34900 52500 1 90 0 resistor-1.sym
  {
  T 34600 52700 5 10 1 1 90 0 1
  refdes=R5
  T 35100 52700 5 10 1 1 90 0 1
  footprint=RESC2012N
  T 35300 52700 5 10 1 1 90 0 1
  value=20k
  }
  N 34800 51800 34800 52500 4
  C 35600 53900 1 0 0 resistor-1.sym
  {
  T 35800 54200 5 10 1 1 0 0 1
  refdes=R6
  T 35800 53700 5 10 1 1 0 0 1
  footprint=RESC2012N
  T 35800 53500 5 10 1 1 0 0 1
  value=10k
  }
  N 36500 54000 37300 54000 4
  C 37400 52500 1 90 0 resistor-1.sym
  {
  T 37100 52700 5 10 1 1 90 0 1
  refdes=R7
  T 37600 52700 5 10 1 1 90 0 1
  footprint=RESC2012N
  T 37800 52700 5 10 1 1 90 0 1
  value=20k
  }
  N 32300 51800 37300 51800 4
  N 37300 51800 37300 52500 4
  N 37300 53400 37300 54000 4
  
  
  
  1.1                  eda/geda/gaf/utils/examples/gsch2pcb/second.sch
  
  Index: second.sch
  ===================================================================
  v 20050820 1
  C 29900 52500 1 90 0 resistor-1.sym
  {
  T 29600 52700 5 10 1 1 90 0 1
  refdes=R8
  T 30100 52700 5 10 1 1 90 0 1
  footprint=RESC2012N
  T 30300 52700 5 10 1 1 90 0 1
  value=10k
  }
  C 30600 53900 1 0 0 resistor-1.sym
  {
  T 30800 54200 5 10 1 1 0 0 1
  refdes=R9
  T 30800 53700 5 10 1 1 0 0 1
  footprint=RESC2012N
  T 30800 53500 5 10 1 1 0 0 1
  value=10k
  }
  N 29800 53400 29800 54000 4
  N 29800 54000 30600 54000 4
  N 31500 54000 33100 54000 4
  N 32300 53400 32300 54000 4
  N 29800 51800 34800 51800 4
  N 32300 51800 32300 52500 4
  C 29700 51100 1 0 0 gnd-1.sym
  N 29800 51400 29800 52500 4
  C 33100 53900 1 0 0 resistor-1.sym
  {
  T 33300 54200 5 10 1 1 0 0 1
  refdes=R10
  T 33300 53700 5 10 1 1 0 0 1
  footprint=RESC2012N
  T 33300 53500 5 10 1 1 0 0 1
  value=10k
  }
  N 34000 54000 34800 54000 4
  N 34800 51800 34800 54000 4
  C 32500 52500 1 90 0 capacitor-1.sym
  {
  T 32000 52700 5 10 1 1 90 0 1
  refdes=C1
  T 32700 52700 5 10 1 1 90 0 1
  footprint=CAPC3216N
  T 32900 52700 5 10 1 1 90 0 1
  value=0.01 uF
  }
  
  
  
  1.1                  eda/geda/gaf/utils/examples/gsch2pcb/third.sch
  
  Index: third.sch
  ===================================================================
  v 20050820 1
  C 30500 53900 1 0 0 resistor-1.sym
  {
  T 30700 54200 5 10 1 1 0 0 1
  refdes=R1
  T 30700 53700 5 10 1 1 0 0 1
  footprint=RESC2012N
  T 30700 53500 5 10 1 1 0 0 1
  value=10k
  }
  N 29800 51800 32300 51800 4
  N 32300 51800 32300 52500 4
  C 29700 51100 1 0 0 gnd-1.sym
  C 32500 52500 1 90 0 capacitor-1.sym
  {
  T 32000 52700 5 10 1 1 90 0 1
  refdes=C2
  T 32700 52700 5 10 1 1 90 0 1
  footprint=CAPC3216N
  T 32900 52700 5 10 1 1 90 0 1
  value=0.01 uF
  }
  C 29600 53400 1 0 1 header3-1.sym
  {
  T 29200 54700 5 10 1 1 0 6 1
  refdes=J1
  T 28600 53600 5 10 1 1 90 2 1
  footprint=MTA100_2
  }
  N 29600 53600 29800 53600 4
  N 29800 51400 29800 53600 4
  N 29600 54000 30500 54000 4
  N 29600 54400 32300 54400 4
  N 32300 53400 32300 54400 4
  N 31400 54000 32300 54000 4
  
  
  


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