./math/imath, 2D and 3D vector, matrix, and math operations for computer graphics

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 3.2.2, Package name: imath-3.2.2, Maintainer: pkgsrc-users

Imath is a basic, light-weight, and efficient C++ representation of 2D
and 3D vectors and matrices and other simple but useful mathematical
objects, functions, and data types common in computer graphics
applications.


Master sites:

Filesize: 673.063 KB

Version history: (Expand)


CVS history: (Expand)


   2025-10-12 18:48:44 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
imath: update to 3.2.2.

## Version 3.2.2 (October 8, 2025)

Patch release that fixes a build problem with newer versions of cmake,
duplicate declarations of ImathConfig.  No functionality changes.

Also fixes errors in comments in ImathVec.h
   2025-08-20 21:25:55 by Thomas Klausner | Files touched by this commit (2) | Package updated
Log message:
imath: update to 3.2.1.

## Version 3.2.1 (August 15, 2025)

Patch release that addresses several build-related problems
introduced in v3.2.0, primarily to PyImath.

* `IMATH_VERSION_RELEASE_TYPE` was inadvertently set to `-dev`; it's
  been reset to the empty string. This string appears as a preprocessor
  symbol for informational purposes.
* Default installation folder for PyImath is `include/Imath`, not
  `include/PyImath`. This inadvertently changed in v3.2.0. Note the
  folder can be configured via the `PYIMATH_OUTPUT_SUBDIR` CMake option.
* Fix broken pkg-config `PyImath.pc`
* Update `find_package(Boost)` to work with CMake 4.x

### Merged pull requests

* Fix broken `PyImath.pc`, and add pkg-config CI tests
* Bump actions/checkout from 2.7.0 to 5.0.0
* Reset default install folder for PyImath to `include/Imath`
* Fix `find_package(Boost)` for CMake 4.x
   2025-08-10 12:38:59 by Thomas Klausner | Files touched by this commit (74)
Log message:
*: recursive bump for imath 3.2.0
   2025-08-10 12:38:09 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
imath: update to 3.2.0.

## Version 3.2.0 (August 8, 2025)

Minor release with several bug and build fixes:

* Fix undefined behavior in the `Vec*` class `operator[]`
([#449](https://github.com/AcademySoftwareFoundation/Imath/pulls/449)).
* Fix call to `_mm_cvtps_ph` in `half.h`, Windows build failure

Build changes/improvements:
* Updated and simplified SO versioning policy: this release adopts a
  policy of appending the `MAJOR.MINOR.PATCH` software release name to
  the `SONAME` to form the real name of the shared library.
* Add `uninstall` target
* Add `iOS` cross-compilation support
* Add support for HIP (AMD's Heterogeneous-compute Interface for
  Portability)
* Fix handling of `/EHsc` flag
* Required cmake version is now 3.14

Also:
* Source files have been reformatted via `clang-format`.

This release also marks the introduction of an alternate boost-free
implementation of the Imath python module using pybind11. The
`pybindimath` module is an incomplete work-in-progress and is not
included in the installation. Activate the build via
`-DPYBIND11=ON`.
   2024-09-15 12:21:44 by Thomas Klausner | Files touched by this commit (3) | Package updated
Log message:
imath: update to 3.1.12.

## Version 3.1.12 (September 9, 2024)

Patch release with a small fix:

* Support for compiling half.h with hip-runtime-amd

Also, the v3.1.11 release had improper versioning in its cmake and
pkgconf configuration files. This is now fixed.
   2024-03-03 12:34:00 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
imath: update to 3.1.11.

## Version 3.1.11 (February 28, 2024)

Patch release with small build fix:

- Add explicit `std::` namespace for `isfinite` in `ImathFun.cpp`

This release also introduces the practice of signing release artifacts
via [sigstore](https://www.sigstore.dev).

### Merged Pull Requests
* \[[#371](https://github.com/AcademySoftwareFoundation/Imath/pull/371)\]
ImathFun.cpp: add std:: to isfinite in remaining cases (#371)
* \[[#369](https://github.com/AcademySoftwareFoundation/Imath/pull/369)\]
Add workflow to sign release artifacts with Sigstore
* \[[#368](https://github.com/AcademySoftwareFoundation/Imath/pull/368)\]
Add std:: to isfinite in ImathFun.cpp
   2024-01-28 13:55:22 by Thomas Klausner | Files touched by this commit (4) | Package updated
Log message:
imath: update to 3.1.10.

## Version 3.1.10 (January 26, 2024)

Patch release with various build/bug fixes.

Build fixes:

  - Fix a problem where downstream projects using Imath would build
    python bindings even if they weren't requested.
  - Fix for missing `std::bit_cast`
  - Fix missing/necessary use of IMATH_HOSTDEVICE
  - IMATH_INSTALL_PKG_CONFIG is now on by default, even on Windows
  - Fix calling default constructor by uniform init in TypeTraits
  - Fix redundant PYIMATH_EXPORTS causing compile issues on Windows Clang
  - Update to SO versioning policy:

    This change adopts a policy of appending the ``MAJOR.MINOR.PATCH``
    software release name to the ``SONAME`` to form the real name of the
    shared library.

    See [website/install.rst](website/install.rst) and [PR
    #339](https://github.com/AcademySoftwareFoundation/openexr/pull/339)
    for more details.

Bug fixes:

  - Fix half to float giving wrong results on older x86_64 CPUs on Windows

Other changes:

  - succ()/pred() now use std::nextafter().
  - Expand epsilon bounds for m44x pyImath test.
  - Rename "docs" to "website".
  - Add missing copyright/license identifiers.

### Merged Pull Requests

* \[[#363](https://github.com/AcademySoftwareFoundation/Imath/pull/363)\]
Update install instructions to reflect new SO versioning policy

* \[[#362](https://github.com/AcademySoftwareFoundation/Imath/pull/362)\]
Require sphinx 5.0

* \[[#361](https://github.com/AcademySoftwareFoundation/Imath/pull/361)\]
src/python/config/ModuleDefine.cmake: do not install a cmake file exporting \ 
targets for dependent projects

* \[[#358](https://github.com/AcademySoftwareFoundation/Imath/pull/358)\]
Fix half to float giving wrong results on older x86_64 CPUs on Windows

* \[[#353](https://github.com/AcademySoftwareFoundation/Imath/pull/353)\]
Changed implementation of succ and pred to use std::nextafter.

* \[[#350](https://github.com/AcademySoftwareFoundation/Imath/pull/350)\]
Fix check for the availability of std::bit_cast

* \[[#349](https://github.com/AcademySoftwareFoundation/Imath/pull/349)\]
IMATH_INSTALL_PKG_CONFIG is on by default, even on Windows

* \[[#347](https://github.com/AcademySoftwareFoundation/Imath/pull/347)\]
Export Imath from the build tree and so on.

* \[[#344](https://github.com/AcademySoftwareFoundation/Imath/pull/344)\]
rm unnecessary IMATH_HOSTDEVICE attributes.

* \[[#342](https://github.com/AcademySoftwareFoundation/Imath/pull/342)\]
Add missing copyright/license identifiers

* \[[#341](https://github.com/AcademySoftwareFoundation/Imath/pull/341)\]
Remove unnecessary files

* \[[#340](https://github.com/AcademySoftwareFoundation/Imath/pull/340)\]
Fix calling default constructor by uniform init.

* \[[#339](https://github.com/AcademySoftwareFoundation/Imath/pull/339)\]
Update and simply SO versioning policy

* \[[#338](https://github.com/AcademySoftwareFoundation/Imath/pull/338)\]
Rename "docs" to "website"

* \[[#333](https://github.com/AcademySoftwareFoundation/Imath/pull/333)\]
Expand epsilon bounds for m44x pyImath test

* \[[#331](https://github.com/AcademySoftwareFoundation/Imath/pull/331)\]
Fixed redundant PYIMATH_EXPORTS causing compile issues on Windows Clang

* \[[#326](https://github.com/AcademySoftwareFoundation/Imath/pull/326)\]
Use security@openexr.com for consistency

* \[[#320](https://github.com/AcademySoftwareFoundation/Imath/pull/320)\]
Add missing IMATH_HOSTDEVICE to Matrix33<T>::invert(bool)
   2023-07-18 20:30:01 by Nia Alarie | Files touched by this commit (3)
Log message:
math: Adapt packages to USE_(CC|CXX)_FEATURES where possible