From amdmi3@amdmi3.ru  Wed Jun 18 12:14:37 2008
Return-Path: <amdmi3@amdmi3.ru>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 6BED5106566B
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <amdmi3@amdmi3.ru>)
	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 <FreeBSD-gnats-submit@freebsd.org>; 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 <amdmi3@amdmi3.ru>
Reply-To: Dmitry Marakasov <amdmi3@amdmi3.ru>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: [NEW PORT] audio/audiere: High-level audio API
X-Send-Pr-Version: 3.113
X-GNATS-Notify:

>Number:         124710
>Category:       ports
>Synopsis:       [NEW PORT] audio/audiere: High-level audio API
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    amdmi3
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 18 12:20:04 UTC 2008
>Closed-Date:    Mon Jun 23 10:25:09 UTC 2008
>Last-Modified:  Mon Jun 23 10:25:09 UTC 2008
>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 <amdmi3@amdmi3.ru>
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 <bsd.port.pre.mk>
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 <bsd.port.post.mk>
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:
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: edwin 
Responsible-Changed-When: Wed Jun 18 12:20:17 UTC 2008 
Responsible-Changed-Why:  
miwi@ wants his PRs (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124710 
Responsible-Changed-From-To: miwi->amdmi3 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Thu Jun 19 13:17:53 UTC 2008 
Responsible-Changed-Why:  
Dmitry is now committer. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124710 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/124710: commit references a PR
Date: Mon, 23 Jun 2008 10:10:14 +0000 (UTC)

 amdmi3      2008-06-23 10:10:09 UTC
 
   FreeBSD ports repository
 
   Modified files:
     audio                Makefile 
   Added files:
     audio/audiere        Makefile distinfo pkg-descr pkg-plist 
     audio/audiere/files  patch-src-speexfile-speexfile.cpp 
   Log:
   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/
   
   PR:             ports/124710
   Approved by:    miwi (mentor)
   
   Revision  Changes    Path
   1.966     +1 -0      ports/audio/Makefile
   1.1       +86 -0     ports/audio/audiere/Makefile (new)
   1.1       +3 -0      ports/audio/audiere/distinfo (new)
   1.1       +11 -0     ports/audio/audiere/files/patch-src-speexfile-speexfile.cpp (new)
   1.1       +17 -0     ports/audio/audiere/pkg-descr (new)
   1.1       +6 -0      ports/audio/audiere/pkg-plist (new)
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
State-Changed-From-To: open->closed 
State-Changed-By: amdmi3 
State-Changed-When: Mon Jun 23 10:25:08 UTC 2008 
State-Changed-Why:  
New port added. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=124710 
>Unformatted:
