From owner-freebsd-ports Wed Jan 8 22:30:10 2003 Delivered-To: freebsd-ports@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 221FC37B401 for ; Wed, 8 Jan 2003 22:30:05 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id B2D4643F13 for ; Wed, 8 Jan 2003 22:30:04 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h096U4NS042300 for ; Wed, 8 Jan 2003 22:30:04 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h096U4Gk042299; Wed, 8 Jan 2003 22:30:04 -0800 (PST) Date: Wed, 8 Jan 2003 22:30:04 -0800 (PST) Message-Id: <200301090630.h096U4Gk042299@freefall.freebsd.org> To: freebsd-ports@FreeBSD.org Cc: From: Sean McGovern Subject: Re: ports/46884: new port of FAAD MPEG AAC audio library Reply-To: Sean McGovern Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/46884; it has been noted by GNATS. From: Sean McGovern To: freebsd-gnats-submit@FreeBSD.org Cc: Mario Ferreira Subject: Re: ports/46884: new port of FAAD MPEG AAC audio library Date: Thu, 9 Jan 2003 01:20:43 -0500 Here is the shar (sans HTML-markup this time -- my bad): # 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: # # faad # faad/Makefile # faad/pkg-comment # faad/pkg-descr # faad/pkg-plist # faad/distinfo # faad/files # faad/files/patch-frontend-audio.c # faad/files/patch-configure.in # faad/files/patch-common-mp4v2-configure.in # faad/files/patch-frontend-Makefile.am # echo c - faad mkdir -p faad > /dev/null 2>&1 echo x - faad/Makefile sed 's/^X//' >faad/Makefile << 'END-of-faad/Makefile' X# New ports collection makefile for: faad X# Date created: 8 January 2003 X# Whom: Sean McGovern X# X# $FreeBSD$ X# X XPORTNAME= faad2 XPORTVERSION= 1.1 XCATEGORIES= audio XMASTER_SITES= http://faac.sourceforge.net/files/ X XMAINTAINER= ports@FreeBSD.org X XLIB_DEPENDS= sndfile.1:${PORTSDIR}/audio/libsndfile \ X gnugetopt.1:${PORTSDIR}/devel/libgnugetopt X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_AUTOMAKE_VER= 15 XAUTOMAKE_ARGS= --add-missing XUSE_AUTOCONF= yes X XGNU_CONFIGURE= yes XUSE_GMAKE= yes X XCONFIGURE_TARGET= --build=${ARCH}-portbld-freebsd${OSREL} XCONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \ X LDFLAGS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}" \ X XINSTALLS_SHLIB= yes X Xpre-configure: X cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; libtoolize --automake X X.include END-of-faad/Makefile echo x - faad/pkg-comment sed 's/^X//' >faad/pkg-comment << 'END-of-faad/pkg-comment' XAn MPEG AAC decoding library END-of-faad/pkg-comment echo x - faad/pkg-descr sed 's/^X//' >faad/pkg-descr << 'END-of-faad/pkg-descr' XThis is the FAAD2 MPEG AAC audio decoding library. X XWWW: http://faac.sourceforge.net/ X X- Sean McGovern Xsean@sfarc.net END-of-faad/pkg-descr echo x - faad/pkg-plist sed 's/^X//' >faad/pkg-plist << 'END-of-faad/pkg-plist' Xbin/faad Xinclude/faad.h Xlib/libfaad.so.0 Xlib/libfaad.so Xlib/libfaad.la Xlib/libfaad.a Xlib/libmp4v2.so.0 Xlib/libmp4v2.so Xlib/libmp4v2.la Xlib/libmp4v2.a END-of-faad/pkg-plist echo x - faad/distinfo sed 's/^X//' >faad/distinfo << 'END-of-faad/distinfo' XMD5 (faad2-1.1.tar.gz) = 5a20a6268484dea0e080df47f64b9075 END-of-faad/distinfo echo c - faad/files mkdir -p faad/files > /dev/null 2>&1 echo x - faad/files/patch-frontend-audio.c sed 's/^X//' >faad/files/patch-frontend-audio.c << 'END-of-faad/files/patch-frontend-audio.c' X--- frontend/audio.c.orig Thu Jul 25 08:42:54 2002 X+++ frontend/audio.c Wed Jan 8 20:52:34 2003 X@@ -52,7 +52,7 @@ X break; X } X aufile->sfinfo.channels = channels; X- aufile->sfinfo.samples = 0; X+ aufile->sfinfo.frames = 0; X #ifdef _WIN32 X if(infile[0] == '-') X { END-of-faad/files/patch-frontend-audio.c echo x - faad/files/patch-configure.in sed 's/^X//' >faad/files/patch-configure.in << 'END-of-faad/files/patch-configure.in' X--- configure.in.orig Fri Aug 9 03:23:28 2002 X+++ configure.in Wed Jan 8 19:20:59 2003 X@@ -1,8 +1,9 @@ X-AC_INIT() X+AC_INIT X+AC_CANONICAL_TARGET X AM_INIT_AUTOMAKE(faad,2.0) X X AC_PROG_CC X-AM_PROG_LIBTOOL X+AC_PROG_LIBTOOL X AC_SUBST(LIBTOOL_DEPS) X X dnl Checks for programs. X@@ -29,8 +30,9 @@ X ]) X fi X X-AC_OUTPUT_COMMANDS(,[cd common/mp4v2; aclocal -I .; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -]) X+AC_CONFIG_COMMANDS([default-1],[[]],[[cd common/mp4v2; aclocal -I . -I /usr/local/share/aclocal; autoheader; libtoolize --automake; automake --add-missing; autoconf; cd -]]) X X AC_CONFIG_SUBDIRS(common/mp4v2) X X-AC_OUTPUT(libfaad/Makefile common/Makefile frontend/Makefile Makefile) X+AC_CONFIG_FILES([libfaad/Makefile common/Makefile frontend/Makefile Makefile]) X+AC_OUTPUT END-of-faad/files/patch-configure.in echo x - faad/files/patch-common-mp4v2-configure.in sed 's/^X//' >faad/files/patch-common-mp4v2-configure.in << 'END-of-faad/files/patch-common-mp4v2-configure.in' X--- common/mp4v2/configure.in.orig Wed Jan 8 19:45:23 2003 X+++ common/mp4v2/configure.in Wed Jan 8 19:45:57 2003 X@@ -1,11 +1,12 @@ X AC_INIT() X+AC_CANONICAL_TARGET X AM_INIT_AUTOMAKE(mpeg4ip,0.9.2.8,dummy) X X AC_PROG_CC X AC_PROG_CXX X AC_PROG_INSTALL X X-AM_PROG_LIBTOOL X+AC_PROG_LIBTOOL X X AM_CONFIG_HEADER(config.h) X END-of-faad/files/patch-common-mp4v2-configure.in echo x - faad/files/patch-frontend-Makefile.am sed 's/^X//' >faad/files/patch-frontend-Makefile.am << 'END-of-faad/files/patch-frontend-Makefile.am' X--- frontend/Makefile.am.orig Thu Jul 25 10:22:25 2002 X+++ frontend/Makefile.am Wed Jan 8 21:30:40 2003 X@@ -6,4 +6,4 @@ X CFLAGS = -O2 -D_FILE_OFFSET_BITS=64 X INCLUDES = -I$(top_srcdir)/include -I$(top_srcdir)/common/mp4v2 X LDFLAGS = X-LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile X+LDADD = $(top_builddir)/libfaad/libfaad.la $(top_builddir)/common/mp4v2/libmp4v2.la -lm -lsndfile -lgnugetopt END-of-faad/files/patch-frontend-Makefile.am exit To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message