./math/udunits, Library and program for manipulating units of physical quantities

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


Branch: CURRENT, Version: 2.2.26, Package name: udunits-2.2.26, Maintainer: pkgsrc-users

A C library for units of physical quantities and a unit-definition and
value-conversion utility.

This package provides support for units of physical quantities. Its main
components are:
1) A C library, "libudunits2", for:
a) Obtaining a binary representation of a unit;
b) Manipulating units arithmetically; and
c) Obtaining a converter of numeric values between compatible units;
2) A utility, "udunits2", for
a) Obtaining the definition of a unit; and
b) Converting a numeric value between compatible units; and
3) An extensive database of units.


Required to run:
[lang/perl5]

Required to build:
[pkgtools/cwrappers]

Master sites:

Filesize: 1198.824 KB

Version history: (Expand)


CVS history: (Expand)


   2024-01-11 12:29:47 by Jonathan Perkin | Files touched by this commit (1)
Log message:
udunits: Add expat to bl3.

Fixes indirect library checks in various dependencies.
   2021-10-26 12:56:13 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:28:36 by Nia Alarie | Files touched by this commit (458)
Log message:
math: Remove SHA1 hashes for distfiles
   2021-06-23 21:54:03 by Jason Bacon | Files touched by this commit (1)
Log message:
math/udunits: Release maintainership

Narrowing my focus to biology packages
   2020-08-08 23:55:54 by Brook Milligan | Files touched by this commit (9) | Package updated
Log message:
math/udunits: update to udunits2 v2.2.26.

The UDUNITS-2 package differs from the previous UDUNITS package in the
following ways:

    Support for non-ASCII characters. The original UDUNITS package only
    supports the ASCII character set. The UDUNITS-2 package supports
    the following character sets: ASCII, ISO 8859-1 (Latin 1), and the
    UTF-8 encoding of ISO 10646 (Unicode). This means that unit string
    specifications like "µ°F·Ω⁻¹" are now supported (your viewer
    must support UTF-8 to display this string correctly).

    Support for logarithmic units. The unit string specification
    "0.1 lg(re 1 mW)" specifies a deciBel unit with a one milliwatt
    reference level.  Meteorologists should note that the unit "dBZ"
    (i.e., "0.1 lg(re um^3)") is now supported.

    Persistent value converters. It is now possible to obtain a converter
    data-object, which can be used to convert numeric values in one
    unit to numeric values in another, compatible unit. The values can
    be float, double, or one-dimensional arrays of floats or doubles.

    Improved API. Due to the above changes, it was not possible to keep
    the application programming interface of the original UDUNITS
    package.  Beginning with version 2.1.0, however, the package
    contains a thin UDUNITS API to the UDUNITS-2 library, so code
    written to the original API can simply be recompiled and relinked
    against the new package.  Because the original UDUNITS API uses the
    "utUnit" data-structure and the UDUNITS-2 API uses pointers to
    "ut_unit" data-structures, a small memory-leak is possible in code
    that creates many units.  This leak can be avoided by calling the
    new method utFree(utUnit*) when the unit is no longer needed.

    XML unit database. The unit database is encoded using human-readable
    XML rather than a custom format. The XML parser included in the
    package supports an <import> element to allow easy and convenient
    customization.

One thing that has not changed is that all unit string specifications
understood by the original UDUNITS package are also understood by the
new UDUNITS-2 package.
   2019-08-11 15:25:21 by Thomas Klausner | Files touched by this commit (3557)
Log message:
Bump PKGREVISIONs for perl 5.30.0
   2018-08-22 11:48:07 by Thomas Klausner | Files touched by this commit (3558)
Log message:
Recursive bump for perl5-5.28.0
   2017-11-26 11:53:58 by Thomas Klausner | Files touched by this commit (1)
Log message:
udunits: follow redirects