Up to [cvs.NetBSD.org] / pkgsrc / devel / libctl
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
devel/libctl: Update to 4.7.1 packaging: switch to guile30 ## libctl 4.7.1 6/26/2026 * Bugfix when compiling Scheme C++ projects (e.g. Meep) with libctl geometry utils ([#94]). * Reduce intermittent test failures ([#93]). * Fix `make distclean` to remove files generated by `make check` ([#96]). ## libctl 4.7.0 6/18/2026 * New mesh geometry object ([#74]). * Bug fixes for thread safety ([#75], [#81]). * Enable thread-safety tests via configure flag `--enable-openmp` ([#79]); the library itself is still single-threaded (but many functions of libctlgeom are thread-safe). * CI workflow via Github Actions ([#85]). ## libctl 4.6.0 4/16/2026 * Python-callable extension ([#71]), currently with limited documentation. * Fix memory leak for prism objects ([#73]). ## libctl 4.5.1 2/1/22 * Ignore duplicate consecutive prism vertices ([#60]). * Memory bug fixes ([#58], [#59]). ## libctl 4.5.0 2/19/20 * New `make_slanted_prism` functions to make a prism with a given sidewall angle ([#53]). * Defined `LIBCTL_MAJOR_VERSION` etc. in `ctlgeom.h` header file when using stand-alone libctlgeom. * Bugfix in point-in-prism test ([#49]). ## libctl 4.4.0 11/12/19 * `geom_object_volume` function to get the volume of a 3d object (accelerates `box_overlap_with_object` for objects completely within a box) ([#45]). * Bugfix to geometry tree search for empty dimensions. ## libctl 4.3.0 4/17/19 * `ctl_printf_callback` so that callers can capture stdout ([#39]). ## libctl 4.2.0 1/7/19 * Better handling of `center` parameter of prisms, allowing this to be optionally specified ([#35]). Deprecates old `geom_fix_object` and `geom_fix_objects0` functions in favor of `geom_fix_object_ptr` and `geom_fix_object_list`. (In particular, the old `geom_fix_object` routine will not work properly for prisms in which the center was not computed.) ## libctl 4.1.4 11/16/18 * Work around gcc bug (closes [#32]). * Allow subclass properties to override defaults (or lack thereof) in parent class. ## libctl 4.1.3 9/7/2018 * Improved prism handling of points on prism faces ([#23]) and various cosmetic improvements ([#22], [#24], [#25]). ## libctl 4.1.2 7/27/2018 * Bug fix in prism subpixel averaging ([#19] and [#20]), thanks to @DerekK88 for the bug report. ## libctl 4.1.1 6/29/2018 * Bug fix in prism bounding boxes ([#17]). * Build fix for systems with an old `ctlgeom.h` file installed ([#16]). ## libctl 4.1 6/7/2018 * New "prism" geometric-object type for polygonal prisms ([#13]). ## libctl 4.0.1 4/18/2018 * Changed header file to use `const char *` rather than `char *` for constant string arguments, since C++ deprecated passing literal strings to `char *` arguments. * Various minor build and compilation improvements. ## libctl 4.0 1/18/2018 * Building `--without-guile` is now possible to build only `libctlgeom`, which no longer depends on Guile. * In libctlgeom, material is no represented by a `void*` rather than by a `struct` wrapping a `void*`. * Migrate docs to github/markdown/readthedocs.
devel/libctl: Note new upstream location
libctl: follow redirect
*: bump PKGREVISION for libunistring shlib major bump
*: bump for guile20 PREFIX change
revbump for icu and libffi
devel/libctl: Release maintainership Narrowing my focus to biology packages
*: recursive bump for libffi
Multiple packages: Replace obsolete maintainer email jwbacon@tds.net ==> bacon@NetBSD.org
After guile's and guile20's installation prefixes have changed, it's time to bump their dependencies (except those that were bumped in the last 24 hours already).
Updated libctl to 3.2.2. Switch to guile20. libctl 3.2.2 * Bug fix to interpolate-uniform for guile 1.8+.
Update to 3.2.1, provided by outpaddling and asau in wip.
libctl 3.2.1
8 August 2012
Fix incorrect gh_symbol2newstr macro replacement.
libctl 3.2
20 July 2012
Now works with Guile version 2.x (older versions are still
supported).
Add libctl_quiet variable to main.c so that libctl-using programs
can suppress all output if desired (e.g. to avoid duplicate
outputs on parallel machines).
Added wedge object type for circular/cylindrical wedges, as a
subclass of cylinder: (make wedge (center ...) (axis ...)
(radius ...) ...) with two new properties: (wedge-angle ...)
for the angle in radians, and (wedge-start v) for a vector v
such that the wedge angles start at zero in the (v, axis) plane.
[Caveat: subpixel averaging is currently inaccurate for the
flat wedge edges.]
list-type constructors now accept either (name ...elements...)
or (name (list ...elements...)).
Add vector3->exact function for to-integer rounding. Otherwise,
ensure that interpolation results are floating-point to prevent
type-conversion errors.
Added ctl-set-prompt! to set interactive prompt in both old
and new Guile versions.
Rename string to char* in ctl-io.h for C++ compatibility.
Bug fix in normal-to-object near corners of blocks.
libctl 3.1
5 June 2008
Support specifying the location of the guile and guile-config
programs with GUILE and GUILE_CONFIG environment variables in
the configure script.
Support for calling NLopt optimization library (also requires
the program using libctl to be changed to link nlopt).
New ellipsoid_overlap_with_object function, analogous to
box_overlap_with_object function.
Bug fix in include function for recent versions of Guile, to
properly keep track of the current include directory.
Bug fix in numerical-derivative routine, which didn't converge
when the error was exactly zero.
libctl 3.0.3
27 February 2008
Added "begin-timed" function, which is similar to "begin-time"
except that it returns the value of the last statement (like
"begin") rather than the time.
Bug fix: allow classes to have boolean properties.
Bug fixes for compilation under C++, thanks to David Foster:
include missing string.h header and fixed gh_new_procedure
prototype.
libctl 3.0.2
22 August 2006
Fix minor Guile incompatibility on some systems.
libctl 3.0.1
5/1/2006
Change shared-library version to 3:0:0 instead of 0:0:0. This
avoids conflicts with shared library version numbers that has
been assigned to earlier versions of libctl for Debian; thanks
to Josselin Mouette for the suggestion.
libctl 3.0
4/1/2006
Switch to use automake and libtool. Can now install shared
libraries with --enable-shared.
License is now GNU GPL (v2 or later) rather than the GNU LGPL,
due to use of third-party GPL code for multi-dimensional
integration (below).
gen-ctl-io now supports separate generation of code and header
files via --code and --header arguments. (Better for parallel
make.) Also support a -o option to give a different output file
name.
gen-ctl-io can now export C++ code by using the --cxx flag.
gen-ctl-io can now export SWIG .i files for automatic type
conversion in SWIG wrapper generation, using the --swig flag.
Backwards incompatible change: users must include their own
ctl-io.h *before* ctlgeom.h, or you get ctlgeom-types.h instead
(this is for use with the "stand-alone" libctlgeom.a library
below.
New multi-dimensional integration routines using adaptive
cubature. (Much more efficient than nested 1d integrations.)
Adapted in part from the HIntlib Library by Rudolf Schuerer
and from the GNU Scientific Library (GSL) by Brian Gough.
New interpolate-uniform function that tries to maintain a
uniform distance between points (i.e. variable number of
interpolated points between different list elements, as needed).
Now install a "stand-alone" libctlgeom.a library to make it
easier to call geometry routines from non-Scheme code.
New routines to compute overlap fraction of box with object,
compute analytical normal vectors, etcetera. (For upcoming
versions of Meep and MPB.) Also new routines to get the object
of a point, not just the material. Also new routines to operate
on a supplied geometry list parameter instead of using the
global; unlike the old material_of_point_in_tree functions,
these functions do not shift the argument to the unit cell,
but you can use the new function shift_to_unit_cell to get this
behavior.
gen-ctl-io now generates object equal/copy functions.
In unit-vector3, only return 0 when norm==0, not merely if it
is small.
Added one-sided numerical derivative routine.
Define "verbose?" variable corresponding to main.c variable.
(print) calls (flush-all-ports) to keep C and Scheme I/O in
sync.
Fix in find-root-deriv to prevent infinite loop in some cases
where the root does not exist; thanks to XiuLun Yang for the
bug report.
Bug fix in make_hermitian_cmatrix3x3; thanks to Mischa Megens.
Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days.
Recursive revision bump for GMP update.
Recursive bump for libltdl
user-destdir support
Mark packages as MAKE_JOBS_SAFE=no that failed in a bulk build with MAKE_JOBS=2 and worked without.
Recursive ABI depends update and PKGREVISION bump for readline-6.0 shlib major change. Reported by Robert Elz in PR 41345.
Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no 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.
Recursive revision bump / recommended bump for gettext ABI change.
Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.
Update linkage to libltdl (via guile{,14}), which is now its own package.
Unfortunately, guile{,14}/buildlink3.mk directly includes it, and I don't
know which dependencies actually need libltdl, so it was a recursive bump.
Hopefully this recursive inclusion can be ripped out of
guile{,14}/buildlink3.mk at some point and bubble down to dependencies that
actually use libltdl, avoiding this headache in the future....
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.
Convert to buildlink3.
s/netbsd.org/NetBSD.org/
PKGREVISION bump for libiconv update.
Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages. Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
Update to 2.2, and switch to using guile-1.6.
Changes:
libctl 2.2 (9/12/2002)
* Added simple trapezoidal-rule adaptive numeric integration routine.
* Numerical derivative routines now allow numerical differentation
of vector-valued function. Added deriv2 convenience routine.
* Added find-root-deriv functions for faster root-finding of
functions for which the derivative is also available.
* Added missing (cvector3 ...) constructor, and fixed corresponding
constructor for cvector3 object properties; thanks to Doug Allan for
the bug report.
* Added generic 'memoize' function.
* libctl programs now print out command-line parameters when they run.
* Fixed incomplete support for generic SCM type.
* Fixed to work with Guile 1.5+ (thanks to Mike Watts for the bug report).
libctl 2.1 (3/21/2002)
* Bug fix: complex-number input variables were read as garbage
if they had imaginary parts; does not affect complex-number outputs.
* Added generic SCM type for i/o variables and parameters, as a
catch-all for other Scheme objects.
* main.c now has ctl_export_hook (enabled by defining
CTL_HAVE_EXPORT_HOOK) with which to define additional Guile symbols.
* gen-ctl-io: converts "!" in symbols to "B" in C identifiers.
libctl 2.0 (3/10/2002)
* New set-param! function, analogous to define-param, that allows
you to change the value of a parameter in a way that can still be
overridden from the command line.
* In libgeom, allow user to specify the resolution instead of the
grid-size. New no-size support in lattice class to reduce
dimensionality, and new (get-grid-size) function.
* Support for Scheme complex numbers, along with a few new associated
functions: conj, vector3-cdot, matrix3x3-adjoint.
* New functions to compute numerical derivatives using Ridder's
method of polynomial extrapolation.
* Documented object-property-value; thanks to Theis Peter Hansen for
the suggestion.
* Get rid of unneeded make-default, and use consistent syntax for
define-property and define-post-processed-property, compared to
define-input-var. NOT BACKWARD COMPATIBLE (for developers; users
are not affected). Thanks to Theis Peter Hansen for the suggestion.
* Call ctl_stop_hook even with --help, --version, etcetera; this
makes the behavior nicer e.g. with MPI.
libctl 1.5 (11/15/2001)
* geometry-lattice now has a separate basis-size property, so that you
can specify the basis vectors as being something other than unit vectors.
* More functions are tail-recursive, helping to prevent stack overflows;
thanks to Robert Sheldon for the bug report.
* New fold-left and fold-right functions, documented in the manual.
* The configure script now checks that guile is in the $PATH. Thanks to
Bing Li and Giridhar Malalahalli for their bug reports.
USE_BUILDLINK2. (Package does not compile with guile-1.6).
Rename older (<1.6) Guile as guile14. Packages using Guile now all depend on guile14. These packages are expected to be made depend on newer Guile (1.6.x) when updated in the future.
Update MASTER_SITES according to HOMEPAGE.
Update to version 1.4.1. From the NEWS file: * Support function lists.
Remove redundant echoing, quoting, and input redirection to sed.
Change MAINTAINER section to packages@netbsd.org
Updated to libctl-1.4. 2001-02-22 Steven G. Johnson <stevenj@alum.mit.edu> * configure.in: fixed cppflags order 2001-02-20 Steven G. Johnson <stevenj@alum.mit.edu> * base/ctl.h.in, base/main.c, base/math-utils.scm, base/subplex.c, ChangeLog, configure.in, NEWS: added minimize-multiple-expert fmin parameter, after a suggestion from Dale Fried 2001-02-04 Steven G. Johnson <stevenj@alum.mit.edu> * base/ctl.h.in, base/main.c: added hook functions to help us use MPI (where we need to call MPI_Init and MPI_Finalize) * base/interaction.scm: cleanups, and made sure output is flushed * base/extern-funcs.scm, base/help.scm, base/interaction.scm, base/math-utils.scm, base/simplex.scm, base/utils.scm, doc/user-ref.html, NEWS, utils/ctl-io.scm: display-many -> print, added print-ok? 2001-01-21 Steven G. Johnson <stevenj@alum.mit.edu> * base/ctl.h.in: whoops, fixed prototype * base/ctl.c, base/ctl.h.in: put ctl_get_list etc. back in because MPB configure script looks for it * base/ctl.c, base/ctl.h.in: whoops, fixed 'function support * base/class.scm, base/ctl.c, base/ctl.h.in, doc/developer.html, NEWS: add support for 'function type * utils/ctl-io.scm: put class input & destruction headers in ctl-io.h so that they can be used elsewhere if desired * examples/example.c, examples/example.scm: added function-passing example * base/class.scm: slight clarification in comment 2001-01-20 Steven G. Johnson <stevenj@alum.mit.edu> * doc/guile-links.html: another minor change * doc/guile-links.html: minor change * doc/license.html: spelling correction * doc/advanced-user.html: Fixed command-line parameter order (whoops). 2001-01-07 Steven G. Johnson <stevenj@alum.mit.edu> * doc/guile-links.html: updated links * base/main.c, base/math-utils.scm, base/matrix3x3.scm, base/simplex.scm, base/utils.scm, base/vector3.scm, doc/license.html, examples/example.c, examples/example.scm, examples/Makefile.in, examples/run.ctl, utils/ctlgeom.h, utils/ctl-io.scm, utils/gen-ctl-io.1, utils/gen-ctl-io.in, utils/geom.c, utils/geom.scm, base/class.scm, base/ctl.c, base/ctl-f77-glue.c, base/ctl.h.in, base/ctl.scm, base/extern-funcs.scm, base/help.scm, base/include.scm, base/interaction.scm, base/io-vars.scm, COPYRIGHT: 2001 copyright year update * ChangeLog, configure.in, NEWS: bumped version for new release
Update to new COMMENT style: COMMENT var in Makefile instead of pkg/COMMENT.
Make that "autoreconf" -- there is no "autoremake".
Use full pathname "${LOCALBASE}/bin/auto..." in dependences and make
targets. This includes a fix for PR pkg/12125 by Tomasz Luchowski.
Updated libctl to version 1.3 . From the NEWS file:
* Added improved "subplex" multidimensional optimization algorithm
(for maximize-multiple and minimize-multiple).
* Documented vector3-x, vector3-y, vector3-z functions for extracting
vector3 components.
Added --version-info 0:0 to libtool arguments. Use autoreconf instead of patching configure.
Initial import of new "libctl" package: Guile-based flexible control file library for scientific simulations
Initial revision