[Pkg-octave-commit] rev 8 - in trunk/packages/octave-forge: . debian
Rafael Laboissiere
rafael@costa.debian.org
Sat, 05 Feb 2005 07:44:22 +0100
Author: rafael
Date: 2005-02-05 07:44:22 +0100 (Sat, 05 Feb 2005)
New Revision: 8
Added:
trunk/packages/octave-forge/debian/
trunk/packages/octave-forge/debian/aurecord.1
trunk/packages/octave-forge/debian/changelog
trunk/packages/octave-forge/debian/control
trunk/packages/octave-forge/debian/copyright
trunk/packages/octave-forge/debian/cvs_checkout.sh
trunk/packages/octave-forge/debian/lp.cc.patch_bug210907
trunk/packages/octave-forge/debian/rules
trunk/packages/octave-forge/debian/tsacleanup.pl
trunk/packages/octave-forge/debian/watch
Log:
Added debian files for the octave-forge package
Added: trunk/packages/octave-forge/debian/aurecord.1
===================================================================
--- trunk/packages/octave-forge/debian/aurecord.1 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/aurecord.1 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,53 @@
+.\" Man page added by Dirk Eddelbuettel <edd@debian.org>
+.TH AURECORD 1 "Debian/GNU Linux"
+.SH NAME
+aurecord \- record audio signals at specified rate
+.SH SYNOPSIS
+.B aurecord -r rate -c channels -t time -e
+.SH DESCRIPTION
+.BR aurecord (1)
+is an internal command to the
+.B signalPAK
+routines and is not intended for direct command-line use.
+
+.BR aurecord (1)
+records
+.I time
+seconds of
+.I channels
+channel audio at
+.IR rate .
+If the
+.I -e
+option is specified, recording doesn't begin until there is a signal
+to record, and stops when the signal ends, so it is great for
+capturing a bit of speech without having to remove the surrounding
+silence.
+
+The data is written to stdout as:
+.br
+ 4 byte rate (machine format)
+.br
+ 4 byte number of channels (machine format)
+.br
+ 2 byte channel1 channel2 channel3 ... (machine format)
+.br
+ 2 byte channel1 channel2 channel3 ... (machine format)
+.br
+ ...
+.br
+ 2 byte channel1 channel2 channel3 ... (machine format)
+.SH AUTHOR
+.B aurecord
+is part of
+.BR signalPAK ,
+a collection of signal-processing routines for Octave, written by
+Paul Kienzle. See
+.BR http://users.powernet.co.uk/kienzle/signalPAK/ .
+
+
+
+
+
+
+
Added: trunk/packages/octave-forge/debian/changelog
===================================================================
--- trunk/packages/octave-forge/debian/changelog 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/changelog 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,517 @@
+octave-forge (2004.11.16-3) 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:40:58 -0600
+
+octave-forge (2004.11.16-2) unstable; urgency=low
+
+ * extra/mex/configure.add: Added awk support from Sourceforge bug
+ report number 1062239 with thanks to Dan McMahill (Closes: #281994)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 18 Nov 2004 22:14:40 -0600
+
+octave-forge (2004.11.16-1) unstable; urgency=low
+
+ * New upstream release
+ * Rebuilt with octave 2.1.63 (Closes: #281777)
+ * debian/control: Build-Depends and Depends updated accordingly
+ * debian/control: Added Rafael as Uploaders:
+
+ -- Dirk Eddelbuettel <edd@debian.org> Wed, 17 Nov 2004 19:51:39 -0600
+
+octave-forge (2004.09.09-5) 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 11:53:53 -0600
+
+octave-forge (2004.09.09-4) 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 08:05:43 -0600
+
+octave-forge (2004.09.09-3) 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 10:18:53 -0500
+
+octave-forge (2004.09.09-2) 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:37:17 -0500
+
+octave-forge (2004.09.09-1) unstable; urgency=low
+
+ * Upgraded to new upstream version released today
+ * debian/control: Update both Builds-Depends and Depends to the
+ matching and required Octave version 2.1.58 released a few days ago
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 9 Sep 2004 18:39:53 -0500
+
+octave-forge (2004.07.07-1) unstable; urgency=low
+
+ * Upgraded to new upstream version released today
+ * This new upstream version includes
+ - new fixed point numerics functions (Closes: #257331)
+ - corrected demos for vrml (Closes: #255049)
+ - upstream fix for rand initialization (Closes: #254733)
+ - correction for inline return values (Closes: #245175)
+ * debian/control: Added libgsl0-dev to Build-Depends
+ * debian/control: Build-Depends on octave2.1-headers (>= 2.1.57-4)
+ to ensure lapack and blas libraries get linked correctly
+ * debian/control: Removed unversioned g++ from Build-Depends [lintian]
+ * debian/control: Increased Standards-Version to 3.6.1.1
+
+ -- Dirk Eddelbuettel <edd@debian.org> Wed, 7 Jul 2004 20:22:14 -0500
+
+octave-forge (2004.02.12-8) unstable; urgency=low
+
+ * Rebuild required by hdf5 library .so number change
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 12 Apr 2004 16:22:34 -0500
+
+octave-forge (2004.02.12-7) unstable; urgency=low
+
+ * main/plot/plot3.m: End for loop with endfor (Closes: #238583)
+ * main/geometry/configure.add: Modify the qhull configuration test
+ program so that it no longer segfaults with libqhull5
+ * main/geometry/{convhulln,delaunayn,voronoi}.cc: Change version
+ identifier declaration to `char *qh_version' to match libqhull5
+ * debian/control: Add libpng12-dev to Build-Depends
+
+ -- Dirk Eddelbuettel <edd@debian.org> Wed, 17 Mar 2004 21:05:48 -0600
+
+octave-forge (2004.02.12-6) unstable; urgency=low
+
+ * main/plot/orient.m: Typo patch by Robert Ewald (Closes: #238303)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 16 Mar 2004 07:20:40 -0600
+
+octave-forge (2004.02.12-5) unstable; urgency=low
+
+ * Rebuilt with Octave 2.1.57
+ * main/comm/galois-def.h: Applied patch by John Eaton posted to the
+ octave-bug list that adds definitions no longer in 2.1.57
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 12 Mar 2004 20:23:47 -0600
+
+octave-forge (2004.02.12-4) unstable; urgency=low
+
+ * Rebuilt with Octave 2.1.56
+ * debian/control: Enforcing stronger Depends on corresponding Octave
+ version which will ensure that if octave-forge is installed, an upgrade
+ of octave occurs only iff a matching octave-forge is available
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 5 Mar 2004 22:25:59 -0600
+
+octave-forge (2004.02.12-3) unstable; urgency=low
+
+ * Rebuilt with Octave 2.1.55
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 26 Feb 2004 19:04:23 -0600
+
+octave-forge (2004.02.12-2) unstable; urgency=low
+
+ * Rebuilt with 2.1.54-2
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 19 Feb 2004 16:41:32 -0600
+
+octave-forge (2004.02.12-1) unstable; urgency=low
+
+ * Upgraded to new upstream version released today
+ * main/miscellaneous/Makefile: Added a few small corrections which
+ should hopefully overcome the build issues on alpha, hppa and ia64
+ that 2004.02.09 experienced with some of the xml*.c* files
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 12 Feb 2004 21:01:37 -0600
+
+octave-forge (2004.02.09-1) unstable; urgency=low
+
+ * New upstream CVS snapshot
+
+ * debian/rules: Applied patch by Teemu Ikonen needed for graceplot
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 9 Feb 2004 20:54:40 -0600
+
+octave-forge (2004.01.29-2) unstable; urgency=low
+
+ * Rebuilt with 2.1.53-3
+
+ -- Dirk Eddelbuettel <edd@debian.org> Wed, 4 Feb 2004 14:21:01 -0600
+
+octave-forge (2004.01.29-1) unstable; urgency=low
+
+ * Fresh CVS snapshot, now compatible with changes in octave2.1_2.1.53,
+ with special thanks to Paul Kienzle for making the required changes.
+ * Rebuild under (and for) octave2.1_2.1.53
+ * debian/rules: Moved the ${shlibs:Depends} from Suggests to Depends.
+ While this forces more libraries onto each system, it does limit the
+ negative surprises when some of the binary libraries are loaded, and
+ fail. Thanks to George McNinch for the heads-up regarding libginac1.1.
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 29 Jan 2004 19:55:47 -0600
+
+octave-forge (2004.01.18-1) unstable; urgency=low
+
+ * Fresh CVS snapshot while octave2.1 is changing making octave-forge
+ releases harder than usual to realize (Closes: #223955, #228188)
+ * debian/control: Updated to (Build-)Depends on octave2.1_2.1.52
+ * debian/rules: Small change to correct octave-config problem
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 18 Jan 2004 21:27:20 -0600
+
+octave-forge (2003.06.02-8) unstable; urgency=low
+
+ * main/optim/lp.cc: Applied patch by Paul Kienzle (Closes: #210907)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 20 Oct 2003 21:01:52 -0500
+
+octave-forge (2003.06.02-7) unstable; urgency=low
+
+ * main/sparse/sparse_ops.h: Applied upstream patch to show error message
+ if bounds of sparse matrix would be exceeded (Closes: #213661)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 14 Oct 2003 20:14:09 -0500
+
+octave-forge (2003.06.02-6) unstable; urgency=low
+
+ * debian/rules: Do not strip the file mex.o (Closes: #207542)
+ * debian/control: Increase Standards-Version to 3.6.1.0
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 30 Aug 2003 11:18:46 -0500
+
+octave-forge (2003.06.02-5) unstable; urgency=low
+
+ * debian/{rules,control}: For m68k, switch from f2c to fort77
+ * debian/control: Thus Build-Depends: on octave2.1 (>> 2.1.50-1)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 5 Jul 2003 09:09:46 -0500
+
+octave-forge (2003.06.02-4) unstable; urgency=low
+
+ * debian/rules: Now really make the change promised in -3
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 29 Jun 2003 16:35:45 -0500
+
+octave-forge (2003.06.02-3) unstable; urgency=low
+
+ * Rebuild under (and for) octave2.1_2.1.50
+ * debian/control: Build-Depends and Depends adjusted accordingly
+ * debian/{control,rules}: As for octave2.1_2.1.50, revert back to the
+ default gcc suite now that version 3.3 is in unstable and testing
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 28 Jun 2003 14:46:42 -0500
+
+octave-forge (2003.06.02-2) unstable; urgency=low
+
+ * debian/control: Remove Build-Depends on libginac-dev for m68k and
+ mipsel as the package has not built there in ages, despite RC bugs
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 17 Jun 2003 20:18:24 -0500
+
+octave-forge (2003.06.02-1) unstable; urgency=low
+
+ * Upgraded to new upstream version released today
+ * main/plot/gget.m: Contains improved version of patch (Closes: #194561)
+ * debian/rules: After autogen.sh, run 'chmod 0755 configure' though
+ it remain mysterious why this is needed only on hppa (Closes: #192299)
+ * debian/{rules,control}: Match settings used to successfully compile
+ octave2.1_2.1.49 on all architectures: f2c on m68k, gcc 3.3 on hppa
+ * debian/control: Bring ia64 Build-Depends in-line with others as
+ libginac-dev and libgmp3-dev are now universally available
+ * debian/control: (Build-)Depends on octave2.1 (>= 2.1.49)
+ * debian/control: Increase Standards-Version to 3.5.10
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 2 Jun 2003 19:54:22 -0500
+
+octave-forge (2003.04.28-3) unstable; urgency=low
+
+ * Rebuilt using octave 2.1.48 released today
+ * debian/control: (Build-)Depends on octave2.1 (>= 2.1.48)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 6 May 2003 15:29:23 -0500
+
+octave-forge (2003.04.28-2) unstable; urgency=low
+
+ * Rebuilt using octave 2.1.47 released today
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 2 May 2003 22:56:25 -0500
+
+octave-forge (2003.04.28-1) unstable; urgency=low
+
+ * Upstream CVS snapshot (Closes: #187961, #187430)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 28 Apr 2003 11:46:57 -0500
+
+octave-forge (2003.02.22-4) unstable; urgency=low
+
+ * Rebuilt using octave 2.1.46 released yesterday
+ * debian/control: Depends on octave2.1 (= 2.1.46)
+ * debian/rules: Install rasmol.sh under examples
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 4 Mar 2003 19:56:08 -0600
+
+octave-forge (2003.02.22-3) unstable; urgency=low
+
+ * debian/rules: Add 'touch extra/MacOSX/NOINSTALL' (Closes: #182290)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Wed, 26 Feb 2003 21:41:39 -0600
+
+octave-forge (2003.02.22-2) unstable; urgency=low
+
+ * debian/control: Added tetex-bin to Build-Depends
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 22 Feb 2003 20:38:46 -0600
+
+octave-forge (2003.02.22-1) unstable; urgency=low
+
+ * Upgraded to new upstream version released today (Closes: #175798, #176895)
+ * debian/control: Build-Depends on gcc/g77/g++ (>= 3.2.2)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 22 Feb 2003 13:06:20 -0600
+
+octave-forge (2002.11.30-1) unstable; urgency=low
+
+ * Upgraded to new upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 30 Nov 2002 11:48:27 -0600
+
+octave-forge (2002.11.28.cvs-3) unstable; urgency=low
+
+ * debian/control: Added libncurses5-dev to Build-Depends (Closes: #171181)
+ * debian/control: Added libreadline4-dev for good measure
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 29 Nov 2002 17:52:56 -0600
+
+octave-forge (2002.11.28.cvs-2) unstable; urgency=low
+
+ * debian/rules: g77 instead of f2c on m68k too
+ * debian/rules: really make sure configure is mode 0755
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 28 Nov 2002 23:47:21 -0600
+
+octave-forge (2002.11.28.cvs-1) unstable; urgency=low
+
+ * Upgraded to CVS snapshot in preparation of new upstream release
+ * Rebuilt using octave 2.1.40
+ * debian/control: Depends on octave2.1 (= 2.1.40)
+ * debian/control: Build-Depends s/xlib6g-dev/xlibs-dev/ (Closes: #170174)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 28 Nov 2002 09:45:43 -0600
+
+octave-forge (2002.05.09-6) unstable; urgency=low
+
+ * FIXME/Makefile: Don't built fsolve.oct as g++-3.* fails (Closes: #168032)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Wed, 6 Nov 2002 20:51:51 -0600
+
+octave-forge (2002.05.09-5) unstable; urgency=low
+
+ * Rebuilt using octave 2.1.39
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 1 Nov 2002 18:52:42 -0600
+
+octave-forge (2002.05.09-4) unstable; urgency=low
+
+ * Rebuilt using octave 2.1.38
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 29 Oct 2002 21:35:08 -0600
+
+octave-forge (2002.05.09-3) unstable; urgency=low
+
+ * Rebuilt using octave 2.1.37
+ * main/struct/{getfield,setfield}.cc: Applied patch by JWE
+ * debian/control: Build-Depends on g77 on m68k (Closes: #164853)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 25 Oct 2002 22:37:21 -0500
+
+octave-forge (2002.05.09-2) unstable; urgency=low
+
+ * Rebuilt against libqhull4 now that libqhull3 is gone (Closes: #164550)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 13 Oct 2002 15:01:23 -0500
+
+octave-forge (2002.05.09-1) unstable; urgency=low
+
+ * Upgraded to new upstream release
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 13 Oct 2002 15:00:36 -0500
+
+octave-forge (2002.04.23.cvs.1-1) unstable; urgency=low
+
+ * This is really 2002.04.23.cvs-7, but because of #145526 and the
+ required scrubbing of the 0x0D character, "dpkg-source -x" and hence
+ lintian could no longer deal with the old .orig.tar.gz. Katie didn't
+ like me uploading a new .orig.tar.gz in revision -7, so here we go
+ with a new one. Because tsacleanup.pl has now been applied to the
+ upstream source, it is no longer called from debian/rules.
+
+ * main/symbolic/*: Apply upstream patch for g++-3.0 (Closes: #145476)
+ * debian/tsacleanup.pl: Wrote Perl script to scrub tsa/*.m files from ^M
+ * debian/rules: Use tsacleanup.pl to clean tsa/*.m (Closes: #145526)
+ * extra/tsa/: Copied four files from the (currently not used) extra/NaN
+ directory which are required by some tsa functions (Closes: #145527)
+ * debian/control: Build-Depends on octave2.1 (>= 2.1.36)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 4 May 2002 17:18:34 -0500
+
+octave-forge (2002.04.23cvs-6) unstable; urgency=low
+
+ * main/sparse/Makefile: Apply small upstream patch (Closes: #144929)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 29 Apr 2002 20:35:47 -0500
+
+octave-forge (2002.04.23cvs-5) unstable; urgency=low
+
+ * debian/control: Now really add Build-Depends on libjpeg62-dev
+ * debian/control: Move the ${shlibs:Depends} to Suggests. As we
+ Depends: octave21, the truly required C and C++ libs are already
+ covered but we do not want to Depends: on the dynamic library for
+ some useful, but non-core, functionality.
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 28 Apr 2002 08:43:02 -0500
+
+octave-forge (2002.04.23cvs-4) unstable; urgency=low
+
+ * debian/control: Build-Depends on libjpeg62-dev (Closes: #144848)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 28 Apr 2002 07:38:22 -0500
+
+octave-forge (2002.04.23cvs-3) unstable; urgency=low
+
+ * debian/control: Build-Depends on autoconf (Closes: #144788)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 27 Apr 2002 20:40:41 -0500
+
+octave-forge (2002.04.23cvs-2) unstable; urgency=low
+
+ * debian/rules: Call autogen.sh as ./autogen.sh (Closes: #144734)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 27 Apr 2002 13:50:54 -0500
+
+octave-forge (2002.04.23cvs-1) unstable; urgency=low
+
+ * Upgraded to new upstream CVS snapshot (Closes: #144468)
+ * This releases closes the open upstream bugs (Closes: #142977, #142954)
+ * debian/control: Added Build-Depends on libqhull-dev and libginac-dev
+ (and libgmp3-dev) to support the added geometry and symbolic toolboxes
+ * debian/control: But for now don't use those (unavailable) libs on ia64
+ * debian/rules: Add a few selected .oct files as arguments to dh_shlibdeps
+ call to make sure required libs are added
+
+ -- Dirk Eddelbuettel <edd@debian.org> Thu, 25 Apr 2002 20:11:34 -0500
+
+octave-forge (2002.04.20-1) unstable; urgency=low
+
+ * Upgraded to new upstream release [ package newer released ]
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 21 Apr 2002 08:01:57 -0500
+
+octave-forge (2002.03.09-1) unstable; urgency=low
+
+ * Upgraded to new upstream release [ package never released ]
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 9 Mar 2002 22:03:25 -0600
+
+octave-forge (2001.11.02-6) unstable; urgency=low
+
+ * debian/rules: Correct symlink from docs to scripts (Closes: #142960)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 15 Apr 2002 20:22:45 -0500
+
+octave-forge (2001.11.02-5) unstable; urgency=low
+
+ * main/general/bitand.cc: Apply small upstream patch defining max()
+ which g++ 3.0 (and other compilers) no longer supply (Closes: #142638)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sat, 13 Apr 2002 23:46:45 -0500
+
+octave-forge (2001.11.02-4) unstable; urgency=low
+
+ * debian/rules: Add missing '/' to installation paths
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 22 Jan 2002 18:45:59 -0600
+
+octave-forge (2001.11.02-3) unstable; urgency=low
+
+ * debian/rules: Remove bashsisms (Closes: #125716)
+ * debian/rules: Use octave-config to learn about directory locations
+ * debian/control: Build-Conflicts with octave2.0-headers (octave-config)
+ * Applied patch by LaMont Jones for gcc-3.0 support (Closes: #127023)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 4 Jan 2002 21:06:42 -0600
+
+octave-forge (2001.11.02-2) unstable; urgency=low
+
+ * debian/control: Expanded Build-Depends to match octave2.1
+
+ -- Dirk Eddelbuettel <edd@debian.org> Mon, 26 Nov 2001 21:37:42 -0600
+
+octave-forge (2001.11.02-1) unstable; urgency=low
+
+ * Upgraded to new upstream release octave-forge
+ * This constitutes the first release of Paul Kienzle's former
+ octave-matcompat package together with contributed code by others
+ which is now developed at http://sourceforge.net/projects/octave/
+ * debian/control, debian/rules, debian/copyright: Changed accordingly
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 2 Nov 2001 18:54:07 -0600
+
+octave-matcompat (20010225-7) unstable; urgency=low
+
+ * Empty transition package to ease upgrade to the octave-forge package
+ which replaces (and extends) this package
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 2 Nov 2001 18:55:10 -0600
+
+octave-matcompat (20010225-6) unstable; urgency=low
+
+ * debian/control: Added Build-Depends on xlibs-dev (Closes: #105657)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Tue, 17 Jul 2001 20:20:40 -0500
+
+octave-matcompat (20010225-5) unstable; urgency=low
+
+ * Recompiled under octave2.1_2.1.34
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 13 Jul 2001 22:27:18 -0500
+
+octave-matcompat (20010225-4) unstable; urgency=low
+
+ * debian/control: Build-Depends on g77 (Closes: #89913)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Fri, 16 Mar 2001 21:32:27 -0600
+
+octave-matcompat (20010225-3) unstable; urgency=low
+
+ * debian/control: Build-Depends on octave2.1-headers (Closes: #89299)
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 11 Mar 2001 15:20:54 -0600
+
+octave-matcompat (20010225-2) unstable; urgency=low
+
+ * debian/rules: aurecord goes into /usr/lib/octave/$VERSION/site/exec/$ARCH
+ instead of /usr/bin where it conflicts with nas-bin (Closes: #88746)
+ * debian/rules: Do not install aurecord.1 into /usr/share/man/man1
+
+ -- Dirk Eddelbuettel <edd@debian.org> Wed, 7 Mar 2001 06:13:36 -0600
+
+octave-matcompat (20010225-1) unstable; urgency=low
+
+ * Initial Debian release
+
+ -- Dirk Eddelbuettel <edd@debian.org> Sun, 25 Feb 2001 20:43:08 -0600
+
+
+
+
Added: trunk/packages/octave-forge/debian/control
===================================================================
--- trunk/packages/octave-forge/debian/control 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/control 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,30 @@
+Source: octave-forge
+Section: math
+Priority: optional
+Maintainer: Dirk Eddelbuettel <edd@debian.org>
+Uploaders: Rafael Laboissiere <rafael@debian.org>
+Standards-Version: 3.6.1.1
+Build-Depends: debhelper (>= 3.0.0), octave2.1-headers (>= 2.1.64-1), xlibs-dev, g77 [!m68k], fort77 [m68k], libqhull-dev, libginac-dev [!m68k !mipsel], libgmp3-dev, autoconf, libjpeg62-dev, libpng12-dev, libncurses5-dev, libreadline4-dev, tetex-bin, libgsl0-dev
+Build-Conflicts: octave2.0-headers, octave2.0
+
+Package: octave-forge
+Replaces: octave-matcompat
+Architecture: any
+Depends: octave2.1 (>= 2.1.64), octave2.1 (<< 2.1.65), ${shlibs:Depends}
+Description: Contributed functions for GNU Octave from http://octave.sf.net
+ The octave-forge project contains over 500 contributed functions for
+ GNU Octave which are not in the main distribution. These functions are
+ grouped according to the following subdirectories: audio, comm, control,
+ general, geometry, ident, image, io, linear-algebra, miscellaneous, optim,
+ path, plot, set, signal, sparse, specfun, special-matrix, splines,
+ statistics, strings, struct, symbolic, time.
+ .
+ While the main Octave distribution is conservative about accepting new
+ functions and changes, octave-forge is very open. As a result, be prepared
+ for some lower quality code and more rapidly changing interfaces to the
+ functions in octave-forge.
+ .
+ The octave-forge project is housed at http://sourceforge.net/projects/octave/
+ .
+ The Debian octave-forge package replaces (and extends) the earlier
+ octave-matcompat package.
Added: trunk/packages/octave-forge/debian/copyright
===================================================================
--- trunk/packages/octave-forge/debian/copyright 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/copyright 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,194 @@
+
+This is the Debian GNU/Linux prepacked version of the octave-forge functions
+from the project hosted at http://sourceforge.net/projects/octave/. It
+replaces and extends the earlier octave-matcompat package. These functions
+for GNU Octave have been written by various authors with key contributions by
+Paul Kienzle <pkienzle@users.sourceforge.net> who also coordinates the
+Sourceforge effort.
+
+This package was put together by Dirk Eddelbuettel <edd@debian.org> from the
+sources at
+ http://prdownloads.sf.net/octave/octave-forge-2001.10.12.tar.gz
+All changes are documented in the changelog file in the
+/usr/share/doc/octave-forge/ directory.
+
+The octave-forge files are copyrighted by their respective authors and
+released under different licenses as documented by this quote from the README
+file:
+
+ The collection is in the public domain, but the individual functions
+ vary. See COPYING for details. See INSTALL for installation
+ instructions.
+
+While the upstream tarball contains a directory nonfree/, its code is
+considered "contrib" by Debian as it itself is free. However, it requires
+non-free code not included here.
+
+On a Debian GNU/Linux system, a full copy of the GNU General Public License
+can be found in the file /usr/share/common-licenses/GPL, and a copy of the
+BSD license is in the file /usr/share/common-licenses/BSD.
+
+The full text of the file COPYING referenced above follows:
+
+
+This collection of functions for use with GNU Octave is hereby
+granted to the public domain.
+
+THIS COLLECTION IS PROVIDED BY THE CONTRIBUTORS ``AS IS'' AND ANY
+EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
+PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE CONTRIBUTORS BE LIABLE
+FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
+CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
+SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
+BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
+WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
+OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN
+IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+
+The individual functions are copyrighted by their respective authors
+and released under different licenses. See the corresponding source
+files for the specific copyright and license. A summary is provided
+below for your convenience, but it is not guaranteed to be complete
+or up to date.
+
+GPL (see file GPL for details)
+------------------------------
+Paul Kienzle <pkienzle@kienzle.powernet.co.uk>
+ nanstd, nanmean, nanmedian, nanmax, nanmin, nansum
+ mad, trimean, geomean, harmmean, zscore, prctile, perms, nchoosek
+ now, weekday, datevec, datestr, datenum
+ test, example, demo, assert, speed_test, lasterr
+ isequal, fzero, cplxpair, complex, gammaln, factor, factorial, primes
+ strtok, strmatch, strjust, magic, rref, repmat
+ zplane, zp2tf, xcov, xcorr, triang, tfe, tf2zp, specgram, sftrans
+ resample, rceps, pyulear, pwelch, pulstran, __power, pburg,
+ medfilt1, levinson, kaiserord, interp, impz, sgolay, sgolayfilt,
+ gaussian, fir2, fir1, filtfilt, decimate, czt, csd, cohere, chirp,
+ cheby2, cheby1, chebord, cheb1ord, buttord, butter, boxcar, bilinear
+ imnoise, polygcd, unmkpp, ppval, mkpp, interp1, lookup, hilbert
+ dct, idct, dct2, idct2, dctmtx, filter2, interpft, rectpuls, tripuls
+ soundsc, sound, clip, aurecord, auplot, au, aucapture, ausave, auload
+ unique, union, setxor, setdiff, ismember, intersect
+ aryule, arburg, poly2th, mktheta, idsim, idplot
+ text, surf, surfc, stem, pcolor, drawnow
+ full, issparse, spdiags, spy
+ pretty (modified from jwe),
+ strvcat (modified from Kurt Hornik),
+ mat2str (modified from jwe thru Ariel Tankus)
+ grpdelay (modified from jwe)
+ plot3, __plt3__ (modified from jwe)
+ meshc (modified from jwe)
+ rand, randn (modified from jwe and Dirk Eddelbuettel)
+Kai Habel <kai.habel@gmx.de>
+ bitand, bitor, bitcmp, bitmax, bitxor, bitset, bitget, bitshift
+ csape,csapi,spline,trisolve,fnplt
+ trapz,cumtrapz,del2,gradient,interp2,legendre
+ cool,copper,flag,hot,hsv,jet,pink,prism,rainbow,white
+ autumn,spring,summer,winter
+ brighten,hsv2rgb,mat2gray,rgb2gray,rgb2hsv
+ cart2pol,cart2sph,pol2car,sph2cart
+ corr2,mean2,std2
+ grayslice,histeq,im2bw,imadjust,imhist,isbw,isgray,isind
+Teemu Ikonen <tpikonen@pcu.helsinki.fi>
+ cordflt2,impad,medfilt2,ordfilt2
+Etienne Grossmann <etienne@isr.ist.utl.pt>
+ struct,setfield,rmfield,isstruct,isfield,getfield
+ rmpath, fullfile, addpath
+ bwlabel, bwborder
+ sub2ind, ind2sub
+Andreas Weingessel <Andreas.Weingessel@ci.tuwien.ac.at>
+ cceps
+Pascal Fleury <fleury@sslab.sony.co.jp>
+ sparse
+Stephen Eglen <stephen@cogsci.ed.ac.uk>
+ randperm
+Benn Sapp <bsapp@lanl.gov>
+ __quasi_func__, nrm, lp, dfp, deriv, bs_gradient, bfgs, fminbnd
+Marc Compere <compere@mail.utexas.edu>
+ rk8fixed, rk4fixed, rk2fixed, pendulum, pendot, ode78, ode45, ode23
+P.R. Nienhuis <106130.1515@compuserve.com>
+ funm
+David Doolin <doolin@ce.berkeley.edu>
+ polyarea
+Vincent Cautaerts <vincent@comf5.comm.eng.osaka-u.ac.jp>
+ ifftshift
+Daniel Heiserer <Daniel.heiserer@physik.tu-muenchen.de>
+ patch,dhbar,fill,pie,print,gget
+Ariel Tankus <arielt@math.tau.ac.il>
+ deal, double, view
+Kurt Hornik <??>
+ kaiser
+Roberto A. F. Almeida <roberto@calvin.ocfis.furg.br>
+ quiver
+Jake Janovetz <??>
+ remez
+Peter Ekberg <??>
+ pascal, rosser, wilkinson
+Andy Adler <en254@freenet.carleton.ca>
+ conv2, ginput
+Laurent Mazet <mazet@crm.mot.com>
+ legend, unix, transpose, ctranspose, bi2de, de2bi, vec2mat, randint
+Daniel Calvelo <dcalvelo@yahoo.com>
+ dec2base, base2dec, hex2dec, dec2hex
+ blkdiag, sortrows
+David Billinghurst <David.Billinghurst@riotinto.com>
+ ellipke, ellipj
+Richard I. Shrager <rs9e@nih.gov>
+Arthur Jutan <jutan@charon.engga.uwo.ca>
+Ray Muzic <rfm2@po.cwru.edu>
+Francesco Potorti <F.Potorti@cnuce.cnr.it>
+ leasqr, dfdp, leasqrdemo
+Dave Cogdell <cogdelld@asme.org>
+ xcorr2
+Bryce Gardner <bgard@autoa.com>
+ (grants permission to modify for and distribute with octave)
+ quadndg, quadg, quadc, quad2dg, quad2dggen, quad2dc, quad2dcgen,
+ ncrule, innerfun, grule, grule2d, grule2dgen, gquadnd, gquad,
+ gquad6, gquad2d, gquad2dgen, gquad2d6, crule, crule2d, crule2dgen,
+ cquadnd, count
+
+public domain
+-------------
+Bruce T. Lowerre <??>
+ endpoint.h, endpoint.doc, endpoint.cc
+Sam Sirlin <sirlin@izap.com>
+ fill3 (from http://www.izap.com/~sirlin/matlab/)
+Bill Lash <lash@tellabs.com>
+ unwrap, strncmp, strncmpi, strcmpi
+
+GPL header
+----------
+## Copyright (C) 2001 "author"
+##
+## 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+
+Public domain header
+--------------------
+## Author: "author"
+##
+## This program is granted to the public domain.
+##
+## THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
+## ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
+## IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
+## ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
+## FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
+## DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
+## OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
+## HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
+## LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
+## OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
+## SUCH DAMAGE.
Added: trunk/packages/octave-forge/debian/cvs_checkout.sh
===================================================================
--- trunk/packages/octave-forge/debian/cvs_checkout.sh 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/cvs_checkout.sh 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,21 @@
+#!/bin/sh
+
+# from an email by Paul plus a minor correction
+# Delivery-date: Thu, 05 Feb 2004 00:22:34 -0600
+# From: Paul Kienzle <pkienzle@users.sf.net>
+# Subject: Re: octave-forge
+# To: Dirk Eddelbuettel <edd@debian.org>
+
+CVS_RSH=ssh
+OF=-d:ext:eddelbuettel@cvs.octave.sourceforge.net:/cvsroot/octave
+ROOT=octave-forge-`date +%Y.%m.%d`
+cvs $OF export -r HEAD -d $ROOT octave-forge
+cat <<EOF > $ROOT/main/miscellaneous/OCTAVE_FORGE_VERSION.m
+## OCTAVE_FORGE_VERSION The release date of octave-forge, as integer aYYYYMMDD
+function v=OCTAVE_FORGE_VERSION
+ v=`date +%Y%m%d`;
+endfunction
+EOF
+( cd $ROOT ; admin/get_authors ; ./autogen.sh )
+tar czf $ROOT.tar.gz $ROOT
+rm -rf $ROOT
Added: trunk/packages/octave-forge/debian/lp.cc.patch_bug210907
===================================================================
--- trunk/packages/octave-forge/debian/lp.cc.patch_bug210907 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/lp.cc.patch_bug210907 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,460 @@
+Index: lp.cc
+===================================================================
+RCS file: /cvsroot/octave/octave-forge/main/optim/lp.cc,v
+retrieving revision 1.8
+diff -c -p -r1.8 lp.cc
+*** lp.cc 9 Mar 2003 02:21:44 -0000 1.8
+--- lp.cc 20 Oct 2003 19:10:54 -0000
+***************
+*** 1,3 ****
+--- 1,7 ----
++ // XXX FIXME XXX leave this in until problems with incorrectly specified
++ // number of equality constraints is resolved.
++ #define BOUNDS_CHECKING
++
+ #include <octave/oct.h>
+ #include <octave/pager.h>
+ #include <lo-ieee.h>
+*************** using namespace std;
+*** 27,33 ****
+ #define TRUE 1
+ #define FALSE 0
+
+! static inline Matrix identity_matrix(int m,int n)
+ {
+ int min = (m > n) ? n : m;
+ Matrix me(m,n,0.0);
+--- 31,39 ----
+ #define TRUE 1
+ #define FALSE 0
+
+! // 2.1.51 and later have identity matrix defined in utils.h, but can't use
+! // it to ensure that the code works with older octave versions
+! static inline Matrix lp_identity_matrix(int m,int n)
+ {
+ int min = (m > n) ? n : m;
+ Matrix me(m,n,0.0);
+*************** static inline Matrix identity_matrix(int
+*** 37,52 ****
+ return(me);
+ }
+
+! static inline Matrix identity_matrix(int n)
+ {
+! return(identity_matrix(n,n));
+ }
+
+ // It would be nice if this was a function in the Matrix class
+ static Matrix pivot(Matrix T, int the_row,int the_col)
+ {
+ int nr = T.rows();
+! Matrix Id = identity_matrix(nr);
+ Matrix result;
+ for(int i=0;i<nr;i++){
+ Id(i,the_row) = -T(i,the_col)/T(the_row,the_col);
+--- 43,58 ----
+ return(me);
+ }
+
+! static inline Matrix lp_identity_matrix(int n)
+ {
+! return(lp_identity_matrix(n,n));
+ }
+
+ // It would be nice if this was a function in the Matrix class
+ static Matrix pivot(Matrix T, int the_row,int the_col)
+ {
+ int nr = T.rows();
+! Matrix Id = lp_identity_matrix(nr);
+ Matrix result;
+ for(int i=0;i<nr;i++){
+ Id(i,the_row) = -T(i,the_col)/T(the_row,the_col);
+*************** static ColumnVector extract_solution(Mat
+*** 209,239 ****
+ return(x);
+ }
+
+! int check_dimensions(RowVector c,Matrix A,ColumnVector b,ColumnVector vlb,ColumnVector vub)
+ {
+ int errors = 0;
+ int num_rows = A.rows();
+ int num_cols = A.cols();
+
+! if(Matrix(c).cols() != num_cols)
+ {
+ error("lp: columns in first argument do not match rows in the second argument.");
+ errors--;
+ }
+! else if(Matrix(b).rows() != num_rows)
+ {
+ error("lp: rows in the second argument do not match the third argument.");
+ errors--;
+ }
+! else if(Matrix(vlb).rows() != num_cols)
+ {
+! error("lp: columns in the second argument do not match the fourth argument.");
+! errors--;
+ }
+! else if(Matrix(vub).rows() != num_cols)
+ {
+! error("lp: columns in the second argument do not match the fifth argument.");
+! errors--;
+ }
+ return(errors);
+ }
+--- 215,268 ----
+ return(x);
+ }
+
+! int check_dimensions(const RowVector c, const Matrix A, const ColumnVector b,
+! ColumnVector &vlb, ColumnVector &vub)
+ {
+ int errors = 0;
+ int num_rows = A.rows();
+ int num_cols = A.cols();
+
+! if(c.length() != num_cols)
+ {
+ error("lp: columns in first argument do not match rows in the second argument.");
+ errors--;
+ }
+! if(b.length() != num_rows)
+ {
+ error("lp: rows in the second argument do not match the third argument.");
+ errors--;
+ }
+! if(vlb.length() != num_cols)
+ {
+! if (vlb.length() == 0)
+! {
+! vlb.resize (num_cols, -lo_ieee_inf_value());
+! }
+! else if (vlb.length() == 1)
+! {
+! vlb.resize (num_cols, vlb(0));
+! }
+! else
+! {
+! error("lp: columns in the second argument do not match the fourth argument.");
+! errors--;
+! }
+ }
+! if(vub.length() != num_cols)
+ {
+! if (vub.length() == 0)
+! {
+! vub.resize (num_cols, lo_ieee_inf_value());
+! }
+! else if (vub.length() == 1)
+! {
+! vub.resize (num_cols, vub(0));
+! }
+! else
+! {
+! error("lp: columns in the second argument do not match the fifth argument.");
+! errors--;
+! }
+ }
+ return(errors);
+ }
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 256,266 ****
+ @var{n} dimensional vector.\n\
+ @item lb\n\
+ Additional lower bound constraint vector on x. Make\n\
+! this -Infinity if you want no lower bound, but you\n\
+ would like an upper bound or equality constraints.\n\
+ @item ub\n\
+ Additional upper bound contraint vector on x. If this\n\
+! is Infinity that implies no upper bound constraint.\n\
+ @item h\n\
+ An integer representing how many of the constraints are\n\
+ equality constraints instead of inequality.\n\
+--- 285,295 ----
+ @var{n} dimensional vector.\n\
+ @item lb\n\
+ Additional lower bound constraint vector on x. Make\n\
+! this -Inf if you want no lower bound, but you\n\
+ would like an upper bound or equality constraints.\n\
+ @item ub\n\
+ Additional upper bound contraint vector on x. If this\n\
+! is Inf that implies no upper bound constraint.\n\
+ @item h\n\
+ An integer representing how many of the constraints are\n\
+ equality constraints instead of inequality.\n\
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 270,276 ****
+ @end deftypefn" )
+ {
+ #ifdef HAVE_OCTAVE_20
+! error("lp: unavaible in Octave 2.0");
+ return octave_value_list();
+ #else /* !HAVE_OCTAVE_20 */
+ const double inf = lo_ieee_inf_value ();
+--- 299,305 ----
+ @end deftypefn" )
+ {
+ #ifdef HAVE_OCTAVE_20
+! error("lp: unavailable in Octave 2.0");
+ return octave_value_list();
+ #else /* !HAVE_OCTAVE_20 */
+ const double inf = lo_ieee_inf_value ();
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 281,293 ****
+ int include_in_basis;
+ ColumnVector x;
+ Matrix T;
+! Matrix freeVars(1,2,0.0);
+! int freeVarNum = 0;
+!
+ // Declarations of arguement variables
+ RowVector c;
+ Matrix A;
+! ColumnVector b,vlb,vub,orig_vub;
+ // Start checking arguements
+ if(nargin<3 || nargin > 6)
+ {
+--- 310,320 ----
+ int include_in_basis;
+ ColumnVector x;
+ Matrix T;
+!
+ // Declarations of arguement variables
+ RowVector c;
+ Matrix A;
+! ColumnVector b,vlb,vub;
+ // Start checking arguements
+ if(nargin<3 || nargin > 6)
+ {
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 313,375 ****
+ return retval;
+ }
+ case 5:
+! vub = ColumnVector(args(4).vector_value());
+! orig_vub = vub;
+ case 4:
+! vlb = ColumnVector(args(3).vector_value());
+! break;
+ case 3:
+ break;
+ }
+
+ int nr = A.rows();
+ int nc = A.columns();
+!
+ if(check_dimensions(c,A,b,vlb,vub) < 0){return retval;}
+!
+ // Now take care of upper and lower bounds
+! idx_vector aRange;
+! idx_vector bRange(Range(1,nr));
+! for(i =0;i<nc;i++)
+ {
+! if(vlb(i) > -inf)
+ {
+! // Translate variable up;
+ // Make the {x_min < x < x_max} constraint now equal to {0 < x_new < x_max - x_min}
+! aRange = idx_vector(Range(i+1,i+1));
+! b = b-ColumnVector(Matrix(A.index(bRange,aRange))*double(vlb(i)));
+ // If the upper bound is Infinity we do not change it.
+! if(vub(i) < inf){
+ vub(i) = vub(i)-vlb(i);
+ }
+ }
+! else if(vub(i) < inf)
+ {
+ // Now we have the following constraint ==> {-Inf < x < x_max}
+ // After we are done it will be {0 < x_new < Inf}, where {x_new = -x+x_max}
+! b = b-ColumnVector(Matrix(A.index(bRange,aRange))*double(vub(i)));
+! T = identity_matrix(A.rows());
+ T(i,i) = -1.0;
+ A = A*T;
+ vub(i) = inf;
+ }
+ else
+ {
+ // both bounds are infinity so make this into two variables;
+ // Now we have the following constraint -Inf < x < Inf
+ // After we are done we have {0 < x1_new < Inf} and
+ // {0 < x2_new < Inf} where {x = x1_new-x2_new}
+! aRange = idx_vector(Range(i+1,i+1));
+! A = A.append(-Matrix(A.index(bRange,aRange)));
+! c = RowVector(Matrix(c).append(Matrix(1,1,-c(i))));
+! if(freeVarNum > 0)
+! {
+! freeVars.stack(Matrix(1,2,0.0));
+! }
+! freeVars(i,0) = i;
+! freeVars(i,1) = A.cols()-1;
+ freeVarNum++;
+- vub = ColumnVector(Matrix(vub).stack(Matrix(1,1,inf)));
+ }
+ }
+
+--- 340,401 ----
+ return retval;
+ }
+ case 5:
+! if (!args(4).is_empty()) vub = ColumnVector(args(4).vector_value());
+ case 4:
+! if (!args(3).is_empty()) vlb = ColumnVector(args(3).vector_value());
+ case 3:
+ break;
+ }
++ if (error_state) return octave_value_list();
+
++ warning("lp is unreliable: the returned solution does not always lie within the bounds");
++
+ int nr = A.rows();
+ int nc = A.columns();
+!
+ if(check_dimensions(c,A,b,vlb,vub) < 0){return retval;}
+! ColumnVector orig_vub(vub);
+!
+ // Now take care of upper and lower bounds
+! Matrix freeVars(0,2,0.0);
+! int freeVarNum = 0;
+! for (i=0; i<nc; i++)
+ {
+! if (!isinf(-vlb(i)))
+ {
+! // std::cout << i << " translate variable up\n";
+ // Make the {x_min < x < x_max} constraint now equal to {0 < x_new < x_max - x_min}
+! b = b-A.column(i)*vlb(i);
+ // If the upper bound is Infinity we do not change it.
+! if(!isinf(vub(i))){
+ vub(i) = vub(i)-vlb(i);
+ }
+ }
+! else if (!isinf(vub(i)))
+ {
++ // std::cout << i << " translate variable down\n";
+ // Now we have the following constraint ==> {-Inf < x < x_max}
+ // After we are done it will be {0 < x_new < Inf}, where {x_new = -x+x_max}
+! b = b-A.column(i)*vub(i);
+! T = lp_identity_matrix(A.rows());
+ T(i,i) = -1.0;
+ A = A*T;
+ vub(i) = inf;
+ }
+ else
+ {
++ // std::cout << i << " split variable\n";
+ // both bounds are infinity so make this into two variables;
+ // Now we have the following constraint -Inf < x < Inf
+ // After we are done we have {0 < x1_new < Inf} and
+ // {0 < x2_new < Inf} where {x = x1_new-x2_new}
+! A = A.append(-A.column(i));
+! c.resize(c.length()+1,-c(i));
+! vub.resize(vub.length()+1,inf);
+! freeVars.resize(freeVarNum+1,2,0.0);
+! freeVars(freeVarNum,0) = i;
+! freeVars(freeVarNum,1) = A.cols()-1;
+ freeVarNum++;
+ }
+ }
+
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 382,388 ****
+ int slacks = 0;
+ if(ne <= nr)
+ {
+! A = A.append(identity_matrix(nr,(nr-ne)));
+ for(i=0;i<(nr-ne);i++)
+ {
+ basis(i,1) = i+nc;
+--- 408,414 ----
+ int slacks = 0;
+ if(ne <= nr)
+ {
+! A = A.append(lp_identity_matrix(nr,(nr-ne)));
+ for(i=0;i<(nr-ne);i++)
+ {
+ basis(i,1) = i+nc;
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 399,405 ****
+ error("lp: it does not make sense to have more equalities than the rank of the system");
+ return(retval);
+ }
+!
+ if(index < nr)
+ {
+ include_in_basis = FALSE;
+--- 425,431 ----
+ error("lp: it does not make sense to have more equalities than the rank of the system");
+ return(retval);
+ }
+!
+ if(index < nr)
+ {
+ include_in_basis = FALSE;
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 510,516 ****
+ which_bound = RowVector(temp);
+ A = A.stack(Matrix(c));
+ tmp_cols = Range(T.cols(),T.cols());
+! T(nr+1,T.cols()) = 0;
+ tmp_rows = Range(1,nr+1);
+ temp = Matrix(T.index(tmp_rows,tmp_cols));
+ A = A.append(temp);
+--- 536,542 ----
+ which_bound = RowVector(temp);
+ A = A.stack(Matrix(c));
+ tmp_cols = Range(T.cols(),T.cols());
+! T(nr,T.cols()-1) = 0;
+ tmp_rows = Range(1,nr+1);
+ temp = Matrix(T.index(tmp_rows,tmp_cols));
+ A = A.append(temp);
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 522,539 ****
+ tmp_rows = Range(1,T.rows()-1);
+ T = Matrix(T.index(tmp_rows,tmp_cols));
+ }
+ x = extract_solution(T,basis,vub,which_bound);
+ // --------------------------------------------------------
+ idx_vector cRange;
+- bRange = Range(1,1);
+ for(j=0,i=0;i<nc;i++)
+ {
+! if(vlb(i) > -inf)
+ {
+ // Make the {x_min < x < x_max} constraint now equal to {0 < x_new < x_max - x_min}
+ x(i) = x(i)-vlb(i);
+ }
+! else if(orig_vub(i) < inf)
+ {
+ // Translate negative variable up;
+ x(i) = -x(i)+orig_vub(i);
+--- 548,568 ----
+ tmp_rows = Range(1,T.rows()-1);
+ T = Matrix(T.index(tmp_rows,tmp_cols));
+ }
++
+ x = extract_solution(T,basis,vub,which_bound);
++
+ // --------------------------------------------------------
++ idx_vector aRange;
++ idx_vector bRange(Range(1,1));
+ idx_vector cRange;
+ for(j=0,i=0;i<nc;i++)
+ {
+! if(!isinf(-vlb(i)))
+ {
+ // Make the {x_min < x < x_max} constraint now equal to {0 < x_new < x_max - x_min}
+ x(i) = x(i)-vlb(i);
+ }
+! else if(!isinf(orig_vub(i)))
+ {
+ // Translate negative variable up;
+ x(i) = -x(i)+orig_vub(i);
+*************** Subject to: @var{a}*x <= @var{b}\n\
+*** 599,604 ****
+--- 628,635 ----
+ }
+ x = ColumnVector(T);
+ }
++
++ j++;
+ }
+ }
+ // --------------------------------------------------------
Added: trunk/packages/octave-forge/debian/rules
===================================================================
--- trunk/packages/octave-forge/debian/rules 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/rules 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,170 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# debian.rules file for the Debian/GNU Linux octave-forge package
+# Copyright 2000 - 2004 by Dirk Eddelbuettel <edd@debian.org>
+
+package = octave-forge
+altname = octave-forge-alternatives
+debtmp := $(CURDIR)/debian/tmp
+debdoc := $(debtmp)/usr/share/doc/$(package)
+octdir := $(shell octave-config --oct-site-dir)
+mdir := $(shell octave-config --m-site-dir)
+altoctdir := $(shell octave-config --oct-site-dir)/$(altname)
+altmdir := $(shell octave-config --m-site-dir | \
+ sed -e +"s,/m$$,,")/$(altname)/m
+octbin := $(shell octave-config -p LOCALVERARCHLIBDIR)
+
+mycheck:
+ @echo "debtmp $(debtmp)"
+ @echo "debdic $(debdoc)"
+ @echo "otdir $(octdir)"
+ @echo "mdir $(mdir)"
+ @echo "octbin $(octbin)"
+
+arch := $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+
+## edd 22 Feb 2003 now use 3.2 versions everywhere
+## edd 27 Jun 2003 now that gcc 3.3 is in unstable and testing, relax this
+#compilerpath = /usr/bin/gcc-3.2
+#cpppath = /usr/bin/g++-3.2
+#fcpath = /usr/bin/g77-3.2
+compilerpath = /usr/bin/gcc
+cpppath = /usr/bin/g++
+fcpath = /usr/bin/g77
+compilerflags = "-O2"
+linkerflags = "-s"
+
+## m68k barks when using g77; the m68k-buildd crew suggests this:
+## edd 28 Nov 2002 no longer needed
+## edd 02 Jun 2003 switched back, we need it after all
+## edd 02 Jul 2003 use fort77 which is wired in from mkoctfile
+#ifeq ($(arch),m68k-linux)
+ifneq "$(findstring $(arch), m68k-linux)" ""
+fcpath = /usr/bin/fort77
+compilerflags = "-O2 -ffloat-store"
+endif
+
+## hppa needs g++-3.3
+## edd 27 Jun 2003 now that gcc 3.3 is in unstable and testing, relax this
+#ifeq ($(arch),hppa-linux)
+#compilerpath = /usr/bin/gcc-3.3
+#cpppath = /usr/bin/g++-3.3
+#fcpath = /usr/bin/g77-3.3
+#endif
+
+get-orig-source: upstream
+upstream:
+ links http://octave.sf.net
+
+upstreamcvs:
+ # see the script cvs_checkout.sh instead
+
+configure: configure-stamp
+configure-stamp:
+ dh_testdir
+ touch extra/MacOSX/NOINSTALL
+ [ -f autogen.sh ] && ./autogen.sh && chmod 0755 configure
+ CC=$(compilerpath) \
+ CXX=$(cpppath) \
+ FC=$(fcpath) \
+ F77=$(fcpath) \
+ CFLAGS=$(compilerflags) \
+ CXXFLAGS=$(compilerflags) \
+ FFLAGS=$(compilerflags) \
+ ./configure --prefix=/usr
+ # clean the tsa/ directory
+ # ( cd extra/tsa && ../../debian/tsacleanup.pl )
+ touch configure-stamp
+
+build: configure-stamp build-stamp
+build-stamp:
+ $(MAKE)
+ # $(MAKE) index.html
+ touch build-stamp
+
+install: install-stamp
+install-stamp:
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+ strip */*/*.oct
+ $(MAKE) install MPATH=$(debtmp)/$(mdir)/$(package) \
+ OPATH=$(debtmp)/$(octdir)/$(package) \
+ XPATH=$(debtmp)/$(octbin) \
+ ALTMPATH=$(debtmp)/$(altmdir) \
+ ALTOPATH=$(debtmp)/$(altoctdir) \
+ prefix=$(debtmp)/usr \
+ mandir=$(debtmp)/usr/share/man
+ rm -vf $(debtmp)/rasmol.sh
+ touch install-stamp
+
+check: check-stamp
+check-stamp:
+ dh_testdir
+ -$(MAKE) check OCTAVE=octave2.1
+ touch check-stamp
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f configure-stamp build-stamp install-stamp check-stamp
+ -test -f Makefile && $(MAKE) clean
+ -rm -rf *~ $(debtmp) debian/*~ debian/files* build \
+ config.status config.cache config.log conftest \
+ extra/symband/*.oct
+ dh_clean
+
+binary-indep: build install check
+
+binary-arch: build install check
+# dh_testversion
+ dh_testdir
+ dh_testroot
+# dh_installdebconf
+ dh_installdocs AUTHORS TODO README RELEASE-NOTES
+ dh_installexamples extra/pdb/bin/rasmol.sh
+# dh_installmenu
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installman debian/aurecord.1
+# dh_installinfo
+# dh_undocumented
+ dh_installchangelogs
+ dh_link $(mdir)/$(package) \
+ /usr/share/doc/$(package)/scripts
+ dh_strip
+ strip --remove-section=.comment \
+ --remove-section=.note \
+ $(debtmp)$(octdir)/$(package)/*.oct
+ # this only affects one file (mex.o) and it needs
+ # symbols (c.f. #207542)
+ ## strip --remove-section=.comment \
+ ## --remove-section=.note \
+ ## $(debtmp)$(octdir)/$(package)/*.o
+ dh_compress
+ dh_fixperms
+# dh_suidregister
+# dh_makeshlibs
+ dh_installdeb
+# dh_perl
+ # call with three explicit files to cover our bases
+ dh_shlibdeps $(debtmp)$(octdir)/$(package)/convhulln.oct \
+ $(debtmp)$(octdir)/$(package)/jpgwrite.oct \
+ $(debtmp)$(octdir)/$(package)/gsl_sf.oct \
+ $(debtmp)$(octdir)/$(package)/symbols.oct
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary-arch: build
+
+source diff:
+ @echo >&2 'obsolete targets - use dpkg-source -b'; false
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary upstream upstreamcvs
+
Property changes on: trunk/packages/octave-forge/debian/rules
___________________________________________________________________
Name: svn:executable
+ *
Added: trunk/packages/octave-forge/debian/tsacleanup.pl
===================================================================
--- trunk/packages/octave-forge/debian/tsacleanup.pl 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/tsacleanup.pl 2005-02-05 06:44:22 UTC (rev 8)
@@ -0,0 +1,25 @@
+#!/usr/bin/perl -w
+
+use strict;
+use English;
+use POSIX;
+
+my $dir = ".";
+opendir(DIR, $dir) || die "can't opendir $dir: $!";
+my @files = grep { /\.m$/ && -f "$dir/$_" } readdir(DIR);
+closedir DIR;
+
+foreach my $file (@files) {
+ ##my $tmpnam = POSIX::tmpnam();
+ my $tmpnam = "./tmpfoo$PID";
+ print $file, "\n";
+ open(INFILE, $file) || die "can't open input file $file: $!";
+ open(OUTFILE, ">$tmpnam") || die "can't open output file $tmpnam: $!";
+ while (<INFILE>) {
+ s/\015//;
+ print OUTFILE;
+ }
+ close OUTFILE;
+ close INFILE;
+ rename($tmpnam, $file) || die "can't rename $tmpnam to $file: $!";
+}
Added: trunk/packages/octave-forge/debian/watch
===================================================================
--- trunk/packages/octave-forge/debian/watch 2005-02-05 06:39:05 UTC (rev 7)
+++ trunk/packages/octave-forge/debian/watch 2005-02-05 06:44:22 UTC (rev 8)
@@ -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
+http://prdownloads.sf.net/octave/octave-forge-([-0-9\.]*).tar.gz