r44733 - /packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Mon Apr 23 10:31:06 UTC 2012


Author: gudjon-guest
Date: Mon Apr 23 10:31:06 2012
New Revision: 44733

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44733
Log:
Add 02_fix_tcl_examples.patch

Added:
    packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch

Added: packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch?rev=44733&op=file
==============================================================================
--- packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch (added)
+++ packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch Mon Apr 23 10:31:06 2012
@@ -1,0 +1,82 @@
+Change wish to wish8.4, other wish shells don't work.
+Change search path of libspice.so to /usr/lib/tcltk/
+--- a/examples/tclspice/tcl-testbench1/tcl-testbench1.tcl
++++ b/examples/tclspice/tcl-testbench1/tcl-testbench1.tcl
+@@ -1,11 +1,11 @@
+ #!/bin/sh
+ # WishFix \
+-        exec wish -f "$0" ${1+"$@"}
++        exec wish8.4 -f "$0" ${1+"$@"}
+ 	###
+ 
+ # old name:  analyse-20070504-0.tcl
+ package require BLT
+-load ../../../src/.libs/libspice.so
++load /usr/lib/tcltk/libspice.so
+ 
+ # Test of virtual capacitore circuit
+ # Vary the control voltage and log the resulting capacitance
+--- a/examples/tclspice/tcl-testbench2/tcl-testbench2.tcl
++++ b/examples/tclspice/tcl-testbench2/tcl-testbench2.tcl
+@@ -1,10 +1,10 @@
+ #!/bin/sh
+ # WishFix \
+-	exec wish -f "$0" ${1+"$@"}
++	exec wish8.4 -f "$0" ${1+"$@"}
+ ###
+ 
+ package require BLT
+-load ../../../src/.libs/libspice.so
++load /usr/lib/tcltk/libspice.so
+ namespace import blt::*
+ 
+ wm title . "Vector Test script"
+--- a/examples/tclspice/tcl-testbench3/tcl-testbench3.tcl
++++ b/examples/tclspice/tcl-testbench3/tcl-testbench3.tcl
+@@ -1,10 +1,10 @@
+ #!/bin/sh
+ # WishFix \
+-        exec wish -f "$0" ${1+"$@"}
++        exec wish8.4 -f "$0" ${1+"$@"}
+ 	###
+ 
+ package require BLT
+-load ../../../src/.libs/libspice.so
++load /usr/lib/tcltk/libspice.so
+ source differentiate.tcl
+ spice::codemodel ../../../src/xspice/icm/spice2poly/spice2poly.cm 
+ proc temperatures_calc {temp_inf temp_sup points} {
+--- a/examples/tclspice/tcl-testbench4/tcl-testbench4.tcl
++++ b/examples/tclspice/tcl-testbench4/tcl-testbench4.tcl
+@@ -1,4 +1,4 @@
+ #!/bin/sh
+ # WishFix \
+-	exec wish vspicechart.tcl example.cir
++	exec wish8.4 vspicechart.tcl example.cir
+ ###
+--- a/examples/tclspice/tcl-testbench4/vspicechart.tcl
++++ b/examples/tclspice/tcl-testbench4/vspicechart.tcl
+@@ -7,7 +7,7 @@
+ 
+ 
+ package require BLT
+-load "../../../src/.libs/libspice.so"
++load "/usr/lib/tcltk/libspice.so"
+ 
+ source selectfromlist.tcl
+ source bltGraph.tcl
+--- a/examples/tclspice/tcl/test_vectoblt.tcl
++++ b/examples/tclspice/tcl/test_vectoblt.tcl
+@@ -1,10 +1,10 @@
+ #!/bin/sh
+ # WishFix \
+-        exec wish -f "$0" ${1+"$@"}
++        exec wish8.4 -f "$0" ${1+"$@"}
+         ###
+ 
+ package require BLT
+-load ../../../src/.libs/libspice.so
++load /usr/lib/tcltk/libspice.so
+ 
+ spice::source "diffpair.cir"
+ spice::op




More information about the debian-science-commits mailing list