[Pkg-octave-commit] [SCM] Debian packaging for octave-vrml branch, master, updated. debian/1.0.11-2-8-g223d6c2

Rafael Laboissiere rafael at laboissiere.net
Wed May 30 20:43:55 UTC 2012


The following commit has been merged in the master branch:
commit 42c73a67d6039505c86a20b6bbe3f53022e05b0d
Author: Rafael Laboissiere <rafael at laboissiere.net>
Date:   Wed May 30 19:52:53 2012 +0000

    debian/patches/add_private_functions: New patch

diff --git a/debian/patches/add_private_functions b/debian/patches/add_private_functions
new file mode 100644
index 0000000..13b088e
--- /dev/null
+++ b/debian/patches/add_private_functions
@@ -0,0 +1,25 @@
+Description: Add lacking functions to the private directory
+ The functions is_list, struct_contains, and nth do not exist in
+ Octave 3.6.  Wrappers for the correct fucntions are created in the
+ private/ directory.
+Author: Rafael Laboissiere <rafael at laboissiere.net>
+Last-Update: 2012-05-30
+
+--- /dev/null
++++ octave-vrml-1.0.11/inst/private/is_list.m
+@@ -0,0 +1,3 @@
++function retval = is_list (x)
++  retval = iscell (x);
++endfunction
+--- /dev/null
++++ octave-vrml-1.0.11/inst/private/struct_contains.m
+@@ -0,0 +1,3 @@
++function retval = struct_contains (structure, field)
++  retval = isfield (structure, field);
++endfunction
+--- /dev/null
++++ octave-vrml-1.0.11/inst/private/nth.m
+@@ -0,0 +1,3 @@
++function retval = nth (incell, element)
++  retval = incell {element};
++endfunction
diff --git a/debian/patches/series b/debian/patches/series
index 6a88ad7..091f7fe 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@ remove_unused_files
 whitedune_for_freewrl
 order_boolean_operation
 structure_initialization
+add_private_functions

-- 
Debian packaging for octave-vrml



More information about the Pkg-octave-commit mailing list