Commit graph

33 commits

Author SHA1 Message Date
hasso
02281fec7e Libm is needed on DragonFly as well. Bump PKGREVISION. 2009-07-09 19:10:25 +00:00
dbj
f449e104a4 fix problems with missing -lXau on darwin and solaris (at least)
by providing a default define of SharedLibX which causes it to use a shared libaudio
if the installed imake templates don't define it
2009-02-03 09:39:16 +00:00
sketch
d9c9a53ce9 Fix package on Solaris. Probably not the 'correct' fix, but it's a small
and working one without having to delve too far into imake.
2009-01-26 11:50:54 +00:00
markd
b7ae1594a5 Update nas to version 1.9.1.
This version adds some enhancements to aupanel, and reworks signal
handling in the voxware server to avoid races, hangs and other issues
seen with linux 2.6.21+ kernels. Other changes relating to the default
value of the 'MixerInit' option and the new location of the local unix
socket on Linux systems were also made.

Also include a patch from Aleksey Cheusov for a
"libpthread: Unlocking unlocked mutex" bug.
2008-10-14 12:47:11 +00:00
tnn
f98c0ab6f1 Assume that we need to link with -lXt -lXau if we're not on any of the
platforms explicitly defined. Should fix build on SunOS.
2008-05-31 13:32:04 +00:00
markd
1d1f6cb376 Fix build problem on NetBSD/powerpc as seen in Havard Eidnes' bulk build. 2007-12-25 19:48:42 +00:00
wiz
a623639904 Link libaudio against the libraries it needs (previously on Linux, Darwin,
and FreeBSD; now on NetBSD too).
Bump PKGREVISION.

Noted broken by hira@
2007-11-10 02:41:34 +00:00
markd
b96bd1b1c3 Update nas to 1.9
Fixes to several DOS attacks that could be carried out
aginst a nasd server, ANSI'fication of most of the server and
client code, and significant rework of input and output mixer
handling in the voxware (OSS) server.
2007-05-05 21:31:09 +00:00
markd
6744c06d7b Don't build/install auscope. Removes dependency on perl if all you
are interested in is the nas library. Bump PKGREVISION.
2007-03-24 13:45:05 +00:00
minskim
6d120881c1 Add required link options for Darwin. 2006-07-08 00:27:56 +00:00
markd
608f84f94b Some makedepend's object if a referenced header file is a dangling
symlink, so create the actual release.h file at the includes stage as
the depends stage is too late (server/os is before lib/audio).
Fixes PR pkg/32098 from Gilles Dauphin.

Also fix installation of nasd.conf manual page on systems where imake
doesn't have an InstallGenManPage rule (ie. solaris with openwin)
2006-01-11 11:32:38 +00:00
markd
e99257570e Update to version 1.7b
6/3/2005 1.7b (devel)

         - applied patch from 'Inma', correcting a connection hang in
           Solaris 9.  This reworks some of the very old and primitive
           fd_set stuff in Aulibint.c .

         - updated config/config.sub and config.guess to properly
           detect DragonFly systems.

         - Applied patch from Mark Davies and Joerg Sonnenberger
           correcting some BSD issues and adding DragonFly support.

           Then nasd.conf man page is always installed in
           $FILEMANDIR for all systems.

4/10/2005 1.7a (devel)

        - applied patch from Mark Davies correcting audio/Imakefile
          to properly define BSD44SOCKETS on NetBSD systems.

        - Applied patch from Steve McIntyre correcting CYWIN -> CYGWIN
          typo in server/dda/voxware/auvoxware.c

        - applied patch from Steve McIntyre Correcting some Gcc 4.0
          and AMD64 issues.
2005-06-04 23:43:51 +00:00
markd
a4b2c39f47 Replace a TAB with a SPACE to make some makes happy. 2005-04-09 01:47:02 +00:00
markd
3fca12fe3b Define BSD44SOCKETS when building libaudio on NetBSD.
From PR pkg/20615 by Scott Presnell.
Scott's patch was added to nas before 1.7 but then broken, this fixes that.

