[Pkg-octave-commit] [octave-io] 05/07: low-priority-for-POI.patch: new patch.

Sébastien Villemot sebastien at moszumanska.debian.org
Wed Nov 20 19:26:10 UTC 2013


This is an automated email from the git hooks/post-receive script.

sebastien pushed a commit to branch master
in repository octave-io.

commit 480ff00256d9d3490203010317dfee6b3a273323
Author: Sébastien Villemot <sebastien at debian.org>
Date:   Sat Nov 16 15:11:30 2013 +0100

    low-priority-for-POI.patch: new patch.
    
    Puts the POI interface at the tail of the interface priority list. The
    interface does not seem to work correctly for now.
---
 debian/patches/low-priority-for-POI.patch |   40 +++++++++++++++++++++++++++++
 debian/patches/series                     |    1 +
 2 files changed, 41 insertions(+)

diff --git a/debian/patches/low-priority-for-POI.patch b/debian/patches/low-priority-for-POI.patch
new file mode 100644
index 0000000..48051ab
--- /dev/null
+++ b/debian/patches/low-priority-for-POI.patch
@@ -0,0 +1,40 @@
+Description: Give low priority to POI interface
+ It seems to not function correctly: it sees the file but no data inside.
+Author: Sébastien Villemot <sebastien at debian.org>
+Forwarded: no
+Last-Update: 2013-11-16
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/inst/xlsopen.m
++++ b/inst/xlsopen.m
+@@ -296,7 +296,7 @@
+   ## Keep track of which interface is selected
+   xlssupport = 0;
+ 
+-  ## Interface preference order is defined below: currently COM -> POI -> JXL -> OXS -> UNO -> OCT
++  ## Interface preference order is defined below: currently COM -> JXL -> OXS -> UNO -> OCT -> POI
+   ## chk1, chk2 (xls file type) and chk5 (gnumeric) are conveyed depending on interface capabilities
+ 
+   if ((! xlssupport) && xlsinterfaces.COM && (! chk5))
+@@ -304,10 +304,6 @@
+     [ xls, xlssupport, lastintf ] = __COM_spsh_open__ (xls, xwrite, filename, xlssupport);
+   endif
+ 
+-  if ((! xlssupport) && xlsinterfaces.POI && (chk1 || chk2) && (! chk5))
+-    [ xls, xlssupport, lastintf ] = __POI_spsh_open__ (xls, xwrite, filename, xlssupport, chk1, chk2, xlsinterfaces);
+-  endif
+-
+   if ((! xlssupport) && xlsinterfaces.JXL && chk1 && (! chk5))
+     [ xls, xlssupport, lastintf ] = __JXL_spsh_open__ (xls, xwrite, filename, xlssupport, chk1);
+   endif
+@@ -324,6 +320,10 @@
+     [ xls, xlssupport, lastintf ] = __OCT_spsh_open__ (xls, xwrite, filename, xlssupport, chk2, 0, chk5);
+   endif
+ 
++  if ((! xlssupport) && xlsinterfaces.POI && (chk1 || chk2) && (! chk5))
++    [ xls, xlssupport, lastintf ] = __POI_spsh_open__ (xls, xwrite, filename, xlssupport, chk1, chk2, xlsinterfaces);
++  endif
++
+   ## if 
+   ##  ---- other interfaces
+   ## endif
diff --git a/debian/patches/series b/debian/patches/series
index 4ebefa1..b4b9abc 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,3 +1,4 @@
 configure-java-classpath.patch
 no-flexml.patch
 autoload-yes.patch
+low-priority-for-POI.patch

-- 
Alioth's /home/groups/pkg-octave/bin/git-commit-notice on /srv/git.debian.org/git/pkg-octave/octave-io.git



More information about the Pkg-octave-commit mailing list