From owner-freebsd-ports-bugs@FreeBSD.ORG Wed Jun 18 12:20:04 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 83253106564A for ; Wed, 18 Jun 2008 12:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 57CEB8FC19 for ; Wed, 18 Jun 2008 12:20:04 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m5ICK4vn067715 for ; Wed, 18 Jun 2008 12:20:04 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m5ICK4HV067713; Wed, 18 Jun 2008 12:20:04 GMT (envelope-from gnats) Resent-Date: Wed, 18 Jun 2008 12:20:04 GMT Resent-Message-Id: <200806181220.m5ICK4HV067713@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Dmitry Marakasov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6BED5106566B for ; Wed, 18 Jun 2008 12:14:37 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from cp65.agava.net (cp65.agava.net [89.108.66.215]) by mx1.freebsd.org (Postfix) with ESMTP id EF8828FC0C for ; Wed, 18 Jun 2008 12:14:36 +0000 (UTC) (envelope-from amdmi3@amdmi3.ru) Received: from [213.148.20.85] (helo=hive.panopticon) by cp65.agava.net with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.63 (FreeBSD)) (envelope-from ) id 1K8wfl-000ILT-Tk for FreeBSD-gnats-submit@freebsd.org; Wed, 18 Jun 2008 16:21:57 +0400 Received: from hades.panopticon (hades.panopticon [192.168.0.32]) by hive.panopticon (Postfix) with ESMTP id 9F8268B2A for ; Wed, 18 Jun 2008 16:13:17 +0400 (MSD) Received: by hades.panopticon (Postfix, from userid 1000) id 927511702D; Wed, 18 Jun 2008 16:14:55 +0400 (MSD) Message-Id: <20080618121455.927511702D@hades.panopticon> Date: Wed, 18 Jun 2008 16:14:55 +0400 (MSD) From: Dmitry Marakasov To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/124710: [NEW PORT] audio/audiere: High-level audio API X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Dmitry Marakasov List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Jun 2008 12:20:04 -0000 >Number: 124710 >Category: ports >Synopsis: [NEW PORT] audio/audiere: High-level audio API >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jun 18 12:20:04 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Dmitry Marakasov >Release: FreeBSD 7.0-RELEASE-p1 i386 >Organization: >Environment: System: FreeBSD hades.panopticon 7.0-RELEASE-p1 FreeBSD 7.0-RELEASE-p1 #0: Fri Apr 25 11:18:45 MSD 2008 root@hades.panopticon:/usr/obj/usr/src/sys/HADES i386 >Description: Note: this PR depends on ports/124502 (move devel/dumb to audio/) --- Audiere is a high-level audio API. It can play Ogg Vorbis, MP3, FLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio output, Audiere supports DirectSound or WinMM in Windows, OSS on Linux and Cygwin, and SGI AL on IRIX. Audiere is open source and licensed under the LGPL. This means that you may freely use Audiere in commercial products, as long as you do not modify the source code. If you do modify Audiere and release a product that uses your modifications, you must release your changes to the code under the LGPL as well. Audiere is portable. It is tested on Windows, Linux-i386, Cygwin, and IRIX with at least three major compilers. Most of Audiere is endian-independent, so I expect it would work with few modifications on other architectures. WWW: http://audiere.sourceforge.net/ >How-To-Repeat: >Fix: --- audiere-1.9.4.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # audiere # audiere/Makefile # audiere/distinfo # audiere/pkg-descr # audiere/pkg-plist # audiere/files # audiere/files/patch-src-speexfile-speexfile.cpp # echo c - audiere mkdir -p audiere > /dev/null 2>&1 echo x - audiere/Makefile sed 's/^X//' >audiere/Makefile << 'END-of-audiere/Makefile' X# New ports collection makefile for: audiere X# Date created: 12 Sep 2007 X# Whom: Dmitry Marakasov X# X# $FreeBSD$ X# X XPORTNAME= audiere XPORTVERSION= 1.9.4 XCATEGORIES= audio XMASTER_SITES= SF X XMAINTAINER= amdmi3@amdmi3.ru XCOMMENT= High-level audio API X XGNU_CONFIGURE= yes XUSE_GMAKE= yes XWANT_WX= yes XUSE_AUTOTOOLS= autoconf:261 XUSE_LDCONFIG= yes X XCONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \ X CPPFLAGS="-I${LOCALBASE}/include/speex -I${LOCALBASE}/include" \ X PTHREAD_LIBS="${PTHREAD_LIBS}" PTHREAD_CFLAGS="${PTHREAD_CFLAGS}" X XPORTDOCS= changelog.txt cvs.txt dependencies.txt faq.txt glossary.txt \ X license.txt overview.txt readme.txt release-howto.txt \ X tutorial.txt X XCONFIGURE_REPLACES='s|wx_config|no_&|' X XOPTIONS= DUMB "Enable DUMB support" on \ X CDAUDIO "Enable libcdaudio support" on \ X VORBIS "Enable ogg vorbis support" on \ X SPEEX "Enable speex support" on X# FLAC "Enable FLAC support" on X X.include X X# Broken with latest FLAC X#.if !defined(WITHOUT_FLAC) X#LIB_DEPENDS+= FLAC:${PORTSDIR}/audio/flac X#.else XCONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|FLAC|no_&|' X#.endif X X.if !defined(WITHOUT_DUMB) XBUILD_DEPENDS+= ${LOCALBASE}/lib/libdumb.a:${PORTSDIR}/audio/dumb X.else XCONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|dumb|no_&|' X.endif X X.if !defined(WITHOUT_CDAUDIO) XLIB_DEPENDS+= cdaudio.1:${PORTSDIR}/audio/libcdaudio X.else XCONFIGURE_REPLACES+='/AC_CHECK_LIB/ s|cdaudio|no_&|' X.endif X X.if !defined(WITHOUT_VORBIS) XLIB_DEPENDS+= vorbis.4:${PORTSDIR}/audio/libvorbis \ X ogg.5:${PORTSDIR}/audio/libogg X.else XCONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|vorbis|no_&|' X.endif X X.if !defined(WITHOUT_SPEEX) XLIB_DEPENDS+= speex.1:${PORTSDIR}/audio/speex X.else XCONFIGURE_REPLACES+='/AC_CHECK_HEADER/ s|speex|no_&|' X.endif X Xpost-patch: X @${REINPLACE_CMD} ${CONFIGURE_REPLACES:C/.*/-e &/} \ X -e 's|-lpthread|${PTHREAD_LIBS}|' \ X ${WRKSRC}/configure.in X X.if !defined(NOPORTDOCS) Xpost-install: X ${MKDIR} ${DOCSDIR} X.for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/doc/${f} ${DOCSDIR} X.endfor X.endif X X.include END-of-audiere/Makefile echo x - audiere/distinfo sed 's/^X//' >audiere/distinfo << 'END-of-audiere/distinfo' XMD5 (audiere-1.9.4.tar.gz) = b95dfe6f1e69cfd12371747f22772766 XSHA256 (audiere-1.9.4.tar.gz) = 74538fbc2f1ef467b3e1376c6ff4e0f40b664fca1dbfb1fcaa2fb823d5f5a219 XSIZE (audiere-1.9.4.tar.gz) = 453279 END-of-audiere/distinfo echo x - audiere/pkg-descr sed 's/^X//' >audiere/pkg-descr << 'END-of-audiere/pkg-descr' XAudiere is a high-level audio API. It can play Ogg Vorbis, MP3, XFLAC, uncompressed WAV, AIFF, MOD, S3M, XM, and IT files. For audio Xoutput, Audiere supports DirectSound or WinMM in Windows, OSS on XLinux and Cygwin, and SGI AL on IRIX. X XAudiere is open source and licensed under the LGPL. This means that Xyou may freely use Audiere in commercial products, as long as you Xdo not modify the source code. If you do modify Audiere and release Xa product that uses your modifications, you must release your changes Xto the code under the LGPL as well. X XAudiere is portable. It is tested on Windows, Linux-i386, Cygwin, Xand IRIX with at least three major compilers. Most of Audiere is Xendian-independent, so I expect it would work with few modifications Xon other architectures. X XWWW: http://audiere.sourceforge.net/ END-of-audiere/pkg-descr echo x - audiere/pkg-plist sed 's/^X//' >audiere/pkg-plist << 'END-of-audiere/pkg-plist' Xbin/audiere-config Xinclude/audiere.h Xlib/libaudiere-1.9.4.so Xlib/libaudiere.a Xlib/libaudiere.la Xlib/libaudiere.so END-of-audiere/pkg-plist echo c - audiere/files mkdir -p audiere/files > /dev/null 2>&1 echo x - audiere/files/patch-src-speexfile-speexfile.cpp sed 's/^X//' >audiere/files/patch-src-speexfile-speexfile.cpp << 'END-of-audiere/files/patch-src-speexfile-speexfile.cpp' X--- src/speexfile/speexfile.cpp.orig 2006-02-14 07:57:01.000000000 +0300 X+++ src/speexfile/speexfile.cpp 2008-06-16 04:56:31.000000000 +0400 X@@ -871,7 +871,7 @@ X void *speexfile::header_to_decoder ( SpeexHeader *header, int enh_enabled, int *frame_size, int *rate, int *nframes, int forceMode, int *channels, SpeexStereoState *stereo ) X { X void *st; X- SpeexMode *mode; X+ const SpeexMode *mode; X SpeexCallback callback; X int modeID; X END-of-audiere/files/patch-src-speexfile-speexfile.cpp exit --- audiere-1.9.4.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: