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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-326-g51896e0)



The branch, master has been updated
       via  51896e033129dada3f96a3448e189e19554c239a (commit)
      from  1625b379e7066ffe2a8283a4977c794ff55b7db4 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


=========
 Summary
=========

 gnetlist/scripts/annotate.sh |  107 ------------------------------------------
 gnetlist/scripts/bom_xref.sh |   10 ----
 gnetlist/scripts/bompp.sh    |   52 --------------------
 3 files changed, 0 insertions(+), 169 deletions(-)
 delete mode 100755 gnetlist/scripts/annotate.sh
 delete mode 100755 gnetlist/scripts/bom_xref.sh
 delete mode 100755 gnetlist/scripts/bompp.sh


=================
 Commit Messages
=================

commit 51896e033129dada3f96a3448e189e19554c239a
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Date:   Sat Nov 29 22:11:32 2008 -0500

    Remove files which are now generated at configure time from templates.
    
    These files are now generated from the .in versions at configure time
    to make sure we get a suitable awk implementation called out.

:100755 000000 225d963... 0000000... D	gnetlist/scripts/annotate.sh
:100755 000000 8760680... 0000000... D	gnetlist/scripts/bom_xref.sh
:100755 000000 2c23009... 0000000... D	gnetlist/scripts/bompp.sh

=========
 Changes
=========

commit 51896e033129dada3f96a3448e189e19554c239a
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Date:   Sat Nov 29 22:11:32 2008 -0500

    Remove files which are now generated at configure time from templates.
    
    These files are now generated from the .in versions at configure time
    to make sure we get a suitable awk implementation called out.

