This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
by any system that pkgsrc supports anyway. It seems to only be used by
ultrix and it isn't clear that scilab still works on ultrix anyway and it almost
certainly doesn't under pkgsrc.
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.
For example, "make show-buildlink3" in fonts/Xft2 displays:
zlib
fontconfig
iconv
zlib
freetype2
expat
freetype2
Xrender
renderproto
RECOMMENDED is removed. It becomes ABI_DEPENDS.
BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.
BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.
BUILDLINK_DEPENDS does not change.
IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".
Added to obsolete.mk checking for IGNORE_RECOMMENDED.
I did not manually go through and fix any aesthetic tab/spacing issues.
I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.
I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.
As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.
As discussed on tech-pkg.
I will commit to revbump, pkglint, pkg_install, createbuildlink separately.
Note that if you use wip, it will fail! I will commit to pkgsrc-wip
later (within day).
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.
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
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.