[Pkg-octave-commit] rev 60 - tags/packages trunk/packages trunk/packages/semidef-oct trunk/packages/semidef-oct/debian

Rafael Laboissiere rafael@costa.debian.org
Sun, 13 Feb 2005 19:30:20 +0100


Author: rafael
Date: 2005-02-13 19:30:19 +0100 (Sun, 13 Feb 2005)
New Revision: 60

Added:
   tags/packages/semidef-oct/
   trunk/packages/semidef-oct/
   trunk/packages/semidef-oct/debian/
   trunk/packages/semidef-oct/debian/Makefile
   trunk/packages/semidef-oct/debian/README.Debian
   trunk/packages/semidef-oct/debian/changelog
   trunk/packages/semidef-oct/debian/control
   trunk/packages/semidef-oct/debian/copyright
   trunk/packages/semidef-oct/debian/patch_g++-3.0
   trunk/packages/semidef-oct/debian/patch_g++-3.3
   trunk/packages/semidef-oct/debian/prompt.m
   trunk/packages/semidef-oct/debian/rules
   trunk/packages/semidef-oct/debian/run_cmd.m
   trunk/packages/semidef-oct/debian/watch
Log:
Initial import of semidef-oct package


Added: trunk/packages/semidef-oct/debian/Makefile
===================================================================
--- trunk/packages/semidef-oct/debian/Makefile	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/Makefile	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,37 @@
+#! /usr/bin/make -f
+# Makefile for the Debian/GNU Linux octave-sp package
+# Derived from the Makefile that comes with semidef-oct
+# Copyright (C) 1998 by Dirk Eddelbuettel <edd@debian.org>
+
+%.oct : %.cc 
+	CXXFLAGS=-Wno-deprecated mkoctfile $<
+
+%.o : %.cc 
+	CXXFLAGS=-Wno-deprecated mkoctfile $< 
+	rm -f $*.oct
+
+OCT_FILES = sp.oct 
+
+# original set
+#SP_DEP= sp.cc get_matrix.o get_real_scalar.o get_vector.o sp_src.c \
+#	dgels.f    dopgtr.f   dspgv.f    dsptrd.f   dtrsv.f    lse.f \
+#	dlansp.f   dpptrf.f   dspmv.f    dtpmv.f    lce.f      xerbla.f \
+#	dlantr.f   dspev.f    dspr.f     dtpsv.f    lde.f \
+#	dlatrs.f   dspgst.f   dspr2.f    dtrcon.f   lsame.f
+
+# pruned by three files found in Octave's libcruftoriginal set
+SP_DEP= sp.cc get_matrix.o get_real_scalar.o get_vector.o sp_src.c \
+	dgels.f    dopgtr.f   dspgv.f    dsptrd.f   lse.f \
+	dlansp.f   dpptrf.f   dspmv.f    dtpmv.f    lce.f \
+	dlantr.f   dspev.f    dspr.f     dtpsv.f    lde.f \
+	dlatrs.f   dspgst.f   dspr2.f    dtrcon.f   
+
+octver := $(shell octave-config -v)
+octlib  := /usr/lib/octave-$(octver)
+SP_LIB = -L$(octlib) -lcruft 
+
+sp.oct: $(SP_DEP) 
+	CXXFLAGS=-Wno-deprecated mkoctfile $(SP_DEP) $(SP_LIB)
+
+clean:
+	rm -f *.o *.oct *.a *.so *.so.1 core octave-core

Added: trunk/packages/semidef-oct/debian/README.Debian
===================================================================
--- trunk/packages/semidef-oct/debian/README.Debian	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/README.Debian	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,12 @@
+
+The octave-sp package comes with a little demo that can be started as
+	demosp
+from within Octave. 
+
+More documentation is provide in the two included PostScript files. Further
+pointers are on the homepages of Stephen Boyd and Lieven Vandenberghe at
+	http://www.stanford.edu/~boyd/group_index.html
+	http://www.ee.ucla.edu/people/vandenbe/
+
+Dirk Eddelbuettel <edd@debian.org>  Sun,  4 Oct 1998 16:17:47 -0400
+

