diff options
author | augustss <augustss> | 1997-10-28 23:18:20 +0000 |
---|---|---|
committer | augustss <augustss> | 1997-10-28 23:18:20 +0000 |
commit | f8e906be96435c1ec9f3f8dba3ab6d8698cb08be (patch) | |
tree | cc8ee8439ae9a5d7d4a09af2bda1536118792658 /audio/nas | |
parent | 3492a1d2d3c36ad01439a85ba2bad6462bb0288d (diff) | |
download | pkgsrc-f8e906be96435c1ec9f3f8dba3ab6d8698cb08be.tar.gz |
Initial import of FreeBSD audio packages.
Diffstat (limited to 'audio/nas')
-rw-r--r-- | audio/nas/Makefile | 20 | ||||
-rw-r--r-- | audio/nas/files/md5 | 1 | ||||
-rw-r--r-- | audio/nas/patches/patch-ab | 16 | ||||
-rw-r--r-- | audio/nas/patches/patch-ac | 12 | ||||
-rw-r--r-- | audio/nas/patches/patch-ad | 55 | ||||
-rw-r--r-- | audio/nas/patches/patch-ae | 25 | ||||
-rw-r--r-- | audio/nas/pkg/COMMENT | 1 | ||||
-rw-r--r-- | audio/nas/pkg/DESCR | 5 | ||||
-rw-r--r-- | audio/nas/pkg/PLIST | 194 | ||||
-rw-r--r-- | audio/nas/scripts/configure | 14 |
10 files changed, 343 insertions, 0 deletions
diff --git a/audio/nas/Makefile b/audio/nas/Makefile new file mode 100644 index 00000000000..cbe86d9984e --- /dev/null +++ b/audio/nas/Makefile @@ -0,0 +1,20 @@ +# New ports collection makefile for: nas (formerly netaudio) +# Version required: 1.2p1 +# Date created: 03 Nov 1994 +# Whom: jkh +# +# $Id: Makefile,v 1.1.1.1 1997/10/28 23:18:42 augustss Exp $ +# + +DISTNAME= nas-1.2p5 +PKGNAME= nas-1.2.5 +CATEGORIES= audio +MASTER_SITES= ${MASTER_SITE_XCONTRIB} +MASTER_SITE_SUBDIR= audio/nas + +USE_IMAKE= yes +ALL_TARGET= World +# no need to "xmkmf -a" and create the Makefiles twice -- see above +XMKMF= xmkmf + +.include <bsd.port.mk> diff --git a/audio/nas/files/md5 b/audio/nas/files/md5 new file mode 100644 index 00000000000..194e2d00b7c --- /dev/null +++ b/audio/nas/files/md5 @@ -0,0 +1 @@ +MD5 (nas-1.2p5.tar.gz) = 27c7118347dd71dd32a7f27d7e6d44bc diff --git a/audio/nas/patches/patch-ab b/audio/nas/patches/patch-ab new file mode 100644 index 00000000000..df614f79147 --- /dev/null +++ b/audio/nas/patches/patch-ab @@ -0,0 +1,16 @@ +*** server/dda/voxware/auvoxware.c.orig Thu Nov 3 11:24:11 1994 +--- server/dda/voxware/auvoxware.c Thu Nov 3 11:24:50 1994 +*************** +*** 755,760 **** +--- 755,765 ---- + /* + * Setup soundcard at maximum audio quality. + */ ++ ++ #ifdef __FreeBSD__ ++ #define NO_16_BIT_SAMPLING ++ #endif ++ + static void setupSoundcard(sndStatPtr) + SndStat* sndStatPtr; + { diff --git a/audio/nas/patches/patch-ac b/audio/nas/patches/patch-ac new file mode 100644 index 00000000000..67ce9ac3f3b --- /dev/null +++ b/audio/nas/patches/patch-ac @@ -0,0 +1,12 @@ +*** ./lib/audio/Astreams.c.orig Thu Nov 3 11:58:30 1994 +--- ./lib/audio/Astreams.c Thu Nov 3 11:58:52 1994 +*************** +*** 52,58 **** + #include <sys/stropts.h> + + extern int errno; +- extern char *sys_errlist[]; + + /* stolen from <X11/Xproto.h> */ + typedef struct { +--- 52,57 ---- diff --git a/audio/nas/patches/patch-ad b/audio/nas/patches/patch-ad new file mode 100644 index 00000000000..06c979d270e --- /dev/null +++ b/audio/nas/patches/patch-ad @@ -0,0 +1,55 @@ +*** clients/audio/auedit/Graph.c.orig Wed Dec 6 10:11:03 1995 +--- clients/audio/auedit/Graph.c Sat Oct 5 11:37:52 1996 +*************** +*** 28,34 **** + */ + + #ifndef WIN32 +! #include <values.h> + #else /* WIN32 */ + #define MAXSHORT 0x7fff + #endif /* WIN32 */ +--- 28,34 ---- + */ + + #ifndef WIN32 +! #include <limits.h> + #else /* WIN32 */ + #define MAXSHORT 0x7fff + #endif /* WIN32 */ +*************** +*** 322,329 **** + + for (x = 0; x < (int) w->core.width; x++) + { +! minY = MAXSHORT; +! maxY = -MAXSHORT; + + for (; (int) k == x && p < end; k += w->graph.hscale) + { +--- 322,329 ---- + + for (x = 0; x < (int) w->core.width; x++) + { +! minY = SHRT_MAX; +! maxY = SHRT_MIN; + + for (; (int) k == x && p < end; k += w->graph.hscale) + { +*************** +*** 391,397 **** + GraphWidget w; + { + w->graph.vscale = (float) w->core.height / w->graph.numTracks / +! (MAXSHORT - -MAXSHORT + 1); + + w->graph.hscale = (float) ((int) w->core.width - 1) / + (w->graph.end - w->graph.start); +--- 391,397 ---- + GraphWidget w; + { + w->graph.vscale = (float) w->core.height / w->graph.numTracks / +! (SHRT_MAX - SHRT_MIN + 1); + + w->graph.hscale = (float) ((int) w->core.width - 1) / + (w->graph.end - w->graph.start); diff --git a/audio/nas/patches/patch-ae b/audio/nas/patches/patch-ae new file mode 100644 index 00000000000..9de5c29d898 --- /dev/null +++ b/audio/nas/patches/patch-ae @@ -0,0 +1,25 @@ +*** lib/audio/Imakefile Tue Feb 13 12:18:13 1996 +--- lib/audio/Imakefile Tue Feb 13 10:21:19 1996 +*************** +*** 66,73 **** + #endif /* ProjectX < 5 */ + + EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\" + + DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES) +! CONN_DEFINES = ConnectionFlags + INSTALLFLAGS += $(INSTINCFLAGS) + +--- 66,78 ---- + #endif /* ProjectX < 5 */ + ++ #if HasBSD44Sockets ++ SOCK_DEFINES = -DBSD44SOCKETS ++ #endif ++ ++ + EDB_DEFINES = -DERRORDB=\"$(LIBDIR)/AuErrorDB\" + + DEFINES = $(MALLOC_DEFINES) $(SYSV_DEFINES) +! CONN_DEFINES = ConnectionFlags $(SOCK_DEFINES) + INSTALLFLAGS += $(INSTINCFLAGS) diff --git a/audio/nas/pkg/COMMENT b/audio/nas/pkg/COMMENT new file mode 100644 index 00000000000..2bf4f4a3ad1 --- /dev/null +++ b/audio/nas/pkg/COMMENT @@ -0,0 +1 @@ +Network Audio System. diff --git a/audio/nas/pkg/DESCR b/audio/nas/pkg/DESCR new file mode 100644 index 00000000000..b07f298ba12 --- /dev/null +++ b/audio/nas/pkg/DESCR @@ -0,0 +1,5 @@ + The Network Audio System is designed for playing, + recording, and manipulating audio data over a network. + Like the X Window System, it uses the client/server model to + separate applications from the specific drivers that control + audio input and output devices. diff --git a/audio/nas/pkg/PLIST b/audio/nas/pkg/PLIST new file mode 100644 index 00000000000..74bddffcdd3 --- /dev/null +++ b/audio/nas/pkg/PLIST @@ -0,0 +1,194 @@ +include/audio/Afuncproto.h +include/audio/Afuncs.h +include/audio/Amd.h +include/audio/Aos.h +include/audio/Aosdefs.h +include/audio/Aproto.h +include/audio/audio.h +include/audio/Alibint.h +include/audio/Alibnet.h +include/audio/Xtutil.h +include/audio/audiolib.h +include/audio/audioutil.h +include/audio/snd.h +include/audio/wave.h +include/audio/voc.h +include/audio/aiff.h +include/audio/sound.h +include/audio/soundlib.h +include/audio/fileutil.h +include/audio/8svx.h +include/audio/Astreams.h +lib/X11/AuErrorDB +lib/AUVoxConfig.eg +lib/libaudio.a +bin/auvoxware +bin/au +bin/auconvert +bin/auctl +bin/audemo +bin/audial +bin/auedit +bin/auinfo +bin/aupanel +bin/auplay +bin/aurecord +bin/autool +bin/auwave +bin/auphone +bin/auscope +bin/soundtoh +bin/issndfile +bin/playbucket +bin/checkmail +man/man1/auserver.1.gz +man/man1/AUVoxConfig.1.gz +man/man1/auvoxware.1.gz +man/man1/auconvert.1.gz +man/man1/auctl.1.gz +man/man1/audemo.1.gz +man/man1/audial.1.gz +man/man1/auedit.1.gz +man/man1/auinfo.1.gz +man/man1/aupanel.1.gz +man/man1/auplay.1.gz +man/man1/aurecord.1.gz +man/man1/autool.1.gz +man/man1/auwave.1.gz +man/man1/auphone.1.gz +man/man1/auscope.1.gz +man/man1/soundtoh.1.gz +man/man1/issndfile.1.gz +man/man1/playbucket.1.gz +man/man1/checkmail.1.gz +man/man1/nas.1.gz +man/man3/AuAnyEvent.3.gz +man/man3/AuBucketAttributes.3.gz +man/man3/AuConvertDataToShort.3.gz +man/man3/AuConvertShortToData.3.gz +man/man3/AuCloseServer.3.gz +man/man3/AuCreateBucket.3.gz +man/man3/AuCreateFlow.3.gz +man/man3/AuDeviceAttributes.3.gz +man/man3/AuDataFormats.3.gz +man/man3/AuDataTypes.3.gz +man/man3/AuDefineToFormat.3.gz +man/man3/AuDestroyBucket.3.gz +man/man3/AuDestroyFlow.3.gz +man/man3/AuDispatchEvent.3.gz +man/man3/AuElementNotifyEvent.3.gz +man/man3/AuElementParameters.3.gz +man/man3/AuElementState.3.gz +man/man3/AuElement.3.gz +man/man3/AuErrorEvent.3.gz +man/man3/AuEvent.3.gz +man/man3/AuEventsQueued.3.gz +man/man3/AuFixedPointFractionalAddend.3.gz +man/man3/AuFixedPointFromFraction.3.gz +man/man3/AuFixedPointFromSum.3.gz +man/man3/AuFixedPointIntegralAddend.3.gz +man/man3/AuFixedPointRoundDown.3.gz +man/man3/AuFixedPointRoundUp.3.gz +man/man3/AuFileFormats.3.gz +man/man3/AuFlush.3.gz +man/man3/AuFreeBucketAttributes.3.gz +man/man3/AuFreeDeviceAttributes.3.gz +man/man3/AuFreeElementStates.3.gz +man/man3/AuFormatToDefine.3.gz +man/man3/AuFormatToString.3.gz +man/man3/AuFreeElements.3.gz +man/man3/AuGetBucketAttributes.3.gz +man/man3/AuGetCloseDownMode.3.gz +man/man3/AuGetDeviceAttributes.3.gz +man/man3/AuGetErrorDatabaseText.3.gz +man/man3/AuGetElementParameters.3.gz +man/man3/AuGetElementStates.3.gz +man/man3/AuGetErrorText.3.gz +man/man3/AuGetScratchFlowFromBucket.3.gz +man/man3/AuGetScratchFlowToBucket.3.gz +man/man3/AuGetScratchFlow.3.gz +man/man3/AuGetServerTime.3.gz +man/man3/AuGetElements.3.gz +man/man3/AuGrabNotifyEvent.3.gz +man/man3/AuHandleEvents.3.gz +man/man3/AuIDOfEvent.3.gz +man/man3/AuInputTrack.3.gz +man/man3/AuKillClient.3.gz +man/man3/AuListBuckets.3.gz +man/man3/AuListDevices.3.gz +man/man3/AuLookupEventHandler.3.gz +man/man3/AuMakeChangeStateAction.3.gz +man/man3/AuMakeElementAddConstant.3.gz +man/man3/AuMakeElementBundle.3.gz +man/man3/AuMakeElementExportBucket.3.gz +man/man3/AuMakeElementExportClient.3.gz +man/man3/AuMakeElementExportDevice.3.gz +man/man3/AuMakeElementExportMonitor.3.gz +man/man3/AuMakeElementImportBucket.3.gz +man/man3/AuMakeElementImportClient.3.gz +man/man3/AuMakeElementImportDevice.3.gz +man/man3/AuMakeElementImportWaveForm.3.gz +man/man3/AuMakeElementMultiplyConstant.3.gz +man/man3/AuMakeElementState.3.gz +man/man3/AuMakeElementSum.3.gz +man/man3/AuMakeInputTrack.3.gz +man/man3/AuMakeNoopAction.3.gz +man/man3/AuMonitorNotifyEvent.3.gz +man/man3/AuMakeSendNotifyAction.3.gz +man/man3/AuMonitorDevice.3.gz +man/man3/AuNextEvent.3.gz +man/man3/AuOpenServer.3.gz +man/man3/AuPauseFlow.3.gz +man/man3/AuRegisterEventHandler.3.gz +man/man3/AuReleaseScratchFlow.3.gz +man/man3/AuReadElement.3.gz +man/man3/AuRequeueEvent.3.gz +man/man3/AuSetBucketAttributes.3.gz +man/man3/AuSoundCreateBucketFromData.3.gz +man/man3/AuSoundCreateBucketFromFile.3.gz +man/man3/AuSoundCreateDataFromBucket.3.gz +man/man3/AuSetCloseDownMode.3.gz +man/man3/AuSoundCreateFileFromBucket.3.gz +man/man3/AuSetDeviceAttributes.3.gz +man/man3/AuSetElementParameters.3.gz +man/man3/AuSetElementStates.3.gz +man/man3/AuSetElements.3.gz +man/man3/AuSetErrorHandler.3.gz +man/man3/AuSetIOErrorHandler.3.gz +man/man3/AuSoundPlay.3.gz +man/man3/AuSoundPlayFromBucket.3.gz +man/man3/AuSoundPlayFromData.3.gz +man/man3/AuSoundPlayFromFile.3.gz +man/man3/AuSoundPlaySynchronousFromFile.3.gz +man/man3/AuSoundRecord.3.gz +man/man3/AuSoundRecordToBucket.3.gz +man/man3/AuSoundRecordToData.3.gz +man/man3/AuSoundRecordToFile.3.gz +man/man3/AuSoundRecordToFileN.3.gz +man/man3/AuSetString.3.gz +man/man3/AuScanEvents.3.gz +man/man3/AuScanForTypedEvent.3.gz +man/man3/AuServerName.3.gz +man/man3/AuServer.3.gz +man/man3/AuStopFlow.3.gz +man/man3/AuStartFlow.3.gz +man/man3/AuStringToFormat.3.gz +man/man3/AuStringToWaveForm.3.gz +man/man3/AuSync.3.gz +man/man3/AuSynchronize.3.gz +man/man3/AuUnregisterEventHandler.3.gz +man/man3/AuWaveFormToString.3.gz +man/man3/AuWriteElement.3.gz +man/man3/SoundAbbrevToFileFormat.3.gz +man/man3/SoundCloseFile.3.gz +man/man3/SoundCreate.3.gz +man/man3/SoundOpenFileForReading.3.gz +man/man3/SoundOpenFileForWriting.3.gz +man/man3/SoundReadFile.3.gz +man/man3/SoundRewindFile.3.gz +man/man3/SoundStringToFileFormat.3.gz +man/man3/SoundWriteFile.3.gz +man/man3/Sound.3.gz +man/man3/SoundFlushFile.3.gz +man/man3/SoundSeekFile.3.gz +man/man3/SoundTellFile.3.gz diff --git a/audio/nas/scripts/configure b/audio/nas/scripts/configure new file mode 100644 index 00000000000..0f241db67b3 --- /dev/null +++ b/audio/nas/scripts/configure @@ -0,0 +1,14 @@ +#!/bin/sh + +chmod -R +w ${WRKSRC} +echo -n "Removing disgusting malloc.h includes. Please wait.." +for i in `find ${WRKSRC} -name '*.[ch]' | xargs fgrep -l malloc.h`; do + sed -e 's/malloc.h/stdlib.h/' < $i > $i.bak && mv $i.bak $i +done +echo " Done." + +echo -n "Ensuring Install uses the -c flag. Please wait.." +for i in `find ${WRKSRC} -name 'Imakefile' | xargs fgrep -l INSTALLFLAGS`; do + sed -e 's/INSTALLFLAGS = \$(INSTINCFLAGS)/INSTALLFLAGS \+= \$(INSTINCFLAGS)/' < $i > $i.bak && mv $i.bak $i +done +echo " Done." |