diff options
Diffstat (limited to 'audio')
76 files changed, 0 insertions, 3130 deletions
diff --git a/audio/gogglesmm/Makefile b/audio/gogglesmm/Makefile deleted file mode 100644 index ae1c7520dcd5..000000000000 --- a/audio/gogglesmm/Makefile +++ /dev/null @@ -1,60 +0,0 @@ -# New ports collection makefile for: ggm -# Date created: 28 May 2008 -# Whom: Sascha Klauder <sklauder@trimind.de> -# -# $FreeBSD$ -# - -PORTNAME= gmm -PORTVERSION= 0.10.22 -PORTREVISION= 1 -CATEGORIES= audio -MASTER_SITES= http://gogglesmm.googlecode.com/files/ -DISTNAME= musicmanager-${PORTVERSION} - -MAINTAINER= sklauder@trimind.de -COMMENT= Music collection manager and player - -BUILD_DEPENDS= bash:${PORTSDIR}/shells/bash -LIB_DEPENDS= FOX-1.6:${PORTSDIR}/x11-toolkits/fox16 \ - xine.1:${PORTSDIR}/multimedia/libxine \ - tag.1:${PORTSDIR}/audio/taglib \ - sqlite3.8:${PORTSDIR}/databases/sqlite3 \ - dbus-1:${PORTSDIR}/devel/dbus \ - curl.6:${PORTSDIR}/ftp/curl - -GNU_CONFIGURE= yes -MAKE_JOBS_SAFE= yes -USE_GMAKE= yes -USE_BZIP2= yes -USE_GETTEXT= yes -USE_GNOME= gtk20 -INSTALLS_ICONS= yes - -PORTDOCS= README AUTHORS - -CONFIGURE_ENV= OPT_CFLAGS=" " - -.include <bsd.port.pre.mk> - -.if defined(WITHOUT_NEWREMOTE) -CONFIGURE_ARGS+=--without-new-remote -.endif - -post-patch: - @${REINPLACE_CMD} -i '' -e "s|/bin/bash|${LOCALBASE}/bin/bash|; \ - s|/usr/local|${LOCALBASE}|" ${WRKSRC}/configure - -post-configure: - @${REINPLACE_CMD} -i '' -e 's| -[DT] | |g' \ - ${WRKSRC}/Makefile - -post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} -. for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -. endfor -.endif - -.include <bsd.port.post.mk> diff --git a/audio/gogglesmm/distinfo b/audio/gogglesmm/distinfo deleted file mode 100644 index ccd469c57ac6..000000000000 --- a/audio/gogglesmm/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (musicmanager-0.10.22.tar.bz2) = 0379054b9cf2a2d4074a0129d03b3763 -SHA256 (musicmanager-0.10.22.tar.bz2) = 8083dab95a483ba975873ce6bed1054752b2fdb207d2424383aa1d77593ee536 -SIZE (musicmanager-0.10.22.tar.bz2) = 422520 diff --git a/audio/gogglesmm/pkg-descr b/audio/gogglesmm/pkg-descr deleted file mode 100644 index ae569373e065..000000000000 --- a/audio/gogglesmm/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -Goggles Music Manager is a music collection manager and player that -automatically categorizes your music files based on genre, artist, album, -and song. It supports gapless playback and features easy tag editing. - -WWW: http://code.google.com/p/gogglesmm/ diff --git a/audio/gogglesmm/pkg-plist b/audio/gogglesmm/pkg-plist deleted file mode 100644 index 09ec879ea042..000000000000 --- a/audio/gogglesmm/pkg-plist +++ /dev/null @@ -1,10 +0,0 @@ -bin/gmm -share/applications/gmm.desktop -share/icons/hicolor/48x48/apps/gmm.png -share/locale/de/LC_MESSAGES/gogglesmm.mo -share/locale/es/LC_MESSAGES/gogglesmm.mo -share/locale/fr/LC_MESSAGES/gogglesmm.mo -share/locale/ru/LC_MESSAGES/gogglesmm.mo -share/locale/hu/LC_MESSAGES/gogglesmm.mo -share/locale/cs/LC_MESSAGES/gogglesmm.mo -@dirrmtry share/applications diff --git a/audio/libmusicbrainz4/Makefile b/audio/libmusicbrainz4/Makefile deleted file mode 100644 index 4356a88455a2..000000000000 --- a/audio/libmusicbrainz4/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# New ports collection makefile for: libmusicbrainz3 -# Date Created: 2007-05-17 -# Whom: Jason E. Hale <bsdkaffee@gmail.com> -# -# $FreeBSD$ -# - -PORTNAME= libmusicbrainz3 -PORTVERSION= 3.0.2 -PORTREVISION= 3 -CATEGORIES= audio -MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \ - http://uk.musicbrainz.org/pub/musicbrainz/ \ - http://ftp.osuosl.org/pub/musicbrainz/ -DISTNAME= ${PORTNAME:S/3//}-${PORTVERSION} - -MAINTAINER= bsdkaffee@gmail.com -COMMENT= MusicBrainz client library for audio metadata lookup - -LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid - -USE_CMAKE= yes -USE_GNOME= pkgconfig -USE_LDCONFIG= yes - -MAKE_JOBS_SAFE= yes - -.include <bsd.port.pre.mk> - -.if exists(${LOCALBASE}/bin/neon-config) -NEON_VER!= ${LOCALBASE}/bin/neon-config --version | \ - ${SED} -n -E 's/^neon [0-9]+\.([0-9]+)\..*$$/\1/p' -.else -NEON_VER= 29 -.endif -LIB_DEPENDS+= neon.${NEON_VER}:${PORTSDIR}/www/neon${NEON_VER} - -pre-configure: - ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \ - -e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt - -.include <bsd.port.post.mk> diff --git a/audio/libmusicbrainz4/distinfo b/audio/libmusicbrainz4/distinfo deleted file mode 100644 index f0f4d9e6df7c..000000000000 --- a/audio/libmusicbrainz4/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (libmusicbrainz-3.0.2.tar.gz) = 648ecd43f7b80852419aaf73702bc23f -SHA256 (libmusicbrainz-3.0.2.tar.gz) = b9a35e56826239add731cf083108cbc313d4a2d1770e6f5006966daa66a21eda -SIZE (libmusicbrainz-3.0.2.tar.gz) = 98537 diff --git a/audio/libmusicbrainz4/files/patch-cmake__modules__FindDiscId.cmake b/audio/libmusicbrainz4/files/patch-cmake__modules__FindDiscId.cmake deleted file mode 100644 index 43f75538ecae..000000000000 --- a/audio/libmusicbrainz4/files/patch-cmake__modules__FindDiscId.cmake +++ /dev/null @@ -1,38 +0,0 @@ ---- ./cmake/modules/FindDiscId.cmake.orig 2007-05-12 07:09:24.000000000 -0400 -+++ ./cmake/modules/FindDiscId.cmake 2009-05-20 06:39:11.000000000 -0400 -@@ -1,28 +1,10 @@ --INCLUDE(UsePkgConfig) --PKGCONFIG(libdiscid _DiscIdIncDir _DiscIdLinkDir _DiscIdLinkFlags _DiscIdCflags) -- --FIND_PATH(DISCID_INCLUDE_DIR discid/discid.h -- ${_DiscIdIncDir} -- /usr/include -- /usr/local/include --) -+FIND_PATH(DISCID_INCLUDE_DIR NAMES discid/discid.h) - --FIND_LIBRARY(DISCID_LIBRARIES discid -- ${_DiscIdLinkDir} -- /usr/lib -- /usr/local/lib --) -+FIND_LIBRARY(DISCID_LIBRARY NAMES discid) - --IF (DISCID_INCLUDE_DIR AND DISCID_LIBRARIES) -- SET(DISCID_FOUND TRUE) --ENDIF (DISCID_INCLUDE_DIR AND DISCID_LIBRARIES) -+INCLUDE(FindPackageHandleStandardArgs) -+FIND_PACKAGE_HANDLE_STANDARD_ARGS(DISCID DEFAULT_MSG DISCID_LIBRARY DISCID_INCLUDE_DIR) - --IF (DISCID_FOUND) -- IF (NOT DiscId_FIND_QUIETLY) -- MESSAGE(STATUS "Found DiscId: ${DISCID_LIBRARIES}") -- ENDIF (NOT DiscId_FIND_QUIETLY) --ELSE (DISCID_FOUND) -- IF (DiscId_FIND_REQUIRED) -- MESSAGE(FATAL_ERROR "Could not find DiscId") -- ENDIF (DiscId_FIND_REQUIRED) --ENDIF (DISCID_FOUND) -+IF(DISCID_FOUND) -+ SET(DISCID_LIBRARIES ${DISCID_LIBRARY}) -+ENDIF(DISCID_FOUND) diff --git a/audio/libmusicbrainz4/files/patch-cmake__modules__FindNeon.cmake b/audio/libmusicbrainz4/files/patch-cmake__modules__FindNeon.cmake deleted file mode 100644 index 4fce459456f1..000000000000 --- a/audio/libmusicbrainz4/files/patch-cmake__modules__FindNeon.cmake +++ /dev/null @@ -1,38 +0,0 @@ ---- ./cmake/modules/FindNeon.cmake.orig 2007-05-12 07:09:24.000000000 -0400 -+++ ./cmake/modules/FindNeon.cmake 2009-05-20 06:44:50.000000000 -0400 -@@ -1,28 +1,10 @@ --INCLUDE(UsePkgConfig) --PKGCONFIG(neon _NeonIncDir _NeonLinkDir _NeonLinkFlags _NeonCflags) -- --FIND_PATH(NEON_INCLUDE_DIR ne_request.h -- ${_NeonIncDir} -- /usr/include/neon -- /usr/local/include/neon --) -+FIND_PATH(NEON_INCLUDE_DIR NAMES ne_request.h PATH_SUFFIXES neon) - --FIND_LIBRARY(NEON_LIBRARIES neon -- ${_NeonLinkDir} -- /usr/lib -- /usr/local/lib --) -+FIND_LIBRARY(NEON_LIBRARY NAMES neon) - --IF (NEON_INCLUDE_DIR AND NEON_LIBRARIES) -- SET(NEON_FOUND TRUE) --ENDIF (NEON_INCLUDE_DIR AND NEON_LIBRARIES) -+INCLUDE(FindPackageHandleStandardArgs) -+FIND_PACKAGE_HANDLE_STANDARD_ARGS(NEON DEFAULT_MSG NEON_LIBRARY NEON_INCLUDE_DIR) - --IF (NEON_FOUND) -- IF (NOT Neon_FIND_QUIETLY) -- MESSAGE(STATUS "Found Neon: ${NEON_LIBRARIES}") -- ENDIF (NOT Neon_FIND_QUIETLY) --ELSE (NEON_FOUND) -- IF (Neon_FIND_REQUIRED) -- MESSAGE(FATAL_ERROR "Could not find Neon") -- ENDIF (Neon_FIND_REQUIRED) --ENDIF (NEON_FOUND) -+IF(NEON_FOUND) -+ SET(NEON_LIBRARIES ${NEON_LIBRARY}) -+ENDIF(NEON_FOUND) diff --git a/audio/libmusicbrainz4/pkg-descr b/audio/libmusicbrainz4/pkg-descr deleted file mode 100644 index a3bbafcbbc29..000000000000 --- a/audio/libmusicbrainz4/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -libmusicbrainz is a client library for accessing the MusicBrainz database -allowing metadata lookup for audio files. This is version 3.x which uses the -new XMLWebService. - -WWW: http://musicbrainz.org/ diff --git a/audio/libmusicbrainz4/pkg-plist b/audio/libmusicbrainz4/pkg-plist deleted file mode 100644 index 1bf5157bcb3d..000000000000 --- a/audio/libmusicbrainz4/pkg-plist +++ /dev/null @@ -1,32 +0,0 @@ -include/musicbrainz3/artist.h -include/musicbrainz3/artistalias.h -include/musicbrainz3/defines.h -include/musicbrainz3/disc.h -include/musicbrainz3/entity.h -include/musicbrainz3/factory.h -include/musicbrainz3/filters.h -include/musicbrainz3/includes.h -include/musicbrainz3/iwebservice.h -include/musicbrainz3/label.h -include/musicbrainz3/labelalias.h -include/musicbrainz3/lists.h -include/musicbrainz3/mb_c.h -include/musicbrainz3/mbxmlparser.h -include/musicbrainz3/metadata.h -include/musicbrainz3/model.h -include/musicbrainz3/musicbrainz.h -include/musicbrainz3/query.h -include/musicbrainz3/relation.h -include/musicbrainz3/release.h -include/musicbrainz3/releaseevent.h -include/musicbrainz3/results.h -include/musicbrainz3/tag.h -include/musicbrainz3/track.h -include/musicbrainz3/user.h -include/musicbrainz3/utils.h -include/musicbrainz3/webservice.h -lib/libmusicbrainz3.so -lib/libmusicbrainz3.so.6 -lib/libmusicbrainz3.so.6.2.0 -libdata/pkgconfig/libmusicbrainz3.pc -@dirrm include/musicbrainz3 diff --git a/audio/libmusicbrainz5/Makefile b/audio/libmusicbrainz5/Makefile deleted file mode 100644 index 4356a88455a2..000000000000 --- a/audio/libmusicbrainz5/Makefile +++ /dev/null @@ -1,42 +0,0 @@ -# New ports collection makefile for: libmusicbrainz3 -# Date Created: 2007-05-17 -# Whom: Jason E. Hale <bsdkaffee@gmail.com> -# -# $FreeBSD$ -# - -PORTNAME= libmusicbrainz3 -PORTVERSION= 3.0.2 -PORTREVISION= 3 -CATEGORIES= audio -MASTER_SITES= ftp://ftp.musicbrainz.org/pub/musicbrainz/ \ - http://uk.musicbrainz.org/pub/musicbrainz/ \ - http://ftp.osuosl.org/pub/musicbrainz/ -DISTNAME= ${PORTNAME:S/3//}-${PORTVERSION} - -MAINTAINER= bsdkaffee@gmail.com -COMMENT= MusicBrainz client library for audio metadata lookup - -LIB_DEPENDS= discid:${PORTSDIR}/audio/libdiscid - -USE_CMAKE= yes -USE_GNOME= pkgconfig -USE_LDCONFIG= yes - -MAKE_JOBS_SAFE= yes - -.include <bsd.port.pre.mk> - -.if exists(${LOCALBASE}/bin/neon-config) -NEON_VER!= ${LOCALBASE}/bin/neon-config --version | \ - ${SED} -n -E 's/^neon [0-9]+\.([0-9]+)\..*$$/\1/p' -.else -NEON_VER= 29 -.endif -LIB_DEPENDS+= neon.${NEON_VER}:${PORTSDIR}/www/neon${NEON_VER} - -pre-configure: - ${REINPLACE_CMD} -e '/pkgconfig/s|$${LIB_INSTALL_DIR}|libdata|' \ - -e '/CppUnit/d' ${WRKSRC}/CMakeLists.txt - -.include <bsd.port.post.mk> diff --git a/audio/libmusicbrainz5/distinfo b/audio/libmusicbrainz5/distinfo deleted file mode 100644 index f0f4d9e6df7c..000000000000 --- a/audio/libmusicbrainz5/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (libmusicbrainz-3.0.2.tar.gz) = 648ecd43f7b80852419aaf73702bc23f -SHA256 (libmusicbrainz-3.0.2.tar.gz) = b9a35e56826239add731cf083108cbc313d4a2d1770e6f5006966daa66a21eda -SIZE (libmusicbrainz-3.0.2.tar.gz) = 98537 diff --git a/audio/libmusicbrainz5/files/patch-cmake__modules__FindDiscId.cmake b/audio/libmusicbrainz5/files/patch-cmake__modules__FindDiscId.cmake deleted file mode 100644 index 43f75538ecae..000000000000 --- a/audio/libmusicbrainz5/files/patch-cmake__modules__FindDiscId.cmake +++ /dev/null @@ -1,38 +0,0 @@ ---- ./cmake/modules/FindDiscId.cmake.orig 2007-05-12 07:09:24.000000000 -0400 -+++ ./cmake/modules/FindDiscId.cmake 2009-05-20 06:39:11.000000000 -0400 -@@ -1,28 +1,10 @@ --INCLUDE(UsePkgConfig) --PKGCONFIG(libdiscid _DiscIdIncDir _DiscIdLinkDir _DiscIdLinkFlags _DiscIdCflags) -- --FIND_PATH(DISCID_INCLUDE_DIR discid/discid.h -- ${_DiscIdIncDir} -- /usr/include -- /usr/local/include --) -+FIND_PATH(DISCID_INCLUDE_DIR NAMES discid/discid.h) - --FIND_LIBRARY(DISCID_LIBRARIES discid -- ${_DiscIdLinkDir} -- /usr/lib -- /usr/local/lib --) -+FIND_LIBRARY(DISCID_LIBRARY NAMES discid) - --IF (DISCID_INCLUDE_DIR AND DISCID_LIBRARIES) -- SET(DISCID_FOUND TRUE) --ENDIF (DISCID_INCLUDE_DIR AND DISCID_LIBRARIES) -+INCLUDE(FindPackageHandleStandardArgs) -+FIND_PACKAGE_HANDLE_STANDARD_ARGS(DISCID DEFAULT_MSG DISCID_LIBRARY DISCID_INCLUDE_DIR) - --IF (DISCID_FOUND) -- IF (NOT DiscId_FIND_QUIETLY) -- MESSAGE(STATUS "Found DiscId: ${DISCID_LIBRARIES}") -- ENDIF (NOT DiscId_FIND_QUIETLY) --ELSE (DISCID_FOUND) -- IF (DiscId_FIND_REQUIRED) -- MESSAGE(FATAL_ERROR "Could not find DiscId") -- ENDIF (DiscId_FIND_REQUIRED) --ENDIF (DISCID_FOUND) -+IF(DISCID_FOUND) -+ SET(DISCID_LIBRARIES ${DISCID_LIBRARY}) -+ENDIF(DISCID_FOUND) diff --git a/audio/libmusicbrainz5/files/patch-cmake__modules__FindNeon.cmake b/audio/libmusicbrainz5/files/patch-cmake__modules__FindNeon.cmake deleted file mode 100644 index 4fce459456f1..000000000000 --- a/audio/libmusicbrainz5/files/patch-cmake__modules__FindNeon.cmake +++ /dev/null @@ -1,38 +0,0 @@ ---- ./cmake/modules/FindNeon.cmake.orig 2007-05-12 07:09:24.000000000 -0400 -+++ ./cmake/modules/FindNeon.cmake 2009-05-20 06:44:50.000000000 -0400 -@@ -1,28 +1,10 @@ --INCLUDE(UsePkgConfig) --PKGCONFIG(neon _NeonIncDir _NeonLinkDir _NeonLinkFlags _NeonCflags) -- --FIND_PATH(NEON_INCLUDE_DIR ne_request.h -- ${_NeonIncDir} -- /usr/include/neon -- /usr/local/include/neon --) -+FIND_PATH(NEON_INCLUDE_DIR NAMES ne_request.h PATH_SUFFIXES neon) - --FIND_LIBRARY(NEON_LIBRARIES neon -- ${_NeonLinkDir} -- /usr/lib -- /usr/local/lib --) -+FIND_LIBRARY(NEON_LIBRARY NAMES neon) - --IF (NEON_INCLUDE_DIR AND NEON_LIBRARIES) -- SET(NEON_FOUND TRUE) --ENDIF (NEON_INCLUDE_DIR AND NEON_LIBRARIES) -+INCLUDE(FindPackageHandleStandardArgs) -+FIND_PACKAGE_HANDLE_STANDARD_ARGS(NEON DEFAULT_MSG NEON_LIBRARY NEON_INCLUDE_DIR) - --IF (NEON_FOUND) -- IF (NOT Neon_FIND_QUIETLY) -- MESSAGE(STATUS "Found Neon: ${NEON_LIBRARIES}") -- ENDIF (NOT Neon_FIND_QUIETLY) --ELSE (NEON_FOUND) -- IF (Neon_FIND_REQUIRED) -- MESSAGE(FATAL_ERROR "Could not find Neon") -- ENDIF (Neon_FIND_REQUIRED) --ENDIF (NEON_FOUND) -+IF(NEON_FOUND) -+ SET(NEON_LIBRARIES ${NEON_LIBRARY}) -+ENDIF(NEON_FOUND) diff --git a/audio/libmusicbrainz5/pkg-descr b/audio/libmusicbrainz5/pkg-descr deleted file mode 100644 index a3bbafcbbc29..000000000000 --- a/audio/libmusicbrainz5/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -libmusicbrainz is a client library for accessing the MusicBrainz database -allowing metadata lookup for audio files. This is version 3.x which uses the -new XMLWebService. - -WWW: http://musicbrainz.org/ diff --git a/audio/libmusicbrainz5/pkg-plist b/audio/libmusicbrainz5/pkg-plist deleted file mode 100644 index 1bf5157bcb3d..000000000000 --- a/audio/libmusicbrainz5/pkg-plist +++ /dev/null @@ -1,32 +0,0 @@ -include/musicbrainz3/artist.h -include/musicbrainz3/artistalias.h -include/musicbrainz3/defines.h -include/musicbrainz3/disc.h -include/musicbrainz3/entity.h -include/musicbrainz3/factory.h -include/musicbrainz3/filters.h -include/musicbrainz3/includes.h -include/musicbrainz3/iwebservice.h -include/musicbrainz3/label.h -include/musicbrainz3/labelalias.h -include/musicbrainz3/lists.h -include/musicbrainz3/mb_c.h -include/musicbrainz3/mbxmlparser.h -include/musicbrainz3/metadata.h -include/musicbrainz3/model.h -include/musicbrainz3/musicbrainz.h -include/musicbrainz3/query.h -include/musicbrainz3/relation.h -include/musicbrainz3/release.h -include/musicbrainz3/releaseevent.h -include/musicbrainz3/results.h -include/musicbrainz3/tag.h -include/musicbrainz3/track.h -include/musicbrainz3/user.h -include/musicbrainz3/utils.h -include/musicbrainz3/webservice.h -lib/libmusicbrainz3.so -lib/libmusicbrainz3.so.6 -lib/libmusicbrainz3.so.6.2.0 -libdata/pkgconfig/libmusicbrainz3.pc -@dirrm include/musicbrainz3 diff --git a/audio/linux-neroaaccodec/Makefile b/audio/linux-neroaaccodec/Makefile deleted file mode 100644 index 61b92a93a74f..000000000000 --- a/audio/linux-neroaaccodec/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection Makefile for: linux-nerodigitalaudio -# Date created: 2007-10-27 -# Whom: Yuichiro AIZAWA <yaizawa@2004.jukuin.keio.ac.jp> -# -# $FreeBSD$ -# - -PORTNAME= nerodigitalaudio -PORTVERSION= 1.1.34.2 -CATEGORIES= audio multimedia linux -MASTER_SITES= ftp://ftp6.nero.com/tools/ -PKGNAMEPREFIX= linux- -DISTNAME= NeroDigitalAudio - -MAINTAINER= yaizawa@2004.jukuin.keio.ac.jp -COMMENT= Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder - -USE_ZIP= yes -USE_LINUX= yes -ONLY_FOR_ARCHS= i386 amd64 -NO_BUILD= yes -WRKSRC= ${WRKDIR} -RESTRICTED= forbidden by license considerations - -PLIST_FILES= bin/neroAacDec \ - bin/neroAacEnc -.if !defined(NOPORTDOCS) -PLIST_DIRS= ${DOCSDIR_REL} -PLIST_FILES+= ${DOCSDIR_REL}/changelog.txt \ - ${DOCSDIR_REL}/license.txt \ - ${DOCSDIR_REL}/readme.txt -.endif - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/linux/neroAacDec ${PREFIX}/bin - ${INSTALL_PROGRAM} ${WRKSRC}/linux/neroAacEnc ${PREFIX}/bin -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/changelog.txt ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/license.txt ${DOCSDIR} - ${INSTALL_MAN} ${WRKSRC}/readme.txt ${DOCSDIR} -.endif - -.include <bsd.port.mk> diff --git a/audio/linux-neroaaccodec/distinfo b/audio/linux-neroaaccodec/distinfo deleted file mode 100644 index 66a6230bb148..000000000000 --- a/audio/linux-neroaaccodec/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (NeroDigitalAudio.zip) = c7c1f4db773ba031f628706ecfccb292 -SHA256 (NeroDigitalAudio.zip) = dc2978c9b501697fb8695192426181b3a128b249edc704ca879b6f51bad248af -SIZE (NeroDigitalAudio.zip) = 2667124 diff --git a/audio/linux-neroaaccodec/pkg-descr b/audio/linux-neroaaccodec/pkg-descr deleted file mode 100644 index b730d4bafc58..000000000000 --- a/audio/linux-neroaaccodec/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -Nero Digital Audio Reference MPEG-4 & 3GPP Audio Encoder. - -WWW: http://www.nero7.com/nerodigital/jpn/down-ndaudio.php diff --git a/audio/rat/Makefile b/audio/rat/Makefile deleted file mode 100644 index 1866845775d5..000000000000 --- a/audio/rat/Makefile +++ /dev/null @@ -1,75 +0,0 @@ -# New ports collection makefile for: rat -# Date created: 3 July 1999 -# Whom: O.Hodson@cs.ucl.ac.uk (Orion Hodson) -# -# $FreeBSD$ -# - -PORTNAME= rat -PORTVERSION= 4.2.25 -PORTREVISION= 4 -CATEGORIES= mbone audio ipv6 tk -MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/${PORTVERSION}/ \ - http://www.icir.org/hodson/ucl-mirror/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= IPv4/v6 Multicast and unicast audio conferencing tool - -USE_TK= yes -USE_XORG= x11 xext sm ice -USE_AUTOTOOLS= autoconf:213 -USE_GMAKE= yes -CONFIGURE_ARGS= --enable-ipv6 - -MAN1= rat.1 -MANCOMPRESSED= no - -RAT_BUILD_DIRS= common rat -RAT= ${PORTNAME}-${PORTVERSION} -RAT_SCRIPT= ${PORTNAME} -PLIST_SUB= PORTVERSION=${PORTVERSION} - -.include <bsd.port.pre.mk> - -CONFIGURE_ARGS+= --with-tcltk-version=${TK_VER} - -.if ${ARCH} == "sparc64" -BROKEN= Does not compile: missing header -.endif - -.if ${OSVERSION} >= 700011 -EXTRA_PATCHES= ${FILESDIR}/timet.patch -.endif - -post-patch: - @${REINPLACE_CMD} -e "s,-Werror,," \ - -e 's,^TCL_INC=$${PARENT}.*,TCL_INC=${TCL_INCLUDEDIR},g' \ - -e 's,^TCL_LIB=$${PARENT}.*,TCL_LIB=${LOCALBASE}/lib,g' \ - -e 's,^TK_INC=$${PARENT}.*,TK_INC=${TK_INCLUDEDIR},g' \ - -e 's,^TK_LIB=$${PARENT}.*,TK_LIB=${LOCALBASE}/lib,g' \ - ${WRKSRC}/common/configure.in ${WRKSRC}/rat/configure.in - -do-install: - @${REINPLACE_CMD} 's|#/|#!/|' ${WRKSRC}/rat/${RAT_SCRIPT} - ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT} ${PREFIX}/bin/${RAT} - ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-ui ${PREFIX}/bin/${RAT}-ui - ${INSTALL_PROGRAM} ${WRKSRC}/rat/${RAT}-media ${PREFIX}/bin/${RAT}-media - ${INSTALL_SCRIPT} ${WRKSRC}/rat/${RAT_SCRIPT} ${PREFIX}/bin/${RAT_SCRIPT} - ${INSTALL_MAN} ${WRKSRC}/rat/man/man1/rat.1 ${PREFIX}/man/man1 - ${MKDIR} ${LOCALBASE}/etc/sdr/plugins - ${INSTALL_DATA} ${WRKSRC}/rat/sdr2.plugin.S02.audio.rtp.*.${RAT} ${LOCALBASE}/etc/sdr/plugins - -pre-configure: - cd ${WRKSRC}/common && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS} - cd ${WRKSRC}/common && ${GMAKE} - -do-configure: - cd ${WRKSRC}/rat && ${AUTOCONF} && ./configure ${CONFIGURE_ARGS} - -do-build: - cd ${WRKSRC}/rat && ${GMAKE} - -run-autotools:: - @${DO_NADA} - -.include <bsd.port.post.mk> diff --git a/audio/rat/distinfo b/audio/rat/distinfo deleted file mode 100644 index eb629a25ee9f..000000000000 --- a/audio/rat/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rat-4.2.25.tar.gz) = d959a507b27573f80511fd6739b33514 -SHA256 (rat-4.2.25.tar.gz) = 15dd38e4d1c21a41349636d26a8b018fac97592ae187798a8bf2799df1739e89 -SIZE (rat-4.2.25.tar.gz) = 726326 diff --git a/audio/rat/files/patch-ac b/audio/rat/files/patch-ac deleted file mode 100644 index f2ed68da4800..000000000000 --- a/audio/rat/files/patch-ac +++ /dev/null @@ -1,13 +0,0 @@ ---- common/src/net_udp.c.orig Sat Jan 11 19:51:14 2003 -+++ common/src/net_udp.c Sat Jan 11 19:51:27 2003 -@@ -43,8 +43,10 @@ - #include "config_win32.h" - #include "debug.h" - #include "memory.h" -+#ifndef __FreeBSD__ - #include "inet_pton.h" - #include "inet_ntop.h" -+#endif - #include "vsnprintf.h" - #include "net_udp.h" - diff --git a/audio/rat/files/patch-rat_configure.in b/audio/rat/files/patch-rat_configure.in deleted file mode 100644 index ec2bb83d0633..000000000000 --- a/audio/rat/files/patch-rat_configure.in +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- rat/configure.in.orig -+++ rat/configure.in -@@ -147,7 +147,7 @@ - [EXTRAOBJ="$EXTRA_OBJ usleep.o" - AC_DEFINE(NEED_USLEEP)]) - --AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF)) -+#AC_CHECK_FUNC(snprintf,,AC_DEFINE(NEED_SNPRINTF)) - - AC_SUBST(EXTRA_OBJ) - diff --git a/audio/rat/files/timet.patch b/audio/rat/files/timet.patch deleted file mode 100644 index 18c099c4316d..000000000000 --- a/audio/rat/files/timet.patch +++ /dev/null @@ -1,77 +0,0 @@ -diff -ruN common/src/mbus.c work.tom/rat-4.2.25/common/src/mbus.c ---- common/src/mbus.c Mon Jun 16 18:57:59 2003 -+++ common/src/mbus.c Sun Jan 1 02:02:07 2006 -@@ -265,9 +265,9 @@ - mb_bufpos = mb_buffer + MBUS_AUTH_LEN; - /* monster kludge */ - if(*dst == '(') -- sprintf(mb_bufpos, "\nmbus/1.0 %6d %ld%03ld %c (%s) %s ", seqnum, ts.tv_sec,ts.tv_usec/1000, reliable, src, dst); -+ sprintf(mb_bufpos, "\nmbus/1.0 %6d %jd%03ld %c (%s) %s ", seqnum, (intmax_t)ts.tv_sec,ts.tv_usec/1000, reliable, src, dst); - else -- sprintf(mb_bufpos, "\nmbus/1.0 %6d %ld%03ld %c (%s) (%s) ", seqnum, ts.tv_sec,ts.tv_usec/1000, reliable, src, dst); -+ sprintf(mb_bufpos, "\nmbus/1.0 %6d %jd%03ld %c (%s) (%s) ", seqnum, (intmax_t)ts.tv_sec,ts.tv_usec/1000, reliable, src, dst); - - mb_bufpos += strlen(mb_bufpos); - if (ackseq == -1) { -diff -ruN rat/mbus_engine.c work.tom/rat-4.2.25/rat/mbus_engine.c ---- rat/mbus_engine.c Mon Jan 12 12:14:38 2004 -+++ rat/mbus_engine.c Sun Jan 1 02:04:57 2006 -@@ -604,11 +604,11 @@ - #endif - gettimeofday(&t, NULL); - gethostname(hname, 64); -- sprintf(fname, "rat-%p-%ld.%06ld-%s-%s.log", sp, t.tv_sec, (long)t.tv_usec, hname, uname); -+ sprintf(fname, "rat-%p-%jd.%06ld-%s-%s.log", sp, (intmax_t)t.tv_sec, (long)t.tv_usec, hname, uname); - cname = rtp_get_sdes(sp->rtp_session[0], rtp_my_ssrc(sp->rtp_session[0]), RTCP_SDES_CNAME); - - sp->logger = fopen(fname, "w"); -- fprintf(sp->logger, "tool_start %lu.%06lu ", t.tv_sec + SECS_BETWEEN_1900_1970, (long)t.tv_usec); -+ fprintf(sp->logger, "tool_start %jd.%06lu ", (intmax_t)t.tv_sec + SECS_BETWEEN_1900_1970, (long)t.tv_usec); - fprintf(sp->logger, "0x%08lx\n", (unsigned long) rtp_my_ssrc(sp->rtp_session[0])); - } else { - fclose(sp->logger); -diff -ruN rat/ui_send_audio.c work.tom/rat-4.2.25/rat/ui_send_audio.c ---- rat/ui_send_audio.c Mon Jan 12 12:14:46 2004 -+++ rat/ui_send_audio.c Sun Jan 1 02:13:08 2006 -@@ -279,7 +279,7 @@ - if (sp->logger != NULL) { - struct timeval t; - gettimeofday(&t, NULL); -- fprintf(sp->logger, "silence %lu.%06lu 0x%08lx %s\n", t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec, -+ fprintf(sp->logger, "silence %jd.%06lu 0x%08lx %s\n", (intmax_t)t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec, - (unsigned long) rtp_my_ssrc(sp->rtp_session[0]), name); - } - } -@@ -371,8 +371,8 @@ - if (sp->logger != NULL) { - struct timeval t; - gettimeofday(&t, NULL); -- fprintf(sp->logger, "channel %lu.%06lu 0x%08lx redundancy %s\n", -- t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec, -+ fprintf(sp->logger, "channel %jd.%06lu 0x%08lx redundancy %s\n", -+ (intmax_t)t.tv_sec + SECS_BETWEEN_1900_1970, t.tv_usec, - (unsigned long) rtp_my_ssrc(sp->rtp_session[0]), scf->long_name); - } - -@@ -453,8 +453,8 @@ - if (sp->logger != NULL) { - struct timeval t; - gettimeofday(&t, NULL); -- fprintf(sp->logger, "channel %lu.%06lu 0x%08lx none\n", -- t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0])); -+ fprintf(sp->logger, "channel %jd.%06lu 0x%08lx none\n", -+ (intmax_t)t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0])); - } - break; - case 'r': -@@ -485,8 +485,8 @@ - if (sp->logger != NULL) { - struct timeval t; - gettimeofday(&t, NULL); -- fprintf(sp->logger, "codec %lu.%06lu 0x%08lx %s\n", -- t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0]), -+ fprintf(sp->logger, "codec %jd.%06lu 0x%08lx %s\n", -+ (intmax_t)t.tv_sec+SECS_BETWEEN_1900_1970, t.tv_usec, (unsigned long) rtp_my_ssrc(sp->rtp_session[0]), - pri_cf->long_name); - } - } diff --git a/audio/rat/pkg-descr b/audio/rat/pkg-descr deleted file mode 100644 index 22763c1892ae..000000000000 --- a/audio/rat/pkg-descr +++ /dev/null @@ -1,8 +0,0 @@ -RAT is a network audio tool that allows users to particpate in -audio conferences over the internet. These can be between two -participants directly, or between a group of participants on a -common multicast group. RAT features sender based loss mitigation -mechanisms and receiver based audio repair techniques to compensate -for packet loss, and load adaption in response to host performance. - -WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/ diff --git a/audio/rat/pkg-plist b/audio/rat/pkg-plist deleted file mode 100644 index b925d308e8c6..000000000000 --- a/audio/rat/pkg-plist +++ /dev/null @@ -1,7 +0,0 @@ -bin/rat-%%PORTVERSION%% -bin/rat-%%PORTVERSION%%-ui -bin/rat-%%PORTVERSION%%-media -bin/rat -etc/sdr/plugins/sdr2.plugin.S02.audio.rtp.-.rat-%%PORTVERSION%% -@dirrm etc/sdr/plugins -@dirrm etc/sdr diff --git a/audio/rat30/Makefile b/audio/rat30/Makefile deleted file mode 100644 index 56ab15d5ba14..000000000000 --- a/audio/rat30/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# New ports collection makefile for: rat -# Date created: 6 June 2001 -# Whom: anton -# -# $FreeBSD$ -# - -PORTNAME= rat -PORTVERSION= 3.0.35 -PORTREVISION= 2 -CATEGORIES= mbone audio -MASTER_SITES= http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/releases/${PORTVERSION}/ \ - CENKES - -MAINTAINER= ports@FreeBSD.org -COMMENT= IPv4/v6 Multicast and unicast audio conferencing tool - -USE_TK= 82 -USE_XORG= x11 xext - -WRKSRC= ${WRKDIR}/rat-3.0 - -USE_GMAKE= yes -MAN1= rat.1 -PLIST_FILES= bin/rat30 - -LATEST_LINK= rat30 - -do-build: - cd ${WRKSRC};${SETENV} ${MAKE_ENV} MAKE=${GMAKE} ${SH} ./Build rat - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/bin/rat ${PREFIX}/bin/rat30 - ${INSTALL_MAN} ${WRKSRC}/man/man1/rat.1 ${MAN1PREFIX}/man/man1/ - -.include <bsd.port.mk> diff --git a/audio/rat30/distinfo b/audio/rat30/distinfo deleted file mode 100644 index 000488fdfbcf..000000000000 --- a/audio/rat30/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (rat-3.0.35.tar.gz) = fff6e4a4c9617c5b7ea80f63fda96a9a -SHA256 (rat-3.0.35.tar.gz) = e5373d9014a907167d8a882c3e7a21d70a59139ddee6945854eb029a159fe329 -SIZE (rat-3.0.35.tar.gz) = 185374 diff --git a/audio/rat30/files/patch-Makefile b/audio/rat30/files/patch-Makefile deleted file mode 100644 index 58c49275a23d..000000000000 --- a/audio/rat30/files/patch-Makefile +++ /dev/null @@ -1,30 +0,0 @@ ---- ./Makefile.orig 1999-09-14 14:39:00.000000000 +0400 -+++ ./Makefile 2007-07-14 20:49:46.000000000 +0400 -@@ -10,8 +10,8 @@ - # -DDEBUG_RTP -DREPEAT - - DEFS += -D$(OSTYPE) -D$(OSTYPE)_$(OSMVER) --CC = gcc --CFLAGS = -Wall -Werror -Wno-implicit-int $(INCS) $(DEFS) -g -O -fsigned-char -+CC ?= cc -+CFLAGS += -Wall -Wno-implicit-int $(INCS) $(DEFS) -g -fsigned-char - LDFLAGS= - LDLIBS= $(LDLIBS) -lm - RANLIB = ranlib -@@ -19,7 +19,7 @@ - - GSMFLAGS = -DSASR -DFAST -DUSE_FLOAT_MUL - --include Makefile_$(OSTYPE)_$(OSMVER) -+include Makefile_$(OSTYPE)_4 - - BINDIR = bin/$(USER) - SRCDIR = src -@@ -82,6 +82,7 @@ - $(BINDIR)/rat-$(OSTYPE)-$(OSVERS): $(OBJS) $(GSMOBJS) $(CRYPTOBJS) $(RATOBJS) - rm -f $(BINDIR)/rat-$(OSTYPE)-$(OSVERS) - $(CC) $(RATOBJS) $(OBJS) $(GSMOBJS) $(CRYPTOBJS) $(LDLIBS) $(LDFLAGS) -o $(BINDIR)/rat-$(OSTYPE)-$(OSVERS) -+ cp $(BINDIR)/rat-$(OSTYPE)-$(OSVERS) bin/rat - - $(OBJDIR)/%.o: $(SRCDIR)/%.c - $(CC) $(CFLAGS) $(GSMFLAGS) $(CRYPTFLAGS) -c $(SRCDIR)/$*.c -o $(OBJDIR)/$*.o diff --git a/audio/rat30/files/patch-Makefile_FreeBSD_4 b/audio/rat30/files/patch-Makefile_FreeBSD_4 deleted file mode 100644 index d4a838d12316..000000000000 --- a/audio/rat30/files/patch-Makefile_FreeBSD_4 +++ /dev/null @@ -1,9 +0,0 @@ ---- ./Makefile_FreeBSD_4.orig 2007-07-14 20:49:46.000000000 +0400 -+++ ./Makefile_FreeBSD_4 2007-07-14 20:49:46.000000000 +0400 -@@ -0,0 +1,6 @@ -+TCL_INC = ${LOCALBASE}/include/tcl8.2 -+TK_INC = ${LOCALBASE}/include/tk8.2 -+INCS = -I${LOCALBASE}/include \ -+ -I$(TCL_INC)/generic -I$(TK_INC)/generic -+LDLIBS = -L${LOCALBASE}/lib \ -+ -L${LOCALBASE}/lib -ltk82 -ltcl82 -lXext -lX11 -lm diff --git a/audio/rat30/files/patch-aa b/audio/rat30/files/patch-aa deleted file mode 100644 index 5eb716af785e..000000000000 --- a/audio/rat30/files/patch-aa +++ /dev/null @@ -1,62 +0,0 @@ ---- ./src/auddev_freebsd.c.orig Sun Oct 20 14:05:07 2002 -+++ ./src/auddev_freebsd.c Sun Oct 20 14:05:16 2002 -@@ -45,7 +45,7 @@ - #include "bat_include.h" - #ifdef FreeBSD - --#include <machine/soundcard.h> -+#include <sys/soundcard.h> - - int can_read = FALSE; - int can_write = FALSE; -@@ -204,18 +204,10 @@ - if (audio_fd <= 0) { - return; - } -- switch (iport) { -- case AUDIO_MICROPHONE : if (ioctl(audio_fd, MIXER_WRITE(SOUND_MIXER_MIC), &volume) == -1) { -- perror("Setting gain"); -- } -- return; -- case AUDIO_LINE_IN : if (ioctl(audio_fd, MIXER_WRITE(SOUND_MIXER_LINE), &volume) == -1) { -- perror("Setting gain"); -- } -- return; -+ if (ioctl(audio_fd, SOUND_MIXER_WRITE_RECLEV, &volume) == -1) { -+ perror("Setting gain"); - } -- printf("ERROR: Unknown iport in audio_set_gain!\n"); -- abort(); -+ return; - } - - int -@@ -226,17 +218,8 @@ - if (audio_fd <= 0) { - return (0); - } -- switch (iport) { -- case AUDIO_MICROPHONE : if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_MIC), &volume) == -1) { -- perror("Getting gain"); -- } -- break; -- case AUDIO_LINE_IN : if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_LINE), &volume) == -1) { -- perror("Getting gain"); -- } -- break; -- default : printf("ERROR: Unknown iport in audio_set_gain!\n"); -- abort(); -+ if (ioctl(audio_fd, SOUND_MIXER_READ_RECLEV, &volume) == -1) { -+ perror("Setting gain"); - } - return device_to_bat(volume & 0xff); - } -@@ -263,7 +246,7 @@ - if (audio_fd <= 0) { - return (0); - } -- if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_VOLUME), &volume) == -1) { -+ if (ioctl(audio_fd, MIXER_READ(SOUND_MIXER_PCM), &volume) == -1) { - perror("Getting volume"); - } - return device_to_bat(volume & 0x000000ff); /* Extract left channel volume */ diff --git a/audio/rat30/files/patch-ab b/audio/rat30/files/patch-ab deleted file mode 100644 index 6be58d321a47..000000000000 --- a/audio/rat30/files/patch-ab +++ /dev/null @@ -1,11 +0,0 @@ ---- src/config.h.orig Sun Oct 20 14:05:43 2002 -+++ src/config.h Sun Oct 20 14:05:49 2002 -@@ -47,7 +47,7 @@ - #define OSNAME "FreeBSD" - #include <unistd.h> - #include <stdlib.h> --#include <machine/soundcard.h> -+#include <sys/soundcard.h> - #define DIFF_BYTE_ORDER 1 - #define AUDIO_SPEAKER 0 - #define AUDIO_HEADPHONE 1 diff --git a/audio/rat30/files/patch-src:main.c b/audio/rat30/files/patch-src:main.c deleted file mode 100644 index 37e70d61a38a..000000000000 --- a/audio/rat30/files/patch-src:main.c +++ /dev/null @@ -1,16 +0,0 @@ ---- src/main.c.orig Fri Feb 3 00:23:21 2006 -+++ src/main.c Fri Feb 3 00:23:37 2006 -@@ -118,11 +118,11 @@ - NEW_QUEUE(pckt_queue_struct, rtcp_pckt_queue) - NEW_QUEUE(rx_queue_struct, rx_unit_queue) - --#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q##[0]; \ -+#define INIT_QUEUE(T,Q) Q##_ptr[0] = &Q[0]; \ - Q##_ptr[0]->queue_empty_flag = 1; \ - Q##_ptr[0]->head_ptr = NULL; \ - Q##_ptr[0]->tail_ptr = NULL; \ -- Q##_ptr[1] = &Q##[1]; \ -+ Q##_ptr[1] = &Q[1]; \ - Q##_ptr[1]->queue_empty_flag = 1; \ - Q##_ptr[1]->head_ptr = NULL; \ - Q##_ptr[1]->tail_ptr = NULL; diff --git a/audio/rat30/files/patch-src__codec_encoder.c b/audio/rat30/files/patch-src__codec_encoder.c deleted file mode 100644 index 7f940d8cafcb..000000000000 --- a/audio/rat30/files/patch-src__codec_encoder.c +++ /dev/null @@ -1,12 +0,0 @@ ---- ./src/codec_encoder.c.orig 2007-07-14 20:50:06.000000000 +0400 -+++ ./src/codec_encoder.c 2007-07-14 20:53:12.000000000 +0400 -@@ -48,7 +48,8 @@ - int i; - sample *d; - -- d = (sample *)c->data = (sample *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE); -+ c->data = (sample *)block_alloc(SAMPLES_PER_UNIT * BYTES_PER_SAMPLE); -+ d = (sample *)c->data; - c->data_len = SAMPLES_PER_UNIT * BYTES_PER_SAMPLE; - for (i=0; i < SAMPLES_PER_UNIT; i++) { - *d++ = htons(*data); diff --git a/audio/rat30/pkg-descr b/audio/rat30/pkg-descr deleted file mode 100644 index 988875e9800a..000000000000 --- a/audio/rat30/pkg-descr +++ /dev/null @@ -1,22 +0,0 @@ -RAT is a network audio tool that allows users to particpate in -audio conferences over the internet. These can be between two -participants directly, or between a group of participants on a -common multicast group. RAT features sender based loss mitigation -mechanisms and receiver based audio repair techniques to compensate -for packet loss, and load adaption in response to host performance. - -This is a stable branch version. Works with half-duplex casrd as well. -This is required mbone/relate. - -WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/ -RAT is a network audio tool that allows users to particpate in -audio conferences over the internet. These can be between two -participants directly, or between a group of participants on a -common multicast group. RAT features sender based loss mitigation -mechanisms and receiver based audio repair techniques to compensate -for packet loss, and load adaption in response to host performance. - -This is a stable branch version. Works with half-duplex casrd as well. -This is required mbone/relate. - -WWW: http://www-mice.cs.ucl.ac.uk/multimedia/software/rat/ diff --git a/audio/speak_freely/Makefile b/audio/speak_freely/Makefile deleted file mode 100644 index 9215744498df..000000000000 --- a/audio/speak_freely/Makefile +++ /dev/null @@ -1,48 +0,0 @@ -# New ports collection makefile for: speak_freely -# Date created: 18 Apr 1996 -# Whom: Mister X (to make portlint happy ;) -# -# $FreeBSD$ -# - -PORTNAME= speak_freely -PORTVERSION= 7.6a -CATEGORIES= mbone audio security -MASTER_SITES= SF/speak-freely/speak-freely/${PORTVERSION} - -MAINTAINER= ports@FreeBSD.org -COMMENT= Voice communication over data networks - -LIB_DEPENDS= gsm.1:${PORTSDIR}/audio/gsm - -UTILS= sfspeaker sfmike sflwl sflaunch -DEMNS= sfecho sflwld sfreflect -DDEMNS= sfvod -SFLIB= ${PREFIX}/lib/speak_freely -MAN1= ${UTILS:S/$/.1/} ${DEMNS:S/$/.1/} ${DDEMNS:S/$/.1/} - -MAKE_ENV= "OPTFLAGS=${CFLAGS}" - -do-install: - if [ ! -d ${SFLIB} ]; then \ - ${INSTALL} -d -o ${BINOWN} -g ${BINGRP} -m 755 ${SFLIB}; \ - fi - cd ${WRKSRC}; \ - $(INSTALL_DATA) busy.au ring.au ${SFLIB} - cd ${WRKSRC}; \ - for p in ${UTILS}; do \ - $(INSTALL_PROGRAM) $$p ${PREFIX}/bin; \ - $(INSTALL_MAN) $$p.1 ${PREFIX}/man/man1; \ - done; - cd ${WRKSRC}; \ - for p in ${DEMNS}; do \ - $(INSTALL_PROGRAM) $$p ${PREFIX}/sbin; \ - $(INSTALL_MAN) $$p.1 ${PREFIX}/man/man1; \ - done; - cd ${WRKSRC}; \ - for p in ${DDEMNS}; do \ - $(INSTALL_SCRIPT) $$p ${PREFIX}/sbin; \ - $(INSTALL_MAN) $$p.1 ${PREFIX}/man/man1; \ - done; - -.include <bsd.port.mk> diff --git a/audio/speak_freely/distinfo b/audio/speak_freely/distinfo deleted file mode 100644 index 480a31ac69a1..000000000000 --- a/audio/speak_freely/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (speak_freely-7.6a.tar.gz) = 0c35c891d24f8df7f2bdedc3b91ab161 -SHA256 (speak_freely-7.6a.tar.gz) = 7636141d1daca1bd1a0a1e515a3b65adb788625409c503b297dc7c485f471247 -SIZE (speak_freely-7.6a.tar.gz) = 787915 diff --git a/audio/speak_freely/files/patch-aa b/audio/speak_freely/files/patch-aa deleted file mode 100644 index f328cf09d01c..000000000000 --- a/audio/speak_freely/files/patch-aa +++ /dev/null @@ -1,93 +0,0 @@ ---- Makefile.orig Sun Jun 8 22:21:55 2003 -+++ Makefile Sun Jun 8 22:33:37 2003 -@@ -6,7 +6,7 @@ - #DEBUG = -O - #DEBUG = -g -DHEXDUMP - #DEBUG = -g -DHEXDUMP -DNOCRYPTO --DEBUG = -O3 -DHEXDUMP -+#DEBUG = -O3 -DHEXDUMP - - # Installation - -@@ -50,13 +50,13 @@ - # of the available flags which follows these declarations. - # - #CCFLAGS = -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN --CCFLAGS = -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN -DNEEDED_LINEAR -DLINUX_DSP_SMALL_BUFFER -DHAVE_DEV_RANDOM --CC = gcc -Wall # for GNU's gcc compiler -+#CCFLAGS = -DAUDIO_BLOCKING -DLINUX -DHALF_DUPLEX -DM_LITTLE_ENDIAN -DNEEDED_LINEAR -DLINUX_DSP_SMALL_BUFFER -DHAVE_DEV_RANDOM -+#CC = gcc -Wall # for GNU's gcc compiler - # CELPFLAGS below are tweaked for GCC 2.96 on Intel Pentium. - # Comment out if you are using a compiler which doesn't - # understand these options. --CELPFLAGS = -fomit-frame-pointer -ffast-math -funroll-loops --LFLAGS = -lncurses -lm -+#CELPFLAGS = -fomit-frame-pointer -ffast-math -funroll-loops -+#LFLAGS = -lncurses -lm - - - # If you want to use ALSA instead of OSS, uncomment the following -@@ -269,8 +269,8 @@ - # Depending on how your driver handles non-blocking I/O, - # you may also have to add -DAUDIO_BLOCKING to the - # CCFLAGS line. --#CCFLAGS = -DM_LITTLE_ENDIAN --#LFLAGS = -lcurses -ltermcap -lcompat -lm -+CCFLAGS = -DM_LITTLE_ENDIAN -DAUDIO_BLOCKING -DNEEDED_LINEAR -DLINUX_DSP_SMALL_BUFFER -+LFLAGS = -lcurses -ltermcap -lm - - # Hewlett-Packard - # (courtesy of Marc Kilian) -@@ -318,7 +318,7 @@ - - # Compiler flags - --CFLAGS = $(DEBUG) $(PKOPTS) -Iadpcm -Iaes -Icelp -Ilpc -Igsm/inc -Ilpc10 -Imd5 -Ides -Iidea -Ilibdes -Iblowfish $(CARGS) $(DUPLEX) $(CCFLAGS) $(DOMAIN) -+CFLAGS = $(OPTFLAGS) $(DEBUG) $(PKOPTS) -Iadpcm -Iaes -Icelp -Ilpc -I$(LOCALBASE)/include -Igsm/inc -Ilpc10 -Imd5 -Ides -Iidea -Ilibdes -Iblowfish $(CARGS) $(DUPLEX) $(CCFLAGS) $(DOMAIN) - - BINARIES = sfspeaker sfmike sflaunch sflwld sflwl sfecho sfreflect - -@@ -333,12 +333,12 @@ - SPKROBJS = speaker.o codecs.o deskey.o g711.o rate.o rtpacket.o soundbyte.o tempfile.o ulaw.o usleep.o vatpkt.o vox.o audio_hp.o audio_sgi.o audio_alsa.o common.o - - sfspeaker: $(SPKROBJS) adpcmlib.o aeslib.o celplib.o libblowfish.o lpclib.o lpc10lib.o gsmlib.o deslib.o md5lib.o idealib.o libdes.o xdsub.o -- $(CC) $(SPKROBJS) adpcm/adpcm-u.o aes/aes.a blowfish/libblowfish.a celp/celp.o des/des.a md5/md5.o idea/idea.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o xdsub.o libdes/libdes.a $(LFLAGS) $(SOUNDLIB) -o sfspeaker -+ $(CC) $(SPKROBJS) adpcm/adpcm-u.o aes/aes.a blowfish/libblowfish.a celp/celp.o des/des.a -lmd idea/idea.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o xdsub.o libdes/libdes.a $(LFLAGS) $(SOUNDLIB) -o sfspeaker - - MIKEOBJS = mike.o codecs.o deskey.o g711.o rate.o rtpacket.o soundbyte.o tempfile.o ulaw.o usleep.o vatpkt.o xdsub.o audio_hp.o audio_sgi.o audio_alsa.o - - sfmike: $(MIKEOBJS) adpcmlib.o aeslib.o celplib.o libblowfish.o lpclib.o lpc10lib.o gsmlib.o deslib.o md5lib.o idealib.o libdes.o -- $(CC) $(MIKEOBJS) adpcm/adpcm-u.o aes/aes.a celp/celp.o des/des.a md5/md5.o idea/idea.a -lm blowfish/libblowfish.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o libdes/libdes.a $(LFLAGS) $(SOUNDLIB) -o sfmike -+ $(CC) $(MIKEOBJS) adpcm/adpcm-u.o aes/aes.a celp/celp.o des/des.a -lmd idea/idea.a -lm blowfish/libblowfish.a lpc10/liblpc10.a gsm/lib/libgsm.a lpc/lpc.o libdes/libdes.a $(LFLAGS) $(SOUNDLIB) -o sfmike - - LAUNCHOBJS = launch.o soundbyte.o usleep.o g711.o - -@@ -358,12 +358,12 @@ - ECHOOBJS = echo.o codecs.o g711.o rtpacket.o ulaw.o xdsub.o - - sfecho: $(ECHOOBJS) md5lib.o -- $(CC) $(ECHOOBJS) md5/md5.o adpcm/adpcm-u.o lpc/lpc.o $(LFLAGS) -o sfecho -+ $(CC) $(ECHOOBJS) -lmd adpcm/adpcm-u.o lpc/lpc.o $(LFLAGS) -o sfecho - - REFLECTOBJS = reflect.o codecs.o html.o g711.o rtpacket.o ulaw.o xdsub.o - - sfreflect: $(REFLECTOBJS) md5lib.o -- $(CC) $(REFLECTOBJS) md5/md5.o adpcm/adpcm-u.o lpc/lpc.o $(LFLAGS) -o sfreflect -+ $(CC) $(REFLECTOBJS) -lmd adpcm/adpcm-u.o lpc/lpc.o $(LFLAGS) -o sfreflect - - # Configure the voice on demand server for the platform's - # location of Perl and network constant definitions. -@@ -412,11 +412,11 @@ - echo "BLOWFISH" >libblowfish.o - - libdes.o: -- ( echo "Building LIBDES library."; cd libdes ; make -f Makefile.sf CC="$(CC) $(CCFLAGS) $(DEBUG)" ) -+ ( echo "Building LIBDES library."; cd libdes ; make -f Makefile.sf CC="$(CC) $(OPTFLAGS) $(CCFLAGS) $(DEBUG)" ) - echo "LIBDES" >libdes.o - - lpclib.o: -- ( echo "Building LPC library."; cd lpc ; make CC="$(CC) $(CCFLAGS) $(DEBUG)" ) -+ ( echo "Building LPC library."; cd lpc ; make CC="$(CC) $(OPTFLAGS) $(CCFLAGS) $(DEBUG)" ) - echo "LPC" >lpclib.o - - lpc10lib.o: diff --git a/audio/speak_freely/files/patch-ac b/audio/speak_freely/files/patch-ac deleted file mode 100644 index e9d8a5977a47..000000000000 --- a/audio/speak_freely/files/patch-ac +++ /dev/null @@ -1,69 +0,0 @@ ---- mike.c.orig Mon Aug 19 17:20:52 2002 -+++ mike.c Thu Dec 12 02:46:38 2002 -@@ -130,8 +130,8 @@ - #endif /* UNIX420 */ - - #ifdef UNIX5 --#include <termio.h> --static struct termio old_term_params; -+#include <termios.h> -+static struct termios old_term_params; - #endif /* UNIX5 */ - - /* Set raw mode on terminal file. Basically, get the terminal into a -@@ -150,16 +150,16 @@ - #endif /* UNIX420 */ - - #ifdef UNIX5 -- struct termio term_params; -+ struct termios term_params; - -- ioctl(fileno(stdin), TCGETA, &old_term_params); -+ tcgetattr(fileno(stdin), &old_term_params); - term_params = old_term_params; - term_params.c_iflag &= ~(ICRNL|IXON|IXOFF); /* no cr translation */ - term_params.c_iflag &= ~(ISTRIP); /* no stripping of high order bit */ - term_params.c_oflag &= ~(OPOST); /* no output processing */ - term_params.c_lflag &= ~(ISIG|ICANON|ECHO); /* raw mode */ - term_params.c_cc[4] = 1; /* satisfy read after 1 char */ -- ioctl(fileno(stdin), TCSETAF, &term_params); -+ tcsetattr(fileno(stdin), TCSAFLUSH, &term_params); - #endif /* UNIX5 */ - /*printf("\n(raw)\n");*/ - } -@@ -178,7 +178,7 @@ - #endif /* UNIX420 */ - - #ifdef UNIX5 -- ioctl(fileno(stdin), TCSETAF, &old_term_params); -+ tcsetattr(fileno(stdin), TCSAFLUSH, &old_term_params); - #endif /* UNIX5 */ - /*printf("\n(cooked)\n");*/ - } -@@ -1135,7 +1135,7 @@ - /* SENDFILE -- Send a file or, if the file name is NULL or a - single period, send real-time sound input. */ - --static int sendfile(char *f) -+static int sfsendfile(char *f) - { - soundbuf netbuf; - #define buf netbuf.buffer.buffer_val -@@ -2306,7 +2306,7 @@ - return 1; - } - } else { -- int ok = sendfile(op); -+ int ok = sfsendfile(op); - if (ok != 0) - return ok; - sentfile++; -@@ -2318,7 +2318,7 @@ - usage(); - } else { - if (sentfile == 0) { -- return sendfile(NULL); -+ return sfsendfile(NULL); - } - } - diff --git a/audio/speak_freely/files/patch-ad b/audio/speak_freely/files/patch-ad deleted file mode 100644 index b0ebafecdf39..000000000000 --- a/audio/speak_freely/files/patch-ad +++ /dev/null @@ -1,11 +0,0 @@ ---- adpcm/Makefile.orig Sat Oct 13 15:00:05 2001 -+++ adpcm/Makefile Thu Dec 12 02:47:59 2002 -@@ -2,7 +2,7 @@ - # Makefile for adpcm and test programs - # ------------------- - --CFLAGS = -I.. -+CFLAGS += -I.. - - all: adpcm-u.o - diff --git a/audio/speak_freely/files/patch-ae b/audio/speak_freely/files/patch-ae deleted file mode 100644 index 6a3b0db9c2e1..000000000000 --- a/audio/speak_freely/files/patch-ae +++ /dev/null @@ -1,24 +0,0 @@ - -$FreeBSD$ - ---- soundbyte.c.orig Fri Feb 28 23:18:38 2003 -+++ soundbyte.c Wed Jun 25 19:42:45 2003 -@@ -13,7 +13,9 @@ - #ifdef Solaris - #include <sys/filio.h> - #else -+#ifndef __FreeBSD__ - #include <sys/dir.h> -+#endif - #include <sys/file.h> - #endif - -@@ -32,7 +34,7 @@ - #ifdef LINUX - #include <linux/soundcard.h> - #else /*!LINUX */ --#include <machine/soundcard.h> -+#include <sys/soundcard.h> - #endif /* LINUX */ - #endif /* sun */ - diff --git a/audio/speak_freely/files/patch-af b/audio/speak_freely/files/patch-af deleted file mode 100644 index 8f99c43f7cd2..000000000000 --- a/audio/speak_freely/files/patch-af +++ /dev/null @@ -1,11 +0,0 @@ ---- blowfish/Makefile.orig Wed Jan 5 20:12:14 2000 -+++ blowfish/Makefile Wed Jan 5 20:15:02 2000 -@@ -18,7 +18,7 @@ - - MAKE=make -f Makefile - CC=cc --CFLAG= -O -+CFLAG= $(OPTFLAGS) - - #CC=gcc - #CFLAG= -O4 -funroll-loops -fomit-frame-pointer diff --git a/audio/speak_freely/files/patch-ag b/audio/speak_freely/files/patch-ag deleted file mode 100644 index 8de3e742784f..000000000000 --- a/audio/speak_freely/files/patch-ag +++ /dev/null @@ -1,8 +0,0 @@ ---- des/Makefile.orig Wed Jan 5 20:20:30 2000 -+++ des/Makefile Wed Jan 5 20:20:44 2000 -@@ -1,4 +1,4 @@ --CFLAGS=-O -+CFLAGS=$(OPTFLAGS) - - all: des.a - diff --git a/audio/speak_freely/files/patch-ah b/audio/speak_freely/files/patch-ah deleted file mode 100644 index 0986b11e721d..000000000000 --- a/audio/speak_freely/files/patch-ah +++ /dev/null @@ -1,11 +0,0 @@ ---- lpc10/Makefile.orig Wed Jun 9 04:07:02 2004 -+++ lpc10/Makefile Wed Jun 9 04:07:16 2004 -@@ -14,6 +14,8 @@ - placev.o preemp.o random.o round.o rcchk.o setup.o synths.o \ - tbdm.o voice.o voice_nn.o vparms.o - -+CFLAGS += -D_ANSI_SOURCE -+ - LSRC = $(LOBJECTS:.o=.c) - - LIBS = -lm diff --git a/audio/speak_freely/files/patch-speakfree.h b/audio/speak_freely/files/patch-speakfree.h deleted file mode 100644 index 8642a62620fa..000000000000 --- a/audio/speak_freely/files/patch-speakfree.h +++ /dev/null @@ -1,13 +0,0 @@ ---- speakfree.h -+++ speakfree.h -@@ -13,10 +13,6 @@ - #define BSD_like - #endif - --#ifdef __FreeBSD__ --#define BSD_like --#endif -- - #ifdef sgi - #define _BSD_SIGNALS - #endif diff --git a/audio/speak_freely/pkg-descr b/audio/speak_freely/pkg-descr deleted file mode 100644 index 5c79a91fcf60..000000000000 --- a/audio/speak_freely/pkg-descr +++ /dev/null @@ -1,12 +0,0 @@ - Speak Freely allows users of a variety of Unix and Unix- - like workstations equipped with audio hardware connected - by a network to converse, using the audio input and output - facilities of the workstation to digitise and later recon- - struct the sound and the network to relay sound packets. - Optional compression is provided, allowing conversations - over relatively low-bandwidth Internet links as well as - local area networks. - -WWW: http://speak-freely.sourceforge.net/ - http://www.fourmilab.ch/speakfree/unix/index.html - http://www.speakfreely.org/ diff --git a/audio/speak_freely/pkg-plist b/audio/speak_freely/pkg-plist deleted file mode 100644 index 39a54f5325c1..000000000000 --- a/audio/speak_freely/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -bin/sfspeaker -bin/sfmike -bin/sflwl -bin/sflaunch -sbin/sfecho -sbin/sflwld -sbin/sfreflect -sbin/sfvod -lib/speak_freely/ring.au -lib/speak_freely/busy.au -@dirrm lib/speak_freely diff --git a/audio/teamspeak3-server/Makefile b/audio/teamspeak3-server/Makefile deleted file mode 100644 index 94b91ba8e5e2..000000000000 --- a/audio/teamspeak3-server/Makefile +++ /dev/null @@ -1,46 +0,0 @@ -# New ports collection makefile for: teamspeak_server -# Date created: 22 January 2003 -# Whom: Daniel O'Connor -# -# $FreeBSD$ -# - -PORTNAME= teamspeak_server -PORTVERSION= 2.0.24.01 -CATEGORIES= audio net -MASTER_SITES= ftp://ftp.freenet.de/pub/4players/teamspeak.org/releases/:0 \ - ftp://ftp.freenet.de/pub/4players/teamspeak.org/developer/server/202401/:1 -DISTFILES= ts2_server_rc2_202319.tar.bz2:0 server_linux:1 -DIST_SUBDIR= teamspeak -EXTRACT_ONLY= ts2_server_rc2_202319.tar.bz2 - -MAINTAINER= ports@FreeBSD.org -COMMENT= Server side of the TeamSpeak group voice chat system - -WRKSRC= ${WRKDIR}/tss2_rc2 -ONLY_FOR_ARCHS= i386 -NO_BUILD= yes -USE_LINUX= yes -PKGDEINSTALL= ${PKGINSTALL} - -USE_RC_SUBR= teamspeak-server - -pre-install: - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGINSTALL} ${PORTNAME} PRE-INSTALL - -do-install: - @${MKDIR} ${PREFIX}/lib/teamspeak_server - ${TAR} -C ${WRKSRC} -cf - . | ${TAR} -C ${PREFIX}/lib/teamspeak_server -xf - - @${INSTALL_PROGRAM} ${DISTDIR}/${DIST_SUBDIR}/server_linux \ - ${PREFIX}/lib/teamspeak_server - -post-install: - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGINSTALL} ${PORTNAME} POST-INSTALL - -post-deinstall: - @${SETENV} PKG_PREFIX=${PREFIX} \ - ${SH} ${PKGDEINSTALL} ${PORTNAME} POST-DEINSTALL - -.include <bsd.port.mk> diff --git a/audio/teamspeak3-server/distinfo b/audio/teamspeak3-server/distinfo deleted file mode 100644 index 58115613345f..000000000000 --- a/audio/teamspeak3-server/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -MD5 (teamspeak/ts2_server_rc2_202319.tar.bz2) = 05e2bdec80eeed3d935eacb9ada3623e -SHA256 (teamspeak/ts2_server_rc2_202319.tar.bz2) = 56ae9f2cbb83c04102561ca377cedb6881579a80493b2b0ebf73afe2ac279a67 -SIZE (teamspeak/ts2_server_rc2_202319.tar.bz2) = 1155345 -MD5 (teamspeak/server_linux) = 55dac0e5c05760f1e8232b32a2920db0 -SHA256 (teamspeak/server_linux) = 555a2c0fbb948350fc10f590e9a01f5916eff5394b6ecc28e6dfdaf8a82ba612 -SIZE (teamspeak/server_linux) = 950856 diff --git a/audio/teamspeak3-server/files/teamspeak-server.in b/audio/teamspeak3-server/files/teamspeak-server.in deleted file mode 100644 index 450b096b377f..000000000000 --- a/audio/teamspeak3-server/files/teamspeak-server.in +++ /dev/null @@ -1,38 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# -# PROVIDE: teamspeak -# REQUIRE: DAEMON -# KEYWORD: shutdown -# -# Add the following lines to /etc/rc.conf.local or /etc/rc.conf -# to enable this service: -# -# teamspeak_enable (bool): Set to NO by default. -# Set it to YES to enable teamspeak. -# - -. /etc/rc.subr - -# Set some defaults -teamspeak_user=${teamspeak_user:-"teamspeak"} - -name=teamspeak -rcvar=${name}_enable - -command="%%PREFIX%%/lib/teamspeak_server/server_linux" -command_args=">/dev/null" -pidfile="%%PREFIX%%/lib/teamspeak_server/server.pid" -stop_postcmd="teamspeak_poststop" - -teamspeak_poststop() -{ - /bin/rm -f "${pidfile}" -} - -load_rc_config $name - -: ${teamspeak_enable="NO"} - -run_rc_command "$1" diff --git a/audio/teamspeak3-server/pkg-descr b/audio/teamspeak3-server/pkg-descr deleted file mode 100644 index 7b6f87d445e4..000000000000 --- a/audio/teamspeak3-server/pkg-descr +++ /dev/null @@ -1,5 +0,0 @@ -The server for Team Speak a voice chat program which supports multiple -channels with different rate codecs and several people on each channel. -Primarily aimed at team gamers but can be used as an IP phone as well. - -WWW: http://www.teamspeak.com diff --git a/audio/teamspeak3-server/pkg-install b/audio/teamspeak3-server/pkg-install deleted file mode 100644 index ebb6e3496a8f..000000000000 --- a/audio/teamspeak3-server/pkg-install +++ /dev/null @@ -1,72 +0,0 @@ -#! /bin/sh - -# $FreeBSD$ - -PATH=/bin:/usr/sbin -TSHOME=${PKG_PREFIX}/lib/teamspeak_server - -USER=teamspeak -GROUP=${USER} - -case $2 in -PRE-INSTALL) - if pw group show "${GROUP}" 2>/dev/null; then - echo "You already have a group \"${GROUP}\", so I will use it." - else - if pw groupadd ${GROUP}; then - echo "Added group \"${GROUP}\"." - else - echo "Adding group \"${GROUP}\" failed..." - exit 1 - fi - fi - - if pw user show "${USER}" 2>/dev/null; then - echo "You already have a user \"${USER}\", so I will use it." - else - if pw useradd ${USER} -g ${GROUP} -h - \ - -d ${TSHOME} -c "Teamspeak Server" - then - echo "Added user \"${USER}\"." - else - echo "Adding user \"${USER}\" failed..." - exit 1 - fi - fi - - if ! [ -x ~${USER} ] ; then - mkdir -p ${TSHOME} - chown ${USER}:${GROUP} ${TSHOME} - fi - ;; - -POST-INSTALL) - chown -R ${USER}:${GROUP} ${TSHOME} - chmod -R u+w,o-rx ${TSHOME} - ;; - - -POST-DEINSTALL) - if pw group show "${GROUP}" 2>/dev/null; then - if pw groupdel ${GROUP}; then - echo "Removed group \"${GROUP}\"." - else - echo "Removing group \"${GROUP}\" failed..." - exit 1 - fi - else - echo "Group \"${GROUP}\" doesn't exist!" - fi - - if pw user show "${USER}" 2>/dev/null; then - if pw userdel ${USER}; then - echo "Removed user \"${USER}\"." - else - echo "Removing user \"${USER}\" failed..." - exit 1 - fi - else - echo "User \"${USER}\" doesn't exist!" - fi - ;; -esac diff --git a/audio/teamspeak3-server/pkg-plist b/audio/teamspeak3-server/pkg-plist deleted file mode 100644 index 39015018df9c..000000000000 --- a/audio/teamspeak3-server/pkg-plist +++ /dev/null @@ -1,254 +0,0 @@ -lib/teamspeak_server/INSTALL -lib/teamspeak_server/INSTALL.mysql -lib/teamspeak_server/LICENSE -lib/teamspeak_server/Manual/C1H_HTML.css -lib/teamspeak_server/Manual/DocToHelp.js -lib/teamspeak_server/Manual/RC2servermanual-blank.htm -lib/teamspeak_server/Manual/RC2servermanual-css.rtf -lib/teamspeak_server/Manual/RC2servermanual-index.htm -lib/teamspeak_server/Manual/RC2servermanual-toc.htm -lib/teamspeak_server/Manual/RC2servermanuallinux -lib/teamspeak_server/Manual/_TeamSpeak RC2 Server manual-1.png -lib/teamspeak_server/Manual/administration1.htm -lib/teamspeak_server/Manual/back.gif -lib/teamspeak_server/Manual/bandwidthandcodecs1.htm -lib/teamspeak_server/Manual/button.gif -lib/teamspeak_server/Manual/closed.gif -lib/teamspeak_server/Manual/closingdowntheserver4.htm -lib/teamspeak_server/Manual/closingdowntheserver5.htm -lib/teamspeak_server/Manual/default.htm -lib/teamspeak_server/Manual/frequentlyaskedquestions1.htm -lib/teamspeak_server/Manual/howtoruntheteamspeakserverasaserviceunderwinxpand20001.htm -lib/teamspeak_server/Manual/installingtheserver4.htm -lib/teamspeak_server/Manual/installingtheserver5.htm -lib/teamspeak_server/Manual/lastnotes1.htm -lib/teamspeak_server/Manual/licensing1.htm -lib/teamspeak_server/Manual/linuxinstalling.htm -lib/teamspeak_server/Manual/loggingin1.htm -lib/teamspeak_server/Manual/login.png -lib/teamspeak_server/Manual/logout1.htm -lib/teamspeak_server/Manual/mainconfig1.htm -lib/teamspeak_server/Manual/miscellaneous1.htm -lib/teamspeak_server/Manual/open.gif -lib/teamspeak_server/Manual/ports1.htm -lib/teamspeak_server/Manual/qilostmyserveradminpassword.htm -lib/teamspeak_server/Manual/qwhatportsdoestheserveruse.htm -lib/teamspeak_server/Manual/qwhatsupportdoesteamspeakoffer.htm -lib/teamspeak_server/Manual/requirementstoruntheteamspeak2server1.htm -lib/teamspeak_server/Manual/serverpermissions1.htm -lib/teamspeak_server/Manual/serversettings.png -lib/teamspeak_server/Manual/serversettings1.htm -lib/teamspeak_server/Manual/startingtheserver1.htm -lib/teamspeak_server/Manual/startinguptheserver1.htm -lib/teamspeak_server/Manual/superadmin1.htm -lib/teamspeak_server/Manual/superadminservers.png -lib/teamspeak_server/Manual/superadminstart.png -lib/teamspeak_server/Manual/tcpqueryfunction1.htm -lib/teamspeak_server/Manual/teamspeak.gif -lib/teamspeak_server/Manual/teamspeakrc2servermanual1.htm -lib/teamspeak_server/Manual/toc.css -lib/teamspeak_server/Manual/topic.gif -lib/teamspeak_server/Manual/usermanager.png -lib/teamspeak_server/Manual/usermanager1.htm -lib/teamspeak_server/Manual/webadminningtheserver1.htm -lib/teamspeak_server/Manual/webpost2.htm -lib/teamspeak_server/Manual/webpost3.htm -lib/teamspeak_server/Manual/whatistheteamspeak2server1.htm -lib/teamspeak_server/Manual/whatsnewinteamspeakreleasecandidate21.htm -lib/teamspeak_server/Manual/windowsinstalling.htm -lib/teamspeak_server/Manual/yourips1.htm -lib/teamspeak_server/README -lib/teamspeak_server/httpdocs/choice_box.html -lib/teamspeak_server/httpdocs/database_client_manager.html -lib/teamspeak_server/httpdocs/database_client_manager_add.html -lib/teamspeak_server/httpdocs/database_client_manager_clientlist.html -lib/teamspeak_server/httpdocs/database_client_manager_edit.html -lib/teamspeak_server/httpdocs/database_sclient_manager.html -lib/teamspeak_server/httpdocs/database_sclient_manager_add.html -lib/teamspeak_server/httpdocs/database_sclient_manager_clientlist.html -lib/teamspeak_server/httpdocs/database_sclient_manager_edit.html -lib/teamspeak_server/httpdocs/error_box.html -lib/teamspeak_server/httpdocs/footer.html -lib/teamspeak_server/httpdocs/gfx/add_client.png -lib/teamspeak_server/httpdocs/gfx/add_server.png -lib/teamspeak_server/httpdocs/gfx/delete.png -lib/teamspeak_server/httpdocs/gfx/edit.png -lib/teamspeak_server/httpdocs/gfx/global_settings.jpg -lib/teamspeak_server/httpdocs/gfx/headerline.gif -lib/teamspeak_server/httpdocs/gfx/help.gif -lib/teamspeak_server/httpdocs/gfx/helpnav.jpg -lib/teamspeak_server/httpdocs/gfx/helppages.jpg -lib/teamspeak_server/httpdocs/gfx/helppages.png -lib/teamspeak_server/httpdocs/gfx/menu_background.gif -lib/teamspeak_server/httpdocs/gfx/permissions.jpg -lib/teamspeak_server/httpdocs/gfx/pixel.gif -lib/teamspeak_server/httpdocs/gfx/select.png -lib/teamspeak_server/httpdocs/gfx/select_short.png -lib/teamspeak_server/httpdocs/gfx/server-run.png -lib/teamspeak_server/httpdocs/gfx/server-stop.png -lib/teamspeak_server/httpdocs/gfx/server_icon.png -lib/teamspeak_server/httpdocs/gfx/server_overview.jpg -lib/teamspeak_server/httpdocs/gfx/server_settings.jpg -lib/teamspeak_server/httpdocs/gfx/serveradminlogin.gif -lib/teamspeak_server/httpdocs/gfx/servers.jpg -lib/teamspeak_server/httpdocs/gfx/superadmin_manager.jpg -lib/teamspeak_server/httpdocs/gfx/uhr_icon.png -lib/teamspeak_server/httpdocs/gfx/under_hl.gif -lib/teamspeak_server/httpdocs/gfx/user_icon.png -lib/teamspeak_server/httpdocs/gfx/user_manager.jpg -lib/teamspeak_server/httpdocs/gfx/vBulletin_logo.gif -lib/teamspeak_server/httpdocs/header.html -lib/teamspeak_server/httpdocs/help/global_settings.html -lib/teamspeak_server/httpdocs/help/permissions_general.html -lib/teamspeak_server/httpdocs/help/server_overview.html -lib/teamspeak_server/httpdocs/help/server_settings.html -lib/teamspeak_server/httpdocs/help/servers.html -lib/teamspeak_server/httpdocs/help/superadmin_manager.html -lib/teamspeak_server/httpdocs/help/user_manager.html -lib/teamspeak_server/httpdocs/index.html -lib/teamspeak_server/httpdocs/login.html -lib/teamspeak_server/httpdocs/login_error.html -lib/teamspeak_server/httpdocs/menu_bottom.html -lib/teamspeak_server/httpdocs/menu_top.html -lib/teamspeak_server/httpdocs/ok_box.html -lib/teamspeak_server/httpdocs/server_basic_settings.html -lib/teamspeak_server/httpdocs/server_country_option.html -lib/teamspeak_server/httpdocs/server_manager.html -lib/teamspeak_server/httpdocs/server_manager_add.html -lib/teamspeak_server/httpdocs/server_manager_grouppermission.html -lib/teamspeak_server/httpdocs/server_manager_overview.html -lib/teamspeak_server/httpdocs/server_manager_permission.html -lib/teamspeak_server/httpdocs/server_manager_permission_ca.html -lib/teamspeak_server/httpdocs/server_manager_permission_op.html -lib/teamspeak_server/httpdocs/server_manager_permission_r.html -lib/teamspeak_server/httpdocs/server_manager_permission_sa.html -lib/teamspeak_server/httpdocs/server_manager_permission_u.html -lib/teamspeak_server/httpdocs/server_manager_permission_v.html -lib/teamspeak_server/httpdocs/server_manager_permissionfield.html -lib/teamspeak_server/httpdocs/server_manager_serverlist.html -lib/teamspeak_server/httpdocs/server_manager_servers.html -lib/teamspeak_server/httpdocs/server_manager_servers_list.html -lib/teamspeak_server/httpdocs/server_manager_settings.html -lib/teamspeak_server/httpdocs/slogin.html -lib/teamspeak_server/libsqlmy.so -lib/teamspeak_server/manual.html -lib/teamspeak_server/mysql_sql/create_bans.sql -lib/teamspeak_server/mysql_sql/create_channel_privileges.sql -lib/teamspeak_server/mysql_sql/create_channels.sql -lib/teamspeak_server/mysql_sql/create_clients.sql -lib/teamspeak_server/mysql_sql/create_server_privileges.sql -lib/teamspeak_server/mysql_sql/create_servers.sql -lib/teamspeak_server/server_linux -lib/teamspeak_server/sqlite.so -lib/teamspeak_server/sqlite_sql/create_bans.sql -lib/teamspeak_server/sqlite_sql/create_channel_privileges.sql -lib/teamspeak_server/sqlite_sql/create_channels.sql -lib/teamspeak_server/sqlite_sql/create_clients.sql -lib/teamspeak_server/sqlite_sql/create_nicks.sql -lib/teamspeak_server/sqlite_sql/create_server_privileges.sql -lib/teamspeak_server/sqlite_sql/create_servers.sql -lib/teamspeak_server/sqlite_sql/create_settings.sql -lib/teamspeak_server/sqlite_sql/delete_ban.sql -lib/teamspeak_server/sqlite_sql/delete_ban_ip.sql -lib/teamspeak_server/sqlite_sql/delete_channel.sql -lib/teamspeak_server/sqlite_sql/delete_channel_privilege.sql -lib/teamspeak_server/sqlite_sql/delete_client.sql -lib/teamspeak_server/sqlite_sql/delete_server.sql -lib/teamspeak_server/sqlite_sql/edit_channel.sql -lib/teamspeak_server/sqlite_sql/edit_channel_privilege.sql -lib/teamspeak_server/sqlite_sql/edit_client.sql -lib/teamspeak_server/sqlite_sql/edit_client_lastonline.sql -lib/teamspeak_server/sqlite_sql/edit_server.sql -lib/teamspeak_server/sqlite_sql/edit_server_privilege.sql -lib/teamspeak_server/sqlite_sql/new_ban.sql -lib/teamspeak_server/sqlite_sql/new_channel.sql -lib/teamspeak_server/sqlite_sql/new_channel_privilege.sql -lib/teamspeak_server/sqlite_sql/new_client.sql -lib/teamspeak_server/sqlite_sql/new_server.sql -lib/teamspeak_server/sqlite_sql/new_server_privilege.sql -lib/teamspeak_server/sqlite_sql/read_active_servers.sql -lib/teamspeak_server/sqlite_sql/read_bans.sql -lib/teamspeak_server/sqlite_sql/read_channel.sql -lib/teamspeak_server/sqlite_sql/read_channel_privilege.sql -lib/teamspeak_server/sqlite_sql/read_channel_privileges.sql -lib/teamspeak_server/sqlite_sql/read_channels.sql -lib/teamspeak_server/sqlite_sql/read_client_channels_privileges.sql -lib/teamspeak_server/sqlite_sql/read_client_login.sql -lib/teamspeak_server/sqlite_sql/read_clients.sql -lib/teamspeak_server/sqlite_sql/read_clients_id.sql -lib/teamspeak_server/sqlite_sql/read_clients_name.sql -lib/teamspeak_server/sqlite_sql/read_server.sql -lib/teamspeak_server/sqlite_sql/read_server_port.sql -lib/teamspeak_server/sqlite_sql/read_server_privilege.sql -lib/teamspeak_server/sqlite_sql/read_servers.sql -lib/teamspeak_server/sqlite_sql/remove_bans.sql -lib/teamspeak_server/sqlite_sql/remove_moderatedattribs.sql -lib/teamspeak_server/sqlite_sql/search_client.sql -lib/teamspeak_server/sqlite_sql/upgrade_1.sql -lib/teamspeak_server/sqlite_sql/upgrade_2.sql -lib/teamspeak_server/sqlite_sql/upgrade_3.sql -lib/teamspeak_server/tcpquerydocs/banadd.txt -lib/teamspeak_server/tcpquerydocs/banclear.txt -lib/teamspeak_server/tcpquerydocs/bandel.txt -lib/teamspeak_server/tcpquerydocs/banlist.txt -lib/teamspeak_server/tcpquerydocs/banplayer.txt -lib/teamspeak_server/tcpquerydocs/checkserverok.txt -lib/teamspeak_server/tcpquerydocs/ci.txt -lib/teamspeak_server/tcpquerydocs/cl.txt -lib/teamspeak_server/tcpquerydocs/dbci.txt -lib/teamspeak_server/tcpquerydocs/dbfp.txt -lib/teamspeak_server/tcpquerydocs/dbpi.txt -lib/teamspeak_server/tcpquerydocs/dbserverlist.txt -lib/teamspeak_server/tcpquerydocs/dbsuseradd.txt -lib/teamspeak_server/tcpquerydocs/dbsuserchangepw.txt -lib/teamspeak_server/tcpquerydocs/dbsuserdel.txt -lib/teamspeak_server/tcpquerydocs/dbsuserlist.txt -lib/teamspeak_server/tcpquerydocs/dbuseradd.txt -lib/teamspeak_server/tcpquerydocs/dbuserchangeattribs.txt -lib/teamspeak_server/tcpquerydocs/dbuserchangepw.txt -lib/teamspeak_server/tcpquerydocs/dbuserdel.txt -lib/teamspeak_server/tcpquerydocs/dbuserid.txt -lib/teamspeak_server/tcpquerydocs/dbuserlist.txt -lib/teamspeak_server/tcpquerydocs/dccl.txt -lib/teamspeak_server/tcpquerydocs/fc.txt -lib/teamspeak_server/tcpquerydocs/fp.txt -lib/teamspeak_server/tcpquerydocs/gapl.txt -lib/teamspeak_server/tcpquerydocs/gi.txt -lib/teamspeak_server/tcpquerydocs/globalset.txt -lib/teamspeak_server/tcpquerydocs/globalset.txt.bak -lib/teamspeak_server/tcpquerydocs/help.txt -lib/teamspeak_server/tcpquerydocs/ki.txt -lib/teamspeak_server/tcpquerydocs/kick.txt -lib/teamspeak_server/tcpquerydocs/lc.txt -lib/teamspeak_server/tcpquerydocs/log.txt -lib/teamspeak_server/tcpquerydocs/logfind.txt -lib/teamspeak_server/tcpquerydocs/login.txt -lib/teamspeak_server/tcpquerydocs/logmark.txt -lib/teamspeak_server/tcpquerydocs/mptc.txt -lib/teamspeak_server/tcpquerydocs/msg.txt -lib/teamspeak_server/tcpquerydocs/msgall.txt -lib/teamspeak_server/tcpquerydocs/msgu.txt -lib/teamspeak_server/tcpquerydocs/pi.txt -lib/teamspeak_server/tcpquerydocs/pl.txt -lib/teamspeak_server/tcpquerydocs/rehash.txt -lib/teamspeak_server/tcpquerydocs/removeclient.txt -lib/teamspeak_server/tcpquerydocs/sel.txt -lib/teamspeak_server/tcpquerydocs/serveradd.txt -lib/teamspeak_server/tcpquerydocs/serverdel.txt -lib/teamspeak_server/tcpquerydocs/serverset.txt -lib/teamspeak_server/tcpquerydocs/serverstart.txt -lib/teamspeak_server/tcpquerydocs/serverstop.txt -lib/teamspeak_server/tcpquerydocs/si.txt -lib/teamspeak_server/tcpquerydocs/sl.txt -lib/teamspeak_server/tcpquerydocs/slogin.txt -lib/teamspeak_server/tcpquerydocs/sppriv.txt -lib/teamspeak_server/tcpquerydocs/ver.txt -lib/teamspeak_server/teamspeak2-server_startscript -@dirrm lib/teamspeak_server/tcpquerydocs -@dirrm lib/teamspeak_server/sqlite_sql -@dirrm lib/teamspeak_server/mysql_sql -@dirrm lib/teamspeak_server/httpdocs/help -@dirrm lib/teamspeak_server/httpdocs/gfx -@dirrm lib/teamspeak_server/httpdocs -@dirrm lib/teamspeak_server/Manual -@dirrm lib/teamspeak_server diff --git a/audio/vat/Makefile b/audio/vat/Makefile deleted file mode 100644 index d1d8c616f656..000000000000 --- a/audio/vat/Makefile +++ /dev/null @@ -1,44 +0,0 @@ -# New ports collection makefile for: vat -# Date created: 2 November 1996 -# Whom: fenner -# -# $FreeBSD$ -# - -PORTNAME= vat -PORTVERSION= 4.0b2 -PORTREVISION= 3 -CATEGORIES= mbone tk -MASTER_SITES= ftp://ftp.ee.lbl.gov/conferencing/vat/alpha-test/ -DISTFILES= vatsrc-4.0b2.tar.gz - -MAINTAINER= ports@FreeBSD.org -COMMENT= The Visual Audio Tool - multicast audioconferencing - -GSM_DIR= ${.CURDIR}/../../audio/gsm -GSM_WORK= ${WRKDIRPREFIX}${GSM_DIR}/work/gsm-1.0-pl13 - -# If configure is changed to look for libgsm.a in ${PREFIX}/lib, then -# we can use this first BUILD_DEPENDS and save some work. -#BUILD_DEPENDS= ${GSM_WORK}/inc/private.h:${GSM_DIR}:patch -BUILD_DEPENDS= ${GSM_WORK}/lib/libgsm.a:${GSM_DIR}:build -LIB_DEPENDS= tk83.1:${PORTSDIR}/x11-toolkits/tk83 \ - gsm.1:${GSM_DIR} - -USE_XORG= x11 -USE_AUTOTOOLS= autoconf:213 -CONFIGURE_ARGS= --with-gsm=${GSM_WORK} -INSTALL_TARGET= install install-man -MAN1= vat.1 -PLIST_FILES= bin/vat - -.include <bsd.port.pre.mk> - -.if ${ARCH} == "sparc64" -BROKEN= Does not build on sparc64 -.endif - -post-install: - ${STRIP_CMD} ${PREFIX}/bin/vat - -.include <bsd.port.post.mk> diff --git a/audio/vat/distinfo b/audio/vat/distinfo deleted file mode 100644 index f5d24f56e817..000000000000 --- a/audio/vat/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (vatsrc-4.0b2.tar.gz) = ad6bfa8e986be1706e60251dd9c2f204 -SHA256 (vatsrc-4.0b2.tar.gz) = 47ee08fc7ce2c0e39c00fa4eabeadd4eb1aba6de6c14dacc24949849c73015af -SIZE (vatsrc-4.0b2.tar.gz) = 263799 diff --git a/audio/vat/files/patch-aa b/audio/vat/files/patch-aa deleted file mode 100644 index 574759971107..000000000000 --- a/audio/vat/files/patch-aa +++ /dev/null @@ -1,249 +0,0 @@ ---- configure.in.tk.orig Thu May 16 01:06:05 1996 -+++ configure.in.tk Tue Sep 9 11:35:45 1997 -@@ -2,6 +2,7 @@ - dnl $Header: /home/ncvs/ports/mbone/vat/patches/patch-aa,v 1.3 1998/06/26 19:05:34 fenner Exp $ (LBL) - - AC_ARG_WITH(tcl, --with-tcl=path specify a pathname for tcl, d=$withval, d="") -+tclposs="tcl8.3 tcl83 tcl" - if test "$d" != "" ; then - if test ! -d $d ; then - echo "'$d' is not a directory" -@@ -12,22 +13,22 @@ - echo "can't find tcl.h in $d/include" - exit 1 - fi -- places="$d/lib/libtcl7.5.so \ -- $d/lib/libtcl7.5.a \ -- $d/lib/libtcl.so \ -- $d/lib/libtcl.a" - V_LIB_TCL=FAIL -- for dir in $places; do -- if test -r $dir ; then -- V_LIB_TCL=$dir -+ for p in $tclposs; do -+ if test "`echo $d/lib/lib$p.so*`" != "$d/lib/lib$p.so*" ; then -+ V_LIB_TCL="-L$d/lib -l$p" -+ break -+ fi -+ if test -r $d/lib/lib$p.a ; then -+ V_LIB_TCL="-L$d/lib -l$p" - break - fi - done -- if test $V_LIB_TCL = FAIL ; then -+ if test "$V_LIB_TCL" = FAIL ; then - echo "can't find libtcl.a in $d/lib" - exit 1 - fi -- places="$d/lib/tcl7.5 \ -+ places="$d/lib/tcl8.3 \ - $d/lib/tcl" - V_LIBRARY_TCL=FAIL - for dir in $places; do -@@ -44,13 +45,14 @@ - AC_TEST_CPP([#include <tcl.h>], V_INCLUDE_TCL="", V_INCLUDE_TCL=FAIL) - if test "$V_INCLUDE_TCL" = FAIL; then - echo "checking for tcl.h" -- places="$PWD/../tcl7.5 \ -- /usr/src/local/tcl7.5 \ -- /import/tcl/include/tcl7.5 \ -+ places="$PWD/../tcl8.3 \ -+ /usr/src/local/tcl8.3 \ -+ /import/tcl/include/tcl8.3 \ - $prefix/include \ - $x_includes/tk \ - $x_includes \ - /usr/local/include \ -+ /usr/local/include/tcl8.3 \ - /usr/contrib/include \ - /usr/include" - for dir in $places; do -@@ -64,7 +66,7 @@ - exit 1 - fi - fi -- AC_CHECK_LIB(tcl7.5, main, V_LIB_TCL="-ltcl7.5", V_LIB_TCL="FAIL") -+ AC_CHECK_LIB(tcl8.3, main, V_LIB_TCL="-ltcl8.3", V_LIB_TCL="FAIL") - if test "$V_LIB_TCL" = FAIL; then - echo "checking for libtcl.a" - places="\ -@@ -73,17 +75,22 @@ - /usr/contrib/lib \ - /usr/local/lib \ - /usr/lib \ -- $PWD/../tcl7.5 \ -- /usr/src/local/tcl7.5 \ -- /import/tcl/lib/tcl7.5 \ -+ $PWD/../tcl8.3 \ -+ /usr/src/local/tcl8.3 \ -+ /import/tcl/lib/tcl8.3 \ - " - for dir in $places; do -- if test -r $dir/libtcl7.5.so -o -r $dir/libtcl7.5.a; then -- V_LIB_TCL="-L$dir -ltcl7.5" -- break -- fi -- if test -r $dir/libtcl.so -o -r $dir/libtcl.a; then -- V_LIB_TCL="-L$dir -ltcl" -+ for p in $tclposs; do -+ if test "`echo $dir/lib$p.so*`" != "$dir/lib$p.so*" ; then -+ V_LIB_TCL="-L$dir -l$p" -+ break -+ fi -+ if test -r $dir/lib$p.a ; then -+ V_LIB_TCL="-L$dir -l$p" -+ break -+ fi -+ done -+ if test "$V_LIB_TCL" != FAIL; then - break - fi - done -@@ -98,15 +105,16 @@ - fi - echo "checking for tcl/init.tcl" - V_LIBRARY_TCL=FAIL -- places="/usr/local/lib/tcl7.5 \ -- /usr/contrib/lib/tcl7.5 \ -- /usr/lib/tcl7.5 \ -- /usr/lib/tk/tcl7.5 \ -- /import/tcl/lib/tcl7.5 \ -- $prefix/lib/tcl7.5 \ -- $x_libraries/tcl7.5 \ -+ places="/usr/local/lib/tcl8.3 \ -+ /usr/contrib/lib/tcl8.3 \ -+ /usr/lib/tcl8.3 \ -+ /usr/lib/tk/tcl8.3 \ -+ /import/tcl/lib/tcl8.3 \ -+ $prefix/lib/tcl8.3 \ -+ $x_libraries/tcl8.3 \ - /usr/local/lib/tcl \ - /usr/lib/tcl \ -+ /usr/libdata/tcl \ - /usr/lib/tk/tcl \ - /import/tcl/lib/tcl \ - $prefix/lib/tcl \ -@@ -128,6 +136,7 @@ - AC_SUBST(V_LIBRARY_TCL) - - AC_ARG_WITH(tk, --with-tk=path specify a pathname for tk, d=$withval, d="") -+tkposs="tk8.3 tk83 tk" - if test "$d" != "" ; then - if test ! -d $d ; then - echo "'$d' is not a directory" -@@ -138,22 +147,22 @@ - echo "can't find tk.h in $d/include" - exit 1 - fi -- places="$d/lib/libtk4.1.so \ -- $d/lib/libtk4.1.a \ -- $d/lib/libtk.so \ -- $d/lib/libtk.a" - V_LIB_TK=FAIL -- for dir in $places; do -- if test -r $dir ; then -- V_LIB_TK=$dir -+ for p in $tkposs; do -+ if test "`echo $d/lib/lib$p.so*`" != "$d/lib/lib$p.so*" ; then -+ V_LIB_TK="-L$d/lib -l$p" -+ break -+ fi -+ if test -r $d/lib/lib$p.a ; then -+ V_LIB_TK="-L$d/lib -l$p" - break - fi - done -- if test $V_LIB_TK = FAIL ; then -+ if test "$V_LIB_TK" = FAIL ; then - echo "can't find libtk.a in $d/lib" - exit 1 - fi -- places="$d/lib/tk4.1 \ -+ places="$d/lib/tk8.3 \ - $d/lib/tk" - V_LIBRARY_TK=FAIL - for dir in $places; do -@@ -174,14 +183,15 @@ - places="\ - $prefix/include \ - /usr/local/include \ -+ /usr/local/include/tk8.3 \ - /usr/contrib/include \ - /usr/include/tcl \ - /usr/include\ - $x_includes/tk \ - $x_includes \ -- $PWD/../tk4.1 \ -- /usr/src/local/tk4.1 \ -- /import/tcl/include/tk4.1 \ -+ $PWD/../tk8.3 \ -+ /usr/src/local/tk8.3 \ -+ /import/tcl/include/tk8.3 \ - " - for dir in $places; do - if test -r $dir/tk.h ; then -@@ -194,7 +204,7 @@ - exit 1 - fi - fi -- AC_CHECK_LIB(tk4.1, main, V_LIB_TK="-ltk4.1", V_LIB_TK="FAIL") -+ AC_CHECK_LIB(tk8.3, main, V_LIB_TK="-ltk8.3", V_LIB_TK="FAIL") - if test "$V_LIB_TK" = FAIL; then - echo "checking for libtk.a" - places="/usr/local/lib \ -@@ -202,17 +212,22 @@ - /usr/lib \ - /usr/lib/tk \ - /import/tcl/lib \ -- $PWD/../tk4.1 \ -- /usr/src/local/tk4.1 \ -+ $PWD/../tk8.3 \ -+ /usr/src/local/tk8.3 \ - $prefix/lib \ - $x_libraries" - for dir in $places; do -- if test -r $dir/libtk4.1.so -o -r $dir/libtk4.1.a; then -- V_LIB_TK="-L$dir -ltk4.1" -- break -- fi -- if test -r $dir/libtk.so -o -r $dir/libtk.a; then -- V_LIB_TK="-L$dir -ltk" -+ for p in $tkposs; do -+ if test "`echo $dir/lib$p.so*`" != "$dir/lib$p.so*" ; then -+ V_LIB_TK="-L$dir -l$p" -+ break -+ fi -+ if test -r $dir/lib$p.a ; then -+ V_LIB_TK="-L$dir -l$p" -+ break -+ fi -+ done -+ if test "$V_LIB_TK" != FAIL; then - break - fi - done -@@ -227,15 +242,15 @@ - fi - echo "checking for tk/tk.tcl" - V_LIBRARY_TK=FAIL -- places="/usr/local/lib/tk4.1 \ -- /usr/contrib/lib/tk4.1 \ -- /usr/lib/tk4.1 \ -- /usr/lib/tk/tk4.1 \ -- /import/tcl/lib/tk4.1 \ -- $prefix/lib/tk4.1 \ -- $x_libraries/tk4.1 \ -- $PWD/../tk4.1/library \ -- /usr/src/local/tk4.1/library \ -+ places="/usr/local/lib/tk8.3 \ -+ /usr/contrib/lib/tk8.3 \ -+ /usr/lib/tk8.3 \ -+ /usr/lib/tk/tk8.3 \ -+ /import/tcl/lib/tk8.3 \ -+ $prefix/lib/tk8.3 \ -+ $x_libraries/tk8.3 \ -+ $PWD/../tk8.3/library \ -+ /usr/src/local/tk8.3/library \ - /usr/local/lib/tk \ - /usr/lib/tk \ - /usr/lib/tk/tk \ diff --git a/audio/vat/files/patch-ab b/audio/vat/files/patch-ab deleted file mode 100644 index 8424b66fc784..000000000000 --- a/audio/vat/files/patch-ab +++ /dev/null @@ -1,136 +0,0 @@ ---- tkStripchart.c.orig Tue Sep 9 11:00:42 1997 -+++ tkStripchart.c Tue Sep 9 10:52:30 1997 -@@ -148,7 +148,7 @@ - int scrollrequired; - int guarantee_draw; - int grow_up; -- XFontStruct *fontPtr; /* Information about text font, or NULL. */ -+ Tk_Font tkfont; /* Information about text font, or NULL. */ - XColor *textColorPtr; /* Color for drawing text. */ - GC textGC; /* GC for drawing text. */ - XColor *tickColorPtr; /* Color for drawing ticks. */ -@@ -257,7 +257,7 @@ - {TK_CONFIG_SYNONYM, "-fg", "stripcolor", 0, - 0, 0, 0}, - {TK_CONFIG_FONT, "-font", "font", "Font", -- DEF_STRIPCHART_FONT, Tk_Offset(Stripchart, fontPtr), -+ DEF_STRIPCHART_FONT, Tk_Offset(Stripchart, tkfont), - 0}, - {TK_CONFIG_BOOLEAN, "-guaranteedrawing", "guaranteedrawing", - "Guaranteedrawing", DEF_GUARANTEE_DRAW, -@@ -570,8 +570,8 @@ - if (StripchartPtr->value != NULL) - free(StripchartPtr->value); - -- if (StripchartPtr->fontPtr != NULL) -- Tk_FreeFontStruct(StripchartPtr->fontPtr); -+ if (StripchartPtr->tkfont != NULL) -+ Tk_FreeFont(StripchartPtr->tkfont); - - if (StripchartPtr->textColorPtr != NULL) - Tk_FreeColor(StripchartPtr->textColorPtr); -@@ -631,7 +631,7 @@ - - Tk_SetBackgroundFromBorder(StripchartPtr->tkwin, StripchartPtr->border); - -- gcValues.font = StripchartPtr->fontPtr->fid; -+ gcValues.font = Tk_FontId(StripchartPtr->tkfont); - gcValues.foreground = StripchartPtr->textColorPtr->pixel; - newGC = Tk_GetGC(StripchartPtr->tkwin, GCForeground|GCFont, &gcValues); - if (StripchartPtr->textGC != None && StripchartPtr->tkwin) { -@@ -692,8 +692,11 @@ - { - int tt = hasatitle(StripchartPtr); - int bd = StripchartPtr->borderWidth; -- int lineHeight = StripchartPtr->fontPtr->ascent + -- StripchartPtr->fontPtr->descent; -+ Tk_FontMetrics fm; -+ int lineHeight; -+ -+ Tk_GetFontMetrics(StripchartPtr->tkfont, &fm); -+ lineHeight = fm.ascent + fm.descent; - - Tk_GeometryRequest(StripchartPtr->tkwin, - 2 * (bd + PADDING) + StripchartPtr->num_strips * -@@ -726,11 +729,13 @@ - /* - * Variable declarations used in the title drawing routines - */ -- XFontStruct *fp = StripchartPtr->fontPtr; -- XCharStruct bbox; -- int x, dummy; -- int lineHeight = StripchartPtr->fontPtr->ascent + -- StripchartPtr->fontPtr->descent; -+ Tk_Font tkf = StripchartPtr->tkfont; -+ int x; -+ Tk_FontMetrics fm; -+ int lineHeight; -+ -+ Tk_GetFontMetrics(tkf, &fm); -+ lineHeight = fm.ascent + fm.descent; - - StripchartPtr->displaybits &= ~REDRAW_PENDING; - if ((StripchartPtr->tkwin == NULL) || !Tk_IsMapped(tkwin)) -@@ -747,18 +752,17 @@ - * space. Otherwise left justified and clipped on the right. - */ - if (tt && StripchartPtr->displaybits & DISPLAY_TITLE) { -- XTextExtents(fp, StripchartPtr->title, -- strlen(StripchartPtr->title), -- &dummy, &dummy, &dummy, &bbox); -- if (bbox.lbearing + bbox.rbearing < Tk_Width(tkwin) - 2 * bd) -- x = (Tk_Width(tkwin) - bbox.lbearing - bbox.rbearing)/2; -+ int width = Tk_TextWidth(tkf, StripchartPtr->title, -+ strlen(StripchartPtr->title)); -+ if (width < Tk_Width(tkwin) - 2 * bd) -+ x = (Tk_Width(tkwin) - width)/2; - else - x = bd + PADDING; - - XClearArea(Tk_Display(tkwin), Tk_WindowId(tkwin), bd, bd, - Tk_Width(tkwin) - 2 * bd, lineHeight + PADDING, False); - XDrawString(Tk_Display(tkwin), Tk_WindowId(tkwin), -- StripchartPtr->textGC, x, fp->max_bounds.ascent + bd, -+ StripchartPtr->textGC, x, fm.ascent + bd, /*XXX no max_bounds */ - StripchartPtr->title, strlen(StripchartPtr->title)); - } - /* -@@ -1057,7 +1061,8 @@ - DrawStripi(Stripchart* SPtr, int i) - { - Tk_Window tkwin = SPtr->tkwin; -- int lineHeight = SPtr->fontPtr->ascent + SPtr->fontPtr->descent; -+ Tk_FontMetrics fm; -+ int lineHeight; - int x = SPtr->borderWidth + PADDING + (i - 1) * SPtr->strip_width; - int y = SPtr->borderWidth + PADDING + - hasatitle(SPtr) * (lineHeight + PADDING); -@@ -1066,6 +1071,9 @@ - double maxv = SPtr->max_value; - double minv = SPtr->min_value; - -+ Tk_GetFontMetrics(SPtr->tkfont, &fm); -+ lineHeight = fm.ascent + fm.descent; -+ - if (i < 1 || i > SPtr->num_strips) - return; - -@@ -1136,7 +1144,8 @@ - ScrollStrips(Stripchart* SPtr) - { - Tk_Window tkwin = SPtr->tkwin; -- int lineHeight = SPtr->fontPtr->ascent + SPtr->fontPtr->descent; -+ Tk_FontMetrics fm; -+ int lineHeight; - int src_x = SPtr->borderWidth + PADDING + SPtr->strip_width; - int src_y = SPtr->borderWidth + PADDING + - hasatitle(SPtr) * (lineHeight + PADDING); -@@ -1144,6 +1153,8 @@ - int dest_y = src_y; - int w = (SPtr->num_strips - 1) * SPtr->strip_width; - int h = SPtr->max_height; -+ -+ Tk_GetFontMetrics(SPtr->tkfont, &fm); - - XCopyArea(Tk_Display(tkwin), Tk_WindowId(tkwin), Tk_WindowId(tkwin), - Tk_GetGC(tkwin, 0, NULL), src_x, src_y, w, h, dest_x, dest_y); diff --git a/audio/vat/files/patch-ac b/audio/vat/files/patch-ac deleted file mode 100644 index 42144397d299..000000000000 --- a/audio/vat/files/patch-ac +++ /dev/null @@ -1,11 +0,0 @@ ---- main.cc.orig Tue Sep 9 11:17:10 1997 -+++ main.cc Tue Sep 9 11:17:31 1997 -@@ -162,7 +162,7 @@ - else { - Tk_Window tk = t.tkmain(); - Tk_Uid uid = Tk_GetUid((char*)argv[1]); -- XFontStruct* p = Tk_GetFontStruct(t.interp(), tk, uid); -+ Tk_Font p = Tk_GetFont(t.interp(), tk, uid); - t.result(p != 0 ? "1" : "0"); - } - return (TCL_OK); diff --git a/audio/vat/files/patch-ad b/audio/vat/files/patch-ad deleted file mode 100644 index 8577e53a9883..000000000000 --- a/audio/vat/files/patch-ad +++ /dev/null @@ -1,70 +0,0 @@ ---- sitebox.cc.orig Tue Sep 9 11:24:41 1997 -+++ sitebox.cc Tue Sep 9 11:24:43 1997 -@@ -112,7 +112,7 @@ - static Drawable pixmap_; - static int pixw_; - static int pixh_; -- static XFontStruct* fs_; /* font metrics */ -+ static Tk_Font fs_; /* font metrics */ - }; - - class SiteBox : public TkWidget, public IdleCallback { -@@ -160,7 +160,7 @@ - GC Site::copy_gc_; - GC Site::fg_[4]; - GC Site::bg_[4]; --XFontStruct* Site::fs_; -+Tk_Font Site::fs_; - XColor* Site::fc_; - XColor* Site::bc_; - XColor* Site::ac_; -@@ -190,15 +190,16 @@ - sitebox_(sb) - { - Tcl& tcl = Tcl::instance(); -+ Tk_FontMetrics fm; - if (fs_ == 0) { - const char* font = tcl.attr("siteFont"); -- fs_ = Tk_GetFontStruct(tcl.interp(), tk_, (char*)font); -+ fs_ = Tk_GetFont(tcl.interp(), tk_, (char*)font); - if (fs_ == 0) { - fprintf(stderr, - "vat: couldn't find font: %s\n", font); -- fs_ = Tk_GetFontStruct(tcl.interp(), tk_, "screen"); -+ fs_ = Tk_GetFont(tcl.interp(), tk_, "screen"); - if (fs_ == 0) -- fs_ = Tk_GetFontStruct(tcl.interp(), tk_, -+ fs_ = Tk_GetFont(tcl.interp(), tk_, - "fixed"); - if (fs_ == 0) { - fprintf(stderr, -@@ -220,8 +221,9 @@ - - copy_gc_ = sitebox_.lookup_gc(0, 0, 0); - } -- descent_ = fs_->descent; -- ascent_ = fs_->ascent; -+ Tk_GetFontMetrics(fs_, &fm); -+ descent_ = fm.descent; -+ ascent_ = fm.ascent; - major_ = ascent_; - minor_ = major_ / 2; - } -@@ -292,7 +294,7 @@ - */ - inline int Site::textwidth(const char* s) - { -- return (XTextWidth(fs_, s, strlen(s))); -+ return (Tk_TextWidth(fs_, s, strlen(s))); - } - - inline void Site::square(Display* dpy, Drawable window, GC gc, -@@ -450,7 +452,7 @@ - free_gc(bg_[0]); - free_gc(bg_[1]); - } -- Font fid = fs_->fid; -+ Font fid = Tk_FontId(fs_); - fg_[0] = raw_gc(fid, fc_, bc_, pixmap_); - fg_[2] = raw_gc(fid, dc_, bc_, pixmap_); - bg_[0] = raw_gc(fid, bc_, bc_, pixmap_); diff --git a/audio/vat/files/patch-ae b/audio/vat/files/patch-ae deleted file mode 100644 index 6ac2e51801f1..000000000000 --- a/audio/vat/files/patch-ae +++ /dev/null @@ -1,79 +0,0 @@ ---- Tcl.h.orig Sat Mar 16 13:14:34 1996 -+++ Tcl.h Tue Dec 17 14:39:45 1996 -@@ -53,7 +53,8 @@ - inline int dark() const { return (tcl_ == 0); } - inline Tcl_Interp* interp() const { return (tcl_); } - inline char* result() const { return (tcl_->result); } -- inline void result(const char* p) { tcl_->result = (char*)p; } -+ inline void result(const char* p, Tcl_FreeProc* freeProc = TCL_STATIC) -+ { Tcl_SetResult(tcl_, (char *)p, freeProc); } - void resultf(const char* fmt, ...); - inline void CreateCommand(const char* cmd, Tcl_CmdProc* cproc, - ClientData cd = 0, ---- source.cc.orig Thu Apr 4 07:05:45 1996 -+++ source.cc Tue Dec 17 14:38:44 1996 -@@ -251,8 +251,7 @@ - return (TCL_OK); - } - if (strcmp(argv[1], "addr") == 0) { -- strcpy(wrk, InetNtoa(addr_)); -- tcl.result(wrk); -+ tcl.result(InetNtoa(addr_), TCL_DYNAMIC); - return (TCL_OK); - } - if (strcmp(argv[1], "srcid") == 0) { ---- Tcl.cc.orig Tue Apr 2 20:53:27 1996 -+++ Tcl.cc Tue Dec 17 15:45:30 1996 -@@ -65,6 +65,7 @@ - { - instance_.tcl_ = tcl; - instance_.application_ = application; -+ Tcl_Init(tcl); - } - - void Tcl::evalc(const char* s) -@@ -162,6 +163,8 @@ - Tcl& tcl = Tcl::instance(); - if (!tcl.dark()) - tcl.DeleteCommand(name_); -+ if (name_ != 0) -+ delete name_; - TclObject** p; - for (p = &all_; *p != this; p = &(*p)->next_) - ; -@@ -197,8 +200,9 @@ - void TclObject::setproc(const char* s) - { - Tcl& tcl = Tcl::instance(); -- if (name_ != 0 && !tcl.dark()) { -- tcl.DeleteCommand(name_); -+ if (name_ != 0) { -+ if (!tcl.dark()) -+ tcl.DeleteCommand(name_); - delete name_; - } - int n = strlen(s); ---- sitebox.cc.orig 1997/01/07 22:48:27 -+++ sitebox.cc 1997/01/07 23:27:35 -@@ -230,6 +230,10 @@ - - Site::~Site() - { -+ if (text_) -+ delete text_; -+ if (tag_) -+ delete tag_; - } - - int Site::command(int argc, const char*const* argv) -@@ -638,8 +642,8 @@ - need_sort_ = 0; - - Tcl& tcl = Tcl::instance(); -- Tk_Uid fg = mono()? "black" : (char*)tcl.attr("foreground"); -- Tk_Uid bg = mono()? "white" : (char*)tcl.attr("background"); -+ Tk_Uid fg = mono()? (char*)"black" : (char*)tcl.attr("foreground"); -+ Tk_Uid bg = mono()? (char*)"white" : (char*)tcl.attr("background"); - fg_ = lookup_gc(0, fg, bg); - bg_ = lookup_gc(0, bg, bg); - } diff --git a/audio/vat/files/patch-af b/audio/vat/files/patch-af deleted file mode 100644 index 85e74ea80447..000000000000 --- a/audio/vat/files/patch-af +++ /dev/null @@ -1,128 +0,0 @@ ---- net.cc.orig Thu Mar 21 03:49:18 1996 -+++ net.cc Sun Dec 3 19:04:01 2006 -@@ -163,46 +163,49 @@ - { - int cc = ::send(fd, (char*)buf, len, 0); - if (cc < 0) { -- switch (errno) { -+ /* -+ * Due to a bug in kern/uipc_socket.c, on several -+ * systems, datagram sockets incorrectly persist -+ * in an error state on receipt of any ICMP -+ * error. This causes unicast connection -+ * rendezvous problems, and worse, multicast -+ * transmission problems because several systems -+ * incorrectly send port unreachables for -+ * multicast destinations. Our work around -+ * is to call getsockopt(..., SO_ERROR, ...) -+ * which resets so->so_error. -+ * -+ * This bug originated at CSRG in Berkeley -+ * and was present in the BSD Reno networking -+ * code release. It has since been fixed -+ * in OSF-3.x. It is know to remain -+ * in 4.4BSD and AIX-4.1.3. -+ * -+ * A fix is to change the following lines from -+ * kern/uipc_socket.c: -+ * -+ * if (so_serror) -+ * snderr(so->so_error); -+ * -+ * to: -+ * -+ * if (so->so_error) { -+ * error = so->so_error; -+ * so->so_error = 0; -+ * splx(s); -+ * goto release; -+ * } -+ * -+ */ -+ int err, savederrno; -+ socklen_t errlen = sizeof(err); -+ -+ savederrno = errno; -+ getsockopt(fd, SOL_SOCKET, SO_ERROR, &err, -+ &errlen); -+ switch (savederrno) { - case ECONNREFUSED: - /* no one listening at some site - ignore */ --#if defined(__osf__) || defined(_AIX) -- /* -- * Due to a bug in kern/uipc_socket.c, on several -- * systems, datagram sockets incorrectly persist -- * in an error state on receipt of an ICMP -- * port-unreachable. This causes unicast connection -- * rendezvous problems, and worse, multicast -- * transmission problems because several systems -- * incorrectly send port unreachables for -- * multicast destinations. Our work around -- * is to simply close and reopen the socket -- * (by calling reset() below). -- * -- * This bug originated at CSRG in Berkeley -- * and was present in the BSD Reno networking -- * code release. It has since been fixed -- * in 4.4BSD and OSF-3.x. It is know to remain -- * in AIX-4.1.3. -- * -- * A fix is to change the following lines from -- * kern/uipc_socket.c: -- * -- * if (so_serror) -- * snderr(so->so_error); -- * -- * to: -- * -- * if (so->so_error) { -- * error = so->so_error; -- * so->so_error = 0; -- * splx(s); -- * goto release; -- * } -- * -- */ -- reset(); --#endif - break; - - case ENETUNREACH: -@@ -217,7 +220,7 @@ - * icmp unreachable, so we should be able to - * send now. - */ -- (void)::send(ssock_, (char*)buf, len, 0); -+ (void)::send(fd, (char*)buf, len, 0); - break; - - default: -@@ -264,12 +267,15 @@ - } - int cc = ::sendmsg(ssock_, (msghdr*)&mh, 0); - if (cc < 0) { -- switch (errno) { -+ int err, savederrno; -+ socklen_t errlen = sizeof(err); -+ -+ savederrno = errno; -+ getsockopt(ssock_, SOL_SOCKET, SO_ERROR, &err, -+ &errlen); -+ switch (savederrno) { - case ECONNREFUSED: - /* no one listening at some site - ignore */ --#if defined(__osf__) || defined(_AIX) -- reset(); --#endif - break; - - case ENETUNREACH: -@@ -297,7 +303,7 @@ - int Network::dorecv(u_char* buf, int len, u_int32_t& from, int fd) - { - sockaddr_in sfrom; -- int fromlen = sizeof(sfrom); -+ socklen_t fromlen = sizeof(sfrom); - int cc = ::recvfrom(fd, (char*)buf, len, 0, - (sockaddr*)&sfrom, &fromlen); - if (cc < 0) { diff --git a/audio/vat/files/patch-ag b/audio/vat/files/patch-ag deleted file mode 100644 index c4735e351557..000000000000 --- a/audio/vat/files/patch-ag +++ /dev/null @@ -1,45 +0,0 @@ ---- ui-resource.tcl.orig Tue Mar 12 07:32:56 1996 -+++ ui-resource.tcl Thu Feb 19 10:48:04 1998 -@@ -111,32 +111,24 @@ - # - option add *tearOff 0 - -- # -- # Make the color scheme a little darker than the default gray. -- # Go through all the palette resources and raise the option data -- # base priority from widgetDefault to 61 so that user's X resources -- # won't override these. -- # -- tk_setPalette gray80 -- foreach option [array names tkPalette] { -- option add *$option $tkPalette($option) 61 -- } -- - option add *highlightThickness 0 - - option add *Radiobutton.relief flat startupFile - option add *Checkbutton.anchor w startupFile - option add *Radiobutton.anchor w startupFile - option add *Radiobutton.relief flat startupFile -- option add *Scale.sliderForeground gray66 startupFile -- option add *Scale.activeForeground gray80 startupFile -- option add *Scale.background gray70 startupFile - -- # vat widgets -- option add Vat.disabledColor gray50 startupFile -- option add Vat.highlightColor gray95 startupFile -+ # add color defaults for vat widgets - where possible, use -+ # the platform specific values compiled into tk widgets -+ scale .junk -+ option add *foreground [.junk cget -foreground] widgetDefault -+ option add *background [.junk cget -background] widgetDefault -+ option add *activeBackground [.junk cget -activebackground] widgetDefault -+ destroy .junk -+ -+ option add *highlightColor white widgetDefault - option add Vat.infoHighlightColor LightYellow2 startupFile -- option add *VatVU.foreground black startupFile -+ option add Vat.disabledColor gray50 startupFile - option add *VatVU.peak gray50 startupFile - option add *VatVU.hot firebrick1 startupFile - option add *VatVU.hotLevel 90 startupFile diff --git a/audio/vat/files/patch-ah b/audio/vat/files/patch-ah deleted file mode 100644 index 596513307334..000000000000 --- a/audio/vat/files/patch-ah +++ /dev/null @@ -1,577 +0,0 @@ ---- audio-voxware.cc.orig Fri Apr 26 05:22:37 1996 -+++ audio-voxware.cc Sat May 10 00:15:51 2003 -@@ -1,4 +1,6 @@ - /* -+ * Modifications (C) 1997-1998 by Luigi Rizzo and others. -+ * - * Copyright (c) 1991-1993 Regents of the University of California. - * All rights reserved. - * -@@ -33,31 +35,43 @@ - static const char rcsid[] = - "@(#) $Header: audio-voxware.cc,v 1.10 96/04/26 05:22:05 van Exp $ (LBL)"; - --#include <string.h> --#include <sys/fcntl.h> --#include <errno.h> --#if defined(sco) || defined(__bsdi__) --#include <sys/socket.h> --#endif --#if defined(__FreeBSD__) --#include <sys/types.h> --#include <sys/uio.h> --#include <unistd.h> --#include <machine/soundcard.h> -+ -+/* -+ * Full Duplex audio module for the new sound driver and full duplex -+ * cards. Luigi Rizzo, from original sources supplied by Amancio Hasty. -+ * -+ * This includes some enhancements: -+ * - the audio device to use can be in the AUDIODEV env. variable. -+ * It can be either a unit number or a full pathname; -+ * - use whatever format is available from the card (included split -+ * format e.g. for the sb16); -+ * - limit the maximum size of the playout queue to approx 4 frames; -+ * this is necessary if the write channel is slower than expected; -+ * the fix is based on two new ioctls, AIOGCAP and AIONWRITE, -+ * but the code should compile with the old driver as well. -+ */ -+ -+#if !defined(__FreeBSD__) || (__FreeBSD__ < 4) -+#include <osfcn.h> - #else --#include <sys/soundcard.h> -+#include <fcntl.h> - #endif -+#include <sys/soundcard.h> - #include "audio.h" -+#include "mulaw.h" - #include "Tcl.h" - - #define ULAW_ZERO 0x7f -+ -+/* for use in the Voxware driver */ - #define ABUFLOG2 8 --#define ABUFLEN (1 << ABUFLOG2) - #define NFRAG 5 - --class VoxWareAudio : public Audio { -+extern const u_char lintomulawX[]; -+ -+class VoxWare : public Audio { - public: -- VoxWareAudio(); -+ VoxWare(); - virtual int FrameReady(); - virtual u_char* Read(); - virtual void Write(u_char *); -@@ -66,163 +80,415 @@ - virtual void OutputPort(int); - virtual void InputPort(int); - virtual void Obtain(); -+ virtual void Release(); - virtual void RMute(); - virtual void RUnmute(); - virtual int HalfDuplex() const; - protected: -+ int ext_fd; /* source for external file */ - -- u_char* readptr; -- u_char* readbufend; - u_char* readbuf; -+ u_short *s16_buf; -+ -+ int play_fmt ; -+ int is_half_duplex ; -+ -+ // new sound driver -+ int rec_fmt ; /* the sb16 has split format... */ -+ snd_capabilities soundcaps; - -- u_char* ubufptr; -- u_char* ubufend; -- u_char* ubuf; -- -- u_char* writeptr; -- u_char* writebufend; -- u_char* writebuf; - }; - --static class VoxWareAudioMatcher : public Matcher { -+static class VoxWareMatcher : public Matcher { - public: -- VoxWareAudioMatcher() : Matcher("audio") {} -+ VoxWareMatcher() : Matcher("audio") {} - TclObject* match(const char* fmt) { - if (strcmp(fmt, "voxware") == 0) -- return (new VoxWareAudio); -- else -+ return (new VoxWare); - return (0); - } --} voxware_audio_matcher; -+} linux_audio_matcher; - --VoxWareAudio::VoxWareAudio() -+VoxWare::VoxWare() - { -- readbuf = new u_char[ABUFLEN]; -- readptr = readbufend = readbuf + ABUFLEN; -+ readbuf = new u_char[blksize]; -+ s16_buf = new u_short[blksize]; - -- writeptr = writebuf = new u_char[ABUFLEN]; -- writebufend = writebuf + ABUFLEN; -+ memset(readbuf, ULAW_ZERO, blksize); - -- ubufptr = ubuf = new u_char[blksize]; -- ubufend = ubuf + blksize; -- memset(ubuf, ULAW_ZERO, blksize); -+ ext_fd = -1 ; /* no external audio */ -+ iports = 4; /* number of input ports */ - } - --int VoxWareAudio::HalfDuplex() const -+void -+VoxWare::Obtain() - { -- /*XXX change this if full duplex audio device available*/ -- return 1; --} -+ char *thedev; -+ char buf[64]; -+ int d = -1; - --void VoxWareAudio::Obtain() --{ - if (HaveAudio()) - abort(); -- -- fd = open("/dev/audio", O_RDWR|O_NDELAY); -+ is_half_duplex = 0 ; -+ /* -+ * variable AUDIODEV has the name of the audio device. -+ * With the new audio driver, the main device can also control -+ * the mixer, so there is no need to carry two descriptors around. -+ */ -+ thedev=getenv("AUDIODEV"); -+ if (thedev==NULL) -+ thedev="/dev/audio"; -+ else if ( thedev[0] >= '0' && thedev[0] <= '9' ) { -+ d = atoi(thedev); -+ sprintf(buf,"/dev/audio%d", d); -+ thedev = buf ; -+ } -+ fd = open(thedev, O_RDWR ); - if (fd >= 0) { -- int on = 1; -- ioctl(fd, FIONBIO, &on); -+ int i = -1 ; -+ u_long fmt = 0 ; -+ int rate = 8000 ; -+ -+ snd_chan_param pa; -+ struct snd_size sz; -+ i = ioctl(fd, AIOGCAP, &soundcaps); -+ fmt = soundcaps.formats ; /* can be invalid, check later */ -+ -+ play_fmt = AFMT_MU_LAW ; -+ rec_fmt = AFMT_MU_LAW ; -+ -+ if (i == -1 ) { /* setup code for old voxware driver */ -+ i = ioctl(fd, SNDCTL_DSP_GETFMTS, &fmt); -+ fmt &= AFMT_MU_LAW ; /* only use mu-law */ -+ fmt |= AFMT_FULLDUPLEX ; -+ if ( i < 0 ) { /* even voxware driver failed, try with pcaudio */ -+ fmt = AFMT_MU_LAW | AFMT_WEIRD ; -+ } -+ } -+ switch (soundcaps.formats & (AFMT_FULLDUPLEX | AFMT_WEIRD)) { -+ case AFMT_FULLDUPLEX : -+ /* -+ * this entry for cards with decent full duplex. Use s16 -+ * preferably (some are broken in ulaw) or ulaw or u8 otherwise. -+ */ -+ if (fmt & AFMT_S16_LE) -+ play_fmt = rec_fmt = AFMT_S16_LE ; -+ else if (soundcaps.formats & AFMT_MU_LAW) -+ play_fmt = rec_fmt = AFMT_MU_LAW ; -+ else if (soundcaps.formats & AFMT_U8) -+ play_fmt = rec_fmt = AFMT_U8 ; -+ else { -+ printf("sorry, no supported formats\n"); -+ close(fd); -+ fd = -1 ; -+ return; -+ } -+ break ; -+ case AFMT_FULLDUPLEX | AFMT_WEIRD : -+ /* this is the sb16... */ -+ if (fmt & AFMT_S16_LE) { -+ play_fmt = AFMT_U8 ; -+ rec_fmt = AFMT_S16_LE; -+ } else { -+ printf("sorry, no supported formats\n"); -+ close(fd); -+ fd = -1 ; -+ return; -+ } -+ break ; -+ default : -+ printf("sorry don't know how to deal with this card\n"); -+ close (fd); -+ fd = -1; -+ return; -+ } - -- int frag = (NFRAG << 16) | ABUFLOG2; -- ioctl(fd, SNDCTL_DSP_SETFRAGMENT, &frag); --#ifdef fullduplex -+ pa.play_format = play_fmt ; -+ pa.rec_format = rec_fmt ; -+ pa.play_rate = pa.rec_rate = rate ; -+ ioctl(fd, AIOSFMT, &pa); /* if this fails, also AIOSSIZE will.. */ -+ sz.play_size = (play_fmt == AFMT_S16_LE) ? 2*blksize : blksize; -+ sz.rec_size = (rec_fmt == AFMT_S16_LE) ? 2*blksize : blksize; -+ i = ioctl(fd, AIOSSIZE, &sz); -+ -+ /* -+ * Set the line input level to 0 to avoid loopback if the mic -+ * is connected to the line-in port (e.g. through an echo -+ * canceller). -+ */ -+ int v = 0; -+ (void)ioctl(fd, MIXER_WRITE(SOUND_MIXER_LINE), &v); -+ // restore hardware settings in case some other vat changed them -+ InputPort(iport); -+ SetRGain(rgain); -+ SetPGain(pgain); -+ -+ if ( i < 0 ) { // if AIOSSIZE fails, maybe this is a Voxware driver -+ ioctl(fd, SNDCTL_DSP_SPEED, &rate); -+ ioctl(fd, SNDCTL_DSP_SETFMT, &play_fmt); // same for play/rec -+ d = (play_fmt == AFMT_S16_LE) ? 2*blksize : blksize; -+ ioctl(fd, SNDCTL_DSP_SETBLKSIZE, &d); -+ read(fd, &i, 1); /* dummy read to start read engine */ -+ } - Audio::Obtain(); --#else -- notify(); --#endif -+ } else { -+ fprintf(stderr, "failed to open rw...\n"); -+ fd = open(thedev, O_WRONLY ); -+ fprintf(stderr, "open wronly returns %d\n", fd); -+ is_half_duplex = 1 ; -+ play_fmt = rec_fmt = AFMT_MU_LAW ; -+ notify(); /* XXX */ - } - } - --void VoxWareAudio::Write(u_char *cp) -+/* -+ * note: HalfDuplex() uses a modified function of the new driver, -+ * which will return AFMT_FULLDUPLEX set in SNDCTL_DSP_GETFMTS -+ * for full-duplex devices. In the old driver this was 0 so -+ * the default is to use half-duplex for them. Note also that I have -+ * not tested half-duplex operation. -+ */ -+int -+VoxWare::HalfDuplex() const - { -- if (HaveAudio() && (rmute & 1) != 0) { -- register u_char *cpend = cp + blksize; -- register u_char *wbuf = writeptr; -- register u_char *wend = writebufend; -- for ( ; cp < cpend; cp += 4) { -- wbuf[0] = cp[0]; -- wbuf[1] = cp[1]; -- wbuf[2] = cp[2]; -- wbuf[3] = cp[3]; -- wbuf += 4; -- if (wbuf >= wend) { -- wbuf = writebuf; -- if (write(fd, (char*)wbuf, ABUFLEN) != ABUFLEN) -- perror("aud write"); -- } -- } -- writeptr = wbuf; -+ int i, probed_duplex = 0; -+ -+ /* newpcm style */ -+#ifdef SNDCTL_DSP_GETCAPS -+ ioctl(fd, SNDCTL_DSP_GETCAPS, &i); -+ probed_duplex |= (i & DSP_CAP_DUPLEX); -+#endif /* SNDCTL_DSP_GETCAPS */ -+ -+ /* pcm style */ -+#ifdef SNDCTL_DSP_GETFMTS -+ ioctl(fd, SNDCTL_DSP_GETFMTS, &i); -+ probed_duplex |= (i & AFMT_FULLDUPLEX); -+#endif /* SNDCTL_DSP_GETFMTS */ -+ -+ if (is_half_duplex || (probed_duplex == 0)) { -+ fprintf(stderr, "HalfDuplex returns 1\n"); -+ return 1 ; - } -+ -+ return 0; - } - --int VoxWareAudio::FrameReady() -+void VoxWare::Release() - { -- if ((rmute & 1) == 0) { -- register u_char* cp = ubufptr; -- register u_char* cpend = ubufend; -- register u_char* rbuf = readptr; -- register u_char* rend = readbufend; -- -- for ( ; cp < cpend; cp += 4) { -- if (rbuf >= rend) { -- rbuf = readbuf; -- int cc = read(fd, (char*)rbuf, ABUFLEN); -- if (cc <= 0) { -- ubufptr = cp; -- readbufend = rbuf; -- if (cc == -1 && errno != EAGAIN) { -- Release(); -- Obtain(); -- } -- return (0); -+ if (HaveAudio()) { -+ Audio::Release(); - } -- readbufend = rend = rbuf + cc; - } -- cp[0] = rbuf[0]; -- cp[1] = rbuf[1]; -- cp[2] = rbuf[2]; -- cp[3] = rbuf[3]; -- rbuf += 4; -+ -+void VoxWare::Write(u_char *cp) -+{ -+ int i = blksize, l; -+ if (play_fmt == AFMT_S16_LE) { -+ for (i=0; i< blksize; i++) -+ s16_buf[i] = mulawtolin[cp[i]] ; -+ cp = (u_char *)s16_buf; -+ i = 2 *blksize ; -+ } else if (play_fmt == AFMT_S8) { -+ for (i=0; i< blksize; i++) { -+ int x = mulawtolin[cp[i]] ; -+ x = (x >> 8 ) & 0xff; -+ cp[i] = (u_char)x ; -+ } -+ i = blksize ; -+ } else if (play_fmt == AFMT_U8) { -+ for (i=0; i< blksize; i++) { -+ int x = mulawtolin[cp[i]] ; -+ /* -+ * when translating to 8-bit formats, it would be useful to -+ * implement AGC to avoid loss of resolution in the conversion. -+ * This code is still incomplete... -+ */ -+#if 0 /* AGC -- still not complete... */ -+ static int peak = 0; -+ if (x < 0) x = -x ; -+ if (x > peak) peak = ( peak*16 + x - peak ) / 16 ; -+ else peak = ( peak*8192 + x - peak ) / 8192 ; -+ if (peak < 128) peak = 128 ; -+ /* at this point peak is in the range 128..32k -+ * samples can be scaled and clipped consequently. -+ */ -+ x = x * 32768/peak ; -+ if (x > 32767) x = 32767; -+ else if (x < -32768) x = -32768; -+#endif -+ x = (x >> 8 ) & 0xff; -+ x = (x ^ 0x80) & 0xff ; -+ cp[i] = (u_char)x ; -+ } -+ i = blksize ; -+ } -+#if 0 -+ // this code is meant to keep the queue short. -+ int r, queued; -+ r = ioctl(fd, AIONWRITE, &queued); -+ queued = soundcaps.bufsize - queued ; -+ if (play_fmt == AFMT_S16_LE) { -+ if (queued > 8*blksize) -+ i -= 8 ; -+ } else { -+ if (queued > 4*blksize) -+ i -= 4 ; - } -- readptr = rbuf; -+#endif -+ for ( ; i > 0 ; i -= l) { -+ l = write(fd, cp, i); -+ cp += l; - } -- return (1); - } - --u_char* VoxWareAudio::Read() -+u_char* VoxWare::Read() - { -- u_char* cp = ubuf; -- ubufptr = cp; -- return (cp); -+ u_char* cp; -+ int l=0, l0 = blksize, i = blksize; -+ -+ cp = readbuf; -+ -+ if (rec_fmt == AFMT_S16_LE) { -+ cp = (u_char *)s16_buf; -+ l0 = i = 2 *blksize ; -+ } -+ for ( ; i > 0 ; i -= l ) { -+ l = read(fd, cp, i); -+ if (l<0) break; -+ cp += l ; -+ } -+ if (rec_fmt == AFMT_S16_LE) { -+ for (i=0; i< blksize; i++) { -+#if 1 /* remove DC component... */ -+ static int smean = 0 ; /* smoothed mean to remove DC */ -+ int dif = ((short) s16_buf[i]) - (smean >> 13) ; -+ smean += dif ; -+ readbuf[i] = lintomulawX[ dif & 0x1ffff ] ; -+#else -+ readbuf[i] = lintomulaw[ s16_buf[i] ] ; -+#endif -+ } -+ } -+ else if (rec_fmt == AFMT_S8) { -+ for (i=0; i< blksize; i++) -+ readbuf[i] = lintomulaw[ readbuf[i]<<8 ] ; -+ } -+ else if (rec_fmt == AFMT_U8) { -+ for (i=0; i< blksize; i++) -+ readbuf[i] = lintomulaw[ (readbuf[i]<<8) ^ 0x8000 ] ; -+ } -+ if (iport == 3) { -+ l = read(ext_fd, readbuf, blksize); -+ if (l < blksize) { -+ lseek(ext_fd, (off_t) 0, 0); -+ read(ext_fd, readbuf+l, blksize - l); -+ } -+ } -+ return readbuf; - } - --void VoxWareAudio::SetRGain(int level) -+/* -+ * should check that I HaveAudio() before trying to set gain. -+ * -+ * In most mixer devices, there is only a master volume control on -+ * the capture channel, so the following code does not really work -+ * as expected. The only (partial) exception is the MIC line, where -+ * there is generally a 20dB boost which can be enabled or not -+ * depending on the type of device. -+ */ -+void VoxWare::SetRGain(int level) - { -+ double x = level; -+ level = (int) (x/2.56); -+ int foo = (level<<8) | level; -+ if (!HaveAudio()) -+ Obtain(); -+ switch (iport) { -+ case 2: -+ case 1: -+ break; -+ case 0: -+ if (ioctl(fd, MIXER_WRITE(SOUND_MIXER_MIC), &foo) == -1) -+ printf("failed to set mic volume \n"); -+ break; -+ } -+ /* IGAIN tends to be found on SB-like mixers, RECLEV on AC97 */ -+ if ((ioctl(fd, MIXER_WRITE(SOUND_MIXER_IGAIN), &foo) == -1) && -+ (ioctl(fd, MIXER_WRITE(SOUND_MIXER_RECLEV), &foo) == -1)) -+ printf("failed set input line volume \n"); - rgain = level; - } - --void VoxWareAudio::SetPGain(int level) -+void VoxWare::SetPGain(int level) - { -+ float x = level; -+ level = (int) (x/2.56); -+ int foo = (level<<8) | level; -+ if (ioctl(fd, MIXER_WRITE(SOUND_MIXER_PCM), &foo) == -1) { -+ printf("failed to output level %d \n", level); -+ } - pgain = level; - } - --void VoxWareAudio::OutputPort(int p) -+void VoxWare::OutputPort(int p) - { - oport = p; - } - --void VoxWareAudio::InputPort(int p) -+void VoxWare::InputPort(int p) - { -+ int src = 0; -+ -+ if (ext_fd >= 0 && p != 3) { -+ close(ext_fd); -+ ext_fd = -1 ; -+ } -+ -+ switch(p) { -+ case 3: -+ if (ext_fd == -1) -+ ext_fd = open(ext_fname, 0); -+ if (ext_fd != -1) -+ lseek(ext_fd, (off_t) 0, 0); -+ break; -+ case 2: -+ src = 1 << SOUND_MIXER_LINE; -+ break; -+ case 1: /* cd ... */ -+ src = 1 << SOUND_MIXER_CD; -+ break; -+ case 0 : -+ src = 1 << SOUND_MIXER_MIC; -+ break; -+ } -+ if ( ioctl(fd, SOUND_MIXER_WRITE_RECSRC, &src) == -1 ) { -+ printf("failed to select input \n"); -+ p = 0; -+ } - iport = p; - } - --void VoxWareAudio::RMute() -+void VoxWare::RMute() - { - rmute |= 1; - } - --void VoxWareAudio::RUnmute() -+void VoxWare::RUnmute() - { - rmute &=~ 1; - } -+ -+/* -+ * FrameReady must return 0 every so often, or the system will keep -+ * processing mike data and not other events. -+ */ -+int VoxWare::FrameReady() -+{ -+ int i, l = 0; -+ int lim = blksize; -+ -+ i = ioctl(fd, FIONREAD, &l ); -+ if (rec_fmt == AFMT_S16_LE) lim = 2*blksize; -+ return (l >= lim) ? 1 : 0 ; -+} -+/*** end of file ***/ diff --git a/audio/vat/files/patch-ai b/audio/vat/files/patch-ai deleted file mode 100644 index 15a8677d87c7..000000000000 --- a/audio/vat/files/patch-ai +++ /dev/null @@ -1,20 +0,0 @@ ---- iohandler.cc.orig Sun Nov 28 18:49:59 1999 -+++ iohandler.cc Sun Nov 28 18:50:46 1999 -@@ -132,7 +132,7 @@ - - } - #else -- Tk_CreateFileHandler((ClientData)fd, mask, callback, (ClientData)this); -+ Tk_CreateFileHandler(fd, mask, callback, (ClientData)this); - #endif - } - -@@ -151,7 +151,7 @@ - } - #else - if (fd_ >= 0) { -- Tk_DeleteFileHandler((ClientData)fd_); -+ Tk_DeleteFileHandler(fd_); - fd_ = -1; - } - #endif diff --git a/audio/vat/files/patch-aj b/audio/vat/files/patch-aj deleted file mode 100644 index 5ee097c986d3..000000000000 --- a/audio/vat/files/patch-aj +++ /dev/null @@ -1,11 +0,0 @@ ---- Makefile.in.orig Thu Jan 27 18:55:52 2000 -+++ Makefile.in Thu Jan 27 18:56:07 2000 -@@ -39,7 +39,7 @@ - all: $(ALL) - - .cc.o: -- rm -f $@; $(C++) -c $(CFLAGS) $*.cc -+ rm -f $@; $(C++) -pedantic -c $(CFLAGS) $*.cc - - .c.o: - rm -f $@; $(CC) -o $@ -c $(CFLAGS) $*.c diff --git a/audio/vat/files/patch-ak b/audio/vat/files/patch-ak deleted file mode 100644 index d45528e48bc6..000000000000 --- a/audio/vat/files/patch-ak +++ /dev/null @@ -1,21 +0,0 @@ ---- old/audio.cc Fri May 3 13:27:20 1996 -+++ audio.cc Thu Apr 16 21:36:33 1998 -@@ -70,6 +70,7 @@ - filter(new Filter(this)), - handler_(0) - { -+ ext_fname[0]='\0'; - for (u_int i = 0; i < sizeof(omode)/sizeof(omode[0]); ++i) - omode[i] = mode_mikemutesnet; - } -@@ -479,6 +480,10 @@ - *cp++ = '\0'; - return (TCL_OK); - } -+ } else if (strcmp(argv[1], "filename") == 0) { -+ strncpy(ext_fname, argv[2], sizeof(ext_fname)); -+ InputPort(input_line3); -+ return (TCL_OK); - } - } else if (argc == 4) { - if (strcmp(argv[1], "input") == 0) { diff --git a/audio/vat/files/patch-al b/audio/vat/files/patch-al deleted file mode 100644 index 1ce8088f62c8..000000000000 --- a/audio/vat/files/patch-al +++ /dev/null @@ -1,10 +0,0 @@ ---- old/audio.h Fri Apr 26 12:00:44 1996 -+++ audio.h Fri Feb 20 13:44:01 1998 -@@ -158,6 +158,7 @@ - int rgain, pgain; - Filter *filter; - AudioHandler* handler_; -+ char ext_fname[256]; - }; - - #endif diff --git a/audio/vat/files/patch-am b/audio/vat/files/patch-am deleted file mode 100644 index b3d22bbf4ed4..000000000000 --- a/audio/vat/files/patch-am +++ /dev/null @@ -1,22 +0,0 @@ ---- old/bitmaps/linein3.xbm Fri May 3 12:18:11 1996 -+++ bitmaps/linein3.xbm Wed Oct 29 11:07:34 1997 -@@ -1,11 +1,11 @@ - #define linein3_width 30 - #define linein3_height 24 - static char linein3_bits[] = { -- 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x3e, 0x00, -- 0x00, 0x80, 0xff, 0x00, 0x00, 0xe0, 0xc1, 0x03, 0x00, 0x70, 0x04, 0x07, -- 0x00, 0x30, 0x0c, 0x06, 0x00, 0x18, 0x18, 0x0c, 0x00, 0x18, 0x30, 0x0c, -- 0x00, 0x0c, 0x60, 0x18, 0xe0, 0xff, 0xff, 0x18, 0xe0, 0xff, 0xff, 0x19, -- 0xe0, 0xff, 0xff, 0x18, 0x00, 0x0c, 0x60, 0x18, 0x00, 0x18, 0x30, 0x0c, -- 0x18, 0x18, 0x18, 0x0c, 0x24, 0x30, 0x0c, 0x06, 0x20, 0x70, 0x04, 0x07, -- 0x18, 0xe0, 0xc1, 0x03, 0x10, 0x80, 0xff, 0x00, 0x20, 0x00, 0x3e, 0x00, -- 0x24, 0x00, 0x00, 0x00, 0x18, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; -+ 0x00, 0x00, 0x00, 0x00, 0x7c, 0x1b, 0x3e, 0x00, 0x0c, 0x1b, 0x06, 0x00, -+ 0x0c, 0x1b, 0x06, 0x00, 0x3c, 0x1b, 0x1e, 0x00, 0x0c, 0x1b, 0x06, 0x00, -+ 0x0c, 0x1b, 0x06, 0x00, 0x0c, 0xfb, 0x3e, 0x00, 0x00, 0x00, 0x00, 0x00, -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, -+ 0x00, 0x00, 0x00, 0x00, 0x00, 0x07, 0x70, 0x00, 0x80, 0x0f, 0xf8, 0x00, -+ 0xc0, 0x18, 0x8c, 0x01, 0x60, 0x30, 0x06, 0x03, 0x60, 0x30, 0x06, 0x03, -+ 0x60, 0x30, 0x06, 0x03, 0xc0, 0x18, 0x8c, 0x01, 0x80, 0xff, 0xff, 0x00, -+ 0x00, 0xff, 0x7f, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; diff --git a/audio/vat/files/patch-an b/audio/vat/files/patch-an deleted file mode 100644 index 108d0e8ac475..000000000000 --- a/audio/vat/files/patch-an +++ /dev/null @@ -1,45 +0,0 @@ ---- old/ui-main.tcl Fri May 3 13:27:22 1996 -+++ ui-main.tcl Sat Feb 21 06:02:59 1998 -@@ -373,9 +373,9 @@ - } - mk.obuttons $w.frame.buttons - frame $w.frame.ssthresh -- # mk.ssthresh $w.frame.ssthresh -- #pack $w.frame.radios $w.frame.buttons $w.frame.ssthresh \ -- # -anchor c -pady 4 -+ mk.ssthresh $w.frame.ssthresh -+ pack $w.frame.radios $w.frame.buttons $w.frame.ssthresh \ -+ -anchor c -pady 4 - pack $w.frame.radios $w.frame.buttons \ - -anchor c -pady 4 - pack $w.label $w.frame -expand 1 -fill x -@@ -515,6 +515,12 @@ - return 0 - } - -+proc update_filename { w s } { -+ set s [string trim $s] -+ audio filename $s -+ return 0 -+} -+ - proc mk.entries { w } { - global sessionKey confName - set sessionKey [option get . sessionKey Vat] -@@ -913,6 +919,16 @@ - set a .m.right - frame $a.ab - mk.ab $a.ab -+ -+### XXX -+ set f [ctrlfont] -+ frame .m.file -+ label .m.file.label -text "AU File: " -font $f -+ mk.entry .m.file update_filename "" -+ .m.file.entry configure -width 30 -+ pack .m.file.label -side left -+ pack .m.file.entry -side left -expand 1 -fill x -pady 2 -+ pack .m.file -fill x - - bind . c purge_sources - bind . C purge_sources diff --git a/audio/vat/files/patch-ao b/audio/vat/files/patch-ao deleted file mode 100644 index d249ce21269c..000000000000 --- a/audio/vat/files/patch-ao +++ /dev/null @@ -1,10 +0,0 @@ ---- configure.in.orig Thu Jan 23 18:20:46 2003 -+++ configure.in Thu Jan 23 18:21:05 2003 -@@ -153,6 +153,7 @@ - ;; - *-*-freebsd*) - V_OBJ_AUDIO="$V_OBJ_AUDIO audio-voxware.o" -+ V_DEFINE="$V_DEFINE -DSIGARGS=int" - ;; - *-*-sco*) - V_DEFINE="$V_DEFINE -DSIGARGS=int -Dsco" diff --git a/audio/vat/files/patch-ap b/audio/vat/files/patch-ap deleted file mode 100644 index 178e46540170..000000000000 --- a/audio/vat/files/patch-ap +++ /dev/null @@ -1,11 +0,0 @@ ---- net-ip.cc.orig Thu May 16 05:28:06 1996 -+++ net-ip.cc Sun Dec 3 19:04:50 2006 -@@ -203,7 +203,7 @@ - { - memset((char *)p, 0, sizeof(*p)); - p->sin_family = AF_INET; -- int len = sizeof(*p); -+ socklen_t len = sizeof(*p); - if (getsockname(ssock_, (struct sockaddr *)p, &len) < 0) { - perror("getsockname"); - p->sin_addr.s_addr = 0; diff --git a/audio/vat/pkg-descr b/audio/vat/pkg-descr deleted file mode 100644 index 4c043e7dca5e..000000000000 --- a/audio/vat/pkg-descr +++ /dev/null @@ -1,4 +0,0 @@ -Vat allows users to conduct host-to-host or multihost audio -teleconferences over an internet. - -WWW: http://www-nrg.ee.lbl.gov/vat/ diff --git a/audio/xspeakfree/Makefile b/audio/xspeakfree/Makefile deleted file mode 100644 index b885d245147f..000000000000 --- a/audio/xspeakfree/Makefile +++ /dev/null @@ -1,40 +0,0 @@ -# New ports collection makefile for: xspeakfree -# Date created: 08 Nov 2003 -# Whom: Travis Poppe <tlp@liquidx.org> -# -# $FreeBSD$ -# - -PORTNAME= xspeakfree -PORTVERSION= 0.8.2 -PORTREVISION= 3 -CATEGORIES= mbone net audio -MASTER_SITES= http://www.liquidx.org/distfiles/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Tcl/Tk (wish) frontend to Speak Freely - -RUN_DEPENDS= ${LOCALBASE}/bin/wish8.4:${PORTSDIR}/x11-toolkits/tk84 \ - ${LOCALBASE}/bin/sfmike:${PORTSDIR}/mbone/speak_freely - -NO_BUILD= yes - -.ifndef NOPORTDOCS -PORTDOCS= BUGS HISTORY INSTALL LICENSE README TODO -.endif - -post-patch: - @${REINPLACE_CMD} -e 's|wish|wish8.4|' ${WRKSRC}/bin/xspeakfree - -do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/bin/xspeakfree ${PREFIX}/bin/xspeakfree - ${MKDIR} ${PREFIX}/lib/xspeakfree - ${INSTALL_DATA} ${WRKSRC}/lib/xspeakfree/* ${PREFIX}/lib/xspeakfree -.ifndef NOPORTDOCS - ${MKDIR} ${DOCSDIR} -.for FILE in ${PORTDOCS} - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR} -.endfor -.endif - -.include <bsd.port.mk> diff --git a/audio/xspeakfree/distinfo b/audio/xspeakfree/distinfo deleted file mode 100644 index 24b01e7513e8..000000000000 --- a/audio/xspeakfree/distinfo +++ /dev/null @@ -1,3 +0,0 @@ -MD5 (xspeakfree-0.8.2.tar.gz) = d2bf1a47a56acea1ef64ddf66cd28220 -SHA256 (xspeakfree-0.8.2.tar.gz) = eb3cfb7b7a5bbbe9d7a1d098b2bccfb0ff6bb9f937c1a5046ee74cd8122f7ae2 -SIZE (xspeakfree-0.8.2.tar.gz) = 47853 diff --git a/audio/xspeakfree/pkg-descr b/audio/xspeakfree/pkg-descr deleted file mode 100644 index 66dc727b93d2..000000000000 --- a/audio/xspeakfree/pkg-descr +++ /dev/null @@ -1,3 +0,0 @@ -xspeakfree is a Tcl/Tk (wish) frontend to Speak Freely. - -WWW: http://www.spearce.org/projects/xspeakfree/ diff --git a/audio/xspeakfree/pkg-plist b/audio/xspeakfree/pkg-plist deleted file mode 100644 index cb03efb870e0..000000000000 --- a/audio/xspeakfree/pkg-plist +++ /dev/null @@ -1,11 +0,0 @@ -bin/xspeakfree -lib/xspeakfree/busy.au -lib/xspeakfree/cmd.tcl -lib/xspeakfree/gui.tcl -lib/xspeakfree/newdialog.tcl -lib/xspeakfree/open3.tcl -lib/xspeakfree/ring.au -lib/xspeakfree/siteconf.tcl -lib/xspeakfree/xspeakfree-version.tcl -lib/xspeakfree/xspeakfree.tcl -@dirrm lib/xspeakfree |