Added: trunk/packages/semidef-oct/debian/changelog
===================================================================
--- trunk/packages/semidef-oct/debian/changelog	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/changelog	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,226 @@
+semidef-oct (1:2.2-23) unstable; urgency=low
+
+  * Rebuilt with octave 2.1.64
+  * debian/control: Build-Depends and Depends updated accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  4 Dec 2004 10:43:04 -0600
+
+semidef-oct (1:2.2-22) unstable; urgency=low
+
+  * Rebuilt with octave 2.1.63 
+  * debian/control: Build-Depends and Depends updated accordingly
+  * debian/control: Added Rafael as Uploaders:
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 17 Nov 2004 21:27:09 -0600
+
+semidef-oct (1:2.2-21) unstable; urgency=low
+
+  * Rebuilt with octave 2.1.62
+  * debian/control: Build-Depends and Depends updated accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 13 Nov 2004 12:03:51 -0600
+
+semidef-oct (1:2.2-20) unstable; urgency=low
+
+  * Rebuilt with octave 2.1.61
+  * debian/control: Build-Depends and Depends updated accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  6 Nov 2004 09:23:15 -0600
+
+semidef-oct (1:2.2-19) unstable; urgency=low
+
+  * Rebuilt with octave 2.1.60
+  * debian/control: Build-Depends and Depends updated accordingly
+  * debian/watch: Added watch file
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat, 25 Sep 2004 11:55:56 -0500
+
+semidef-oct (1:2.2-18) unstable; urgency=low
+
+  * Rebuilt with octave 2.1.59
+  * debian/control: Build-Depends and Depends updated accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 22 Sep 2004 16:38:21 -0500
+
+semidef-oct (1:2.2-17) unstable; urgency=low
+
+  * Rebuilt with Octave 2.1.58 
+  * debian/control: Updated Build-Depends to octave2.1-headers (>= 2.1.58)
+  * debian/control: Adopted the tighter Depends: line we use for octave-forge
+    and which is inspired by what the Python packages do: 
+      Depends: octave2.1 (>= 2.1.58), octave2.1 (<< 2.1.59
+    So as long as an upgrade breaks the package, we prevent the upgrade.
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  5 Sep 2004 13:39:36 -0500
+
+semidef-oct (1:2.2-16) unstable; urgency=low
+
+  * Rebuilt with Octave 2.1.57 (Closes: #267559)
+  * debian/control: Increased Standards-Version to 3.6.1.1
+  * debian/control: Removed build-essential g++ from Build-Depends
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 23 Aug 2004 20:17:43 -0500
+
+semidef-oct (1:2.2-15) unstable; urgency=low
+
+  * Rebuilt with Octave 2.1.55
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 26 Feb 2004 20:31:04 -0600
+
+semidef-oct (1:2.2-14) unstable; urgency=low
+
+  * debian/control: For m68k, switch from f2c to fort77 (Closes: #199655)
+  * debian/control: Thus Build-Depends: on octave2.1 (>> 2.1.50-1)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  5 Jul 2003 09:13:08 -0500
+
+semidef-oct (1:2.2-13) unstable; urgency=low
+
+  * Applied patch by John Eaton to enable use of g++-3.3 (Closes: #199230)
+  * Rebuilt using octave 2.1.50 
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  1 Jul 2003 20:18:57 -0500
+
+semidef-oct (1:2.2-12) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.48 released today
+  * debian/control: Build-Depends on octave2.1 (>= 2.1.48)
+  * debian/Makefile: Added CXXFLAGS=-Wno-deprecated, code needs porting
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  6 May 2003 16:20:12 -0500
+
+semidef-oct (1:2.2-11) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.47 released yesterday
+  * debian/control: Depends on octave2.1 (>= 2.1.47)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  2 May 2003 23:32:35 -0500
+
+semidef-oct (1:2.2-10) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.46 released yesterday
+  * debian/control: Depends on octave2.1 (= 2.1.46)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  4 Mar 2003 19:53:05 -0600
+
+semidef-oct (1:2.2-9) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.45
+  * debian/control: Depends on octave2.1 (>= 2.1.45)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 19 Feb 2003 21:08:51 -0600
+
+semidef-oct (1:2.2-8) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.44
+  * debian/control: Depends on octave2.1 (>= 2.1.44)
+  * debian/control: Build-Depends on gcc/g77/g++ (>= 3.2.2)
+  * debian/rules: Adjusted accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon,  3 Feb 2003 20:23:02 -0600
+
+semidef-oct (1:2.2-7) unstable; urgency=low
+
+  * debian/control: Softer Depends on octave2.1 (>= 2.1.40) (Closes: #170519)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 25 Nov 2002 18:35:03 -0600
+
+semidef-oct (1:2.2-6) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.40
+  * debian/control: Depends on octave2.1 (= 2.1.40)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 20 Nov 2002 21:17:09 -0600
+
+semidef-oct (1:2.2-5) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.39
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri,  1 Nov 2002 18:53:00 -0600
+
+semidef-oct (1:2.2-4) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.38
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 29 Oct 2002 21:45:02 -0600
+
+semidef-oct (1:2.2-3) unstable; urgency=low
+
+  * Rebuilt using octave 2.1.37
+  * debian/control: m68k no longer requires f2c as g77 works again, so
+    adjusted Build-Depends accordingly (Closes: #161795)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 25 Oct 2002 22:43:08 -0500
+
+semidef-oct (1:2.2-2) unstable; urgency=low
+
+  * Recompiled under octave2.1_2.1.36
+  * debian/control: Build-Conflicts with octave2.0-headers (octave-config)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sat,  4 May 2002 19:14:22 -0500
+
+semidef-oct (1:2.2-1) unstable; urgency=low
+
+  * Upgraded to new upstream version (including the Debian patch)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Fri, 23 Nov 2001 12:49:16 -0600
+
+semidef-oct (2000.01.24-3) unstable; urgency=low
+
+  * Applied patch by James Troup to compile under g++-3.0 (Closes: #120514)
+  * debian/control: Added g++, g++-3.0 to Build-Depends
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Wed, 21 Nov 2001 21:56:57 -0600
+
+semidef-oct (2000.01.24-2) unstable; urgency=low
+
+  * debian/control: Added g77/g77-3.0/f2c to Build-Depends (Closes: #120288)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Mon, 19 Nov 2001 20:22:04 -0600
+
+semidef-oct (2000.01.24-1) unstable; urgency=low
+
+  * Upgraded to newer upstream version / port to support octave-2.1.* branch
+  * debian/control: Upgraded to Debian Policy 3.5.0
+  * debian/control: Added Build-Depends (Closes: #119460)
+  * debian/Makefile: Use octave-config to get Octave version
+  * debian/rules: Use octave-config to get site .oct dir
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue, 13 Nov 2001 20:16:44 -0600
+
+semidef-oct (1998.09-4) unstable; urgency=low
+
+  * debian/rules: Adapted to use /usr/share/ following the recommendation
+    on FHS transition from the Technical Committee 
+  * debian/rules: Test for debhelper >= 2.0.40 for FHS compliance
+  * debian/control: Upgraded to Debian Policy 3.0.1
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Thu, 21 Oct 1999 20:09:51 -0400
+
+semidef-oct (1998.09-3) unstable; urgency=low
+
+  * Recompiled under libc6_2.1.2-0pre7 and octave_2.0.14-2 (Closes: #43000)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun, 15 Aug 1999 20:59:25 -0400
+
+semidef-oct (1998.09-2) unstable; urgency=low
+
+  * (debian/control) Fixed typo (thanks, lintian!)
+  * (debian/rules) Install sp.oct stripped (thanks, lintian!)
+
+ -- Dirk Eddelbuettel <edd@debian.org>  Tue,  1 Jun 1999 20:42:40 -0400
+
+semidef-oct (1998.09-1) unstable; urgency=low
+
+  * Initial Debian release
+  * (SRC/sp.cc) Added #if defined(__linux__) to include sys/resource.h
+  * (SRC/sp.cc) Added '|| defined(__linux__) to two #if define statements
+  * (prompt.m, run_cmd.m) Added from the OCST sources by A.S. Hodel
+  * (SRC/Makefile) Changed to link against Octave's libcruft which 
+    contains three of the provided sourcefiles
+  
+ -- Dirk Eddelbuettel <edd@debian.org>  Sun,  4 Oct 1998 17:05:55 -0400
+
+
+
+

Added: trunk/packages/semidef-oct/debian/control
===================================================================
--- trunk/packages/semidef-oct/debian/control	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/control	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,16 @@
+Source: semidef-oct
+Section: math
+Priority: optional
+Maintainer: Dirk Eddelbuettel <edd@debian.org>
+Uploaders: Rafael Laboissiere <rafael@debian.org>
+Standards-Version: 3.6.1.1
+Build-Depends: octave2.1-headers (>= 2.1.64), g77 [!m68k], fort77 [m68k], debhelper (>= 3.0.0)
+Build-Conflicts: octave2.0-headers
+
+Package: octave-sp
+Architecture: any
+Depends: octave2.1 (>= 2.1.64), octave2.1 (<< 2.1.65), ${shlibs:Depends}
+Description: Semidefinite Programming functions for GNU Octave 
+ The octave-sp package provides functions for semidefinite programming. It
+ can be used to solve nonlinear, convex optimization problems. For an 
+ overview of the functionality, use 'demosp' from within Octave.

Added: trunk/packages/semidef-oct/debian/copyright
===================================================================
--- trunk/packages/semidef-oct/debian/copyright	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/copyright	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,31 @@
+
+This is the Debian GNU/Linux prepacked version of the octave-sp package.  It
+is based on semidef-oct which is itself a port to Octave by A. S. Hodel
+<a.s.hodel@eng.auburn.edu> of the semidef package by Lieven Vandenberghe
+<vandenbe@esat.kuleuven.ac.be> and Stephen Boyd <boyd@isl.stanford.edu>.
+
+This package was put together by Dirk Eddelbuettel <edd@debian.org> from the
+sources at 
+	ftp://ftp.eng.auburn.edu/pub/hodel/semidef-oct.tar.gz
+Also included were two Octave script files (run_cmd.m, prompt.m) from his 
+OCST package that is available as 
+	ftp://ftp.eng.auburn.edu/pub/hodel/OCST-980904.tar.gz 
+Some minor changes were made which are documented in the file
+	/usr/share/doc/octave-sp/changelog.Debian.gz.
+
+The semidef package contains the following statement in the file COPYRIGHT:
+
+    COPYRIGHT 1994 LIEVEN VANDENBERGHE AND STEPHEN BOYD
+    Permission to use, copy, modify, and distribute this software for 
+    any purpose without fee is hereby granted, provided that this entire 
+    notice is included in all copies of any software which is or includes
+    a copy or modification of this software and in all copies of the 
+    supporting documentation for such software.
+    This software is being provided "as is", without any express or 
+    implied warranty.  In particular, the authors do not make any
+    representation or warranty of any kind concerning the merchantability
+    of this software or its fitness for any particular purpose.
+
+The additional code by A. S. Hodel is released under the GNU GPL. On a 
+Debian GNU/Linux systems, the complete text of GNU General Public License 
+can be found in the file /usr/share/common-licenses/GPL.

Added: trunk/packages/semidef-oct/debian/patch_g++-3.0
===================================================================
--- trunk/packages/semidef-oct/debian/patch_g++-3.0	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/patch_g++-3.0	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,137 @@
+From: James Troup <james@nocrew.org>
+To: submit@bugs.debian.org
+Subject: Bug#120514: semidef-oct_2000.01.24-2(unstable/hppa): fails to compile with g++-3.0
+Date: 21 Nov 2001 17:05:19 +0000
+
+Package: semidef-oct
+Version: 2000.01.24-2
+Severity: important
+Tags: patch
+
+Patch appended to allow the package to compile with g++-3.0.
+
+| Automatic build of semidef-oct_2000.01.24-2 on sarti by sbuild/hppa 1.159
+| Build started at 20011121-1234
+| ******************************************************************************
+
+[...]
+
+| ** Using build dependencies supplied by package:
+| Build-Depends: octave2.1, octave2.1-headers, g77 [!m68k !ia64], g77-3.0 [ia64], gcc-3.0 [ia64], f2c [m68k], debhelper (>= 3.0.0)
+| **** Warning:
+| **** The following central src deps are (probably) missing:
+|   octave2.0-headers
+
+[...]
+
+| mkoctfile get_matrix.cc
+| In file included from get_matrix.cc:5:
+| ocst.h:31: parse error before `&' token
+
+A complete build log can be found at
+http://buildd.debian.org/build.php?arch=hppa&pkg=semidef-oct&ver=2000.01.24-2
+
+-- 
+James
+
+diff -ur semidef-oct-2000.01.24.old/SRC/get_matrix.cc semidef-oct-2000.01.24/SRC/get_matrix.cc
+--- semidef-oct-2000.01.24.old/SRC/get_matrix.cc	Fri Jan 21 17:32:58 2000
++++ semidef-oct-2000.01.24/SRC/get_matrix.cc	Wed Nov 21 16:57:06 2001
+@@ -6,6 +6,8 @@
+ 
+ //#define DEBUG
+ 
++using namespace std;
++
+ Matrix get_matrix(const octave_value& arg, const string& caller, 
+ 	int argnum, int& errflg)
+ {
+diff -ur semidef-oct-2000.01.24.old/SRC/get_real_scalar.cc semidef-oct-2000.01.24/SRC/get_real_scalar.cc
+--- semidef-oct-2000.01.24.old/SRC/get_real_scalar.cc	Fri Jan 14 19:59:09 2000
++++ semidef-oct-2000.01.24/SRC/get_real_scalar.cc	Wed Nov 21 16:58:27 2001
+@@ -7,6 +7,8 @@
+ //          1: nonnegative only
+ //          2: positive only
+ 
++using namespace std;
++
+ double get_real_scalar(const octave_value& arg, const string& caller,
+ 	int argnum, int signflg, int& errflg)
+ {
+diff -ur semidef-oct-2000.01.24.old/SRC/get_vector.cc semidef-oct-2000.01.24/SRC/get_vector.cc
+--- semidef-oct-2000.01.24.old/SRC/get_vector.cc	Fri Jan 21 17:33:02 2000
++++ semidef-oct-2000.01.24/SRC/get_vector.cc	Wed Nov 21 16:59:00 2001
+@@ -6,6 +6,8 @@
+ 
+ #include "ocst.h"
+ 
++using namespace std;
++
+ RowVector get_vector(const octave_value& arg, const string& caller, 
+ 	int argnum,int& errflg)
+ {
+diff -ur semidef-oct-2000.01.24.old/SRC/ocst.h semidef-oct-2000.01.24/SRC/ocst.h
+--- semidef-oct-2000.01.24.old/SRC/ocst.h	Fri Jan 14 19:59:10 2000
++++ semidef-oct-2000.01.24/SRC/ocst.h	Wed Nov 21 16:56:36 2001
+@@ -28,39 +28,39 @@
+ 
+ // OCST C++ callable functions
+ RowVector abcddim(const octave_value_list &);
+-string_vector& add_name(string_vector&, const string&, int);
++string_vector& add_name(string_vector&, const std::string&, int);
+ octave_value_list fir2sys(const octave_value_list&);
+-ComplexRowVector get_complex_vector(const octave_value&, const string&,
++ComplexRowVector get_complex_vector(const octave_value&, const std::string&,
+ 	int,int&);
+-octave_value get_key(const octave_value& arg, const string& caller, 
+-	const string& key, int argnum,int& errflg);
+-Matrix get_matrix(const octave_value&, const string&, int, int&);
++octave_value get_key(const octave_value& arg, const std::string& caller, 
++	const std::string& key, int argnum,int& errflg);
++Matrix get_matrix(const octave_value&, const std::string&, int, int&);
+ double 
+ get_real_scalar(const octave_value &, // usually args(idx)
+-	const string &,		      // calling routine name
++	const std::string &,	      // calling routine name
+ 	int,			      // argument number (usually idx+1)
+ 	int,			      // REAL, NONNEGATIVE or POSITIVE
+ 	int&);			      // error flag
+ 
+ inline double get_real_scalar(const octave_value& arg, 
+-	const string& name, int argnum, int& errflg)
++	const std::string& name, int argnum, int& errflg)
+ {
+   return get_real_scalar(arg,name,argnum,REAL,errflg); 
+ }
+ inline double get_nonnegative_real_scalar(const octave_value& arg, 
+-	const string& name, int argnum, int& errflg)
++	const std::string& name, int argnum, int& errflg)
+ {
+   return get_real_scalar(arg,name,argnum,NONNEGATIVE,errflg); 
+ }
+ inline double get_positive_real_scalar(const octave_value& arg, 
+-	const string& name, int argnum, int& errflg)
++	const std::string& name, int argnum, int& errflg)
+ {
+   return get_real_scalar(arg,name,argnum,POSITIVE,errflg); 
+ }
+ 
+-string get_string(const octave_value&, const string& , int, int&);
+-string_vector get_string_matrix(const octave_value&, const string&, int, int&);
+-RowVector  get_vector(const octave_value &, const string&, int, int&);
++std::string get_string(const octave_value&, const std::string& , int, int&);
++string_vector get_string_matrix(const octave_value&, const std::string&, int, int&);
++RowVector  get_vector(const octave_value &, const std::string&, int, int&);
+ bool is_digital(const octave_value_list&);
+ inline bool is_square(const octave_value& mat)
+ {
+@@ -80,7 +80,7 @@
+ 	double, const string_vector&, const string_vector&, double tsam=0);	//ZP
+ 
+ octave_value_list ss2sys(const octave_value_list&);
+-string_vector sysdefioname(int,const string&);
++string_vector sysdefioname(int,const std::string&);
+ string_vector sysdefstname(int,int);
+ octave_value_list sysout(const octave_value_list&);
+ octave_value_list tf2sys(const octave_value_list&);
+

Added: trunk/packages/semidef-oct/debian/patch_g++-3.3
===================================================================
--- trunk/packages/semidef-oct/debian/patch_g++-3.3	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/patch_g++-3.3	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,543 @@
+Date: Tue, 01 Jul 2003 19:49:38 -0500
+From: "John W. Eaton" <jwe@bevo.che.wisc.edu>
+To: Dirk Eddelbuettel <edd@debian.org>
+Subject: Help needed for semidef-oct and g++ 3.3
+
+On 30-Jun-2003, Dirk Eddelbuettel <edd@debian.org> wrote:
+
+| Seriously, help would be greatly appreciated.
+
+The attached patch is the set of changes I would make as a first pass
+to get it to compile cleanly with a modern C++ compiler.
+
+jwe
+
+diff -uNr semidef-oct-2.2.orig/SRC/get_matrix.cc semidef-oct-2.2/SRC/get_matrix.cc
+--- semidef-oct-2.2.orig/SRC/get_matrix.cc	2001-11-23 10:20:43.000000000 -0600
++++ semidef-oct-2.2/SRC/get_matrix.cc	2003-07-01 19:32:59.000000000 -0500
+@@ -6,9 +6,7 @@
+ 
+ //#define DEBUG
+ 
+-using namespace std;
+-
+-Matrix get_matrix(const octave_value& arg, const string& caller, 
++Matrix get_matrix(const octave_value& arg, const std::string& caller, 
+ 	int argnum, int& errflg)
+ {
+   Matrix retval(0,0);
+@@ -19,10 +17,8 @@
+   if( !( arg.is_numeric_type() 
+ 	&& (arg.is_matrix_type() || arg.is_scalar_type ())) )
+   {
+-    ostrstream errmesg;
+-    errmesg << caller << "expecting real matrix for argument" 
+-	<< argnum << ends;
+-    error(errmesg.str());
++    error("%s: expecting real matrix for argument number %d",
++	  caller.c_str (), argnum);
+     errflg = 1;
+     return retval;
+   }
+@@ -30,8 +26,8 @@
+   {
+     retval = arg.matrix_value();
+     #ifdef DEBUG
+-    cout << "get_matrix: returning with dimensions " 
+-	<< retval.rows() << "x" << retval.columns() << endl;
++    std::cout << "get_matrix: returning with dimensions " 
++	<< retval.rows() << "x" << retval.columns() << std::endl;
+     #endif
+     return retval;
+   }
+diff -uNr semidef-oct-2.2.orig/SRC/get_real_scalar.cc semidef-oct-2.2/SRC/get_real_scalar.cc
+--- semidef-oct-2.2.orig/SRC/get_real_scalar.cc	2001-11-23 10:20:44.000000000 -0600
++++ semidef-oct-2.2/SRC/get_real_scalar.cc	2003-07-01 19:41:00.000000000 -0500
+@@ -7,19 +7,15 @@
+ //          1: nonnegative only
+ //          2: positive only
+ 
+-using namespace std;
+-
+-double get_real_scalar(const octave_value& arg, const string& caller,
++double get_real_scalar(const octave_value& arg, const std::string& caller,
+ 	int argnum, int signflg, int& errflg)
+ {
+   double retval = 0;
+-  ostrstream errmesg;
+   
+   if ( !( arg.is_real_type() && arg.is_scalar_type() ) )
+   {
+-    errmesg << caller  << "argument " << argnum 
+-	<< " must be a real scalar" << ends;
+-    error(errmesg.str());
++    error("%s: argument number %d must be a real scalar",
++	  caller.c_str (), argnum);
+     errflg = 1;
+     return retval;
+   }
+@@ -29,20 +25,16 @@
+   case NONNEGATIVE:		// nonnegative
+     if ( retval < 0 )
+     {
+-      errmesg << caller  << "argument " << argnum
+-	<< " = " << retval 
+-        << " must be a nonnegative real scalar" << ends;
+-      error(errmesg.str());
++      error("%s: argument number %d (= %g) must be a nonnegative real scalar",
++	    caller.c_str (), argnum, retval);
+       errflg = 1;
+     }
+     break;
+   case POSITIVE:
+     if ( retval <= 0 )
+     {
+-      errmesg << caller  << "argument " << argnum
+-	<< " = " << retval 
+-        << " must be a positive real scalar" << ends;
+-      error(errmesg.str());
++      error("%s: argument number %d (= %g) must be a positive real scalar",
++	    caller.c_str (), argnum, retval);
+       errflg = 1;
+     }
+   }
+diff -uNr semidef-oct-2.2.orig/SRC/get_vector.cc semidef-oct-2.2/SRC/get_vector.cc
+--- semidef-oct-2.2.orig/SRC/get_vector.cc	2001-11-23 10:20:44.000000000 -0600
++++ semidef-oct-2.2/SRC/get_vector.cc	2003-07-01 19:32:54.000000000 -0500
+@@ -7,18 +7,15 @@
+ 
+ #include "ocst.h"
+ 
+-using namespace std;
+-
+-RowVector get_vector(const octave_value& arg, const string& caller, 
++RowVector get_vector(const octave_value& arg, const std::string& caller, 
+ 	int argnum,int& errflg)
+ {
+ 
+   #ifdef DEBUG
+-  cout << "get_vector: entry from " << caller << " argument " 
+-       << argnum << ", errflg=" << errflg << endl;
++  std::cout << "get_vector: entry from " << caller << " argument " 
++       << argnum << ", errflg=" << errflg << std::endl;
+   #endif
+   RowVector retval(0);
+-  ostrstream errmesg;
+ 
+   if(arg.is_empty() )
+     return retval;
+@@ -32,29 +29,25 @@
+     )
+   )
+   {
+-    errmesg << caller << "expecting real vector for argument " 
+-	<< argnum << ends;
+-    error(errmesg.str());
++    error("%s: expecting real vector for argument", caller.c_str ());
+     errflg = 1;
+     return retval;
+   }
+   else if( ! ( (arg.rows() == 1) || (arg.columns() == 1) ) )
+   {
+-    errmesg << caller << "argument " << argnum << " (" 
+-	<< arg.rows() << "x" << arg.columns() << ") must be a vector" 
+-	<< ends;
+-    error(errmesg.str());
++    error("%s: argument number %d (%dx%d) must be a vector",
++	  caller.c_str (), arg.rows (), arg.columns ());
+     errflg = 1;
+     return retval;
+   }
+   else 
+   {
+     #ifdef DEBUG
+-    cout << "get_vector: normal return. Vector is" 
+-	<< arg.rows() << "x" << arg.columns()  << endl;
++    std::cout << "get_vector: normal return. Vector is" 
++	<< arg.rows() << "x" << arg.columns()  << std::endl;
+     #ifdef DEBUG_DETAILS
+-    cout << "get_vector: Vector value="
+-	<< RowVector(arg.vector_value()) << endl;
++    std::cout << "get_vector: Vector value="
++	<< RowVector(arg.vector_value()) << std::endl;
+     #endif
+     #endif
+     return retval = RowVector(arg.vector_value());
+diff -uNr semidef-oct-2.2.orig/SRC/sp.cc semidef-oct-2.2/SRC/sp.cc
+--- semidef-oct-2.2.orig/SRC/sp.cc	2001-11-23 10:20:49.000000000 -0600
++++ semidef-oct-2.2/SRC/sp.cc	2003-07-01 19:32:51.000000000 -0500
+@@ -10,10 +10,9 @@
+ #define BOUNDS_CHECKING 1
+ 
+ #include <octave/config.h>
+-#include <iostream.h>
+-#include <math.h>
+-#include <string.h>
+-#include <strstream.h>
++#include <iostream>
++#include <cmath>
++#include <string>
+ #include <utils.h>
+ 
+ #if defined(__linux__)
+@@ -122,11 +121,11 @@
+   
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: FF = " << FF.rows() << " x " << FF.columns() << endl;
++  std::cout << "sp: FF = " << FF.rows() << " x " << FF.columns() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "sp: FF = " << endl;
+-  octave_print_internal(cout,FF,0);
+-  cout << endl;
++  std::cout << "sp: FF = " << std::endl;
++  octave_print_internal(std::cout,FF,0);
++  std::cout << std::endl;
+   #endif
+   #endif
+   #endif
+@@ -136,11 +135,11 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: dblksiz = " << dblksiz.length() << endl;
++  std::cout << "sp: dblksiz = " << dblksiz.length() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "sp: dblksiz = " << endl;
+-  octave_print_internal(cout, (Matrix) dblksiz,0);
+-  cout << endl;
++  std::cout << "sp: dblksiz = " << std::endl;
++  octave_print_internal(std::cout, (Matrix) dblksiz,0);
++  std::cout << std::endl;
+   #endif
+   #endif
+   #endif
+@@ -150,11 +149,11 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: cc = " << cc.length() << endl;
++  std::cout << "sp: cc = " << cc.length() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "sp: cc = " << endl;
+-  octave_print_internal(cout, (Matrix) cc,0);
+-  cout << endl;
++  std::cout << "sp: cc = " << std::endl;
++  octave_print_internal(std::cout, (Matrix) cc,0);
++  std::cout << std::endl;
+   #endif
+   #endif
+   #endif
+@@ -164,11 +163,11 @@
+   
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: x0 = " << x0.length() << endl;
++  std::cout << "sp: x0 = " << x0.length() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "sp: x0 = " << endl;
+-  octave_print_internal(cout,(Matrix) x0, 0);
+-  cout << endl;
++  std::cout << "sp: x0 = " << std::endl;
++  octave_print_internal(std::cout,(Matrix) x0, 0);
++  std::cout << std::endl;
+   #endif
+   #endif
+   #endif
+@@ -178,11 +177,11 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: Z0 = " << Z0.length() << endl;
++  std::cout << "sp: Z0 = " << Z0.length() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "sp: Z0 = " << endl;
+-  octave_print_internal(cout,(Matrix) Z0, 0);
+-  cout << endl;
++  std::cout << "sp: Z0 = " << std::endl;
++  octave_print_internal(std::cout,(Matrix) Z0, 0);
++  std::cout << std::endl;
+   #endif
+   #endif
+   #endif
+@@ -198,7 +197,7 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: nu = " << nu << endl;
++  std::cout << "sp: nu = " << nu << std::endl;
+   #endif
+   #endif
+ 
+@@ -207,7 +206,7 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: abstol = " << abstol << endl;
++  std::cout << "sp: abstol = " << abstol << std::endl;
+   #endif
+   #endif
+ 
+@@ -216,7 +215,7 @@
+   if(errflg) return retval;
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: reltol = " << reltol << endl;
++  std::cout << "sp: reltol = " << reltol << std::endl;
+   #endif
+   #endif
+ 
+@@ -225,7 +224,7 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: tv = " << tv <<endl;
++  std::cout << "sp: tv = " << tv <<std::endl;
+   #endif
+   #endif
+ 
+@@ -233,7 +232,7 @@
+   if(errflg) return retval;
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: maxiters = " << maxiters << endl;
++  std::cout << "sp: maxiters = " << maxiters << std::endl;
+   #endif
+   #endif
+ 
+@@ -248,7 +247,7 @@
+ 
+      #ifdef DEBUG
+      #ifdef DEBUG_INPUT_PARAMETERS
+-     cout << "sp: blksiz(" << ii << ") = " << blksiz(ii) << endl;
++     std::cout << "sp: blksiz(" << ii << ") = " << blksiz(ii) << std::endl;
+      fflush(stdout);
+      #endif
+      #endif
+@@ -267,7 +266,7 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: Fn=" << Fn << ", Fm=" << Fm << ", Fm1 =" << Fm1 << endl;
++  std::cout << "sp: Fn=" << Fn << ", Fm=" << Fm << ", Fm1 =" << Fm1 << std::endl;
+   #endif
+   #endif
+  
+@@ -298,10 +297,10 @@
+ 
+   #ifdef DEBUG
+   #ifdef DEBUG_INPUT_PARAMETERS
+-  cout << "sp: nn = " << nn << endl;
+-  cout << "sp: packed_size = " << packed_size << endl;
+-  cout << "sp: unpacked_size = " << unpacked_size << endl;
+-  cout << "sp: max_n = " << max_n << endl;
++  std::cout << "sp: nn = " << nn << std::endl;
++  std::cout << "sp: packed_size = " << packed_size << std::endl;
++  std::cout << "sp: unpacked_size = " << unpacked_size << std::endl;
++  std::cout << "sp: max_n = " << max_n << std::endl;
+   #endif
+   #endif
+ 
+@@ -335,9 +334,9 @@
+   for(ii = 0 ; ii < packed_size ; ii++)
+     for(kk = 0 ; kk < Fm ; kk++)
+       FF_packed(ii,kk) = -100*ii - kk - 101;
+-  cout << "initial FF_Packed:" << endl;
+-  octave_print_internal(cout,FF_packed,0);
+-  cout << endl;
++  std::cout << "initial FF_Packed:" << std::endl;
++  octave_print_internal(std::cout,FF_packed,0);
++  std::cout << std::endl;
+   #endif
+   #endif
+ 
+@@ -362,10 +361,10 @@
+         ZZ_packed(pidx+kk) = Z0(uidx+kk+colnum);
+         #ifdef DEBUG
+         #ifdef DEBUG_DETAILS
+-        cout << "block " << blknum << ", column " << colnum << "entry "
+-		<< kk << ", FF_packed=" << endl;
+-        octave_print_internal(cout,FF_packed,0);
+-        cout << endl;
++        std::cout << "block " << blknum << ", column " << colnum << "entry "
++		<< kk << ", FF_packed=" << std::endl;
++        octave_print_internal(std::cout,FF_packed,0);
++        std::cout << std::endl;
+         #endif
+         #endif
+       }
+@@ -419,24 +418,24 @@
+   #endif
+ 
+   #ifdef DEBUG
+-  cout << "sp(cc): utime = " << utime << ", stime = " << stime << endl;
++  std::cout << "sp(cc): utime = " << utime << ", stime = " << stime << std::endl;
+   #endif
+ 
+   // sp
+   ColumnVector xx = x0;
+   int info;
+   #ifdef DEBUG
+-  cout << "calling sp:" << endl;
+-  cout << "Fm1=" << Fm1 << endl
+-	<< "# blocks = " << blksiz.length() << endl;
++  std::cout << "calling sp:" << std::endl;
++  std::cout << "Fm1=" << Fm1 << std::endl
++	<< "# blocks = " << blksiz.length() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "Packed FF =" << endl;
+-  octave_print_internal(cout,FF_packed,0);
+-  cout <<  endl
++  std::cout << "Packed FF =" << std::endl;
++  octave_print_internal(std::cout,FF_packed,0);
++  std::cout <<  std::endl
+ 	<< "blocksizes=";
+   for(ii = 0 ; ii < blksiz.length() ; ii++)
+-    cout << " " << blksiz(ii) ;
+-  cout << endl;
++    std::cout << " " << blksiz(ii) ;
++  std::cout << std::endl;
+   #endif
+   #endif
+   int info3 = sp(Fm1, blksiz.length(), FF_packed.fortran_vec(),
+@@ -445,7 +444,7 @@
+ 	nu, abstol, reltol, tv, &maxiters, work.fortran_vec(), lwork, 
+ 	iwork.fortran_vec(), &info);
+   #ifdef DEBUG
+-  cout << "back from sp: info=" << info << ", info3=" << info3 << endl;
++  std::cout << "back from sp: info=" << info << ", info3=" << info3 << std::endl;
+   #endif
+ 
+   // update utime, stime
+@@ -461,7 +460,7 @@
+   stime += (double) stats.tms_stime/CLK_TCK;
+   #endif
+   #ifdef DEBUG
+-  cout << "sp(cc): utime = " << utime << ", stime = " << stime << endl;
++  std::cout << "sp(cc): utime = " << utime << ", stime = " << stime << std::endl;
+   #endif
+ 
+   //
+@@ -493,93 +492,92 @@
+   }
+ 
+   // information string output
+-  ostrstream infostr;
++  const char *infostr;
+   switch (info) 
+   {
+   case 1:
+-    infostr << "maxiters exceeded";
++    infostr = "maxiters exceeded";
+     break;
+-  case 2:  infostr << "absolute tolerance reached";
++  case 2:  infostr = "absolute tolerance reached";
+            break;
+   case 3:
+-    infostr << "relative tolerance reached";
++    infostr = "relative tolerance reached";
+     break;
+   case 4:
+-    infostr << "target value reached";
++    infostr = "target value reached";
+     break;
+   case 5:
+-     infostr << "target value unachievable";
++     infostr = "target value unachievable";
+      break;
+   default:
+     #ifdef DEBUG
+-    cout << "info switch: info = " << info << endl;
++    std::cout << "info switch: info = " << info << std::endl;
+     #endif
+-    infostr << "error occurred in sp"; 
++    infostr = "error occurred in sp"; 
+   }
+-  infostr << ends;
+ 
+   // time
+   ColumnVector time_data(3);
+   time_data(0) = utime;
+   time_data(1) = stime;
+   time_data(2) = (double) maxiters;
+-  if (info3) error("Error in sp: %s", infostr.str());
++  if (info3) error("Error in sp: %s", infostr);
+ 
+   retval(0) = xx;
+   #ifdef DEBUG
+-  cout << "retval(0) = xx= length " << xx.length() << endl;
++  std::cout << "retval(0) = xx= length " << xx.length() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "retval(0) = xx=" << xx << endl;
++  std::cout << "retval(0) = xx=" << xx << std::endl;
+   #endif
+   #endif
+ 
+   retval(1) = ZZ;
+   #ifdef DEBUG
+-  cout << "retval(0) = retval(1)= length " << retval(1).length() << endl;
++  std::cout << "retval(0) = retval(1)= length " << retval(1).length() << std::endl;
+   #ifdef DEBUG_DETAILS
+-  cout << "retval(1) = ZZ = " << endl;
+-  octave_print_internal(cout, retval(1).matrix_value() , 0);
+-  cout << endl;
++  std::cout << "retval(1) = ZZ = " << std::endl;
++  octave_print_internal(std::cout, retval(1).matrix_value() , 0);
++  std::cout << std::endl;
+   #endif
+   #endif
+ 
+   #ifdef DEBUG
+-  cout << "sp: upper_limit =" << endl;
+-  octave_print_internal(cout, (Matrix) upper_limit,0);
+-  cout << endl;
++  std::cout << "sp: upper_limit =" << std::endl;
++  octave_print_internal(std::cout, (Matrix) upper_limit,0);
++  std::cout << std::endl;
+   #endif 
+ 
+   retval(2) = upper_limit;
+   #ifdef DEBUG
+-  cout << "retval(2) = " << upper_limit << endl;
++  std::cout << "retval(2) = " << upper_limit << std::endl;
+   #endif
+ 
+-  retval(3) = infostr.str();
++  retval(3) = infostr;
+   #ifdef DEBUG
+-  cout << "retval(3) = " << infostr.str() << endl;
++  std::cout << "retval(3) = " << infostr << std::endl;
+   #endif
+ 
+   retval(4) = time_data;
+   #ifdef DEBUG
+-  cout << "retval(4) = time_data =" << endl;
+-  octave_print_internal(cout, (Matrix) time_data,0);
+-  cout << endl;
++  std::cout << "retval(4) = time_data =" << std::endl;
++  octave_print_internal(std::cout, (Matrix) time_data,0);
++  std::cout << std::endl;
+   #endif
+ 
+   #ifdef DEBUG
+-  cout << "retval.length() =" << retval.length() << endl;
++  std::cout << "retval.length() =" << retval.length() << std::endl;
+ 
+   for ( ii = 0 ; ii < retval.length (); ii++)
+   {
+-    cout << "value " << ii << ": " << endl;
++    std::cout << "value " << ii << ": " << std::endl;
+     #ifdef DEBUG_DETAILS
+-    if(ii != 3) cout << RowVector(retval(ii).vector_value()) << endl;
+-    else cout << retval(ii).string_value() << endl;
++    if(ii != 3) std::cout << RowVector(retval(ii).vector_value()) << std::endl;
++    else std::cout << retval(ii).string_value() << std::endl;
+     #endif
+ 
+   }
+   
+-  cout << "sp(cc): returning" << endl;
++  std::cout << "sp(cc): returning" << std::endl;
+   #endif
+   return retval;
+ }

Added: trunk/packages/semidef-oct/debian/prompt.m
===================================================================
--- trunk/packages/semidef-oct/debian/prompt.m	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/prompt.m	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,40 @@
+# Copyright (C) 1996 A. Scottedward Hodel 
+#
+# This file is part of Octave. 
+#
+# Octave 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, or (at your option) any 
+# later version. 
+# 
+# Octave 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 Octave; see the file COPYING.  If not, write to the Free 
+# Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. 
+ 
+function prompt(str)
+# function prompt([str])
+# Prompt user to continue
+# str: input string. Default value: "\n ---- Press a key to continue ---"
+# Written by David Clem August 15, 1994
+# Modified A. S. Hodel June 1995
+
+# $Revision: 1.1.1.1 $
+
+if(nargin > 1)
+  usage("prompt([str])");
+elseif(nargin == 0)
+  str = "\n ---- Press a key to continue ---";
+elseif ( !isstr(str) )
+  error("prompt: input must be a string");
+endif
+
+disp(str);
+fflush(stdout);
+kbhit;
+
+endfunction

Added: trunk/packages/semidef-oct/debian/rules
===================================================================
--- trunk/packages/semidef-oct/debian/rules	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/rules	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,62 @@
+#! /usr/bin/make -f
+#                                                       -*- makefile -*-
+# debian/rules file for the Debian/GNU Linux octave-sp package
+# Copyright (C) 1998 - 2003 by Dirk Eddelbuettel <edd@debian.org>
+
+package	:= $(shell grep Package debian/control | sed 's/^Package: //')
+debtmp	:= $(CURDIR)/debian/tmp
+deboct  := $(shell octave-config --oct-site-dir)
+
+get-orig-source: upstream
+upstream:
+	lynx ftp://ftp.eng.auburn.edu/pub/hodel
+
+build:	build-stamp
+build-stamp:
+	dh_testdir
+	cd SRC; $(MAKE) -f ../debian/Makefile sp.oct
+	touch build-stamp
+
+clean:
+	dh_testdir
+	dh_testroot
+	cd SRC; $(MAKE) -i -f ../debian/Makefile clean
+	dh_clean build-stamp $(package)
+
+binary-indep: build
+
+binary-arch: build
+	dh_testdir
+	dh_testroot
+	dh_clean -k
+	dh_installdirs 			usr/share/octave/site/m/sp \
+					$(deboct)/sp
+	install -s -m 0755 SRC/sp.oct 	$(debtmp)/$(deboct)/sp
+	for i in SRC/*.m debian/*.m; do \
+		install -p -m 0644 $$i  $(debtmp)/usr/share/octave/site/m/sp/;\
+        done
+	dh_installdocs		README* DOC/*.ps
+#	dh_installexamples	samples/*
+#	dh_installmenu
+#	dh_installinit
+#	dh_installcron
+#	dh_installmanpages
+#	dh_undocumented	        
+	dh_installchangelogs	
+	dh_strip
+	dh_compress
+	dh_fixperms
+#	dh_suidregister
+	dh_installdeb
+	dh_shlibdeps
+	dh_gencontrol
+#	dh_makeshlibs
+#	dh_md5sums
+	dh_builddeb
+
+binary:	binary-indep binary-arch
+
+source diff:
+	@echo >&2 'source and diff are obsolete - use dpkg-source -b'; false
+
+.PHONY: binary binary-arch binary-indep clean checkroot


Property changes on: trunk/packages/semidef-oct/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: trunk/packages/semidef-oct/debian/run_cmd.m
===================================================================
--- trunk/packages/semidef-oct/debian/run_cmd.m	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/run_cmd.m	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,32 @@
+# run_cmd: short script used in demos
+# prints string cmd to the screen, then executes after a pause
+
+# $Revision: 1.1.1.1 $
+# $Log: run_cmd.m,v $
+# Revision 1.1.1.1  1998/05/19 20:24:05  jwe
+#
+# Revision 1.4  1997/02/20 16:07:26  hodel
+# added "fflush" after disp("executing")
+#
+# Revision 1.3  1997/02/12 15:38:14  hodel
+# added separator after command execution
+#
+# added blank line after eval(cmd)
+#
+# Revision 1.1  1997/02/12 11:35:08  hodel
+# Initial revision
+#
+# Revision 1.3  1997/02/07 15:44:13  scotte
+# Added "executing" string so that users would know that the command was
+# being processed
+#
+
+disp(["Command: ",cmd])
+puts("Press a key to execute command");
+fflush(stdout);
+kbhit();
+disp("  executing");
+fflush(stdout);
+eval(cmd);
+disp("---")
+disp(" ")

Added: trunk/packages/semidef-oct/debian/watch
===================================================================
--- trunk/packages/semidef-oct/debian/watch	2005-02-12 22:16:49 UTC (rev 59)
+++ trunk/packages/semidef-oct/debian/watch	2005-02-13 18:30:19 UTC (rev 60)
@@ -0,0 +1,5 @@
+# format version number, currently 2; this line is compulsory!
+version=2
+
+# This is one format for an HTTP site, which is the same as the FTP format
+ftp://ftp.eng.auburn.edu/pub/hodel/semidef-oct-([-0-9\.]*).tar.gz