[Pkg-octave-commit] r1542 - octave-forge-pkgs/octave-fixed/trunk/debian/patches

Rafael Laboissiere rafael at alioth.debian.org
Mon Mar 31 15:15:11 UTC 2008


Author: rafael
Date: 2008-03-31 15:15:11 +0000 (Mon, 31 Mar 2008)
New Revision: 1542

Added:
   octave-forge-pkgs/octave-fixed/trunk/debian/patches/pkg-add-autoloads.diff
Modified:
   octave-forge-pkgs/octave-fixed/trunk/debian/patches/series
Log:
Patch for autoloading functions defined in fixed.cc and fixed-var.cc

Added: octave-forge-pkgs/octave-fixed/trunk/debian/patches/pkg-add-autoloads.diff
===================================================================
--- octave-forge-pkgs/octave-fixed/trunk/debian/patches/pkg-add-autoloads.diff	                        (rev 0)
+++ octave-forge-pkgs/octave-fixed/trunk/debian/patches/pkg-add-autoloads.diff	2008-03-31 15:15:11 UTC (rev 1542)
@@ -0,0 +1,288 @@
+Index: trunk/src/fixed-var.cc
+===================================================================
+--- trunk.orig/src/fixed-var.cc	2008-03-31 14:50:15.000000000 +0000
++++ trunk/src/fixed-var.cc	2008-03-31 14:51:39.000000000 +0000
+@@ -36,6 +36,7 @@
+ #include <octave/utils.h>
+ #include <octave/defun-dld.h>
+ 
++// PKG_ADD: autoload ("fixed_point_warn_overflow", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (fixed_point_warn_overflow, args, nargout,
+   "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{val} =} fixed_point_warn_overflow ()\n\
+@@ -49,6 +50,7 @@
+ 				"fixed_point_warn_overflow");
+ }
+ 
++// PKG_ADD: autoload ("fixed_point_debug", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (fixed_point_debug, args, nargout,
+   "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{val} =} fixed_point_debug ()\n\
+@@ -63,6 +65,7 @@
+ 				"fixed_point_debug");
+ }
+ 
++// PKG_ADD: autoload ("fixed_point_count_operations", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (fixed_point_count_operations, args, nargout,
+   "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{val} =} fixed_point_count_operations ()\n\
+@@ -79,6 +82,7 @@
+ 				"fixed_point_count_operations");
+ }
+ 
++// PKG_ADD: autoload ("fixed_point_version", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (fixed_point_version, args, ,
+     "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} fixed_point_version ()\n\
+@@ -95,6 +99,7 @@
+   return retval;
+ }
+ 
++// PKG_ADD: autoload ("fixed_point_library_version", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (fixed_point_library_version, args, ,
+     "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} fixed_point_library_version ()\n\
+Index: trunk/src/fixed.cc
+===================================================================
+--- trunk.orig/src/fixed.cc	2008-03-31 14:40:10.000000000 +0000
++++ trunk/src/fixed.cc	2008-03-31 14:48:26.000000000 +0000
+@@ -93,6 +93,7 @@
+   fbi_sym_tab->lookup("fixed")->mark_as_static ();
+ }
+ 
++// PKG_ADD: autoload ("display_fixed_operations", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (display_fixed_operations, args, ,
+   "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} display_fixed_operations ( )\n"
+@@ -113,6 +114,7 @@
+   return retval;
+ }
+ 
++// PKG_ADD: autoload ("reset_fixed_operations", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (reset_fixed_operations, args, ,
+   "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} reset_fixed_operations ( )\n"
+@@ -129,6 +131,7 @@
+   return retval;
+ }
+ 
++// PKG_ADD: autoload ("isfixed", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (isfixed, args, ,
+   "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} isfixed (@var{expr})\n"
+@@ -457,6 +460,7 @@
+ // PKG_ADD: dispatch ("real", "freal", "fixed matrix")
+ // PKG_ADD: dispatch ("real", "freal", "fixed complex")
+ // PKG_ADD: dispatch ("real", "freal", "fixed complex matrix")
++// PKG_ADD: autoload ("freal", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (freal, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} freal (@var{x})\n\
+ Returns the real part of the fixed point value @var{x}.\n\
+@@ -466,6 +470,7 @@
+ // PKG_ADD: dispatch ("imag", "fimag", "fixed matrix")
+ // PKG_ADD: dispatch ("imag", "fimag", "fixed complex")
+ // PKG_ADD: dispatch ("imag", "fimag", "fixed complex matrix")
++// PKG_ADD: autoload ("fimag", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fimag, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fimag (@var{x})\n\
+ Returns the imaginary part of the fixed point value @var{x}.\n\
+@@ -475,6 +480,7 @@
+ // PKG_ADD: dispatch ("conj", "fconj", "fixed matrix")
+ // PKG_ADD: dispatch ("conj", "fconj", "fixed complex")
+ // PKG_ADD: dispatch ("conj", "fconj", "fixed complex matrix")
++// PKG_ADD: autoload ("fconj", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fconj, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fconj (@var{x})\n\
+ Returns the conjuate of the fixed point value @var{x}.\n\
+@@ -484,6 +490,7 @@
+ // PKG_ADD: dispatch ("abs", "fabs", "fixed matrix")
+ // PKG_ADD: dispatch ("abs", "fabs", "fixed complex")
+ // PKG_ADD: dispatch ("abs", "fabs", "fixed complex matrix")
++// PKG_ADD: autoload ("fabs", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fabs, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fabs (@var{x})\n\
+ Compute the magnitude of the fixed point value @var{x}.\n\
+@@ -493,6 +500,7 @@
+ // PKG_ADD: dispatch ("arg", "farg", "fixed matrix")
+ // PKG_ADD: dispatch ("arg", "farg", "fixed complex")
+ // PKG_ADD: dispatch ("arg", "farg", "fixed complex matrix")
++// PKG_ADD: autoload ("farg", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (farg, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} farg (@var{x})\n\
+ Compute the argument of @var{x}, defined as\n\
+@@ -518,6 +526,7 @@
+ // PKG_ADD: dispatch ("angle", "fangle", "fixed matrix")
+ // PKG_ADD: dispatch ("angle", "fangle", "fixed complex")
+ // PKG_ADD: dispatch ("angle", "fangle", "fixed complex matrix")
++// PKG_ADD: autoload ("fangle", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fangle, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fangle (@var{x})\n\
+ See @dfn{farg}.\n\
+@@ -527,6 +536,7 @@
+ // PKG_ADD: dispatch ("cos", "fcos", "fixed matrix")
+ // PKG_ADD: dispatch ("cos", "fcos", "fixed complex")
+ // PKG_ADD: dispatch ("cos", "fcos", "fixed complex matrix")
++// PKG_ADD: autoload ("fcos", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fcos, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fcos (@var{x})\n\
+ Compute the cosine of the fixed point value @var{x}.\n\
+@@ -537,6 +547,7 @@
+ // PKG_ADD: dispatch ("cosh", "fcosh", "fixed matrix")
+ // PKG_ADD: dispatch ("cosh", "fcosh", "fixed complex")
+ // PKG_ADD: dispatch ("cosh", "fcosh", "fixed complex matrix")
++// PKG_ADD: autoload ("fcosh", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fcosh, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fcosh (@var{x})\n\
+ Compute the hyperbolic cosine of the fixed point value @var{x}.\n\
+@@ -547,6 +558,7 @@
+ // PKG_ADD: dispatch ("sin", "fsin", "fixed matrix")
+ // PKG_ADD: dispatch ("sin", "fsin", "fixed complex")
+ // PKG_ADD: dispatch ("sin", "fsin", "fixed complex matrix")
++// PKG_ADD: autoload ("fsin", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fsin, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fsin (@var{x})\n\
+ Compute the sine of the fixed point value @var{x}.\n\
+@@ -557,6 +569,7 @@
+ // PKG_ADD: dispatch ("sinh", "fsinh", "fixed matrix")
+ // PKG_ADD: dispatch ("sinh", "fsinh", "fixed complex")
+ // PKG_ADD: dispatch ("sinh", "fsinh", "fixed complex matrix")
++// PKG_ADD: autoload ("fsinh", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fsinh, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fsinh (@var{x})\n\
+ Compute the hyperbolic sine of the fixed point value @var{x}.\n\
+@@ -567,6 +580,7 @@
+ // PKG_ADD: dispatch ("tan", "ftan", "fixed matrix")
+ // PKG_ADD: dispatch ("tan", "ftan", "fixed complex")
+ // PKG_ADD: dispatch ("tan", "ftan", "fixed complex matrix")
++// PKG_ADD: autoload ("ftan", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (ftan, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} ftan (@var{x})\n\
+ Compute the tan of the fixed point value @var{x}.\n\
+@@ -577,6 +591,7 @@
+ // PKG_ADD: dispatch ("tanh", "ftanh", "fixed matrix")
+ // PKG_ADD: dispatch ("tanh", "ftanh", "fixed complex")
+ // PKG_ADD: dispatch ("tanh", "ftanh", "fixed complex matrix")
++// PKG_ADD: autoload ("ftanh", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (ftanh, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} ftanh (@var{x})\n\
+ Compute the hyperbolic tan of the fixed point value @var{x}.\n\
+@@ -587,6 +602,7 @@
+ // PKG_ADD: dispatch ("sqrt", "fsqrt", "fixed matrix")
+ // PKG_ADD: dispatch ("sqrt", "fsqrt", "fixed complex")
+ // PKG_ADD: dispatch ("sqrt", "fsqrt", "fixed complex matrix")
++// PKG_ADD: autoload ("fsqrt", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fsqrt, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fsqrt (@var{x})\n\
+ Compute the square-root of the fixed point value @var{x}.\n\
+@@ -596,6 +612,7 @@
+ // PKG_ADD: dispatch ("exp", "fexp", "fixed matrix")
+ // PKG_ADD: dispatch ("exp", "fexp", "fixed complex")
+ // PKG_ADD: dispatch ("exp", "fexp", "fixed complex matrix")
++// PKG_ADD: autoload ("fexp", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fexp, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fexp (@var{x})\n\
+ Compute the exponential of the fixed point value @var{x}.\n\
+@@ -606,6 +623,7 @@
+ // PKG_ADD: dispatch ("log", "flog", "fixed matrix")
+ // PKG_ADD: dispatch ("log", "flog", "fixed complex")
+ // PKG_ADD: dispatch ("log", "flog", "fixed complex matrix")
++// PKG_ADD: autoload ("flog", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (flog, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} flog (@var{x})\n\
+ Compute the natural logarithm of the fixed point value @var{x}.\n\
+@@ -616,6 +634,7 @@
+ // PKG_ADD: dispatch ("log10", "flog10", "fixed matrix")
+ // PKG_ADD: dispatch ("log10", "flog10", "fixed complex")
+ // PKG_ADD: dispatch ("log10", "flog10", "fixed complex matrix")
++// PKG_ADD: autoload ("flog10", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (flog10, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} flog10 (@var{x})\n\
+ Compute the base-10 logarithm of the fixed point value @var{x}.\n\
+@@ -626,6 +645,7 @@
+ // PKG_ADD: dispatch ("round", "fround", "fixed matrix")
+ // PKG_ADD: dispatch ("round", "fround", "fixed complex")
+ // PKG_ADD: dispatch ("round", "fround", "fixed complex matrix")
++// PKG_ADD: autoload ("fround", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fround, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fround (@var{x})\n\
+ Return the rounded value to the nearest integer of @var{x}.\n\
+@@ -636,6 +656,7 @@
+ // PKG_ADD: dispatch ("floor", "ffloor", "fixed matrix")
+ // PKG_ADD: dispatch ("floor", "ffloor", "fixed complex")
+ // PKG_ADD: dispatch ("floor", "ffloor", "fixed complex matrix")
++// PKG_ADD: autoload ("ffloor", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (ffloor, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} ffloor (@var{x})\n\
+ Return the largest integer not greater than @var{x}.\n\
+@@ -646,6 +667,7 @@
+ // PKG_ADD: dispatch ("ceil", "fceil", "fixed matrix")
+ // PKG_ADD: dispatch ("ceil", "fceil", "fixed complex")
+ // PKG_ADD: dispatch ("ceil", "fceil", "fixed complex matrix")
++// PKG_ADD: autoload ("fceil", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_SNGL_ARG (fceil, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fceil (@var{x})\n\
+ Return the smallest integer not less than @var{x}.\n\
+@@ -701,6 +723,7 @@
+ // PKG_ADD: dispatch ("prod", "fprod", "fixed matrix");
+ // PKG_ADD: dispatch ("prod", "fprod", "fixed complex");
+ // PKG_ADD: dispatch ("prod", "fprod", "fixed complex matrix");
++// PKG_ADD: autoload ("fprod", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_DIM_ARG (fprod, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fprod (@var{x}, at var{dim})\n\
+ Product of elements along dimension @var{dim}.  If @var{dim} is omitted,\n\
+@@ -712,6 +735,7 @@
+ // PKG_ADD: dispatch ("cumprod", "fcumprod", "fixed matrix");
+ // PKG_ADD: dispatch ("cumprod", "fcumprod", "fixed complex");
+ // PKG_ADD: dispatch ("cumprod", "fcumprod", "fixed complex matrix");
++// PKG_ADD: autoload ("fcumprod", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_DIM_ARG (fcumprod, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fcumprod (@var{x}, at var{dim})\n\
+ Cumulative product of elements along dimension @var{dim}.  If @var{dim}\n\
+@@ -723,6 +747,7 @@
+ // PKG_ADD: dispatch ("sum", "fsum", "fixed matrix");
+ // PKG_ADD: dispatch ("sum", "fsum", "fixed complex");
+ // PKG_ADD: dispatch ("sum", "fsum", "fixed complex matrix");
++// PKG_ADD: autoload ("fsum", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_DIM_ARG (fsum, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fsum (@var{x}, at var{dim})\n\
+ Sum of elements along dimension @var{dim}.  If @var{dim} is omitted, it\n\
+@@ -734,6 +759,7 @@
+ // PKG_ADD: dispatch ("cumsum", "fcumsum", "fixed matrix");
+ // PKG_ADD: dispatch ("cumsum", "fcumsum", "fixed complex");
+ // PKG_ADD: dispatch ("cumsum", "fcumsum", "fixed complex matrix");
++// PKG_ADD: autoload ("fcumsum", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_DIM_ARG (fcumsum, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fcumsum (@var{x}, at var{dim})\n\
+ Cumulative sum of elements along dimension @var{dim}.  If @var{dim}\n\
+@@ -745,6 +771,7 @@
+ // PKG_ADD: dispatch ("sumsq", "fsumsq", "fixed matrix");
+ // PKG_ADD: dispatch ("sumsq", "fsumsq", "fixed complex");
+ // PKG_ADD: dispatch ("sumsq", "fsumsq", "fixed complex matrix");
++// PKG_ADD: autoload ("fsumsq", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD_FIXED_DIM_ARG (fsumsq, "-*- texinfo -*-\n\
+ @deftypefn {Loadable Function} {@var{y} =} fsumsq (@var{x}, at var{dim})\n\
+ Sum of squares of elements along dimension @var{dim}.  If @var{dim}\n\
+@@ -761,6 +788,7 @@
+ // PKG_ADD: dispatch ("reshape", "freshape", "fixed matrix");
+ // PKG_ADD: dispatch ("reshape", "freshape", "fixed complex");
+ // PKG_ADD: dispatch ("reshape", "freshape", "fixed complex matrix");
++// PKG_ADD: autoload ("freshape", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (freshape, args, ,
+   "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} freshape (@var{a}, @var{m}, @var{n})\n"
+@@ -1035,6 +1063,7 @@
+ // PKG_ADD: dispatch ("diag", "fdiag", "fixed matrix");
+ // PKG_ADD: dispatch ("diag", "fdiag", "fixed complex");
+ // PKG_ADD: dispatch ("diag", "fdiag", "fixed complex matrix");
++// PKG_ADD: autoload ("fdiag", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (fdiag, args, ,
+   "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} fdiag (@var{v}, @var{k})\n"
+@@ -1079,6 +1108,7 @@
+ // PKG_ADD: dispatch ("atan2", "fatan2", "fixed matrix");
+ // PKG_ADD: dispatch ("atan2", "fatan2", "fixed complex");
+ // PKG_ADD: dispatch ("atan2", "fatan2", "fixed complex matrix");
++// PKG_ADD: autoload ("fatan2", fullfile (fileparts (mfilename ("fullpath")), "fixed.oct"));
+ DEFUN_DLD (fatan2, args, ,
+   "-*- texinfo -*-\n"
+ "@deftypefn {Loadable Function} {} fatan2 (@var{y}, @var{x})\n"

Modified: octave-forge-pkgs/octave-fixed/trunk/debian/patches/series
===================================================================
--- octave-forge-pkgs/octave-fixed/trunk/debian/patches/series	2008-03-31 14:38:45 UTC (rev 1541)
+++ octave-forge-pkgs/octave-fixed/trunk/debian/patches/series	2008-03-31 15:15:11 UTC (rev 1542)
@@ -1,2 +1,3 @@
+pkg-add-autoloads.diff
 mister-proper.diff
 shared-lib.diff




More information about the Pkg-octave-commit mailing list