summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b7b8995)
raw | patch | inline | side by side (parent: b7b8995)
author | Sebastian Harl <sh@tokkee.org> | |
Mon, 8 Jun 2009 18:43:01 +0000 (20:43 +0200) | ||
committer | Sebastian Harl <sh@tokkee.org> | |
Mon, 8 Jun 2009 18:43:01 +0000 (20:43 +0200) |
This patch lets pfsstat bail out with an error message if gausswin() is not
available, telling the user to install octave-signal.
available, telling the user to install octave-signal.
debian/changelog | patch | blob | history | |
debian/patches/00list | patch | blob | history | |
debian/patches/octave-signal.dpatch | [new file with mode: 0755] | patch | blob |
diff --git a/debian/changelog b/debian/changelog
index eac04c4307c5e27664b980d1b4786f31cf7cb63a..c8b9f26df98f48cdce3bf7a17d03e5b3bc1ac4ed 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
- Added octave-nargin.dpatch - this patch lets octave scripts use the
variable nargin instead of length(argv); the latter does not work
reliably when no command line arguments have been specified.
+ - Added octave-signal.dpatch - this patch lets pfsstat bail out with an
+ error message if gausswin() is not available, telling the user to
+ install octave-signal.
* Removed debian/pfsglview.1 - included upstream.
* debian/control:
- Added libmagick++-dev as an option to the libmagick++9-dev build
- Use ${octave:Depends} and octave3.0-depends instead of explicitly
depending on octave3.0.
- -- Sebastian Harl <tokkee@debian.org> Mon, 08 Jun 2009 20:20:59 +0200
+ -- Sebastian Harl <tokkee@debian.org> Mon, 08 Jun 2009 20:41:22 +0200
pfstools (1.6.4-2) unstable; urgency=low
diff --git a/debian/patches/00list b/debian/patches/00list
index 5bf9524a94928082d21da62c50392855ffd26810..0783a751f93464b7aaf3ed5efc3940a948d949a1 100644 (file)
--- a/debian/patches/00list
+++ b/debian/patches/00list
octave-nargin.dpatch
+octave-signal.dpatch
diff --git a/debian/patches/octave-signal.dpatch b/debian/patches/octave-signal.dpatch
--- /dev/null
@@ -0,0 +1,21 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## octave-signal.dpatch by Sebastian Harl <tokkee@debian.org>
+##
+## DP: pfsstat: Bail out with an error if octave-signal is not available.
+
+@DPATCH@
+
+--- a/src/octave/pfsstat
++++ b/src/octave/pfsstat
+@@ -33,6 +33,11 @@
+ error( "Expecting no parameters" );
+ endif
+
++if( 2 != exist( 'gausswin' ) )
++ error( "%s requires the 'signal' package - please install octave-signal\n", \
++ program_name () );
++endif
++
+ firstFrame = true;
+ while( true )
+ pin = pfsget( pin );