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.
1.0.x versions. Pulseaudio (which I am working on) requires
this version; moreover, the 1.0.x releases are deprecated.
The ChangeLog is not kept up-to-date, but here are some highlights:
1.2rc1
--------
Again, this new releases brings many improvements. The RAM requirement for
wideband has gone down drastically (i.e. more than 2x). A new resampler
module has been added, providing arbitrary sampling rate conversion --
fast. The echo canceller has also been improved. A bug in 1.2beta1 that
made the echo canceller unstable has been fixed. The echo canceller should
now converge faster, be robust and tolerant of incorrect capture-playback
synchronisation. The preprocessor has also been greatly improved. Not only
should the quality be better, but it is now fully converted to
fixed-point. At last, early TriMedia support (incomplete) has been merged.
1.2beta3
--------
The most obvious change in this release is that all the non-codec
components (preprocessor, echo cancellation, jitter buffer) have been
moved to a new libspeexdsp library. Other changes include a new jitter
buffer algorithm and resampler improvements/fixes. This is also the first
release where libspeex can be built without any floating point support. To
do this, the float compatibility API must be disabled (--disable-float-api
or DISABLE_FLOAT_API) and the VBR feature must be disabled (--disable-vbr
or DISABLE_VBR).
1.2beta2
--------
This release adds support for acoustic echo cancellation with multiple
microphones and multiple loudspeakers. It also adds an API to decorrelate
loudspeaker signals to improve multi-channel performance. In the bugfix
department, there are fixes for a few bugs in the echo canceller, jitter
buffer and preprocessor. At this point, the API for 1.2 should be stable
and only a few very minor additions are planned.
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).
file's sole purpose was to provide a dependency on pkg-config and set
some environment variables. Instead, turn pkg-config into a "tool"
in the tools framework, where the pkg-config wrapper automatically
adds PKG_CONFIG_LIBDIR to the environment before invoking the real
pkg-config.
For all package Makefiles that included pkg-config/buildlink3.mk, remove
that inclusion and replace it with USE_TOOLS+=pkg-config.
The main change with this release is that it includes API additions
from the 1.1.x branch (while being backward compatible), so that
transition from 1.0.x to 1.1.x can be made easier.
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.
All library names listed by *.la files no longer need to be listed
in the PLIST, e.g., instead of:
lib/libfoo.a
lib/libfoo.la
lib/libfoo.so
lib/libfoo.so.0
lib/libfoo.so.0.1
one simply needs:
lib/libfoo.la
and bsd.pkg.mk will automatically ensure that the additional library
names are listed in the installed package +CONTENTS file.
Also make LIBTOOLIZE_PLIST default to "yes".
* Headers are now in ${PREFIX}/include/speex/ (but a copy is still
in ${PREFIX}/include for compat reasons).
* Pseudo-gapless playback (i.e. playback has the same number of
samples)
* Fixed a potential bug (unconfirmed) that might cause a segfault
in special circumstances.
Also includes a shlib major bump, so update DEPENDS in buildlink3.mk.
by moving the inclusion of buildlink3.mk files outside of the protected
region. This bug would be seen by users that have set PREFER_PKGSRC
or PREFER_NATIVE to non-default values.
BUILDLINK_PACKAGES should be ordered so that for any package in the
list, that package doesn't depend on any packages to the left of it
in the list. This ordering property is used to check for builtin
packages in the correct order. The problem was that including a
buildlink3.mk file for <pkg> correctly ensured that <pkg> was removed
from BUILDLINK_PACKAGES and appended to the end. However, since the
inclusion of any other buildlink3.mk files within that buildlink3.mk
was in a region that was protected against multiple inclusion, those
dependencies weren't also moved to the end of BUILDLINK_PACKAGES.
In this bugfix release: a fix for a multithreading bug and a
correction for an underflow problem that could slow decoding
dramatically on x86 processors.
This release fixes several minor bugs that were found in version
1.0 as well as a major bug in the wideband encoding. This makes
files encoded with 1.0 play with lower quality on 1.0.1 decoders.