Index: work/OS/packaging/auto/Configure.args
===================================================================
--- work/OS/packaging/auto/Configure.args (nonexistent)
+++ work/OS/packaging/auto/Configure.args (revision 1500)
@@ -0,0 +1 @@
+
Index: work/OS/packaging/auto/List
===================================================================
--- work/OS/packaging/auto/List (nonexistent)
+++ work/OS/packaging/auto/List (revision 1500)
@@ -0,0 +1 @@
+route-rnd
Index: work/OS/packaging/auto/Ver
===================================================================
--- work/OS/packaging/auto/Ver (nonexistent)
+++ work/OS/packaging/auto/Ver (revision 1500)
@@ -0,0 +1 @@
+0.9.2
Index: work/OS/packaging/auto/Ver.major
===================================================================
--- work/OS/packaging/auto/Ver.major (nonexistent)
+++ work/OS/packaging/auto/Ver.major (revision 1500)
@@ -0,0 +1 @@
+0
Index: work/OS/packaging/auto/Ver.minor
===================================================================
--- work/OS/packaging/auto/Ver.minor (nonexistent)
+++ work/OS/packaging/auto/Ver.minor (revision 1500)
@@ -0,0 +1 @@
+9
Index: work/OS/packaging/auto/Ver.patch
===================================================================
--- work/OS/packaging/auto/Ver.patch (nonexistent)
+++ work/OS/packaging/auto/Ver.patch (revision 1500)
@@ -0,0 +1 @@
+2
Index: work/OS/packaging/auto/route-rnd.deps
===================================================================
--- work/OS/packaging/auto/route-rnd.deps (nonexistent)
+++ work/OS/packaging/auto/route-rnd.deps (revision 1500)
@@ -0,0 +1 @@
+
Index: work/OS/packaging/auto/route-rnd.files
===================================================================
--- work/OS/packaging/auto/route-rnd.files (nonexistent)
+++ work/OS/packaging/auto/route-rnd.files (revision 1500)
@@ -0,0 +1 @@
+*
Index: work/OS/packaging/auto/route-rnd.long
===================================================================
--- work/OS/packaging/auto/route-rnd.long (nonexistent)
+++ work/OS/packaging/auto/route-rnd.long (revision 1500)
@@ -0,0 +1,9 @@
+route-rnd is a generic 'external autorouter' developed for the ringdove
+suite. It speaks the tEDAx format (http://www.repo.hu/projects/tedax). A
+route request tEDAx document is generated by a PCB editor, then route-rnd is
+called and writes the route result tEDAx which then can be fed back to the
+PCB editor to create the tracks. This process is demonstrated by ringdove's
+pcb-rnd external autorouter feature.
+
+Route-rnd is a modular router that offers different routing algorithms.
+
Index: work/OS/packaging/auto/route-rnd.short
===================================================================
--- work/OS/packaging/auto/route-rnd.short (nonexistent)
+++ work/OS/packaging/auto/route-rnd.short (revision 1500)
@@ -0,0 +1 @@
+external PCB autorouter
Index: work/OS/packaging/control.extra
===================================================================
--- work/OS/packaging/control.extra (nonexistent)
+++ work/OS/packaging/control.extra (revision 1500)
@@ -0,0 +1 @@
+
Index: work/OS/packaging/packages.sh
===================================================================
--- work/OS/packaging/packages.sh (nonexistent)
+++ work/OS/packaging/packages.sh (revision 1500)
@@ -0,0 +1,130 @@
+#!/bin/sh
+
+deb="../debian"
+confline=""
+chglog=`head -n 1 $deb/changelog`
+
+gawk -v "confline=$confline" -v "chglog=$chglog" '
+
+BEGIN {
+ html="packages.html"
+ ver=chglog
+ sub("[)].*", "", ver)
+ sub(".*[(]", "", ver)
+ sub("-[0-9]+$", "", ver)
+ split(ver, VER, "[.]")
+}
+
+function strip(s) {
+ sub("^[ \t]*", "", s)
+ sub("[ \t]*$", "", s)
+ return s
+}
+
+function compact(s) {
+ gsub("[ \t]", "", s)
+ return s
+}
+
+function html_nl(s) {
+ gsub("[\n]", "
", s)
+ return s
+}
+
+BEGINFILE {
+ is_control = (FILENAME ~ "control$") || (FILENAME ~ "control.extra$")
+ if (!is_control) {
+ pkg = FILENAME
+ sub(".*/", "", pkg)
+ sub(".install", "", pkg)
+ }
+ else
+ pkg = ""
+}
+
+# parse install
+(!is_control) {
+ INST[pkg] = INST[pkg] " " $0
+}
+
+# parse control files
+(!is_control) { next }
+/^Package:/ { pkg=$2; PKG[pkg] = 1 }
+
+/^Depends/ {
+ $1=""
+ list=$0
+ v = split(list, L, ",")
+ for(n = 1; n <= v; n++)
+ if ((!(L[n] ~ "debhelper")) && (!(L[n] ~ "^[ \t]*[$]")) && (!(L[n] ~ "libfungw1")))
+ DEP[pkg] = DEP[pkg] " " compact(L[n])
+}
+
+/^Build-Depends/ {
+ $1=""
+ list=$0
+ v = split(list, L, ",")
+ for(n = 1; n <= v; n++)
+ if (!(L[n] ~ "debhelper"))
+ print compact(L[n]) > "auto/Build_deps"
+}
+
+/^Description/ {
+ $1=""
+ SHORT[pkg] = strip($0)
+ long = ""
+ while(1) {
+ getline line
+ if (line == "")
+ break
+ if (line == " .")
+ long = long "\n"
+ else
+ long = long strip(line) "\n"
+ }
+ LONG[pkg] = long
+}
+
+
+
+END {
+
+ # generate auto
+ print confline > "auto/Configure.args"
+ print ver > "auto/Ver"
+ print VER[1] > "auto/Ver.major"
+ print VER[2] > "auto/Ver.minor"
+ print VER[3] > "auto/Ver.patch"
+ for(pkg in PKG) {
+ print pkg > "auto/List"
+ print DEP[pkg] > "auto/" pkg ".deps"
+ print SHORT[pkg] > "auto/" pkg ".short"
+ print LONG[pkg] > "auto/" pkg ".long"
+ print strip(INST[pkg]) > "auto/" pkg ".files"
+ }
+
+ # generate the html
+ print "" > html
+ print "
" > html
+ print " Package summary and dependencies
" > html
+
+ print "" > html
+ print " package | depends on (packages)" > html
+ for(pkg in PKG)
+ print " |
---|
" pkg " | " DEP[pkg] > html
+ print " |
" > html
+
+ print " Package description and files
" > html
+ print "" > html
+ print " package | files | short | long" > html
+ for(pkg in PKG)
+ print " |
---|
" pkg " | " INST[pkg]" | " SHORT[pkg] " | " html_nl(LONG[pkg]) > html
+ print " |
" > html
+
+ print " ./configure arguments
" > html
+ print confline > html
+
+}
+
+' $deb/control ./control.extra *.install
+
Property changes on: work/OS/packaging/packages.sh
___________________________________________________________________
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property