Commit graph

86 commits

Author SHA1 Message Date
rillig
b71a1d488b Fixed pkglint warnings. The warnings are mostly quoting issues, for
example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some
other changes are outlined in

    http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html
2005-12-05 20:49:47 +00:00
dmcmahill
fd788df66a - update some buildlink variables which were missed during the last
scilab update.  Add a note in the Makefile to prevent this in the
  future.

- add Version.incl to the buildlink files.  That is needed to allow
  add ons to determine the scilab version.  Currently no pkgs are using
  this, but that will change soon.
2005-10-26 04:09:37 +00:00
dmcmahill
6c3dc798c0 fix a broken configure script which tries to compile something
with multiple #include's on the same line.  Should fix recently
noted compile problems on NetBSD-1.6.2.
2005-09-22 00:05:40 +00:00
dmcmahill
444045107e do not try and build our own Xaw3d library 2005-09-09 18:30:01 +00:00
dmcmahill
69c5839c97 add some missing entries 2005-09-09 18:26:00 +00:00
dmcmahill
e01fa172e1 update to scilab-3.1.1
Main Changes Scilab 3.0 -> 3.1
                     =========================

The new features of Scilab 3.1 are the following:

    - "xgetmouse", "eventhandler" event set extended to click, double-click, <Ctrl> Key. See more details in xclick and xgetmouse on line help.
      Warning: Because of distinction of click events, some users' scripts can have a different behavior.
      To make it work as before please check and modified test on events as follow:
      supposing that button contains the value returned by xclick (left most argument) or xgetmouse (third componant of returned vector) then replace test like:
      button==0 by or(button==[0,3])
      button==1 by or(button==[1,4])
      button==2 by or(button==[2,5])

    - Integration of the ATLAS library (specific Windows version).
      During the installation of Scilab, dynamic library (Atlas.dll) is automatically chosen according to the CPU detected. See details in the Atlas.spec file under scilab\bin directory.

    - Java interface written to allow calling Scilab computational engine from Java

    - TCL interface has been totally rewritten (for better error detection and better data transfert). ScilabEval improve to handle synchronism.
      For your information you should know that tcl8.4 segfault when running on Linux 2.6 kernels on machines with 2 or more processors.

    - Scipad editor
          o A debugging tool is now available.
          o Drag'n'drop is now supported.
          o User settings and text colors are now configurable and saved across editing sessions.
          o Find/Replace debugged and improved.
          o Quick access in the file menu for recently opened/saved files.
          o Creation of XML help page templates and xmltohtml compilation available from within Scipad.
          o Identification of Scilab predefined variables and library functions in scilab scripts.
          o Scipad is easily localized. Today English, German, French, Swedish and Italian languages are supported.
          o Miscellaneous file management improvements: readonly flag, absolute pathnames to files, pruned pathnames display, revert to saved feature.

    - Graphics editor completed
          o Axes structure totally rebuild.
             New axes properties available (see manual and type 'gca()' for a complet listing), z logscale enable, axes inversion.
          o Save and load had been extended to graphics handle
          o 'plot' macro added to scilab to mimic the "matlab plot" behavior (type "help plot" for more info.)
          o 'surf' macro added to scilab to mimic the "matlab surf" behavior (type "help surf" for more info.)

             Graphics entities are associated to Scilab variables of type handle. The handle is a unique identifier which is associated to each instance of a created graphics entity. Using this handle, it will be possible to reach entities properties through "set" and "get" routines. The handles are also used to manipulate graphics objects, to move them, to copy or delete them.
             Enter "help graphics_entities" at Scilab prompt for more details.

    - Scicos block set has been extended/revisited to be more compatible with Simulink one, compiler, code generator and implicit system simulator have been improved.

    - Configure adapted to linux 64bit architectures

    - Improvement of the integration of Visual Studio Compiler to the dynamic links: findmsvccompiler() and configure_msvc() macros have been added

    - The source files have been updated to optimise the compiled version built with VC6 tool
      Please note that the Windows binary version provided on our Web site is built with .NET

    - Sparse operations and functions like real, imag, matrix, spones revisited to improve efficiency
    - Bessel functions extended to work in the complex case (using Slatec routines)
      Incompatibilities: The semantics of besseli, besselj, besselk and bessely functions has been changed and extended.
      The oldbesseli, oldbesselj, oldbesselk and oldbessely correspond to the old obsolete semantics.

    - New Matlab functions implemented in m2sci translator

    - Functions to read Excel files

    - Font rotation is now possible under Xwindow

    - home variable (%HOME%) defined under Windows: c:/Documents and Setting/USER

    - New environment variable SCIHOME:
          o Under Windows: %HOME%\scilab\SCILAB_VERSION
          o Under Linux: $HOME/USER/.scilab/SCILAB_VERSION

    - New primitives:
          o clipboard (specific Windows)
          o perl
          o calendar
          o mkdir
          o rmdir
          o copyfile
          o sleep
          o getos
          o setenv
          o getshortpathname (specific Windows)
          o getlongpathname (specific Windows)
          o toolbar (specific Windows)
          o hidetoolbar (specific Windows)
          o console (specific Windows)
          o mcisendstring (specific Windows)
          o banner
          o winqueryreg (specific Windows)
          o xls_open
          o xls_read
          o scicos_debug_count