diff --git a/gnetlist/scripts/annotate.sh b/gnetlist/scripts/annotate.sh
deleted file mode 100755
index 225d963..0000000
--- a/gnetlist/scripts/annotate.sh
+++ /dev/null
@@ -1,107 +0,0 @@
-#!/bin/sh
-
-# This program is free software; you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation; either version 2 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program; if not, write to the Free Software
-# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
-
-#------------------------------------------------------------------
-#--------------------------------JM Routoure-----------------------
-#---------------------------------28/02/2000-----------------------
-#------------------------------------------------------------------
-
-if [ -z "$1" ]; then
-	echo "No sch file indicated"
-	echo "usage:"
-	echo "annotate file"
-	echo "	file is generated by gschem"
-	exit 1
-fi 
-
-# create a secure temp directory
-tmpd=${TMP:-/tmp}/annotate.$$
-mkdir -m 0700 ${tmpd}
-rc=$?
-if test $rc -ne 0 ; then
-	cat << EOF
-
-$0:  ERROR -- failed to securily create ${tmpd}
-Check to make sure that the directory does not already
-exist and that you have sufficient permissions to create it.
-
-mkdir returned $rc.
-
-EOF
-	exit 1
-fi
-
-# Determine the different refdes=?
-
-list=`/usr/bin/awk '/^refdes=[A-Z]+\?/ {
-		A=$1; gsub(/refdes=/,"",A)
-		gsub(/\?/,"",A)
-		print A}' $1 | sort | /usr/bin/awk 'BEGIN {if (NR==1) {A=$1} }{if (A !=$1) print ; A=$1}' - `
-
-
-if [ -z "$list" ]; then
-	echo "No new devices found!"
-	exit 0
-fi	
-
-# make a copy of the current schematics
-
-cp $1 $1.sauv
-
-# Replace the ? by a number 
-sc=${tmpd}/sc.awk
-
-for f in  $list; do 
-    # creation du script gawk 1 
-    echo "BEGIN {R=0}" >${sc}
-    echo "/^refdes=$f[0-9]+/ {B=\$1" >>${sc}
-    echo "gsub(/refdes=[A-Z]+/,\"\",B)" >>${sc}
-    echo "if (B>R) {R=B}" >>${sc}
-    echo "}" >>${sc}
-    echo "END {printf(\"%d\",R)}" >>${sc}
-    # execution des scripts
-    
-    IMAX=`/usr/bin/awk -f ${sc} $1`
-    echo "Numbering of $f will start at $IMAX"
-    
-    # creation du script gawk 2 
-    
-    echo "BEGIN {R=MAX} ">${sc}
-    echo "{if (match(\$1,/^refdes=$f\?/)!=0) {" >>${sc}
-    echo "R=R+1" >>${sc}
-    echo "sub(/\?/,R,\$1)" >>${sc}
-    echo "print \$1 } " >>${sc}
-    echo "else {print \$0}}">>${sc}
-    
-    #echo "OK=1" >>${sc}
-    #echo "LL=NR}" >>${sc}
-    #echo "{" >>${sc}
-    #echo "if ((OK==1)&&(NR==LL+1)) {print \$1\" \"\$2\" \"\$3\" \"\$4\" \"\$5\" \"1\" \"\$7\" \"\$8 }" >>${sc}
-    #echo "if (NR==LL+2) {OK=0} " >>${sc}
-    #echo "if (OK==0) {print \$0} " >>${sc}
-    #echo "}" >>${sc}
-    
-    #execute the second script
-    
-    cat $1 | /usr/bin/awk -v MAX=$IMAX -f ${sc}  - > $1.tmp
-    mv $1.tmp $1
-    
-done
-    
-# clean !
-
-rm  -fr ${tmpd}
-
diff --git a/gnetlist/scripts/bom_xref.sh b/gnetlist/scripts/bom_xref.sh
deleted file mode 100755
index 8760680..0000000
--- a/gnetlist/scripts/bom_xref.sh
+++ /dev/null
@@ -1,10 +0,0 @@
-#!/bin/sh
-# ha ha
-
-if [ -z "$1" ] ; then
-    echo "usage $0 geda-bom  # output on stdout"
-    exit -1
-fi    
-cat $1 | sort -k1,1 |\
-/usr/bin/awk '!/device/{printf("%-5s %-20s %-20s %-20s\n", toupper($1), toupper($2), toupper($3), toupper($4));} /device/{}'
-
diff --git a/gnetlist/scripts/bompp.sh b/gnetlist/scripts/bompp.sh
deleted file mode 100755
index 2c23009..0000000
--- a/gnetlist/scripts/bompp.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ha ha
-
-if [ -z "$1" ] ; then
-    echo "usage $0 geda-bom  # output on stdout"
-    exit -1
-fi    
-cat $1 | /usr/bin/awk '{print toupper($2)" "toupper($3)" "toupper($4)" "toupper($1)}'\
-| sort +0 | /usr/bin/awk '\
-BEGIN {\
-f1="";f2="";f3="";\
-format1="%3d %-19s %-10s %-10s ";\
-format4="%-46s";\
-format2="%s, ";\
-format3="%s\n";\
-format5="%s,\n";\
-urefsperline=5;\
-printf(format1 format3, 0, "Device", "Value", "Footprint", "Urefs");\
-}\
-/^DEVICE/{}\
-!/^DEVICE/{\
-    if($1==f1 && $2==f2 && $3==f3) {\
-        array[ct++]=$4;\
-    } else {\
-        if(f1!="" && f2!="" && f3!="") { \
-            printf(format1, ct, f1, f2, f3);\
-	    for(i=0; i<ct-1; i++) {\
-	        if((i+1)%urefsperline) {\
-		    printf(format2, array[i]);\
-		} else {\
-		    printf(format5 format4, array[i], "");\
-		}\
-	    }\
-	    printf(format3, array[i]);\
-        }\
-        f1=$1;f2=$2;f3=$3;ct=0;array[ct++]=$4;\
-    }\
-}\
-END{\
-    if(f1!="" && f2!="" && f3!="") { \
-        printf(format1, ct, f1, f2, f3);\
-	for(i=0; i<ct-1; i++) {\
-	    if((i+1)%urefsperline) {\
-	    printf(format2, array[i]);\
-	} else {\
-	    printf(format5 format4, array[i], "");\
-	}\
-    }\
-    printf(format3, array[i]);\
-}\
-}'
-




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