head 1.9; access; symbols pkgsrc-2026Q1:1.9.0.156 pkgsrc-2026Q1-base:1.9 pkgsrc-2025Q4:1.9.0.154 pkgsrc-2025Q4-base:1.9 pkgsrc-2025Q3:1.9.0.152 pkgsrc-2025Q3-base:1.9 pkgsrc-2025Q2:1.9.0.150 pkgsrc-2025Q2-base:1.9 pkgsrc-2025Q1:1.9.0.148 pkgsrc-2025Q1-base:1.9 pkgsrc-2024Q4:1.9.0.146 pkgsrc-2024Q4-base:1.9 pkgsrc-2024Q3:1.9.0.144 pkgsrc-2024Q3-base:1.9 pkgsrc-2024Q2:1.9.0.142 pkgsrc-2024Q2-base:1.9 pkgsrc-2024Q1:1.9.0.140 pkgsrc-2024Q1-base:1.9 pkgsrc-2023Q4:1.9.0.138 pkgsrc-2023Q4-base:1.9 pkgsrc-2023Q3:1.9.0.136 pkgsrc-2023Q3-base:1.9 pkgsrc-2023Q2:1.9.0.134 pkgsrc-2023Q2-base:1.9 pkgsrc-2023Q1:1.9.0.132 pkgsrc-2023Q1-base:1.9 pkgsrc-2022Q4:1.9.0.130 pkgsrc-2022Q4-base:1.9 pkgsrc-2022Q3:1.9.0.128 pkgsrc-2022Q3-base:1.9 pkgsrc-2022Q2:1.9.0.126 pkgsrc-2022Q2-base:1.9 pkgsrc-2022Q1:1.9.0.124 pkgsrc-2022Q1-base:1.9 pkgsrc-2021Q4:1.9.0.122 pkgsrc-2021Q4-base:1.9 pkgsrc-2021Q3:1.9.0.120 pkgsrc-2021Q3-base:1.9 pkgsrc-2021Q2:1.9.0.118 pkgsrc-2021Q2-base:1.9 pkgsrc-2021Q1:1.9.0.116 pkgsrc-2021Q1-base:1.9 pkgsrc-2020Q4:1.9.0.114 pkgsrc-2020Q4-base:1.9 pkgsrc-2020Q3:1.9.0.112 pkgsrc-2020Q3-base:1.9 pkgsrc-2020Q2:1.9.0.108 pkgsrc-2020Q2-base:1.9 pkgsrc-2020Q1:1.9.0.88 pkgsrc-2020Q1-base:1.9 pkgsrc-2019Q4:1.9.0.110 pkgsrc-2019Q4-base:1.9 pkgsrc-2019Q3:1.9.0.106 pkgsrc-2019Q3-base:1.9 pkgsrc-2019Q2:1.9.0.104 pkgsrc-2019Q2-base:1.9 pkgsrc-2019Q1:1.9.0.102 pkgsrc-2019Q1-base:1.9 pkgsrc-2018Q4:1.9.0.100 pkgsrc-2018Q4-base:1.9 pkgsrc-2018Q3:1.9.0.98 pkgsrc-2018Q3-base:1.9 pkgsrc-2018Q2:1.9.0.96 pkgsrc-2018Q2-base:1.9 pkgsrc-2018Q1:1.9.0.94 pkgsrc-2018Q1-base:1.9 pkgsrc-2017Q4:1.9.0.92 pkgsrc-2017Q4-base:1.9 pkgsrc-2017Q3:1.9.0.90 pkgsrc-2017Q3-base:1.9 pkgsrc-2017Q2:1.9.0.86 pkgsrc-2017Q2-base:1.9 pkgsrc-2017Q1:1.9.0.84 pkgsrc-2017Q1-base:1.9 pkgsrc-2016Q4:1.9.0.82 pkgsrc-2016Q4-base:1.9 pkgsrc-2016Q3:1.9.0.80 pkgsrc-2016Q3-base:1.9 pkgsrc-2016Q2:1.9.0.78 pkgsrc-2016Q2-base:1.9 pkgsrc-2016Q1:1.9.0.76 pkgsrc-2016Q1-base:1.9 pkgsrc-2015Q4:1.9.0.74 pkgsrc-2015Q4-base:1.9 pkgsrc-2015Q3:1.9.0.72 pkgsrc-2015Q3-base:1.9 pkgsrc-2015Q2:1.9.0.70 pkgsrc-2015Q2-base:1.9 pkgsrc-2015Q1:1.9.0.68 pkgsrc-2015Q1-base:1.9 pkgsrc-2014Q4:1.9.0.66 pkgsrc-2014Q4-base:1.9 pkgsrc-2014Q3:1.9.0.64 pkgsrc-2014Q3-base:1.9 pkgsrc-2014Q2:1.9.0.62 pkgsrc-2014Q2-base:1.9 pkgsrc-2014Q1:1.9.0.60 pkgsrc-2014Q1-base:1.9 pkgsrc-2013Q4:1.9.0.58 pkgsrc-2013Q4-base:1.9 pkgsrc-2013Q3:1.9.0.56 pkgsrc-2013Q3-base:1.9 pkgsrc-2013Q2:1.9.0.54 pkgsrc-2013Q2-base:1.9 pkgsrc-2013Q1:1.9.0.52 pkgsrc-2013Q1-base:1.9 pkgsrc-2012Q4:1.9.0.50 pkgsrc-2012Q4-base:1.9 pkgsrc-2012Q3:1.9.0.48 pkgsrc-2012Q3-base:1.9 pkgsrc-2012Q2:1.9.0.46 pkgsrc-2012Q2-base:1.9 pkgsrc-2012Q1:1.9.0.44 pkgsrc-2012Q1-base:1.9 pkgsrc-2011Q4:1.9.0.42 pkgsrc-2011Q4-base:1.9 pkgsrc-2011Q3:1.9.0.40 pkgsrc-2011Q3-base:1.9 pkgsrc-2011Q2:1.9.0.38 pkgsrc-2011Q2-base:1.9 pkgsrc-2011Q1:1.9.0.36 pkgsrc-2011Q1-base:1.9 pkgsrc-2010Q4:1.9.0.34 pkgsrc-2010Q4-base:1.9 pkgsrc-2010Q3:1.9.0.32 pkgsrc-2010Q3-base:1.9 pkgsrc-2010Q2:1.9.0.30 pkgsrc-2010Q2-base:1.9 pkgsrc-2010Q1:1.9.0.28 pkgsrc-2010Q1-base:1.9 pkgsrc-2009Q4:1.9.0.26 pkgsrc-2009Q4-base:1.9 pkgsrc-2009Q3:1.9.0.24 pkgsrc-2009Q3-base:1.9 pkgsrc-2009Q2:1.9.0.22 pkgsrc-2009Q2-base:1.9 pkgsrc-2009Q1:1.9.0.20 pkgsrc-2009Q1-base:1.9 pkgsrc-2008Q4:1.9.0.18 pkgsrc-2008Q4-base:1.9 pkgsrc-2008Q3:1.9.0.16 pkgsrc-2008Q3-base:1.9 cube-native-xorg:1.9.0.14 cube-native-xorg-base:1.9 pkgsrc-2008Q2:1.9.0.12 pkgsrc-2008Q2-base:1.9 cwrapper:1.9.0.10 pkgsrc-2008Q1:1.9.0.8 pkgsrc-2008Q1-base:1.9 pkgsrc-2007Q4:1.9.0.6 pkgsrc-2007Q4-base:1.9 pkgsrc-2007Q3:1.9.0.4 pkgsrc-2007Q3-base:1.9 pkgsrc-2007Q2:1.9.0.2 pkgsrc-2007Q2-base:1.9 pkgsrc-2007Q1:1.8.0.2 pkgsrc-2007Q1-base:1.8 pkgsrc-2006Q4:1.7.0.26 pkgsrc-2006Q4-base:1.7 pkgsrc-2006Q3:1.7.0.24 pkgsrc-2006Q3-base:1.7 pkgsrc-2006Q2:1.7.0.22 pkgsrc-2006Q2-base:1.7 pkgsrc-2006Q1:1.7.0.20 pkgsrc-2006Q1-base:1.7 pkgsrc-2005Q4:1.7.0.18 pkgsrc-2005Q4-base:1.7 pkgsrc-2005Q3:1.7.0.16 pkgsrc-2005Q3-base:1.7 pkgsrc-2005Q2:1.7.0.14 pkgsrc-2005Q2-base:1.7 pkgsrc-2005Q1:1.7.0.12 pkgsrc-2005Q1-base:1.7 pkgsrc-2004Q4:1.7.0.10 pkgsrc-2004Q4-base:1.7 pkgsrc-2004Q3:1.7.0.8 pkgsrc-2004Q3-base:1.7 pkgsrc-2004Q2:1.7.0.6 pkgsrc-2004Q2-base:1.7 pkgsrc-2004Q1:1.7.0.4 pkgsrc-2004Q1-base:1.7 pkgsrc-2003Q4:1.7.0.2 pkgsrc-2003Q4-base:1.7 netbsd-1-6-1:1.5.0.6 netbsd-1-6-1-base:1.5 netbsd-1-6:1.5.0.8 netbsd-1-6-RELEASE-base:1.5 pkgviews:1.5.0.4 pkgviews-base:1.5 buildlink2:1.5.0.2 buildlink2-base:1.5 netbsd-1-5-PATCH003:1.5 netbsd-1-5-RELEASE:1.3 netbsd-1-4-PATCH003:1.3 netbsd-1-4-PATCH002:1.3 comdex-fall-1999:1.2 netbsd-1-4-PATCH001:1.2 netbsd-1-4-RELEASE:1.2 netbsd-1-3-PATCH003:1.1; locks; strict; comment @# @; 1.9 date 2007.04.10.15.53.16; author joerg; state Exp; branches; next 1.8; 1.8 date 2007.03.23.22.08.57; author dmcmahill; state Exp; branches 1.8.2.1; next 1.7; 1.7 date 2003.02.24.03.35.30; author dmcmahill; state Exp; branches; next 1.6; 1.6 date 2003.02.22.04.31.14; author dmcmahill; state dead; branches; next 1.5; 1.5 date 2001.12.22.00.03.26; author dmcmahill; state Exp; branches; next 1.4; 1.4 date 2001.04.08.16.25.29; author dmcmahill; state dead; branches; next 1.3; 1.3 date 99.12.22.13.25.42; author dmcmahill; state Exp; branches; next 1.2; 1.2 date 99.03.05.11.22.35; author frueauf; state Exp; branches; next 1.1; 1.1 date 98.08.25.12.53.09; author agc; state Exp; branches; next ; 1.8.2.1 date 2007.04.11.09.12.48; author ghen; state Exp; branches; next ; desc @@ 1.9 log @Handle DragonFly as FreeBSD for now. Fix build on both. @ text @$NetBSD$ --- routines/os_specific/getmemory.c.orig 2006-02-01 20:50:55.000000000 +0000 +++ routines/os_specific/getmemory.c @@@@ -9,6 +9,12 @@@@ http://lists.gnu.org/archive/html/bug-gn */ #include "getmemory.h" +#if defined(__NetBSD__) || defined(__DragonFly__) +#include +#include +#define ARRAY_SIZE(a) (sizeof (a) / sizeof ((a)[0])) +#endif + int getfreememory() { #define kooctet 1024 @@@@ -69,6 +75,19 @@@@ int getfreememory() } #endif +#if defined(__NetBSD__) || defined(__DragonFly__) +#define MEMOK 1 + { /* This works on *bsd and darwin. */ + unsigned int usermem; + size_t len = sizeof usermem; + static int mib[2] = { CTL_HW, HW_USERMEM }; + + if (sysctl (mib, ARRAY_SIZE (mib), &usermem, &len, NULL, 0) == 0 + && len == sizeof (usermem)) + return (double) usermem; + } +#endif + #ifndef MEMOK /* Linux ,Solaris and others assumed*/ return (sysconf(_SC_AVPHYS_PAGES)*sysconf(_SC_PAGESIZE))/kooctet; @@@@ -134,6 +153,19 @@@@ int getmemorysize() } #endif +#if defined(__NetBSD__) || defined(__DragonFly__) +#define MEMOK 1 + { /* This works on *bsd and darwin. */ + unsigned int physmem; + size_t len = sizeof physmem; + static int mib[2] = { CTL_HW, HW_PHYSMEM }; + + if (sysctl (mib, ARRAY_SIZE (mib), &physmem, &len, NULL, 0) == 0 + && len == sizeof (physmem)) + return (double) physmem; + } +#endif + #ifndef MEMOK /* Linux ,Solaris and others */ return (sysconf(_SC_PHYS_PAGES)*sysconf(_SC_PAGESIZE))/kooctet; @ 1.8 log @Update to scilab-4.1. The old version was very out of date and there have been many many changes including many bug fixes, graphics improvements, editor improvements, new toolbox functions, etc. @ text @d9 1 a9 1 +#if defined(__NetBSD__) d22 1 a22 1 +#if defined(__NetBSD__) d42 1 a42 1 +#if defined(__NetBSD__) @ 1.8.2.1 log @Pullup ticket 2062 - requested by joerg build fix for scilab - pkgsrc/math/scilab/distinfo 1.25 - pkgsrc/math/scilab/patches/patch-aa 1.13 - pkgsrc/math/scilab/patches/patch-ab 1.14 - pkgsrc/math/scilab/patches/patch-aj 1.9 Module Name: pkgsrc Committed By: joerg Date: Tue Apr 10 15:53:17 UTC 2007 Modified Files: pkgsrc/math/scilab: distinfo pkgsrc/math/scilab/patches: patch-aa patch-ab patch-aj Log Message: Handle DragonFly as FreeBSD for now. Fix build on both. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.9 2007/04/10 15:53:16 joerg Exp $ d9 1 a9 1 +#if defined(__NetBSD__) || defined(__DragonFly__) d22 1 a22 1 +#if defined(__NetBSD__) || defined(__DragonFly__) d42 1 a42 1 +#if defined(__NetBSD__) || defined(__DragonFly__) @ 1.7 log @- fix the tk shared library path to allow the scipad editor to work - make sure the path is correctly determined for pvm. - add a --tag= argument to libtool when building fortran code. This makes all selftests pass on my alpha. @ text @d3 55 a57 11 --- tests/pvm.dia.ref.orig Wed Jul 31 07:39:02 2002 +++ tests/pvm.dia.ref @@@@ -73,7 +73,7 @@@@ if type(rest(5))<>10 then bugmes();quit; if size(rest(5),'*')<>n then bugmes();quit;end -if rest(5)(n)<>'scilab' then bugmes();quit;end +if rest(5)(n)<>SCI+'/bin/scilab' then bugmes();quit;end if or(rest(5)(1:n-1)<>"") then bugmes();quit;end @ 1.6 log @update to scilab-2.7. Main Changes Scilab 2.6 -> 2.7 ============================== THANKS ====== Scilab group wants to thank the increasing number of people who have contributed to this new version of Scilab, with special mention to Anders Blomdell, Stephane Mottelet, Dan McMahill Ton van Overbeek, Bruno Pincon and Enrico Segre. NEW FUNCTIONALITIES =================== Slicot based control routines (www.win.tue.nl/wgs/slicot.html) have been introduced with a special attention to identification functions, lyapunov, sylvester and riccati equation solvers. Interface with TeXmacs (www.texmacs.org) a high level scientific text editor. The editor allows you to write structured documents via a wysiwyg interface including Scilab sessions and results. An embedded text editor scipad derived from TkNotepad (www.mindspring.com/~joeja/programs.html) as been developped. C Code generation from Scicos discrete models Blocks defining DAE are now usable in Scicos. Statistic toolbox added (labostat). A new graphics version based on objects and entities has been developped (beta version). It allows to edit the properties of graphics objects. By default, the old graphics version is used. Tu use the new graphics version see the help of "graphics_entities". OTHERS IMPROVEMENTS =================== Linear algebra primitives now based on Lapack instead of Linpack/Eispack. Basic functions revised (thanks to B Pincon). stacksize use is no more restricted. Hypertext, xml based, online help. Binary Matlab file .mat loader (loadmatfile) added. Possibility to customize graphics window event handlers (seteventhandler). edit_graph, a graph editor for Metanet toolbox, written in Scilab, replaces xmetanet. It works on both Unix and Windows. INCOMPATIBLITIES ================ It is higly recommended to rebuild user's scilab functions libraries. This can be done as follow: predef(0);genlib('mylib','mylib_path',%t) gschur and gspec functions are now obsolete and replaced by schur and spec. Geci and the communication library have been removed. Use PVM interface instead. Metanet graph editor has been rewritten. Use edit_graph instead. man pages have to be written in HTML or better in XML but chapters written in the old ascii files are still handled. Scicos internal data structure have been changed. Automatic translation is made when old diagrams are loaded. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.5 2001/12/22 00:03:26 dmcmahill Exp $ d3 11 a13 11 add missing white space (needed for man page cleanup) --- man/control/sysfact.man.orig Thu Aug 9 10:03:06 2001 +++ man/control/sysfact.man Thu Aug 9 10:05:23 2001 @@@@ -2,5 +2,5 @@@@ .so ../sci.an .SH NAME -sysfact- system factorization +sysfact - system factorization .SH CALLING SEQUENCE .nf @ 1.5 log @- fix a bug in the ascii() function noticed on sparc. Patch from Serge Steer on comp.soft-sys.scilab - minor man page fixes - make the 'whatis' files used for the online help be lined up in columns which significantly enhances readability - minor fixes to the Makefile fragment for building scilab shared objects. bump rev to scilab-2.6nb2 @ text @d1 1 a1 1 $NetBSD$ @ 1.4 log @Update to scilab-2.6 Thanks to the scilab folks at INRIA for helping us get rid of 9 more patches! From the CHANGES file: Main Changes Scilab 2.5 -> 2.6 ============================== NEW FUNCTIONALITIES =================== Automatic graphic rescaling when combining 2D plots, axis handling Isometric 3D plots. Thanks to Enrico Segre 3D plots shading. Thanks to Stephane MOTTELET Error messages handling Grep function added Modeless message box added Profiling of functions execution added Real time simulation in Scicos. Thanks to Anders Blomdell Scicos diagram linearization and fixed point computation OTHERS IMPROVEMENTS =================== A more professional licence Input/Output improved (carriage return at the end of the file are not required anymore, OS independent ascii file input, handling of opened files ) More complete mexlib for MatlabV mex interface. Many bug corrected in integer types manipulation API improved, many examples given A better window management under KDE A better plugin interface (help, demos,...) and new Scilab functions for building and loading interfaces. Interactive demos for ODE and DAE solving added Scicos' GUI improved, customizable keyboard shortcuts added Default list, tlist and mlist display can be overloaded It is now possible to draw dashed lines in color. Background now work with postscript driver. Easiest argument passing to plot2d, plot3d,... GIF driver bugs fixed. INCOMPATIBLITY ============== help and scicos palettes handling have changed. Fraclab toolbox has been moved to the contributions part and is no more included in the package The Communication Toolbox (geci) is now obsolete. It will be removed in next release. Use PVM instead. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.3 1999/12/22 13:25:42 dmcmahill Exp $ d3 11 a13 9 --- ./scilab.star.orig Mon Nov 22 09:57:54 1999 +++ ./scilab.star Tue Dec 21 16:04:43 1999 @@@@ -21,5 +21,5 @@@@ // Special variables definition -ieee(2);%inf=1/0;ieee(0);%nan=%inf-%inf; +//ieee(2);%inf=1/0;ieee(0);%nan=%inf-%inf; %s=poly(0,'s');%z=poly(0,'z'); @ 1.3 log @Update the package from scilab-2.4.1 to scilab-2.5. Many thanks to the authors at Inria who, through their willingness to accept feedback, have helped me remove 39 patches! Changes to scilab include (from scilab-2.5/CHANGES): NEW FUNCTIONALITIES =================== Global variables have been introduced New graphic mode has been added to allow scrollbar handling (panner for X Window and scrollbars for Windows). GIF export format is now available for Scilab graphic windows. Keyboard events and window closing within graphical windows can now be captured. Scicos graphical user interface has been made more intuitive and keyboard shortcuts have been added. Scilab Binary files created by "save" are now system-independent so they can be exchanged. In particular (compiled macros) *.bin files and *.cos (scicos diagrams) can be exchanged. It is now possible to dynamically link C++ procedures with Scilab. A new data type "mlist" has been added. A new function "genlib" allows users to compile the .sci files in a given directory, generate associated library and load it. This function is particularly useful under windows if VC++ is not available. C formatted input output functions (printf, scanf, ..) have been interfaced to scilab. OTHERS IMPROVEMENTS =================== Efficiency has been improved using reference argument passing when possible instead of value passing. Hypermatrix opreations have been accelerated. On X Window systems 3D Athena Widgets are preferably used instead of standard Athena Widgets for a better look. The "Matlab 4" to Scilab translator has been completed and considerably improved. NEW TOOLBOXES ============= True integer data types (1,2 and 4 bytes) with associated operations and some functions acting on them have been added. A library of procedures has been added to allow the use of Matlab mex-files under Scilab. PORTS ===== Scilab has been successfully compiled with Windows ABSOFT development environment. INCOMPATIBILITIES ================= New Scilab "save"d files cannot be loaded by earlier Scilab versions. A new function "oldsave" has been added to save in old format. Scilab help mechanism has changed. The $MANCHAPTERS/Chapter is no more used, instead a Scilab variable "helps" is used. @ text @d1 1 a1 1 $NetBSD$ @ 1.2 log @Update scilab to 2.4.1. This is based on the work provided in pr 6889 by Dan McMahill. It fixes several serious problems for NetBSD/alpha and some for NetBSD/sparc. Thanx for doing the work, Dan! @ text @d3 3 a5 14 --- ./routines/metanet/loadg.c.orig Sat Aug 8 13:53:32 1998 +++ ./routines/metanet/loadg.c Sat Aug 8 13:58:47 1998 @@@@ -1,4 +1,7 @@@@ #include #ifndef __MSC__ +#ifdef __FreeBSD__ +#include +#endif #include #endif @@@@ -14,5 +17,4 @@@@ #define getwd(x) _getcwd(x,1024) #endif - d7 5 a11 1 #include "mysearch.h" @ 1.1 log @Addition of scilab-2.4 to the packages collection. This is from Dan McMahill (mcmahill@@mtl.mit.edu) in PR pkg/6034. scilab is a high level scientific math programming environment with graphics. [scilab is HUGE.] The only major thing I changed was the way of creating the PLIST. @ text @@