Bump PKGREVISION.
2005-04-07 14:33:56 +00:00
adam
11a9e22781 Changes 1.7:
- fixed config/Imakefile so 'configure' command would work
  under cygwin.  Tested clients/server under cygwin.

- corrected a possible race condition in auvoxware that could
  cause the server to hang under certain conditions.  I do not
  know why I haven't seen this problem before, but I could
  recreate it easily by killing auplay while playing a long
  tune.

  If the system restarts syscalls after a signal handler has
  run, a situation could arise where the previous timer was
  never disabled.  This could cause a previous ioctl(DSP_SYNC)
  called from setSampleRate() to be constantly interrupted and
  restarted, causing an apparent hang.

  Now we just turn off the timer as the first thing in
  setSampleRate() so DSP_SYNC can actually finish.

  We also turn off the timer when openDevice is called, so the
  'wait for device to become available' code can work too.

- Patch from Tobias Diedrich that allows mixer init to
  fail in the voxware server.

- redid the FAQ in an attempt to make it more useful.  I'll
  try to keep it up to date.

- updated libtool due to a problem(s) reported by Steve
  McIntyre.
2004-11-23 08:50:23 +00:00
grant
9b699dcf71 backout unnecessary patch.
this patch was unnecessarily causing the resulting binaries to be
linked against libaudio, which couldn't be found at runtime, and
contrary to the log message it had no effect on PR pkg/23081.

fixes my PR pkg/23288.
2003-10-28 00:49:48 +00:00
fredb
d3228217c8 Fix a warning, that may or may not be related to
PR pkg/23081.
2003-10-25 14:29:12 +00:00
wulf
c107605d9c Added patch-af: fixing path to perl header file "sys/syscall.ph" in auscope 2003-07-13 10:39:40 +00:00
jlam
8d7aad658a Ensure that the voxware (OSS) audio server is built on NetBSD/sparc. 2002-12-03 09:13:39 +00:00
jlam
88c0d70d36 Make this work with audio/oss again. 2002-12-03 09:03:07 +00:00
markd
963dec3cc2 Update of nas to 1.6.
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.
2002-11-28 11:40:45 +00:00
jlam
3fc789d9ca Make this packages OSS-aware. 2002-10-18 14:02:12 +00:00
jlam
04edefa601 Update nas to the latest stable release 1.4.2. Changes from 1.4 include
major bugfixes in the clients and bumping the major version of the library.
2001-07-14 13:35:12 +00:00
fredb
505baa1e58 Make this work on NetBSD without installing a config file. 2000-09-12 16:49:22 +00:00
jlam
56c8e9ad06 Update nas from 1.2.5 to 1.4. Relevant changes from version 1.2.5:
- 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.
2000-08-04 01:31:55 +00:00
agc
300c3841b3 Add missing NetBSD RCS Id. 1998-11-12 15:46:41 +00:00
dbj
929eb38eb0 Use #include <signal.h> instead of #include <sys/signal.h> 1998-10-18 07:39:08 +00:00
garbled
012b3eb126 Created new patch file, closes PR 5814 (now builds on alpha)
PR by Tim Rightnour
1998-08-23 06:26:24 +00:00
agc
86db14e819 Add NetBSD RCS Ids. 1998-08-07 10:35:47 +00:00
agc
60433a955f Move all occurrences of LITTLE_ENDIAN to NAS_LITTLE_ENDIAN, and
BIG_ENDIAN to NAS_BIG_ENDIAN, to avoid conflicts with the definitions
in <machine/endian.h>
1998-05-18 11:09:00 +00:00
agc
ce5501a4a6 Add back nas package version 1.2.5, the client/server network audio system.
Originally from FreeBSD, but much modified by Jaromir Dolocek, and finally
munged around by agc to get the man pages correct in the Makefile.
1998-05-18 09:18:28 +00:00
augustss
95218d2a72 Remove nas package until someone has ported it. 1998-02-09 19:56:11 +00:00
augustss
4daa64a629 Initial import of FreeBSD audio packages. 1997-10-28 23:18:20 +00:00