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.
Do it for all packages that
* mention perl, or
* have a directory name starting with p5-*, or
* depend on a package starting with p5-
like last time, for 5.18, where this didn't lead to complaints.
Let me know if you have any this time.
a) refer 'perl' in their Makefile, or
b) have a directory name of p5-*, or
c) have any dependency on any p5-* package
Like last time, where this caused no complaints.
to trigger/signal a rebuild for the transition 5.10.1 -> 5.12.1.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=..."), minus the packages updated after
the perl package update.
sno@ was right after all, obache@ kindly asked and he@ led the
way. Thanks!
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.
to trigger/signal a rebuild for the transition 5.8.8 -> 5.10.0.
The list of packages is computed by finding all packages which end
up having either of PERL5_USE_PACKLIST, BUILDLINK_API_DEPENDS.perl,
or PERL5_PACKLIST defined in their make setup (tested via
"make show-vars VARNAMES=...").
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).
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.
will install Perl modules into the "vendor" directories:
chat/vicq math/udunits
databases/rrdtool mbone/beacon
devel/p5-subversion
Bump their PKGREVISIONs.
configure tries to determine if -lm is needed by compiling
int main() {
(void)sin(0.0);
; return 0; }
and see if linking fails. But gcc3.3 optimizes that to just "return 0;"
Changes since version 1.11.7:
1.12.1 2003-12-01
Corrected omission of file "lib/udunits.inc.in" from
distribution.
Ported to Mac OSX (I hope).
1.12.0 2003-08-29
Corrected definition of "apothecary_pound".
Corrected documentation of "common_year" in the units
database.
Modified the syntax of a couple of statements in
file "src/utlib.c" to accomodate the, apparently,
non-conforming C/SX C compiler on NEC SX-4 SUPER-UX
systems, which can't dereference a pointer returned by a
function.
Added "mi" to database as alias for "mile".
Corrected documentation on origin-shift in unit
specifications.
Ported to systems with sizeof(double) <
sizeof(DOUBLE PRECISION).
Added determination of Fortran type equivalent to C pointer
to configuration script.
Added utIsInit() and utisopen() to the API.
Corrected Hertz symbol: changed from "hz" to "Hz".
Corrected reference to udunits(3) library in udunitsperl(1)
manual-page.
Added support for Absoft Fortran.
have it be automatically included by bsd.pkg.mk if USE_PKGINSTALL is set
to "YES". This enforces the requirement that bsd.pkg.install.mk be
included at the end of a package Makefile. Idea suggested by Julio M.
Merino Vidal <jmmv at menta.net>.