2005-09-07 10:48:47 +00:00
jlam
bf9129c41e Drop distinction between PKGSRC_USE_TOOLS and USE_TOOLS by making
PKGSRC_USE_TOOLS go away.  There is now only a single USE_TOOLS variable
that specifies all of the tools we need to build/run the package.
2005-07-15 18:27:48 +00:00
jlam
b9ad955614 Note that this package uses tee. 2005-05-16 04:53:07 +00:00
tv
f816d81489 Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. 2005-04-11 21:44:48 +00:00
dmcmahill
132b89e8cc rework the pre-fetch check on alpha to unsure ${WRKDIR}/.pkgdb gets created 2005-03-17 22:41:09 +00:00
agc
1e46c076aa Add RMD160 digests in addition to SHA1 ones. 2005-02-23 12:06:53 +00:00
jlam
b6b853727d Nuke USE_FORTRAN and bring the f2c handling within the mk/compiler
framework.  The list of changes include:

  * Modify compiler.mk so that "c" is always prepended to USE_LANGUAGES,
    so we no longer need to say it in package Makefiles.  Packages
    should now append to USE_LANGUAGES instead of setting it.

  * Create mk/compiler/f2c.mk which implements another pseudo-compiler
    "f2c" that may be used with any C compiler backend, e.g.

	PKGSRC_COMPILER= f2c ccache gcc

  * Teach the various "real" compiler files, e.g., sunpro.mk, mipspro.mk,
    etc., to use f2c if the native Fortran compiler isn't present.

Packages that use Fortran should now simply include the line:

	USE_LANGUAGES+=	fortran

in the package Makefile.
2005-01-12 15:31:58 +00:00
jmmv
c33d2074af Adjust dependencies after ocaml has been splitted into three different
packages: ocaml, ocaml-graphics and labltk.  Bump PKGREVISION.
2004-12-24 17:21:01 +00:00
dmcmahill
1ee3e8905a Add dependency on lang/ocaml for those systems which ocamlopt is supported
on.

Addresses PR pkg/28410 by sutre at labri dot fr.  Some patches were supplied
in the PR, the PLIST fix is from me.
2004-11-29 22:05:08 +00:00
tv
c487cb967a Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10
in the process.  (More information on tech-pkg.)

Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and
installing .la files.

