Date: Wed, 8 Jan 2003 23:33:20 -0500 From: Sean McGovern <sean@sfarc.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/46884: [NEW PORT] FAAD MPEG AAC audio library Message-ID: <7B359B1E-238B-11D7-BC33-0003930E08D6@sfarc.net>
next in thread | raw e-mail | index | archive | help
>Number: 46884 >Category: ports >Synopsis: new port of FAAD MPEG AAC audio library >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 08 20:40:01 PST 2003 >Closed-Date: >Last-Modified: >Originator: Sean McGovern >Release: FreeBSD >Organization: >Environment: System: FreeBSD sakaki.angeliclayer.ca <color><param>0000,0000,FFFF</param>4.7</color>-STABLE FreeBSD <color><param>0000,0000,FFFF</param>4.7</color>-STABLE <color><param>2323,6E6E,2525</param>#0: Sun Jan 5 17:14:24 EST 2003 root@sakaki.angeliclayer.ca:/usr/obj/usr/src/sys/SAKAKI i386</color> >Description: This is a port of the FAAD MPEG AAC audio decoding library available from http:<color><param>2323,6E6E,2525</param>//faac.sourceforge.net/</color> >How-To-Repeat: >Fix: --- faad.shar begins here --- <color><param>2323,6E6E,2525</param># This is a shell archive. Save it in a file, remove anything before</color> <color><param>2323,6E6E,2525</param># this line, and then unpack it by entering "sh file". Note, it may</color> <color><param>2323,6E6E,2525</param># create directories; files and directories will be owned by you and</color> <color><param>2323,6E6E,2525</param># have default permissions.</color> <color><param>2323,6E6E,2525</param>#</color> <color><param>2323,6E6E,2525</param># This archive contains:</color> <color><param>2323,6E6E,2525</param>#</color> <color><param>2323,6E6E,2525</param># faad</color> <color><param>2323,6E6E,2525</param># faad/Makefile</color> <color><param>2323,6E6E,2525</param># faad/pkg-comment</color> <color><param>2323,6E6E,2525</param># faad/pkg-descr</color> <color><param>2323,6E6E,2525</param># faad/pkg-plist</color> <color><param>2323,6E6E,2525</param># faad/distinfo</color> <color><param>2323,6E6E,2525</param># faad/files</color> <color><param>2323,6E6E,2525</param># faad/files/patch-frontend-audio.c</color> <color><param>2323,6E6E,2525</param># faad/files/patch-configure.in</color> <color><param>2323,6E6E,2525</param># faad/files/patch-common-mp4v2-configure.in</color> <color><param>2323,6E6E,2525</param># faad/files/patch-frontend-Makefile.am</color> <color><param>2323,6E6E,2525</param>#</color> echo c - faad mkdir -p faad > /dev/null <color><param>0000,0000,FFFF</param>2</color>>&<color><param>0000,0000,FFFF</param>1</color> echo x - faad/Makefile sed 's/^X<color><param>2323,6E6E,2525</param>//' >faad/Makefile <<<< 'END-of-faad/Makefile'</color> X<color><param>2323,6E6E,2525</param># New ports collection makefile for: faad</color> X<color><param>2323,6E6E,2525</param># Date created: 8 January 2003</color> X<color><param>2323,6E6E,2525</param># Whom: Sean McGovern <<sean@sfarc.net></color> X<color><param>2323,6E6E,2525</param>#</color> X<color><param>2323,6E6E,2525</param># $FreeBSD$</color> X<color><param>2323,6E6E,2525</param>#</color> X XPORTNAME= faad2 XPORTVERSION= <color><param>0000,0000,FFFF</param>1.1</color> XCATEGORIES= audio XMASTER_SITES= http:<color><param>2323,6E6E,2525</param>//faac.sourceforge.net/files/</color> X XMAINTAINER= ports@FreeBSD.org X XLIB_DEPENDS= sndfile<color><param>0000,0000,FFFF</param>.1</color>:${PORTSDIR}/audio/libsndfile \ X gnugetopt<color><param>0000,0000,FFFF</param>.1</color>:${PORTSDIR}/devel/libgnugetopt X XWRKSRC= ${WRKDIR}/${PORTNAME} X XUSE_AUTOMAKE_VER= <color><param>0000,0000,FFFF</param>15</color> 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=<color><param>8989,1313,1515</param>"-I${LOCALBASE}/include ${PTHREAD_CFLAGS}"</color> \ X LDFLAGS=<color><param>8989,1313,1515</param>"-L${LOCALBASE}/lib ${PTHREAD_LIBS}"</color> \ X XINSTALLS_SHLIB= yes X Xpre-configure: X cd ${WRKSRC}; ${ACLOCAL} -I ${ACLOCAL_DIR} -I .; libtoolize --automake X X.include <<bsd.port.mk> END-of-faad/Makefile echo x - faad/pkg-comment sed 's/^X<color><param>2323,6E6E,2525</param>//' >faad/pkg-comment <<<< 'END-of-faad/pkg-comment'</color> XAn MPEG AAC decoding library END-of-faad/pkg-comment echo x - faad/pkg-descr sed 's/^X<color><param>2323,6E6E,2525</param>//' >faad/pkg-descr <<<< 'END-of-faad/pkg-descr'</color> XThis is the FAAD2 MPEG AAC audio decoding library. X XWWW: http:<color><param>2323,6E6E,2525</param>//faac.sourceforge.net/</color> X X- Sean McGovern Xsean@sfarc.net END-of-faad/pkg-descr echo x - faad/pkg-plist sed 's/^X<color><param>2323,6E6E,2525</param>//' >faad/pkg-plist <<<< 'END-of-faad/pkg-plist'</color> Xbin/faad Xinclude/faad.h Xlib/libfaad.so<color><param>0000,0000,FFFF</param>.0</color> Xlib/libfaad.so Xlib/libfaad.la Xlib/libfaad.a Xlib/libmp4v2.so<color><param>0000,0000,FFFF</param>.0</color> Xlib/libmp4v2.so Xlib/libmp4v2.la Xlib/libmp4v2.a END-of-faad/pkg-plist echo x - faad/distinfo sed 's/^X<color><param>2323,6E6E,2525</param>//' >faad/distinfo <<<< 'END-of-faad/distinfo'</color> XMD5 (faad2<color><param>0000,0000,FFFF</param>-1.1</color>.tar.gz) = <color><param>0000,0000,FFFF</param>5</color>a20a6268484dea0e080df47f64b9075 END-of-faad/distinfo echo c - faad/files mkdir -p faad/files > /dev/null <color><param>0000,0000,FFFF</param>2</color>>&<color><param>0000,0000,FFFF</param>1</color> echo x - faad/files/patch-frontend-audio.c sed 's/^X<color><param>2323,6E6E,2525</param>//' >Release-Note: >Audit-Trail: >Unformatted: --Apple-Mail-4--644908883 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed >Submitter-Id: current-users >Originator: Sean McGovern >Organization: >Confidential: no >Synopsis: new port of FAAD MPEG AAC audio library >Category: ports >Class: change-request >Release: FreeBSD 4.7-STABLE i386 >Environment: System: FreeBSD sakaki.angeliclayer.ca 4.7-STABLE FreeBSD 4.7-STABLE #0: Sun Jan 5 17:14:24 EST 2003 root@sakaki.angeliclayer.ca:/usr/obj/usr/src/sys/SAKAKI i386 >Description: This is a port of the FAAD MPEG AAC audio decoding library available from http://faac.sourceforge.net/ >Fix: --- faad.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: # # 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 <sean@sfarc.net> 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 <bsd.port.mk> 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 --- faad.shar ends here --- --Apple-Mail-4--644908883 Content-Transfer-Encoding: 7bit Content-Type: text/enriched; charset=US-ASCII <fixed> <color><param>0000,0000,FFFF</param>4.7</color>-STABLE i386 >faad/files/patch-frontend-audio.c <<<< 'END-of-faad/files/patch-frontend-audio.c'</color> X--- frontend/audio.c.orig Thu Jul <color><param>0000,0000,FFFF</param>25</color> <color><param>0000,0000,FFFF</param>08</color>:<color><param>0000,0000,FFFF</param>42</color>:<color><param>0000,0000,FFFF</param>54</color> <color><param>0000,0000,FFFF</param>2002</color> X+++ frontend/audio.c Wed Jan <color><param>0000,0000,FFFF</param>8</color> <color><param>0000,0000,FFFF</param>20</color>:<color><param>0000,0000,FFFF</param>52</color>:<color><param>0000,0000,FFFF</param>34</color> <color><param>0000,0000,FFFF</param>2003</color> X@@ <color><param>0000,0000,FFFF</param>-52</color>,<color><param>0000,0000,FFFF</param>7</color> <color><param>0000,0000,FFFF</param>+52</color>,<color><param>0000,0000,FFFF</param>7</color> @@ X break; X } X aufile->sfinfo.channels = channels; X- aufile->sfinfo.samples = <color><param>0000,0000,FFFF</param>0</color>; X+ aufile->sfinfo.frames = <color><param>0000,0000,FFFF</param>0</color>; X <color><param>2323,6E6E,2525</param>#ifdef _WIN32</color> X if(infile[<color><param>0000,0000,FFFF</param>0</color>] == '-') X { END-of-faad/files/patch-frontend-audio.c echo x - faad/files/patch-configure.in sed 's/^X<color><param>2323,6E6E,2525</param>//' >faad/files/patch-configure.in <<<< 'END-of-faad/files/patch-configure.in'</color> X--- configure.in.orig Fri Aug <color><param>0000,0000,FFFF</param>9</color> <color><param>0000,0000,FFFF</param>03</color>:<color><param>0000,0000,FFFF</param>23</color>:<color><param>0000,0000,FFFF</param>28</color> <color><param>0000,0000,FFFF</param>2002</color> X+++ configure.in Wed Jan <color><param>0000,0000,FFFF</param>8</color> <color><param>0000,0000,FFFF</param>19</color>:<color><param>0000,0000,FFFF</param>20</color>:<color><param>0000,0000,FFFF</param>59</color> <color><param>0000,0000,FFFF</param>2003</color> X@@ <color><param>0000,0000,FFFF</param>-1</color>,<color><param>0000,0000,FFFF</param>8</color> <color><param>0000,0000,FFFF</param>+1</color>,<color><param>0000,0000,FFFF</param>9</color> @@ X-AC_INIT() X+AC_INIT X+AC_CANONICAL_TARGET X AM_INIT_AUTOMAKE(faad,<color><param>0000,0000,FFFF</param>2.0</color>) 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@@ <color><param>0000,0000,FFFF</param>-29</color>,<color><param>0000,0000,FFFF</param>8</color> <color><param>0000,0000,FFFF</param>+30</color>,<color><param>0000,0000,FFFF</param>9</color> @@ 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<color><param>0000,0000,FFFF</param>-1</color>],[[]],[[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<color><param>2323,6E6E,2525</param>//' >faad/files/patch-common-mp4v2-configure.in <<<< 'END-of-faad/files/patch-common-mp4v2-configure.in'</color> X--- common/mp4v2/configure.in.orig Wed Jan <color><param>0000,0000,FFFF</param>8</color> <color><param>0000,0000,FFFF</param>19</color>:<color><param>0000,0000,FFFF</param>45</color>:<color><param>0000,0000,FFFF</param>23</color> <color><param>0000,0000,FFFF</param>2003</color> X+++ common/mp4v2/configure.in Wed Jan <color><param>0000,0000,FFFF</param>8</color> <color><param>0000,0000,FFFF</param>19</color>:<color><param>0000,0000,FFFF</param>45</color>:<color><param>0000,0000,FFFF</param>57</color> <color><param>0000,0000,FFFF</param>2003</color> X@@ <color><param>0000,0000,FFFF</param>-1</color>,<color><param>0000,0000,FFFF</param>11</color> <color><param>0000,0000,FFFF</param>+1</color>,<color><param>0000,0000,FFFF</param>12</color> @@ X AC_INIT() X+AC_CANONICAL_TARGET X AM_INIT_AUTOMAKE(mpeg4ip,<color><param>0000,0000,FFFF</param>0.9.2.8</color>,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<color><param>2323,6E6E,2525</param>//' >faad/files/patch-frontend-Makefile.am <<<< 'END-of-faad/files/patch-frontend-Makefile.am'</color> X--- frontend/Makefile.am.orig Thu Jul <color><param>0000,0000,FFFF</param>25</color> <color><param>0000,0000,FFFF</param>10</color>:<color><param>0000,0000,FFFF</param>22</color>:<color><param>0000,0000,FFFF</param>25</color> <color><param>0000,0000,FFFF</param>2002</color> X+++ frontend/Makefile.am Wed Jan <color><param>0000,0000,FFFF</param>8</color> <color><param>0000,0000,FFFF</param>21</color>:<color><param>0000,0000,FFFF</param>30</color>:<color><param>0000,0000,FFFF</param>40</color> <color><param>0000,0000,FFFF</param>2003</color> X@@ <color><param>0000,0000,FFFF</param>-6</color>,<color><param>0000,0000,FFFF</param>4</color> <color><param>0000,0000,FFFF</param>+6</color>,<color><param>0000,0000,FFFF</param>4</color> @@ X CFLAGS = -O2 -D_FILE_OFFSET_BITS=<color><param>0000,0000,FFFF</param>64</color> 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 --- faad.shar ends here --- </fixed> --Apple-Mail-4--644908883-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7B359B1E-238B-11D7-BC33-0003930E08D6>