debian/0000755000000000000000000000000012302707322007164 5ustar debian/octave-miscellaneous.lintian-overrides0000644000000000000000000000007312144725705016677 0ustar octave-miscellaneous: hardening-no-fortify-functions *.oct debian/copyright0000644000000000000000000000504512144725705011134 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: Miscellaneous package for Octave Upstream-Contact: The Octave Community Source: http://octave.sourceforge.net/miscellaneous/index.html Files: * Copyright: 1999 Paul Kienzle 1999 Lucent Technologies 2002 Etienne Grossmann 2002 Quentin Spencer 2003 Tomer Altman 2005 Carl Osterwisch 2006 Fredrik Bulow 2006 Hansgeorg Schwibbe 2006 Torsten Finke 2007-2008 Muthiah Annamalai 2008 Thomas Treichl 2009 Javier Enciso 2009-2010, VZLU Prague, a.s 2009 Jaroslav Hajek 2010 Fotios Kasolis 2010-2011 Olaf Till 2011 Thomas Weber 2011 Piotr Krzyzanowski 2012 Carnë Draug 2012 Juan Pablo Carbajal 2012 Markus Bergholz License: GPL-3+ Files: debian/* Copyright: 2008 Ólafur Jens Sigurðsson 2008-2012 Thomas Weber 2008-2012 Rafael Laboissière 2012 Sébastien Villemot License: GPL-3+ Files: debian/patches/special_matrix_lauchli Copyright: Paul Kienzle License: Public Domain This program is in the public domain License: GPL-3+ 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 3 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, see . . On Debian systems, the complete text of the GNU General Public License, version 3, can be found in the file `/usr/share/common-licenses/GPL-3'. debian/changelog0000644000000000000000000001463112302707322011043 0ustar octave-miscellaneous (1.2.0-2build1) trusty; urgency=medium * Rebuild for octave 3.8. -- Matthias Klose Mon, 24 Feb 2014 18:26:26 +0000 octave-miscellaneous (1.2.0-2) unstable; urgency=low [ Rafael Laboissiere ] * debian/copyright: Use the octave-maintainers mailing list as upstream contact -- Sébastien Villemot Wed, 15 May 2013 17:39:12 +0200 octave-miscellaneous (1.2.0-1) experimental; urgency=low [ Rafael Laboissiere ] * Imported Upstream version 1.2.0 * Bump Standards-Version to 3.9.4 (no changes needed) * Refresh for new upstream release * Use Sébastien Villemot's @debian.org email address * Remove obsolete DM-Upload-Allowed flag * Add patch autoload-yes.patch * Add copyright info for file lauchli.m (included in a Debian patch) * Add patch partcnt-test-succeeds.patch * Build-depends on octave-pkg-dev >= 1.0.3 [ Sébastien Villemot ] * debian/control: fix versioned dependency on debhelper * Add lintian override for false positive on hardening (fortify) -- Sébastien Villemot Wed, 17 Oct 2012 13:40:55 +0200 octave-miscellaneous (1.1.0-1) unstable; urgency=low [ Sébastien Villemot ] * Imported Upstream version 1.1.0 * debian/patches/match-cell-array.patch: remove patch (applied upstream) * debian/patches/waitbar-rename.patch: remove patch (applied upstream) * debian/patches/no-flexml.patch: remove obsolete patch, flex no longer used (Closes: #666294) * debian/copyright: reflect upstream changes * debian/octave-miscellaneous.docs: remove, no more docs in the package * debian/clean: remove obsolete file * debian/rules: remove hack for wrong permissions in upstream tarball [ Rafael Laboissiere ] * debian/watch: Use the SourceForge redirector -- Sébastien Villemot Mon, 02 Apr 2012 13:20:23 +0000 octave-miscellaneous (1.0.11-3) unstable; urgency=low * debian/patches/no-flexml.patch: new patch -- Sébastien Villemot Tue, 20 Mar 2012 20:16:34 +0000 octave-miscellaneous (1.0.11-2) unstable; urgency=low [ Rafael Laboissiere ] * Bump the debhelper compatibility level to 9 * debian/control: Bump standards version to 3.9.3, no changes needed [ Sébastien Villemot ] * Add Sébastien Villemot to Uploaders * Build-Depend on octave-pkg-dev >= 1.0.0 * debian/copyright: update using machine-readable format 1.0 * debian/patches/match-cell-array.patch: new patch * debian/rules: fix wrong +x perms in upstream tarball * debian/patches/waitbar-rename.patch: new patch -- Thomas Weber Sun, 11 Mar 2012 23:14:58 +0100 octave-miscellaneous (1.0.11-1) unstable; urgency=low * New upstream release (Closes: #626264) * debian/control: - Remove Rafael Laboissiere from Uploaders (Closes: #571851) - Remove Ólafur Jens Sigurðsson from Uploaders * Bump Standards-Version to 3.9.1, no changes needed * Switch to dpkg-source 3.0 (quilt) format -- Thomas Weber Thu, 12 May 2011 20:57:43 +0200 octave-miscellaneous (1.0.9-1) unstable; urgency=low [ Rafael Laboissiere ] * debian/control: Build-depend on octave-pkg-dev >= 0.7.0, such that the package is built against octave3.2 [ Thomas Weber ] * New upstream release * Removed patches (applied upstream): - autoload-num2hex - build-hex2num - cell2csv-str-find * Use octave-miscellaneous.docs for installation of documentation, following the change in octave-pkg-dev 0.7.1 -- Thomas Weber Sun, 22 Nov 2009 14:55:12 +0100 octave-miscellaneous (1.0.8-1) unstable; urgency=low * New upstream release * debian/patches/build-hex2num: Adjust patch for new upstream version * debian/patches/cell2csv-str-find: Fix bug related to the return type of the str.find() function * debian/control: + (Standards-Version): Bump to 3.8.1 (add file debian/README.source) + (Depends): Add ${misc:Depends} + (Vcs-Git, Vcs-Browser): Adjust to new Git repository * debian/patches/{autoload-num2hex,build-hex2num,special_matrix_lauchli}: Add description * debian/copyright: Use DEP5 URL in Format-Specification -- Rafael Laboissiere Sun, 24 May 2009 15:12:40 +0200 octave-miscellaneous (1.0.7-2) unstable; urgency=low [ Rafael Laboissiere ] * debian/copyright: Add header * debian/control: Bump build-dependency on octave-pkg-dev to >= 0.6.4, such that the package is built with the versioned packages directory [ Thomas Weber ] * Upload to unstable -- Thomas Weber Sun, 05 Apr 2009 20:53:36 +0200 octave-miscellaneous (1.0.7-1) experimental; urgency=low [ Rafael Laboissiere ] * debian/rules: Use debian/clean instead of manually cleaning files * debian/compat, debian/control: Bump build-dependency on debhelper to >= 7.0.0, otherwise debian/clean is moot * debian/clean: New file [ Thomas Weber ] * New upstream release * Drop patches/waitbar_null_pointer_guard; applied upstream * Bumpd dependency on octave-pkg-dev to 0.6.1, to get new version in experimental * Add units to both build-depends and depends, the package needs it for unit tests -- Thomas Weber Sun, 30 Nov 2008 23:39:44 +0100 octave-miscellaneous (1.0.6.4) unstable; urgency=low * New patch: + waitbar_null_pointer_guard: Check that the return values from tgetstr() are non-zero (closes: 485920). * Bump standards version to 3.8.0, no changes needed. -- Thomas Weber Mon, 30 Jun 2008 09:25:13 +0200 octave-miscellaneous (1.0.6.4) unstable; urgency=low * New patches: + autoload-num2hex: Autoload num2hex function in hex2num.cc + build-hex2num: Typo in TARGETS list prevented hex2num.oct from being built -- Rafael Laboissiere Wed, 21 May 2008 19:38:38 +0200 octave-miscellaneous (1.0.6-1) unstable; urgency=low [ Ólafur Jens Sigurðsson ] * New upstream version -- Thomas Weber Mon, 12 May 2008 10:29:48 +0200 octave-miscellaneous (1.0.5-1) unstable; urgency=low [ Ólafur Jens Sigurðsson ] * Initial release (closes: #468509) [ Thomas Weber ] * Add lauchli.m from special-matrix package, avoiding the need for a package (special-matrix) for just one file. -- Thomas Weber Fri, 04 Apr 2008 22:02:13 +0200 debian/compat0000644000000000000000000000000211736317725010400 0ustar 9 debian/patches/0000755000000000000000000000000012144725705010624 5ustar debian/patches/special_matrix_lauchli0000644000000000000000000000213011736317725015255 0ustar Add lauchli.m from special-matrix package, avoiding the need for a package (special-matrix) for just one file. -- Thomas Weber Fri, 04 Apr 2008 22:02:13 +0200 --- /dev/null +++ b/inst/lauchli.m @@ -0,0 +1,32 @@ +## -*- texinfo -*- +## @deftypefn {Function File} {@var{a}} = lauchli (@var{n}) +## @deftypefnx {Function File} {@var{a}} = lauchli (@var{n},@var{mu}) +## Creates the matrix [ ones(1,@var{n}); @var{mu}*eye(@var{n}) ] +## The value @var{mu} defaults to sqrt(eps). +## This is an ill-conditioned system for testing the +## accuracy of the QR routine. +## +## @example +## @group +## A = lauchli(15); +## [Q, R] = qr(A); +## norm(Q*R - A) +## norm(Q'*Q - eye(rows(Q))) +## @end group +## @end example +## @end deftypefn +## @seealso {ones,zeros,eye} + +## This program is in the public domain +## Author: Paul Kienzle + +function A = lauchli(n,mu) + if (nargin < 1 || nargin > 2) + usage("A = lauchli(n [, mu])"); + endif + + if (nargin < 2), mu = sqrt(eps); endif + + A = [ ones(1,n); mu*eye(n) ]; + +endfunction debian/patches/autoload-yes.patch0000644000000000000000000000103312144725705014250 0ustar Description: Autoload the package Author: Rafael Laboissiere Forwarded: not-needed Last-Update: 2012-10-16 --- octave-miscellaneous-1.2.0.orig/DESCRIPTION +++ octave-miscellaneous-1.2.0/DESCRIPTION @@ -7,7 +7,7 @@ Title: Miscellaneous functions Description: Miscellaneous tools that don't fit somewhere else. Categories: Miscellaneous Depends: octave (>= 3.6.0), general (>= 1.3.1) -Autoload: no +Autoload: yes SystemRequirements: units BuildRequires: termcap-devel [Debian] libncurses5-dev License: GPLv3+ debian/patches/partcnt-test-succeeds.patch0000644000000000000000000000177312144725705016101 0ustar Description: Make the unit testing for partcnt succeed The partcnt function is defined in the partint.cc file, hence it is necessary to run the autoload comamnd first. This is needed only when building the Debian package, since the autoload command is run through the PKG_ADD file for the installed octave-miscellaneous package. Author: Rafael Laboissiere Forwarded: not-needed Last-Update: 2012-10-17 --- octave-miscellaneous-1.2.0.orig/src/partint.cc +++ octave-miscellaneous-1.2.0/src/partint.cc @@ -110,11 +110,13 @@ Joerg Arndt: Algorithms for programmers /* -%!assert(partcnt(1), 1); -%!assert(partcnt(17), 297); -%!fail("partcnt()", "partcnt"); -%!fail("partcnt(1,2)", "partcnt"); -%!fail("partcnt('xyz')", "partcnt"); +%!test +%! autoload ("partcnt", "partint.oct") +%! assert(partcnt(1), 1); +%! assert(partcnt(17), 297); +%! fail("partcnt()", "partcnt"); +%! fail("partcnt(1,2)", "partcnt"); +%! fail("partcnt('xyz')", "partcnt"); %!demo %! p = partcnt([1, 5; 17 -5]) debian/patches/series0000644000000000000000000000010612144725705012036 0ustar special_matrix_lauchli autoload-yes.patch partcnt-test-succeeds.patch debian/control0000644000000000000000000000203212144725705010575 0ustar Source: octave-miscellaneous Section: math Priority: optional Maintainer: Debian Octave Group Uploaders: Thomas Weber , Sébastien Villemot Build-Depends: debhelper (>= 9), cdbs, octave-pkg-dev (>= 1.0.3), units Standards-Version: 3.9.4 Homepage: http://octave.sourceforge.net/miscellaneous Vcs-Git: git://git.debian.org/git/pkg-octave/octave-miscellaneous.git Vcs-Browser: http://git.debian.org/?p=pkg-octave/octave-miscellaneous.git Package: octave-miscellaneous Architecture: any Depends: ${misc:Depends}, ${shlibs:Depends}, ${octave:Depends}, units Description: miscellaneous tools for Octave This package provides miscellaneous tools for Octave, a numerical computation program. Included are functions to create a LaTeX file from a comma separated data file (csv2latex), map matrices and cells (map), a match filter that resembles the filter in Python (match) and many more. . This Octave add-on package is part of the Octave-Forge project. debian/rules0000755000000000000000000000012511736323432010250 0ustar #!/usr/bin/make -f # -*- makefile -*- include /usr/share/cdbs/1/class/octave-pkg.mk debian/source/0000755000000000000000000000000011736317725010502 5ustar debian/source/format0000644000000000000000000000001411736317725011710 0ustar 3.0 (quilt) debian/watch0000644000000000000000000000007311736317725010233 0ustar version=3 http://sf.net/octave/miscellaneous-(.+)\.tar\.gz