From: Jan Rękorajski Date: Sun, 14 Jul 2013 16:13:03 +0000 (+0200) Subject: - make texinfo 5.1 happy X-Git-Tag: auto/th/octave-3.6.4-4 X-Git-Url: http://git.pld-linux.org/gitweb.cgi?a=commitdiff_plain;h=b9bf71f6e8d006d86e40bba82d8bb204cc65e885;p=packages%2Foctave.git - make texinfo 5.1 happy - rel 4 --- diff --git a/octave-info.patch b/octave-info.patch index 3e500d8..7058b48 100644 --- a/octave-info.patch +++ b/octave-info.patch @@ -45,3 +45,314 @@ diff -Nur octave-2.1.36.orig/doc/interpreter/octave.texi octave-2.1.36/doc/inter @end format @end ifinfo +--- octave-3.6.4/doc/interpreter/strings.texi~ 2013-02-21 21:37:52.000000000 +0100 ++++ octave-3.6.4/doc/interpreter/strings.texi 2013-07-10 00:02:48.495061805 +0200 +@@ -1136,7 +1136,7 @@ + @item %s + The word is parsed as a string. + +-@itemx %f ++@item %f + @itemx %n + The word is parsed as a number and converted to double. + +diff -ur octave-3.6.4.orig/doc/interpreter/audio.texi octave-3.6.4/doc/interpreter/audio.texi +--- octave-3.6.4.orig/doc/interpreter/audio.texi 2013-02-21 21:37:50.000000000 +0100 ++++ octave-3.6.4/doc/interpreter/audio.texi 2013-07-14 17:51:09.075416914 +0200 +@@ -146,18 +146,22 @@ + Load the RIFF/WAVE sound file @var{filename}, and return the samples + in vector @var{y}. If the file contains multichannel data, then + @var{y} is a matrix with the channels represented as columns. ++@end deftypefn + +-@deftypefnx {Function File} {[@var{y}, @var{Fs}, @var{bps}] =} wavread (@var{filename}) ++@deftypefn {Function File} {[@var{y}, @var{Fs}, @var{bps}] =} wavread (@var{filename}) + Additionally return the sample rate (@var{fs}) in Hz and the number of bits + per sample (@var{bps}). ++@end deftypefn + +-@deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n}) ++@deftypefn {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n}) + Read only the first @var{n} samples from each channel. ++@end deftypefn + +-@deftypefnx {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n1} @var{n2}) ++@deftypefn {Function File} {[@dots{}] =} wavread (@var{filename}, @var{n1} @var{n2}) + Read only samples @var{n1} through @var{n2} from each channel. ++@end deftypefn + +-@deftypefnx {Function File} {[@var{samples}, @var{channels}] =} wavread (@var{filename}, "size") ++@deftypefn {Function File} {[@var{samples}, @var{channels}] =} wavread (@var{filename}, "size") + Return the number of samples (@var{n}) and channels (@var{ch}) + instead of the audio data. + @seealso{@ref{doc-wavwrite,,wavwrite}} +diff -ur octave-3.6.4.orig/doc/interpreter/plot.texi octave-3.6.4/doc/interpreter/plot.texi +--- octave-3.6.4.orig/doc/interpreter/plot.texi 2013-02-21 21:37:52.000000000 +0100 ++++ octave-3.6.4/doc/interpreter/plot.texi 2013-07-14 17:49:17.127729719 +0200 +@@ -2707,17 +2707,21 @@ + Set the data aspect ratio of the current axes. The aspect ratio is + a normalized 3-element vector representing the span of the x, y, and + z-axes limits. ++@end deftypefn + +-@deftypefnx {Function File} {@var{data_aspect_ratio} =} daspect ( ) ++@deftypefn {Function File} {@var{data_aspect_ratio} =} daspect ( ) + Return the data aspect ratio of the current axes. ++@end deftypefn + +-@deftypefnx {Function File} {} daspect (@var{mode}) ++@deftypefn {Function File} {} daspect (@var{mode}) + Set the data aspect ratio mode of the current axes. ++@end deftypefn + +-@deftypefnx {Function File} {@var{data_aspect_ratio_mode} =} daspect ("mode") ++@deftypefn {Function File} {@var{data_aspect_ratio_mode} =} daspect ("mode") + Return the data aspect ratio mode of the current axes. ++@end deftypefn + +-@deftypefnx {Function File} {} daspect (@var{hax}, @dots{}) ++@deftypefn {Function File} {} daspect (@var{hax}, @dots{}) + Use the axes, with handle @var{hax}, instead of the current axes. + + @seealso{@ref{doc-axis,,axis}, @ref{doc-pbaspect,,pbaspect}, @ref{doc-xlim,,xlim}, @ref{doc-ylim,,ylim}, @ref{doc-zlim,,zlim}} +@@ -2730,17 +2734,21 @@ + Set the plot box aspect ratio of the current axes. The aspect ratio + is a normalized 3-element vector representing the rendered lengths of + the x, y, and z-axes. ++@end deftypefn + +-@deftypefnx {Function File} {@var{plot_box_aspect_ratio} =} pbaspect ( ) ++@deftypefn {Function File} {@var{plot_box_aspect_ratio} =} pbaspect ( ) + Return the plot box aspect ratio of the current axes. ++@end deftypefn + +-@deftypefnx {Function File} {} pbaspect (@var{mode}) ++@deftypefn {Function File} {} pbaspect (@var{mode}) + Set the plot box aspect ratio mode of the current axes. ++@end deftypefn + +-@deftypefnx {Function File} {@var{plot_box_aspect_ratio_mode} =} pbaspect ("mode") ++@deftypefn {Function File} {@var{plot_box_aspect_ratio_mode} =} pbaspect ("mode") + Return the plot box aspect ratio mode of the current axes. ++@end deftypefn + +-@deftypefnx {Function File} {} pbaspect (@var{hax}, @dots{}) ++@deftypefn {Function File} {} pbaspect (@var{hax}, @dots{}) + Use the axes, with handle @var{hax}, instead of the current axes. + + @seealso{@ref{doc-axis,,axis}, @ref{doc-daspect,,daspect}, @ref{doc-xlim,,xlim}, @ref{doc-ylim,,ylim}, @ref{doc-zlim,,zlim}} +@@ -3147,7 +3155,7 @@ + @item "hide" + Hide legend on the plot + +-@itemx "toggle" ++@item "toggle" + Toggles between "hide" and "show" + + @item "boxon" +@@ -3162,7 +3170,7 @@ + @item "right" + Place text to the right of the keys + +-@itemx "off" ++@item "off" + Delete the legend object + @end table + @end deftypefn +@@ -4139,11 +4147,11 @@ + is sent to a file the size is determined by the plot box defined by + the figure's "paperposition" property. + +-@itemx -append ++@item -append + Appends the PS, or PDF output to a pre-existing file of the + same type. + +-@itemx -r@var{NUM} ++@item -r@var{NUM} + Resolution of bitmaps in pixels per inch. For both metafiles and + SVG the default is the screen resolution, for other it is 150 dpi. + To specify screen resolution, use "-r0". +@@ -6296,15 +6304,15 @@ + A character indicating a plot marker to be place at each data point, or + @code{"none"}, meaning no markers should be displayed. + +-@itemx markeredgecolor ++@item markeredgecolor + The color of the edge around the marker, or @code{"auto"}, meaning that + the edge color is the same as the face color. @xref{Colors}. + +-@itemx markerfacecolor ++@item markerfacecolor + The color of the marker, or @code{"none"} to indicate that the marker + should not be filled. @xref{Colors}. + +-@itemx markersize ++@item markersize + A number specifying the size of the marker. The default is 1. A value + of 2 is twice as large as the default, etc. + @end table +@@ -6442,7 +6450,8 @@ + @deftypefn {Function File} {@var{value} =} getappdata (@var{h}, @var{name}) + Return the @var{value} for named application data for the object(s) with + handle(s) @var{h}. +-@deftypefnx {Function File} {@var{appdata} =} getappdata (@var{h}) ++@end deftypefn ++@deftypefn {Function File} {@var{appdata} =} getappdata (@var{h}) + Return a structure, @var{appdata}, whose fields correspond to the appdata + properties. + @end deftypefn +diff -ur octave-3.6.4.orig/doc/interpreter/poly.texi octave-3.6.4/doc/interpreter/poly.texi +--- octave-3.6.4.orig/doc/interpreter/poly.texi 2013-02-21 21:37:52.000000000 +0100 ++++ octave-3.6.4/doc/interpreter/poly.texi 2013-07-14 17:50:09.984878151 +0200 +@@ -82,8 +82,9 @@ + (@var{x}-@var{mu}(1))/@var{mu}(2). + If @var{x} is a vector or matrix, the polynomial is evaluated for each of + the elements of @var{x}. ++@end deftypefn + +-@deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}) ++@deftypefn {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}) + @deftypefnx {Function File} {[@var{y}, @var{dy}] =} polyval (@var{p}, @var{x}, @var{s}, @var{mu}) + In addition to evaluating the polynomial, the second output + represents the prediction interval, @var{y} +/- @var{dy}, which +diff -ur octave-3.6.4.orig/doc/interpreter/set.texi octave-3.6.4/doc/interpreter/set.texi +--- octave-3.6.4.orig/doc/interpreter/set.texi 2013-02-21 21:37:52.000000000 +0100 ++++ octave-3.6.4/doc/interpreter/set.texi 2013-07-14 17:49:52.361384171 +0200 +@@ -150,8 +150,9 @@ + 3 4 + @end group + @end example ++@end deftypefn + +-@deftypefnx {Function File} {[@var{c}, @var{ia}, @var{ib}] =} union (@var{a}, @var{b}) ++@deftypefn {Function File} {[@var{c}, @var{ia}, @var{ib}] =} union (@var{a}, @var{b}) + + Return index vectors @var{ia} and @var{ib} such that @code{a(ia)} and + @code{b(ib)} are disjoint sets whose union is @var{c}. +diff -ur octave-3.6.4.orig/doc/interpreter/signal.texi octave-3.6.4/doc/interpreter/signal.texi +--- octave-3.6.4.orig/doc/interpreter/signal.texi 2013-02-21 21:37:52.000000000 +0100 ++++ octave-3.6.4/doc/interpreter/signal.texi 2013-07-14 17:50:42.388506903 +0200 +@@ -454,17 +454,20 @@ + + For fastest computation, @var{n} should factor into a small number of + small primes. ++@end deftypefn + +-@deftypefnx {Function File} {@var{h} =} freqz (@var{b}, @var{a}, @var{w}) ++@deftypefn {Function File} {@var{h} =} freqz (@var{b}, @var{a}, @var{w}) + Evaluate the response at the specific frequencies in the vector @var{w}. + The values for @var{w} are measured in radians. ++@end deftypefn + +-@deftypefnx {Function File} {[@dots{}] =} freqz (@dots{}, @var{Fs}) ++@deftypefn {Function File} {[@dots{}] =} freqz (@dots{}, @var{Fs}) + Return frequencies in Hz instead of radians assuming a sampling rate + @var{Fs}. If you are evaluating the response at specific frequencies + @var{w}, those frequencies should be requested in Hz rather than radians. ++@end deftypefn + +-@deftypefnx {Function File} {} freqz (@dots{}) ++@deftypefn {Function File} {} freqz (@dots{}) + Plot the pass band, stop band and phase response of @var{h} rather + than returning them. + @end deftypefn +diff -ur octave-3.6.4.orig/doc/interpreter/system.texi octave-3.6.4/doc/interpreter/system.texi +--- octave-3.6.4.orig/doc/interpreter/system.texi 2013-02-21 21:37:52.000000000 +0100 ++++ octave-3.6.4/doc/interpreter/system.texi 2013-07-14 17:53:07.136493915 +0200 +@@ -1261,9 +1261,9 @@ + interpreted as filename globbing patterns (as they are used by Unix shells). + Within a pattern + @table @code +-@itemx * ++@item * + matches any string, including the null string, +-@itemx ? ++@item ? + matches any single character, and + + @item [@dots{}] +@@ -2789,8 +2789,9 @@ + Display a header containing the current Octave version number, license + string and operating system, followed by the installed package names, + versions, and installation directories. ++@end deftypefn + +-@deftypefnx {Function File} {v =} ver () ++@deftypefn {Function File} {v =} ver () + Return a vector of structures, respecting Octave and each installed package. + The structure includes the following fields. + +@@ -2807,11 +2808,13 @@ + @item Date + Date respecting the version/revision. + @end table ++@end deftypefn + +-@deftypefnx {Function File} {v =} ver ("Octave") ++@deftypefn {Function File} {v =} ver ("Octave") + Return version information for Octave only. ++@end deftypefn + +-@deftypefnx {Function File} {v =} ver (@var{package}) ++@deftypefn {Function File} {v =} ver (@var{package}) + Return version information for @var{package}. + + @seealso{@ref{doc-version,,version}, @ref{doc-octave_config_info,,octave_config_info}} +@@ -2878,19 +2881,23 @@ + @anchor{doc-license} + @deftypefn {Function File} {} license + Display the license of Octave. ++@end deftypefn + +-@deftypefnx {Function File} {} license ("inuse") ++@deftypefn {Function File} {} license ("inuse") + Display a list of packages currently being used. ++@end deftypefn + +-@deftypefnx {Function File} {@var{retval} =} license ("inuse") ++@deftypefn {Function File} {@var{retval} =} license ("inuse") + Return a structure containing the fields @code{feature} and @code{user}. ++@end deftypefn + +-@deftypefnx {Function File} {@var{retval} =} license ("test", @var{feature}) ++@deftypefn {Function File} {@var{retval} =} license ("test", @var{feature}) + Return 1 if a license exists for the product identified by the string + @var{feature} and 0 otherwise. The argument @var{feature} is case + insensitive and only the first 27 characters are checked. ++@end deftypefn + +-@deftypefnx {Function File} {} license ("test", @var{feature}, @var{toggle}) ++@deftypefn {Function File} {} license ("test", @var{feature}, @var{toggle}) + Enable or disable license testing for @var{feature}, depending on + @var{toggle}, which may be one of: + +@@ -2902,8 +2909,9 @@ + @item "disable" + Future tests for the specified license of @var{feature} return 0. + @end table ++@end deftypefn + +-@deftypefnx {Function File} {@var{retval} =} license ("checkout", @var{feature}) ++@deftypefn {Function File} {@var{retval} =} license ("checkout", @var{feature}) + Check out a license for @var{feature}, returning 1 on success and 0 + on failure. + +diff -ur octave-3.6.4.orig/doc/liboctave/liboctave.texi octave-3.6.4/doc/liboctave/liboctave.texi +--- octave-3.6.4.orig/doc/liboctave/liboctave.texi 2013-07-14 17:27:13.955663003 +0200 ++++ octave-3.6.4/doc/liboctave/liboctave.texi 2013-07-14 17:58:05.292550399 +0200 +@@ -81,10 +81,10 @@ + @end ifnottex + + @titlepage +-@title{Octave C++ Classes} +-@subtitle{Edition 1.0 for Octave version @value{VERSION}} +-@subtitle{September 1993} +-@author{John W. Eaton} ++@title Octave C++ Classes ++@subtitle Edition 1.0 for Octave version @value{VERSION} ++@subtitle September 1993 ++@author John W. Eaton + @page + @vskip 0pt plus 1filll + Copyright @copyright{} 1996, 1997 John W. Eaton. diff --git a/octave.spec b/octave.spec index f8cd1dd..b3f8206 100644 --- a/octave.spec +++ b/octave.spec @@ -16,7 +16,7 @@ Summary(sv.UTF-8): GNU Octave - ett högninvÃ¥sprÃ¥k för numeriska beräkningar Summary(zh_CN.UTF-8): GNU Octave - 用于数字计算的高级语言。 Name: octave Version: 3.6.4 -Release: 3 +Release: 4 Epoch: 2 License: GPL v3+ Group: Applications/Math