r44814 - in /packages/ng-spice-rework/trunk/debian: changelog control patches/02_fix_tcl_examples.patch rules

gudjon-guest at users.alioth.debian.org gudjon-guest at users.alioth.debian.org
Thu May 17 06:52:01 UTC 2012


Author: gudjon-guest
Date: Thu May 17 06:51:59 2012
New Revision: 44814

URL: http://svn.debian.org/wsvn/debian-science/?sc=1&rev=44814
Log:
Add Break and Replaces on tclspice-dev
* Make tclspice examples executable

Modified:
    packages/ng-spice-rework/trunk/debian/changelog
    packages/ng-spice-rework/trunk/debian/control
    packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch
    packages/ng-spice-rework/trunk/debian/rules

Modified: packages/ng-spice-rework/trunk/debian/changelog
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/changelog?rev=44814&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/changelog (original)
+++ packages/ng-spice-rework/trunk/debian/changelog Thu May 17 06:51:59 2012
@@ -17,7 +17,9 @@
   * Make tcl examples executable
   * Add src/xspice/examples to ngspice examples
   * Remove tclspice-dev package and move content to tclspice
-  * Started making copyright file machine readable, not finished XXXXXXX
+    Add Break and Replaces on tclspice-dev
+  * Started making copyright file machine readable, not finished XXXXXXX 
+  * Make tclspice examples executable
 
  -- Gudjon I. Gudjonsson <gudjon at gudjon.org>  Wed, 16 May 2012 05:48:17 +0200
 

Modified: packages/ng-spice-rework/trunk/debian/control
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/control?rev=44814&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/control (original)
+++ packages/ng-spice-rework/trunk/debian/control Thu May 17 06:51:59 2012
@@ -29,6 +29,8 @@
 Package: tclspice
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends}, ngspice, blt, tcl8.4, tk8.4
+Replaces: tclspice-dev
+Breaks: tclspice-dev
 Description: NGspice library for Tcl
  TclSpice brings NGspice simulation engine into your Tcl-scripts.
  All spice directives are available as Tcl functions and it features

Modified: 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=44814&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch (original)
+++ packages/ng-spice-rework/trunk/debian/patches/02_fix_tcl_examples.patch Thu May 17 06:51:59 2012
@@ -1,7 +1,9 @@
 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
+Index: ngspice-24/examples/tclspice/tcl-testbench1/tcl-testbench1.tcl
+===================================================================
+--- ngspice-24.orig/examples/tclspice/tcl-testbench1/tcl-testbench1.tcl	2012-05-17 08:25:17.629265705 +0200
++++ ngspice-24/examples/tclspice/tcl-testbench1/tcl-testbench1.tcl	2012-05-17 08:25:23.484220306 +0200
 @@ -1,11 +1,11 @@
  #!/bin/sh
  # WishFix \
@@ -16,8 +18,10 @@
  
  # 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
+Index: ngspice-24/examples/tclspice/tcl-testbench2/tcl-testbench2.tcl
+===================================================================
+--- ngspice-24.orig/examples/tclspice/tcl-testbench2/tcl-testbench2.tcl	2012-05-17 08:25:17.629265705 +0200
++++ ngspice-24/examples/tclspice/tcl-testbench2/tcl-testbench2.tcl	2012-05-17 08:25:23.484220306 +0200
 @@ -1,10 +1,10 @@
  #!/bin/sh
  # WishFix \
@@ -31,8 +35,10 @@
  namespace import blt::*
  
  wm title . "Vector Test script"
---- a/examples/tclspice/tcl-testbench3/tcl-testbench3.tcl
-+++ b/examples/tclspice/tcl-testbench3/tcl-testbench3.tcl
+Index: ngspice-24/examples/tclspice/tcl-testbench3/tcl-testbench3.tcl
+===================================================================
+--- ngspice-24.orig/examples/tclspice/tcl-testbench3/tcl-testbench3.tcl	2012-05-17 08:25:17.629265705 +0200
++++ ngspice-24/examples/tclspice/tcl-testbench3/tcl-testbench3.tcl	2012-05-17 08:25:23.484220306 +0200
 @@ -1,10 +1,10 @@
  #!/bin/sh
  # WishFix \
@@ -46,16 +52,20 @@
  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
+Index: ngspice-24/examples/tclspice/tcl-testbench4/tcl-testbench4.tcl
+===================================================================
+--- ngspice-24.orig/examples/tclspice/tcl-testbench4/tcl-testbench4.tcl	2012-05-17 08:25:17.629265705 +0200
++++ ngspice-24/examples/tclspice/tcl-testbench4/tcl-testbench4.tcl	2012-05-17 08:25:23.484220306 +0200
 @@ -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
+Index: ngspice-24/examples/tclspice/tcl-testbench4/vspicechart.tcl
+===================================================================
+--- ngspice-24.orig/examples/tclspice/tcl-testbench4/vspicechart.tcl	2012-05-17 08:25:17.629265705 +0200
++++ ngspice-24/examples/tclspice/tcl-testbench4/vspicechart.tcl	2012-05-17 08:27:46.853892007 +0200
 @@ -7,7 +7,7 @@
  
  
@@ -65,8 +75,19 @@
  
  source selectfromlist.tcl
  source bltGraph.tcl
---- a/examples/tclspice/tcl/test_vectoblt.tcl
-+++ b/examples/tclspice/tcl/test_vectoblt.tcl
+@@ -215,7 +215,7 @@
+ 
+ 
+ .f2.chart grid configure -hide no 
+-Blt_ZoomStack .f2.chart
++#Blt_ZoomStack .f2.chart
+ Blt_Crosshairs .f2.chart
+ Blt_ClosestPoint .f2.chart
+ Blt_PrintKey .f2.chart
+Index: ngspice-24/examples/tclspice/tcl/test_vectoblt.tcl
+===================================================================
+--- ngspice-24.orig/examples/tclspice/tcl/test_vectoblt.tcl	2012-05-17 08:25:17.629265705 +0200
++++ ngspice-24/examples/tclspice/tcl/test_vectoblt.tcl	2012-05-17 08:25:23.488222327 +0200
 @@ -1,10 +1,10 @@
  #!/bin/sh
  # WishFix \

Modified: packages/ng-spice-rework/trunk/debian/rules
URL: http://svn.debian.org/wsvn/debian-science/packages/ng-spice-rework/trunk/debian/rules?rev=44814&op=diff
==============================================================================
--- packages/ng-spice-rework/trunk/debian/rules (original)
+++ packages/ng-spice-rework/trunk/debian/rules Thu May 17 06:51:59 2012
@@ -116,7 +116,9 @@
 		$(CURDIR)/debian/tmp/usr/share/doc/ngspice-doc/ngspice.ps
 	# Removing /usr/share/info directory
 	rm -rf $(CURDIR)/debian/tmp/usr/share/info
-	chmod a+x $(CURDIR)/build/tclspice/examples/tclspice/examples/*/*.tcl
+	chmod a+x $(CURDIR)/build/tclspice/examples/tclspice/tcl-testbench*/tcl-testbench*.tcl \
+		$(CURDIR)/build/tclspice/examples/tclspice/tcl/test_vectoblt.tcl
+	chmod a+x $(CURDIR)/build/tclspice/examples/tclspice/*/*.tcl
 	mkdir -p build/ngspice/examples/xspice1/
 	cp -a src/xspice/examples/* build/ngspice/examples/xspice1/
 	find build/ngspice/examples/xspice1/ -type f -exec chmod a-x {} \;
@@ -168,7 +170,7 @@
 	wget -q http://sourceforge.net/projects/ngspice/files/ng-spice-rework/$$VER/ngspice-$$VER.tar.gz; \
 	tar xzf ngspice-$$VER.tar.gz --exclude=CVS --exclude=xgraph; \
 	rm -f ngspice-$$VER/config.sub ;\
- 	rm -f ngspice-$$VER/config.guess ;\
+	rm -f ngspice-$$VER/config.guess ;\
 	tar czf ngspice_$$VER.orig.tar.gz ngspice-$$VER; \
 	rm -f ngspice-$$VER.tar.gz; \
 	rm -rf ngspice-$$VER; \




More information about the debian-science-commits mailing list