Based on patch provided by Aleksej Saushev in PR 36471.
pkgsrc changes:
Enable to build x11 feature (optional, default=on).
Previously, depend on x11, but not build x11 feature.
scm5e3 news:
Richard Harke ported SCM to the Linux-ia64.
SRFI-94 Type-Restricted Numerical Functions.
SRFI-63 uniform array type support expanded to:
A:floC64b inexact 64.bit binary flonum complex
A:floC32b inexact 32.bit binary flonum complex
A:floC16b inexact 16.bit binary flonum complex
A:floR64b inexact 64.bit binary flonum real
A:floR32b inexact 32.bit binary flonum real
A:floR16b inexact 16.bit binary flonum real
A:fixZ32b exact 32.bit binary fixnum
A:fixZ16b exact 16.bit binary fixnum
A:fixZ8b exact 8.bit binary fixnum
A:fixN32b exact 32.bit nonnegative binary fixnum
A:fixN16b exact 16.bit nonnegative binary fixnum
A:fixN8b exact 8.bit nonnegative binary fixnum
A:bool boolean
string char
Radey Shouman has changed LETREC to behave like LETREC*:
* eval.c (ceval_1): Change LETREC behavior to that of LETREC*:
initializers are run in left to right order, and may use
previously evaluated variables bound in the same contour. This
change also applies to LETRECs resulting from internal DEFINE.
* eval.c (macroexp1): Add #ifdef to switch case handling line numbers
in ceval_1 so that they are safely discarded when MEMOIZE_LOCALS is
not #defined. Perhaps line number generation should be disabled in
that case.
* scl.c: Changes to allow compilation with MinGW (gnu-win32);
asinh, acosh, and atanh are not yet supported.
From Aubrey Jaffer:
* indexes.texi (Indexes): Give each index its own node when not in
info mode. Moved index stuff here so it doesn't break
texinfo-every-node-update.
* scm.texi (Index): Replaced nodes under Indexes with node Index
when in info mode; fixes indexing in Emacs 21.4.1.
Converted to use @copying.
(Indexes): Reorganized.
(Data Type Representations): Corrected pattern for specfun and cclo.
* byte.c (subbytes): Added.
(scm_subbytes_read, scm_subbytes_write): Renamed from substring.
* Makefile (dscm4, dscm5): != is string operator in shell.
"mv -f" for previous scm, slibcat, and implcat.
* Init5e2.scm (boot-tail): Don't load ScmInit.scm if *script*.
(string-index, read-line): Defined for login->home-directory, which
may be called before REQUIRE is defined.
* Makefile (dscm4, dscm5): Added randomize_va_space machinations.
(dvi, pdf): New tetex-3.0(-20.FC5) broke them -- fixed.
(SETARCH): Workarounds allow dumping in recent Linux.
* time.c (linux): defined CLKTCK to (sysconf(_SC_CLK_TCK)).
* repl.c (scm_read_numbered): Don't #ifndef MEMOIZED_LOCALS.
* build.scm (dont-memoize-locals): Added feature.
(stack-limit): Removed feature.
* scmfig.h (STACK_LIMIT): Always defined.
(CHECK_STACK): Condition on scm_verbose.
* sys.c (stack_check): Always present.
* Makefile (docs): Added target to make all documentation files;
then invoke xdvi.
* ugsetjmp.s (_setjump, _longjump): For Ultrix VAX circa 1997.
* subr.c (mkbig, adjbig): Improved overflow message.
* mkimpcat.scm (wbtab, rwb-isam): moved to "Simple associations".
(add-source): Use 'source form and check file's existence.
* scl.c (scm_magnitude): Extend dynamic range by eliminating
intermediate expression swell.
(divide): Use "Smith's formula" to extend dynamic range;
but makes an insignificant difference when compiled with -O3.
(atanh, acosh, asinh): define if #ifndef HAVE_ATANH.
* scmfig.h (HAVE_ATANH): Decides whether atanh, asinh, and acosh
are supported.
* r4rstest.scm (5 2 1): Expose Bigloo tprint redefinition bug.
(test-bignum): Convert test bignums from strings.
(have-bignums?): Check bignum arithmetic works.
(test-inexact): Do complex tests only if non-real numbers are
supported.
(test-inexact): Added equal? tests.
(test-inexact): Test for -0.0 lossage.
(test-inexact): Check that / and magnitude work for
very large and very small complex numbers (1e300; 1e-300);
developer is officially maintaining the package.
The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list). Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
Several changes are involved since they are all interrelated. These
changes affect about 1000 files.
The first major change is rewriting bsd.builtin.mk as well as all of
the builtin.mk files to follow the new example in bsd.builtin.mk.
The loop to include all of the builtin.mk files needed by the package
is moved from bsd.builtin.mk and into bsd.buildlink3.mk. bsd.builtin.mk
is now included by each of the individual builtin.mk files and provides
some common logic for all of the builtin.mk files. Currently, this
includes the computation for whether the native or pkgsrc version of
the package is preferred. This causes USE_BUILTIN.* to be correctly
set when one builtin.mk file includes another.
The second major change is teach the builtin.mk files to consider
files under ${LOCALBASE} to be from pkgsrc-controlled packages. Most
of the builtin.mk files test for the presence of built-in software by
checking for the existence of certain files, e.g. <pthread.h>, and we
now assume that if that file is under ${LOCALBASE}, then it must be
from pkgsrc. This modification is a nod toward LOCALBASE=/usr. The
exceptions to this new check are the X11 distribution packages, which
are handled specially as noted below.
The third major change is providing builtin.mk and version.mk files
for each of the X11 distribution packages in pkgsrc. The builtin.mk
file can detect whether the native X11 distribution is the same as
the one provided by pkgsrc, and the version.mk file computes the
version of the X11 distribution package, whether it's built-in or not.
The fourth major change is that the buildlink3.mk files for X11 packages
that install parts which are part of X11 distribution packages, e.g.
Xpm, Xcursor, etc., now use imake to query the X11 distribution for
whether the software is already provided by the X11 distribution.
This is more accurate than grepping for a symbol name in the imake
config files. Using imake required sprinkling various builtin-imake.mk
helper files into pkgsrc directories. These files are used as input
to imake since imake can't use stdin for that purpose.
The fifth major change is in how packages note that they use X11.
Instead of setting USE_X11, package Makefiles should now include
x11.buildlink3.mk instead. This causes the X11 package buildlink3
and builtin logic to be executed at the correct place for buildlink3.mk
and builtin.mk files that previously set USE_X11, and fixes packages
that relied on buildlink3.mk files to implicitly note that X11 is
needed. Package buildlink3.mk should also include x11.buildlink3.mk
when linking against the package libraries requires also linking
against the X11 libraries. Where it was obvious, redundant inclusions
of x11.buildlink3.mk have been removed.
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.
Initial import of scm-5d8 into the NetBSD Packages Collection. Provided in
PR 22186 by David S., modified slighly by myself.
Scm is a portable R5RS Scheme implementation written in C.
* Support for SICP, R2RS, R3RS, and R5RS scheme code.
* Is fully documented in TeXinfo form, allowing documentation to be
generated in info, TeX, html, nroff, and troff formats.
* Supports inexact real and complex numbers, 30 bit immediate integers
and large precision integers.
* Many Common Lisp functions: logand, logor, logxor, lognot, ash,
logcount, integer-length, bit-extract, defmacro, macroexpand,
macroexpand1, gentemp, defvar, force-output, software-type,
get-decoded-time, get-internal-run-time, get-internal-real-time,
delete-file, rename-file, copy-tree, acons, and eval.
* Char-code-limit, most-positive-fixnum, most-negative-fixnum, and
internal-time-units-per-second constants. *Features* and
*load-pathname* variables.
* Arrays and bit-vectors. String ports and software emulation ports.
I/O extensions providing ANSI C and POSIX.1 facilities.
* Interfaces to standard libraries
* Available add-on packages including an interactive debugger, database,
X-window graphics, BGI graphics, Motif, and Open-Windows packages.
* A compiler (HOBBIT) and dynamic linking of compiled modules.
* User definable responses to interrupts and errors,
Process-syncronization primitives. Setable levels of monitoring
and timing information printed interactively (the verbose function).