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>.
pkgsrc changes: PKG_SYSCONFised.
changes: bug fixes and ...
1.5h 10/12/2002
- Added SoundFileGetProc() to get access to the toSound and
fromSound Procs in _SoundFileInfo[]. Needed for xemacs.
- Added AudioLibraryVersionMajor, AudioLibraryVersionMinor,
and AudioLibraryVersionTeeny to audiolib.h. Somewhat more
informative than just the old AudioLibraryVersion which was
set a '2'. The older AudioLibraryVersion define is still
there however.
1.5g 10/7/2002
- changed inputsection defaults in nasd.conf.eg to 44.1Khz, 2
channel 16b sound.
outputsection also defaults to 44.1Khz now, instead of 33Khz.
- began some CC ANSI'fication of libaudio.
1.5f 8/26/2002
7/20/2002
- added cygwinArchitecture to the server Imakefile so
auvoxware will be built on cygwin systems.
- Removed the SoundFileInfo[] array in sound.h so cygwin would
be happy. Apps should not have been accessing that array
directly anyways.
Added the following new functions to sound.c (that used to
be macros in sound.h):
SoundFileFormatString, SoundValidDataFormat,
SoundFileFormatToString, SoundFileFormatToAbbrev,
SoundFileFormatToSuffixes
Assuming your code did not attempt to directly access
SoundFileInfo[], no changes should be required.
libaudio.so revision bumped to 2.3
- re-added back the Xtutils stuff, as some of the demos did in
fact require it. cygwin has a problem with implicitly
defined functions anyway.
7/9/2002
- rename dia/nasconfig.* to dia/nasconf.* to avoid name
collision with NasConfig.h on windows systems.
1.5e 7/7/2002
- added patch from Nicolas Escuder that adds support for
Windows operating systems using Cygwin. Even the NAS server
is now supported. There are still issues with building
regarding Imake, but once I can get more information, I'll
fix those up.
Read the README.CYGWIN file in the nas/ directory for
instructions. I will provide a link on the nas-links page
to precompiled windows binaries for libaudio.dll, nasd, and
some clients - provided by Nicolas.
- based on idea from Nicolas, added background (-b) mode to
nasd, to force it to run in the background. Actually, he
supplied a patch, but I just redid it to work properly with unix
systems.
- added NAS_AUDIOMSGFILE in config/NasConfig.h to specify
where audio messages are stored (ADMPATH in os/osinit.c).
1.5d 6/1/2002
- added .ps -> .pdf conversions in doc/pdf/
- added html versions of man pages in doc/html/
1.5c 3/27/2002
- removed Xtutil[hc] from libaudio and removed references to
Xtutil.h in the clients. Suggestion by Paul Fox.
1.5b 3/16/2002
- added patch from Marco Molteni to add a '-local' option to
nasd. Specifying this option allows only local clients to
connect.
- moved allow_any_host into the NasConfig struct. Along with
the new '-local' option.
1.5a 2/23/2002
- more STARTSERVER fixes - there was still one case where when
STARTSERVER was defined, nasd could be called with the wrong
display number due to a bug in _AuConnectServer.
- changed LEX/YACC DEBUG token to CDEBUG to avoid conflicts
when building nas with '-DDEBUG'
- DEFAULT_AUSERVER is now ":0" rather than
"tcp/localhost:8000". A local socket connection will startup
faster than a tcp connection.
- mutex.h
- corrected unixware 7.x build problem
(XMUTEX_INITIALIZER) in mutex.h
- added same check for sun/solaris boxes
- got rid of XUSE_MTSAFE_API - now controlled by
NAS_USEMTSAFEAPI defined in config/NasConfig.h
If you think you are having mutex problems, you can
edit config/NasConfig.h and '#undef'
NAS_USEMTSAFEAPI, then rebuild everthing. This will
turn off threadsafety in libaudio.
- added new option, 'gain', to config file in the input/output
sections. This sets the default gains when nasd starts up
(if MixerInit is enabled). Only in voxware for now.
BUILDLINK_PREFIX.<pkgname>. This allows buildlink to find X11BASE packages
regardless of whether they were installed before or after xpkgwedge was
installed. Idea by Alistair Crooks <agc@pkgsrc.org>.
out of date - it was based on a.out OBJECT_FMT, and added entries in the
generated PLISTs to reflect the symlinks that ELF packages uses. It also
tried to be clever, and removed and recreated any symbolic links that were
created, which has resulted in some fun, especially with packages which
use dlopen(3) to load modules. Some recent changes to our ld.so to bring
it more into line with other Operating Systems also exposed some cracks.
+ Modify bsd.pkg.mk and its shared object handling, so that PLISTs now contain
the ELF symlinks.
+ Don't mess about with file system entries when handling shared objects in
bsd.pkg.mk, since it's likely that libtool and the BSD *.mk processing will
have got it right, and have a much better idea than we do.
+ Modify PLISTs to contain "ELF symlinks"
+ On a.out platforms, delete any "ELF symlinks" from the generated PLISTs
+ On ELF platforms, no extra processing needs to be done in bsd.pkg.mk
+ Modify print-PLIST target in bsd.pkg.mk to add dummy symlink entries on
a.out platforms
+ Update the documentation in Packages.txt
With many thanks to Thomas Klausner for keeping me honest with this.
- corrected a problem in the voxware server where when
ReleaseDevice was enabled, the device would be held
open when nasd was first started until the first
connection was made.
- changed documentation regarding the new location of the web
site (http://radscan.com/nas.html)
- integrated config handling in all servers, based on a
lex/yacc parser from Stephen Hocking that was in the
voxware server.
- config file is /etc/nas/nasd.conf
an example config file is installed.
- parser errors are a bit more informative ;-)
- each server now has a config.c and config.h file that
provides the ddaSetConfig() functionality required
of each server by dia/. In the SGI case,
it's just a stub. ddaSetConfig() ignores options
it doesn't understand (required behavior).
- server cmdline options '-v' (verbose) and '-d <num>'
(debug messages) added. These override
nasd.conf settings.
- hooks added to all servers in config.c - ddaProcessArg()
and ddaUseMsg() for integrated arg handling.
- voxware server:
- release device functionality now controlled by
nasd.conf
- mixer init policy now controlled by nasd.conf
- sun server:
- added integrated sun (ausuni) module (now built by
default) into the distribution.
- release device functionality now controlled by
nasd.conf
- hpux server:
- added device release (ReleaseDevice) capability to hpux
server. All servers except for sgi now
support this functionality.
- fixed sample rate change problem in hpux server
- separated hardware init code for ReleaseDevice
functionality
- added new option in nasd.conf to select either the
EXT (external - headphones/speakers) or INT
(internal speaker) output device by default
- renamed generated server binary from au* to nasd for all
servers
- man pages updated (auserver.man and
AUVoxConfig.man respectively).
- Added patches from Mark Davies for NetBSD.