Bump PKGREVISION (only) of all packages depending directly on the above
via a buildlink3 include.
2004-10-03 00:12:51 +00:00
jlam
ca70938428 Replace RPATH_FLAG with LINKER_RPATH_FLAG and COMPILER_RPATH_FLAG,
which are the full option names used to set rpath directives for the
linker and the compiler, respectively.  In places were we are invoking
the linker, use "${LINKER_RPATH_FLAG} <path>", where the space is
inserted in case the flag is a word, e.g. -rpath.  The default values
of *_RPATH_FLAG are set by the compiler/*.mk files, depending on the
compiler that you use.  They may be overridden on a ${OPSYS}-specific
basis by setting _OPSYS_LINKER_RPATH_FLAG and _OPSYS_COMPILER_RPATH_FLAG,
respectively.  Garbage-collect _OPSYS_RPATH_NAME and _COMPILER_LD_FLAG.
2004-08-27 06:29:06 +00:00
dmcmahill
78f8558b71 add bl3 file 2004-08-13 00:51:10 +00:00
dmcmahill
04b5aa0a34 repair distinfo after getting rid of DIST_SUBDIR. Reported in PR 26334
by Robert Elz.
2004-07-15 14:39:05 +00:00
dmcmahill
9d3ebd2e9e update to scilab-3.0
Main Changes Scilab 2.7 -> 3.0
                     ==============================
NEW FUNCTIONALITIES
===================
- continue instruction added
- [a(i,j),b(..),..]=foo(..) syntax is now handled
- arpack algorithms for sparse matrix eigenvalues/eigenvectors computation added
- Levenberg-Marquardt algorithm of Minpack used to define function lsqrsolve
- New graphics mode improved
- beta and legendre function added (thanks to B Pincon)
- Scicos has been extended to handle non causal systems description (supported by RNTL)
- Matlab to Scilab translator has been re-written, and extended to current Matlab syntax.

OTHERS IMPROVEMENTS
===================
- Better discontinuities handling in Scicos
- More efficient number parsing (thanks to B Pincon)
- More efficient 3D Zoom (thanks to E Segre)
- Improved scipad, shortcuts, language handling, colorization, bug fixes.. (thanks to E Segre)
- for loop variable is no more removed at the end of the loops
- figure sizes are now taken into account in Postscript export
- Windows GUI improved
- Graphic windows refresh improved under Windows
- Scilab has been adapated to IA64 architecture
- Helvetica (Arial on Windows) fonts added (corresponding font identifiers are
  from 6 to 9) (thanks to B Pincon)
- N dimensionnal matrices efficiency improved (thanks to B Pincon)
- logical expressions shortcuts handled in if
- cd, ls, clc, clf, tohome functions added
- functions with no argument can be called without () if called as a command
2004-07-15 04:00:46 +00:00
schmonz
384af75e68 Packages no longer need to clean up *.subst.sav leftovers. 2004-06-06 04:29:17 +00:00
dmcmahill
e39a0abc67 make this work again after the tcl/tk package thread enabling 2004-03-28 17:26:21 +00:00
dmcmahill
1b507b5380 use Tk-8.4 instead of 8.3. 2004-03-19 01:26:58 +00:00
dmcmahill
bb50bd9d82 bl3ify 2004-03-10 23:41:44 +00:00
minskim
2827f5b2d8 Enable tk84 and replace x11/tk with x11/tk83. Packages compatible
with 8.4 will be updated to depend on x11/tk after Tk update.
2004-03-08 20:27:13 +00:00
jlam
ec993afa1a LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs
relative to ${WRKSRC}.  Remove redundant LIBTOOL_OVERRIDE settings that
are automatically handled by the default setting in bsd.pkg.mk.
2004-02-14 17:21:32 +00:00
jlam
3ac2d4b8aa In the new compiler selection framework, GCC_REQD is appended to, not
overridden.
2004-02-01 01:43:28 +00:00
kristerw
aeaa2c263a Use GCC_REQD instead of USE_PKGSRC_GCC when overriding the compiler
for arm, so that we don't need to install the gcc package(s) on
machines that already have a working compiler in their /usr/bin.
2004-01-25 15:21:35 +00:00
agc
3ad1bdbf06 Move WRKSRC definition away from the first paragraph in a Makefile. 2004-01-20 12:18:15 +00:00
dmcmahill
7e14d158fc Make sure that the link to libtool in the scilab installation directory
points to the installed libtool instead of to the buildlink2 directory.
Should fix PR23759.
2003-12-19 04:37:23 +00:00
dmcmahill
2ba8ae4450 obey CFLAGS, FFLAGS, and LDFLAGS on Solaris. Especially the LDFLAGS
lets the linker work right.  No change on non-Solaris systems.
2003-11-01 12:26:21 +00:00
grant
40614d0b3c get rid of USE_GCC2/3 in pkg Makefiles, and set GCC_REQD or
USE_PKGSRC_GCC as appropriate, as this is handled by compiler.mk now.
2003-09-17 19:39:58 +00:00
dmcmahill
e4f52fc813 add a few patch files, actually replacements for part of the distfile,
from the authors to fix some bugs in the scicos blocks.  Bump PKGREV to
produce scilab-2.7nb2
2003-09-12 20:46:47 +00:00
grant
ac2754dcb7 kill all references to gcc.buildlink2.mk and compiler.mk, and define
USE_GCC2 or USE_GCC3 where appropriate.

the functionality of the old gcc.buildlink2.mk has been rolled into
compiler.mk now, which is automatically used.

more changes to come later...
2003-09-12 20:07:06 +00:00
grant
0155927c43 s/netbsd.org/NetBSD.org/ 2003-07-17 21:41:05 +00:00
dillo
e2400a867b don't define test target directly, use do-test instead 2003-07-12 13:22:16 +00:00
abs
fb6c29f8bf Update for the fact that 'arm' ports have been called NetBSD-*-arm for a while
now and not NetBSD-*-arm32. Changes include one or more of:
    - Change MACHINE_ARCH == arm32 to also match arm
    - Where ONLY_FOR_PLATFORM includes NetBSD-*-arm32, add NetBSD-*-arm
    - Where BROKEN or worked around for arm gcc bugs, set USE_GCC3
The last may shake out a few more broken packages the next bulk build.
2003-06-11 20:50:50 +00:00
abs
0de8869fb4 Use mk/gcc.buildlink2.mk rather than gcc/buildlink2.mk so lang/gcc3
is accepted. Suggested by Grant.
2003-06-02 14:05:00 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
dmcmahill
c490f5a72f delete some .orig files from the install which do not belong there 2003-03-01 02:01:47 +00:00
dmcmahill
e51fac22c6 - 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.
2003-02-24 03:35:29 +00:00
dmcmahill
5b037ff914 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.
2003-02-22 04:31:03 +00:00
jlam
d7b3313d6e Use buildlink2 and use gcc/buildlink2.mk instead of Makefile.gcc. 2002-09-30 22:36:08 +00:00
dmcmahill
da57834a77 use lang/gcc on arm32. Makes this compile and work on shark. 2002-05-25 18:47:24 +00:00
dmcmahill
5127d2fbca turn off optimization on one particular fortran file. Fixes a crashing
bug in the scilab function mgetl() which prevents the build from completing
correctly.  Problem noted in recent sparc bulk build.
2002-05-22 10:37:04 +00:00
dmcmahill
0a4fa9dcb2 enable this on NetBSD>1.5U on alpha since alpha FPC code is now in place.
While here, add some missing headers and squish a LP64 bug.  Passes all
self tests and all but 2 examples on a 1.5ZA alpha.
2002-03-05 21:05:52 +00:00
seb
d571dd34e3 Remove spurious `@{un,}exec install-info ...' confirmed by dmcmahill. 2002-02-08 10:36:50 +00:00
dmcmahill
c3e589ec47 - 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
2001-12-22 00:03:25 +00:00
hubertf
5542206cba Get rid of manually adding "nbX" to PKGNAME when a pkg was changed in
pkgsrc. Instead, a new variable PKGREVISION is invented that can get
bumped independent of DISTNAME and PKGNAME.

Example #1:
        DISTNAME=       foo-X.Y
        PKGREVISION=    Z
     => PKGNAME=        foo-X.YnbZ

Example #2:
        DISTNAME=       barthing-X.Y
        PKGNAME=        bar-X.Y
        PKGREVISION=    Z
     => PKGNAME=        bar=X.YnbZ (!)

On subsequent changes, only PKGREVISION needs to be bumped, no more risk
of getting DISTNAME changed accidentally.
2001-11-29 01:12:24 +00:00
wiz
1fbb375d8a Don't copy Xscilab and Metanet-color app-defaults to
X11BASE/lib/X11/app-defaults:
1) it's the wrong place if you're using xpkgwedge
2) scilab doesn't look there, but in PREFIX/scilab-2.6/X11_defaults
2001-11-28 16:52:20 +00:00
dmcmahill
85cd6aa732 the distfile has changed. The primary difference is that config.cache is
no longer (erroneously) included.  This means the pkgsrc Makefile also
no longer needs to delete config.cache as a post-extract step.

Fixes PR pkg/14679 from Rafal Boni by applying his patch.
2001-11-28 04:21:46 +00:00