[Pkg-octave-commit] rev 837 - in trunk/packages/octave/debian: . in patches

Rafael Laboissiere rafael at alioth.debian.org
Sun Feb 4 19:09:24 CET 2007


Author: rafael
Date: 2007-02-04 19:09:24 +0100 (Sun, 04 Feb 2007)
New Revision: 837

Added:
   trunk/packages/octave/debian/patches/50_print-imagemagick-extensions.dpatch
Modified:
   trunk/packages/octave/debian/changelog
   trunk/packages/octave/debian/in/octave2.9-00list
Log:
* debian/patches/50_print-imagemagick-extensions.dpatch: Added patch to
  avoid failures in print() when file extensions needing call to convert
  are specified by the user (closes: #408992)



Modified: trunk/packages/octave/debian/changelog
===================================================================
--- trunk/packages/octave/debian/changelog	2007-02-04 15:34:41 UTC (rev 836)
+++ trunk/packages/octave/debian/changelog	2007-02-04 18:09:24 UTC (rev 837)
@@ -1,3 +1,14 @@
+octave2.9 (2.9.9-8) unstable; urgency=low
+
+  NOT YET RELEASED!
+
+  [ Rafael Laboissiere ]
+  * debian/patches/50_print-imagemagick-extensions.dpatch: Added patch to
+    avoid failures in print() when file extensions needing call to convert
+    are specified by the user (closes: #408992)
+
+ --
+
 octave2.9 (2.9.9-7) unstable; urgency=low
 
   * debian/in/control: Changed wording of octave*-headers description.

Modified: trunk/packages/octave/debian/in/octave2.9-00list
===================================================================
--- trunk/packages/octave/debian/in/octave2.9-00list	2007-02-04 15:34:41 UTC (rev 836)
+++ trunk/packages/octave/debian/in/octave2.9-00list	2007-02-04 18:09:24 UTC (rev 837)
@@ -7,3 +7,4 @@
 50_sparse_constructors
 50_invalid_indexes
 50_plot-doc
+50_print-imagemagick-extensions

Added: trunk/packages/octave/debian/patches/50_print-imagemagick-extensions.dpatch
===================================================================
--- trunk/packages/octave/debian/patches/50_print-imagemagick-extensions.dpatch	2007-02-04 15:34:41 UTC (rev 836)
+++ trunk/packages/octave/debian/patches/50_print-imagemagick-extensions.dpatch	2007-02-04 18:09:24 UTC (rev 837)
@@ -0,0 +1,19 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## 50_print-imagemagick-extensions.dpatch by Rafael Laboissiere <rafael at debian.org>
+##
+## DP: Call to cellidx will not fail when unknown file extensions imply
+## DP: call to the convert command
+
+ at DPATCH@
+
+--- octave2.9-2.9.9.orig/scripts/plot/print.m
++++ octave2.9-2.9.9/scripts/plot/print.m
+@@ -203,7 +203,7 @@
+   dev_list = {"aifm" "corel" "fig" "png" "pbm" "dxf" "mf" "hpgl", ...
+ 	      "ps" "ps2" "psc" "psc2" "eps" "eps2" "epsc" "epsc2" "emf"};
+   convertname = "";
+-  idx = cellidx (dev_list, dev);
++  [idx, errmsg] = cellidx (dev_list, dev);
+   if (! idx)
+     if (! isempty (devopt))
+       convertname = strcat (devopt, ":", name);


Property changes on: trunk/packages/octave/debian/patches/50_print-imagemagick-extensions.dpatch
___________________________________________________________________
Name: svn:executable
   + *




More information about the Pkg-octave-commit mailing list