summaryrefslogtreecommitdiff
path: root/math/octave
AgeCommit message (Collapse)AuthorFilesLines
2017-07-30hack: force disable a configure test.maya1-1/+4
Fixes build with PKGSRC_FORTRAN=gfortran (6.4) on netbsd. resulting binary works fine. I suspect the issue is that the wrong gcc (one without fortran support) is invoked.
2017-07-03Get rid of charset.alias. it creates conflicts with other packages (gdbmaya2-4/+4
being one example), and the logic for building it is conditional, causing PLIST mismatches for GLIBC users. Reported by Jason Bacon in pkgsrc-users. Bump PKGREVISION
2017-04-30Recursive revbump from boost updateryoon1-2/+2
2017-04-22Revbump after icu updateadam1-2/+2
2017-03-15octave: amend wrapper patches to be netbsd-specific. fix sunOS buildmaya3-11/+19
octave is using gnulib for portability, but has an additional wrapper around it. unfortunately that means that this type signature is no longer portable. netbsd doesn't have struct tm_zone, others do. I failed to use gnulib to provide struct tm_zone, using an OS-specific macro as an ugly hack. reported by hans
2017-02-28Recursive revbump from graphics/libwebpryoon1-2/+2
2017-02-12Recursive revbump from fonts/harfbuzzryoon1-2/+2
2017-02-09Correct the default value of BUILDLINK_DEPMETHOD.arpackminskim1-2/+2
Since arpack installs a dynamic library, its BUILDLINK_DEPMETHOD shouldn't be set to "build" by default. Bump PKGREVISION of octave for its runtime dependency change.
2017-02-06Recursive bump for harfbuzz's new graphite2 dependency.wiz1-2/+2
2017-01-24Mention you can use ~/.octaverc to make the change more permanent, it'smaya1-3/+4
more convenient.
2017-01-21Recursive revbump from audio/pulseaudio-10.0ryoon1-2/+2
2017-01-01Revbump after boost updateadam1-2/+2
2016-12-31Use standard way to test for build options.wiz1-3/+6
2016-12-04Recursive revbump from textproc/icu 58.1ryoon1-1/+2
2016-11-19Octave: update to 4.2.0maya30-847/+258
pkgsrc changes: removed all patches to do with qt5 support, upstream code does it now. blindly moved some patches that were replacing INSTALL_PROGRAM to INSTALL_LIB as the build changed. added patch replacing struct tm_zone with timezone_t to accommodate for missing type in NetBSD - same as libgnu does. ok adam Summary of important user-visible changes for version 4.2: --------------------------------------------------------- ** The parser has been extended to accept, but ignore, underscore characters in numbers. This facilitates writing more legible code by using '_' as a thousands separator or to group nibbles into bytes in hex constants. Examples: 1_000_000 == 1e6 or 0xDE_AD_BE_EF ** The parser has been extended to understand binary numbers which begin with the prefix '0b' or '0B'. The value returned is Octave's default numeric class of double, not at unsigned integer class. Therefore numbers greater than flintmax, i.e., 2^53, will lose some precision. Examples: 0b101 == 5 or 0B1100_0001 == 0xC1 ** gnuplot 4.4 is now the minimum version supported by Octave. ** The default set of colors used to plot lines has been updated to be compatible with Matlab's new default color scheme. The line plot color scheme can be set with the axes property "ColorOrder". ** The default colormap is now set to "viridis" which is also the default colormap in matplotlib. This new colormap fixes some of the main issues with the old default colormap "jet" such as its bad "luminance profile" and is also more similar to Matlab's new default colormap "parula". ** The colormap function no longer supports the input argument "list" to show built-in colormaps. Use "help colormap" to find the built-in colormaps. ** The graphics command "hold on" now ensures that each new plot added to an existing plot has a different color or linestyle according to the "ColorOrder" and/or "LineStyleOrder" properties. This is equivalent to the old command "hold all" and was made for Matlab compatibility. Existing code *may* produce differently colored plots if it did not specify the color for a plot and relied on each new plot having the default first color in the "ColorOrder" property. ** When starting, Octave now looks in the function path for a file startup.m and executes any commands found there. This change was made to accommodate Matlab users. Octave has it's own configuration system based on the file .octaverc which is preferred. ** Octal ('\NNN') and hex ('\xNN') escape sequences in single quoted strings are now interpreted by the function do_string_escapes(). The *printf family of functions now supports octal and hex escape sequences in single-quoted strings for Matlab compatibility. ** Special octal and hex escape sequences for the pattern and replacement strings in regular expressions are now interpreted for Matlab compatibility. octal: '\oNNN' or '\o{NNN}' hex : '\xNN' or '\x{NN}' ** Unknown escape sequences in the replacement string for regexprep are now substituted with their unescaped version and no warning is emitted. This change was made for Matlab compatibility. Example: regexprep ('a', 'a', 'x\yz') => 'xyz' ** mkfifo now interprets the MODE argument as an octal, not decimal, integer. This is consistent with the equivalent shell command. ** linspace now returns an empty matrix if the number of requested points is 0 or a negative number. This change was made to be compatible with Matlab releases newer than 2011. In addition, Octave no longer supports matrix inputs for A or B. ** The cov function now returns the complex conjugate of the result from previous versions of Octave. This change was made for compatibility with Matlab. ** condest now works with a normest1 compatible syntax. ** The griddata function no longer plots the interpolated mesh if no output argument is requested, instead the vector or array of interpolated values is always returned for Matlab compatibility. ** The new function "light" and the corresponding graphics object provide light and shadow effects for patch and surface objects. ** The surfnorm function now returns unnormalized (magnitude != 1) normal vectors for compatibility with Matlab. ** The normal vectors returned from isonormals have been reversed to point towards smaller values for compatibility with Matlab. ** The quadl function now uses an absolute, rather than relative, tolerance for Matlab compatibility. The default tolerance is 1e-6 which may result in lower precision results than previous versions of Octave which used eps as the relative tolerance. The quadl function has also been extended to return a second output with the total number of function evaluations. ** The textscan function is now built-in and is much faster and much more Matlab-compatible than the previous m-file version. ** Dialog boxes--errordlg, helpdlg, inputdlg, listdlg, msgbox, questdlg, and warndlg--now exclusively use Qt for rendering. Java based versions have been removed. ** The axes properties "TitleFontSizeMultiplier" and "TitleFontWeight" are now implemented which control the default appearance of text created with title(). The axes property "LabelFontSizeMultiplier" is now implemented which controls the default appearance of text created with xlabel(), ylabel(), or zlabel(). ** The graphics property "box" for axes now defaults to "off". To obtain equivalent plots to previous versions of Octave use set (0, "DefaultAxesBox", "on"); in your .octaverc file. ** The graphics property "boxstyle" has been implemented. The default is "back" which draws only the back planes in a 3-D view. If the option is "full" then all planes are drawn. ** The graphics property "erasemode" has been hidden, and will eventually be removed. This property has also been removed from Matlab, and was never implemented in Octave. ** The graphics property "graphicssmoothing" for figures now controls whether anti-aliasing will be used for lines. The default is "on". ** The value "zero" for the axes properties "xaxislocation" and "yaxislocation" has been deprecated and will be removed from Octave 4.6. Use "origin" instead. ** The publish function allows easy publication of Octave script files in HTML or other formats, including figures and output created by this script. It comes with its counterpart grabcode, which lets one literally grab the HTML published code from a remote website, for example. ** The value of the MEX variable TrapFlag now defaults to 0, which will cause Octave to abort execution of a MEX file and return to the prompt if an error is encountered in mexCallMATLAB. ** The MEX API now includes the function mexCallMATLABWithTrap. This function will not abort if an error occurs during mexCallMATLAB, but instead will return execution to the MEX function for error handling. ** The MEX API functions for input validation that begin with "mxIs" (e.g., mxIsDouble, mxIsEmpty, etc.) now return type bool rather than type int. ** The functions mxAssert and mxAssertS for checking assertions have been added. In order to avoid a performance penalty they are only compiled in to debug versions of a MEX file, i.e., that are produced when the '-g' option is given to mex or mkoctfile. ** Other new MEX API functions include mexEvalStringWithTrap, mxIsScalar, mxCreateUninitNumericArray, mxCreateUninitNumericMatrix. ** Other new functions added in 4.2: audioformats camlight condeig deg2rad dialog evalc hash im2double isocaps lighting localfunctions material normest1 ode23 ode45 odeget odeplot odeset padecoef profexport psi rad2deg reducepatch reducevolume smooth3 uibuttongroup ** Deprecated functions. The following functions have been deprecated in Octave 4.2 and will be removed from Octave 4.6 (or whatever version is the second major release after 4.2): Function | Replacement ---------------------|------------------ bitmax | flintmax mahalanobis | mahal in Octave-Forge statistics pkg md5sum | hash octve_config_info | __octave_config_info__ onenormest | normest1 sleep | pause usleep | pause wavread | audioread wavwrite | audiowrite ** The following functions were deprecated in Octave 3.8 and have been removed from Octave 4.2. default_save_options java_new gen_doc_cache java_unsigned_conversion interp1q javafields isequalwithequalnans javamethods java_convert_matrix re_read_readline_init_file java_debug read_readline_init_file java_invoke saving_history ** The global error_state variable in Octave's C++ API has been deprecated and will be removed in a future version. Now the error and print_usage functions throw an exception (octave::execution_exception) after displaying the error message. This makes the error and print_usage functions in C++ work more like the corresponding functions in the scripting language. ** The default error handlers in liboctave have been updated to use exceptions. After displaying an error message they no longer return control to the calling program. The error handler function can be customized through the global variables "current_liboctave_error_handler" and "current_liboctave_error_with_id_handler". If a programmer has installed their own custom error handling routines when directly linking with liboctave then these must be updated to throw an exception and not return to the calling program. ** The system for common errors and warnings has been renamed from gripe_XXX to either err_XXX if error is called or warn_XXX if warning is called. The gripe_XXX functions are deprecated and will be removed in version 4.6. ** New configure option, --enable-address-sanitizer-flags, to build Octave with memory allocator checks (similar to those in valgrind) built in.
2016-11-19octave: reference llvm & octave bug reports for ambiguous floatmaya2-3/+6
precision patch.
2016-10-07Revbump post boost updateadam1-2/+2
2016-09-28octave: fix linux installmaya3-6/+41
we pass and assume a given MACHINE_GNU_PLATFORM, but this package did not use this value due to an error. the guess it had for linux (x86_64-unknown-linux-gnu) is different, and this seems to trample over our own tools, see: https://mail-index.netbsd.org/pkgsrc-users/2014/03/26/msg019464.html add this patch to the original m4 script too, not just the resulting configure file, so it won't be accidentially forgotten (and can be upstreamed). patch originally by Iain Morgan reminded by Dr. Thomas Orgis
2016-09-20octave: suggest workaround for crashes in MESSAGEmaya1-0/+7
the default uses OpenGL and depending on the setup, it may lack certain features. see GNU Octave bug #44823: http://savannah.gnu.org/bugs/?44823
2016-08-08Don't install lib/charset.aliasprlw12-3/+3
2016-08-06Update octave to 4.0.3prlw110-115/+59
XXX installs lib/charset.alias - is this a problem? Bugs Fixed in GNU Octave 4.0.3 * doc: clarify differences between atan and atan2 (bug #48178) * doc: delete mention of unsupported syntax for looping over structs (bug #48064) * ver.m: return empty struct for unknown package (bug #48235). * Update gnulib subrepo for texinfo formatting fixes (bug #48001) * Fix typos in Java conversion of 32 and 64 bit integers (bug #48107) * Create valid gnuplot commands even for single-entry colormaps (bug #48083). * orderfields.m: Remove trailing bracket in docstring (bug #48063). * Don't overly restrict options passed to Java jvm (bug #39063). * Write integers with correct byte order on big-endian systems (bug #47434) * doc: Document syntax for specifying color when using Tex interpreter (bug #47907). * Round quantized pixel values before writing uintN images (bug #47746) * Fix popen2 error on Windows when child writes to stderr (bug #43036) * it_IT.ts: Correct Italian translation of "col:" (bug #47857). * avoid crash in audiowrite argument processing (bug #47875) * make __magick_read__ a built-in function (bug #41699) * sortrows.m: Improve docstring (bug #47844). * doc: Fix typo in exec docstring. * Use correct URL for Online Documentation (bug #47835). * Fix autoscale affecting legend axes objects (bug #47765). * configure.ac: Remove AC_CHECK_FUNC for pipe now that gnulib::pipe used. * doc: fix on manual the syntax to empty elements from cell array. * octave.texi: Set document encoding to UTF-8. * Enable the pipe function on Windows (bug #47614) * avoid mulitple definitions of static function-scope vars (bug #47372) * Array-sym.cc: Delete obsolete file. * Initialize variable to stop unstable results for lgamma (bug #47524). * call openmp function at initialization (bug #47372) * macros.texi: Colorized links for PDF files with Texinfo 6.x.
2016-08-04Recursive revbump from audio/pulseaudioryoon1-2/+2
2016-07-09Bump PKGREVISION for perl-5.24.0 for everything mentioning perl.wiz1-2/+2
2016-04-11Recursive revbump from textproc/icu 57.1ryoon1-2/+2
2016-03-22Fix build against Qt5 when reduced-relocation hack is active.joerg1-1/+7
2016-03-05Bump PKGREVISION for security/openssl ABI bump.jperkin1-1/+2
2016-03-01GC old patch.joerg1-13/+0
2016-03-01Don't do clever things with include guards, clever things tend to break.joerg2-5/+28
2016-02-25Use OPSYSVARS.jperkin1-5/+3
2016-02-16update to octave-4.0.0dbj55-1108/+1601
Octave 4.0 is a major new release with many new features, including a graphical user interface, support for classdef object-oriented programming, better compatibility with Matlab, and many new and improved functions. A list of important user-visible changes is availble at http://octave.org/NEWS-4.0.html, by selecting the Release Notes item in the News menu of the GUI, or by typing news at the Octave command prompt.
2016-02-03octave revbump bacuse of qhull update.nros1-2/+2
2015-12-10Fix missing dependency that I am regulary hitting in bulk builds.joerg2-1/+15
2015-11-03Add SHA512 digests for distfiles for math categoryagc1-1/+2
Problems found locating distfiles: Package dfftpack: missing distfile dfftpack-20001209.tar.gz Package eispack: missing distfile eispack-20001130.tar.gz Package fftpack: missing distfile fftpack-20001130.tar.gz Package linpack: missing distfile linpack-20010510.tar.gz Package minpack: missing distfile minpack-20001130.tar.gz Package odepack: missing distfile odepack-20001130.tar.gz Package py-networkx: missing distfile networkx-1.10.tar.gz Package py-sympy: missing distfile sympy-0.7.6.1.tar.gz Package quadpack: missing distfile quadpack-20001130.tar.gz Otherwise, existing SHA1 digests verified and found to be the same on the machine holding the existing distfiles (morden). All existing SHA1 digests retained for now as an audit trail.
2015-08-18Bump all packages that depend on curses.bui* or terminfo.bui* since theywiz2-4/+4
might incur ncurses dependencies on some platforms, and ncurses just bumped its shlib. Some packages were bumped twice now, sorry for that.
2015-08-17Bump PKGREVISION for ncurses shlib bump.wiz2-4/+4
2015-06-27Needs pdftex.joerg1-1/+2
2015-06-15tex-latex-fonts is in fonts, not in print.joerg1-2/+2
2015-06-12Recursive PKGREVISION bump for all packages mentioning 'perl',wiz1-2/+2
having a PKGNAME of p5-*, or depending such a package, for perl-5.22.0.
2015-05-05Reduce tex dependencies. Bump PKGREVISION.wiz1-3/+6
2015-04-23install .oct loadable modules with INSTALL_LIB to avoid stripping themdbj6-7/+84
regenerate patch sums in distinfo bump PKGREVISION
2015-04-23don't install lib/charset.alias which is reserved for libiconvdbj1-2/+2
2015-04-23don't assume gnuplot is configured with libaquaterm on macdbj1-0/+16
2015-04-23avoid obsolete darwin api for CGDisplayBitsPerPixeldbj1-0/+25
use CGDisplayModeCopyPixelEncoding instead
2014-06-27Request GNU texinfo as a tool to avoid build failure when it is missing.asau1-1/+2
2014-06-05Don't force std::pow into the global namespace. See comment for furtherjoerg2-1/+19
details.
2014-05-29Bump for perl-5.20.0.wiz1-2/+2
Do it for all packages that * mention perl, or * have a directory name starting with p5-*, or * depend on a package starting with p5- like last time, for 5.18, where this didn't lead to complaints. Let me know if you have any this time.
2014-05-04+LICENSErodent1-1/+2
2014-05-04Don't multi-line MASTER_SITES.rodent1-4/+4
2014-03-06Do not re-define gets() on SunOS, incompatible prototype.jperkin2-1/+21
2014-03-06Pull in Texinfo 5.x compatibility fixes from upstream.jperkin16-1/+454