diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2002-01-16 14:42:33 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2002-01-16 14:42:33 +0000 |
commit | 4d71f07b6f28e4e43ce7988bd84e1069910edf37 (patch) | |
tree | a98221ba45e4c4dff45e3e0b4149b6bb271e3923 | |
parent | Remove vorbis metaport which has outlived any usefulness it ever had. (diff) |
Upgrade to Ogg Vorbis RC3.
PR: 33727, 33728, 33729, 33731
Notes
Notes:
svn path=/head/; revision=53173
-rw-r--r-- | audio/libao/Makefile | 8 | ||||
-rw-r--r-- | audio/libao/distinfo | 2 | ||||
-rw-r--r-- | audio/libao/pkg-plist | 15 | ||||
-rw-r--r-- | audio/libogg/Makefile | 8 | ||||
-rw-r--r-- | audio/libogg/distinfo | 2 | ||||
-rw-r--r-- | audio/libogg/pkg-plist | 7 | ||||
-rw-r--r-- | audio/libvorbis/Makefile | 12 | ||||
-rw-r--r-- | audio/libvorbis/distinfo | 2 | ||||
-rw-r--r-- | audio/libvorbis/files/patch-configure | 45 | ||||
-rw-r--r-- | audio/libvorbis/files/patch-lib_floor1.c | 14 | ||||
-rw-r--r-- | audio/libvorbis/files/patch-lib_psy.c | 167 | ||||
-rw-r--r-- | audio/libvorbis/pkg-plist | 14 | ||||
-rw-r--r-- | audio/vorbis-tools/Makefile | 24 | ||||
-rw-r--r-- | audio/vorbis-tools/distinfo | 2 | ||||
-rw-r--r-- | audio/vorbis-tools/files/patch-configure | 25 | ||||
-rw-r--r-- | audio/vorbis-tools/files/patch-ogg123::buffer.c | 17 | ||||
-rw-r--r-- | audio/vorbis-tools/files/patch-oggenc::man::oggenc.1 | 25 |
17 files changed, 139 insertions, 250 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile index 6dd9eecca09b..9ba44e0f9014 100644 --- a/audio/libao/Makefile +++ b/audio/libao/Makefile @@ -6,15 +6,17 @@ # PORTNAME= libao -PORTVERSION= 0.8.0 +PORTVERSION= 0.8.2 CATEGORIES= audio -MASTER_SITES= http://www.vorbis.com/files/rc2/unix/ +MASTER_SITES= http://www.xiph.org/ogg/vorbis/download/ \ + http://www.vorbis.com/files/rc2/unix/ \ + http://www.oddsock.org/vorbisrc3/files/rc3/unix/ MAINTAINER= naddy@FreeBSD.org WANT_ESOUND= yes -USE_LIBTOOL= yes +GNU_CONFIGURE= yes INSTALLS_SHLIB= yes .if defined(NOPORTDOCS) diff --git a/audio/libao/distinfo b/audio/libao/distinfo index 6547e363a8fb..af5e64ea9611 100644 --- a/audio/libao/distinfo +++ b/audio/libao/distinfo @@ -1 +1 @@ -MD5 (libao-0.8.0.tar.gz) = e387df473b23e3cd15d2d8fbb5b5d236 +MD5 (libao-0.8.2.tar.gz) = 98b4eca7851a6650e639b9858db89e6e diff --git a/audio/libao/pkg-plist b/audio/libao/pkg-plist index 85c717e3d00a..b5c4bf68ca8d 100644 --- a/audio/libao/pkg-plist +++ b/audio/libao/pkg-plist @@ -2,11 +2,15 @@ include/ao/ao.h include/ao/os_types.h include/ao/plugin.h +lib/libao.a +lib/libao.la lib/libao.so -lib/libao.so.2 -%%ARTS%%lib/ao/libarts.so -lib/ao/liboss.so -%%ESOUND%%lib/ao/libesd.so +lib/libao.so.3 +%%ARTS%%lib/ao/plugins-2/libarts.la +%%ARTS%%lib/ao/plugins-2/libarts.so +lib/ao/plugins-2/liboss.so +%%ESOUND%%lib/ao/plugins-2/libesd.la +%%ESOUND%%lib/ao/plugins-2/libesd.so share/aclocal/ao.m4 %%PORTDOCS%%share/doc/libao/ao_append_option.html %%PORTDOCS%%share/doc/libao/ao_close.html @@ -16,6 +20,7 @@ share/aclocal/ao.m4 %%PORTDOCS%%share/doc/libao/ao_driver_info.html %%PORTDOCS%%share/doc/libao/ao_driver_info_list.html %%PORTDOCS%%share/doc/libao/ao_example.c +%%PORTDOCS%%share/doc/libao/ao_file_extension.html %%PORTDOCS%%share/doc/libao/ao_free_options.html %%PORTDOCS%%share/doc/libao/ao_info.html %%PORTDOCS%%share/doc/libao/ao_initialize.html @@ -27,6 +32,7 @@ share/aclocal/ao.m4 %%PORTDOCS%%share/doc/libao/ao_plugin_device_clear.html %%PORTDOCS%%share/doc/libao/ao_plugin_device_init.html %%PORTDOCS%%share/doc/libao/ao_plugin_driver_info.html +%%PORTDOCS%%share/doc/libao/ao_plugin_file_extension.html %%PORTDOCS%%share/doc/libao/ao_plugin_open.html %%PORTDOCS%%share/doc/libao/ao_plugin_play.html %%PORTDOCS%%share/doc/libao/ao_plugin_set_option.html @@ -42,5 +48,6 @@ share/aclocal/ao.m4 %%PORTDOCS%%share/doc/libao/plugin-overview.html %%PORTDOCS%%share/doc/libao/style.css @dirrm include/ao +@dirrm lib/ao/plugins-2 @dirrm lib/ao %%PORTDOCS%%@dirrm share/doc/libao diff --git a/audio/libogg/Makefile b/audio/libogg/Makefile index 77030d0742a0..d5ddccc4f806 100644 --- a/audio/libogg/Makefile +++ b/audio/libogg/Makefile @@ -6,15 +6,17 @@ # PORTNAME= libogg -PORTVERSION= 1.0.r2 +PORTVERSION= 1.0.r3 PORTEPOCH= 2 CATEGORIES= audio -MASTER_SITES= http://www.vorbis.com/files/rc2/unix/ +MASTER_SITES= http://www.xiph.org/ogg/vorbis/download/ \ + http://www.vorbis.com/files/rc2/unix/ \ + http://www.oddsock.org/vorbisrc3/files/rc3/unix/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} MAINTAINER= naddy@FreeBSD.org -USE_LIBTOOL= yes +GNU_CONFIGURE= yes .if defined(NOPORTDOCS) MAKE_ENV= DOC="" diff --git a/audio/libogg/distinfo b/audio/libogg/distinfo index 66fd135e2c8b..d09db05683fc 100644 --- a/audio/libogg/distinfo +++ b/audio/libogg/distinfo @@ -1 +1 @@ -MD5 (libogg-1.0rc2.tar.gz) = 327733122fe0fb67da7e6632d23feb30 +MD5 (libogg-1.0rc3.tar.gz) = 6425cd5659aa7595b30f2c024d1b8eab diff --git a/audio/libogg/pkg-plist b/audio/libogg/pkg-plist index d47c9bec6885..7d7ea1a7e035 100644 --- a/audio/libogg/pkg-plist +++ b/audio/libogg/pkg-plist @@ -3,8 +3,9 @@ include/ogg/config_types.h include/ogg/ogg.h include/ogg/os_types.h lib/libogg.a +lib/libogg.la lib/libogg.so -lib/libogg.so.2 +lib/libogg.so.3 share/aclocal/ogg.m4 %%PORTDOCS%%share/doc/libogg/framing.html %%PORTDOCS%%share/doc/libogg/index.html @@ -15,17 +16,19 @@ share/aclocal/ogg.m4 %%PORTDOCS%%share/doc/libogg/ogg/general.html %%PORTDOCS%%share/doc/libogg/ogg/index.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_packet.html +%%PORTDOCS%%share/doc/libogg/ogg/ogg_packet_clear.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page_bos.html +%%PORTDOCS%%share/doc/libogg/ogg/ogg_page_checksum_set.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page_continued.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page_eos.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page_granulepos.html +%%PORTDOCS%%share/doc/libogg/ogg/ogg_page_packets.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page_pageno.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page_serialno.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_page_version.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_stream_clear.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_stream_destroy.html -%%PORTDOCS%%share/doc/libogg/ogg/ogg_stream_eof.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_stream_eos.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_stream_flush.html %%PORTDOCS%%share/doc/libogg/ogg/ogg_stream_init.html diff --git a/audio/libvorbis/Makefile b/audio/libvorbis/Makefile index 16ae9211a7be..22c7f83cced4 100644 --- a/audio/libvorbis/Makefile +++ b/audio/libvorbis/Makefile @@ -6,18 +6,20 @@ # PORTNAME= libvorbis -PORTVERSION= 1.0.r2 +PORTVERSION= 1.0.r3 PORTEPOCH= 2 CATEGORIES= audio -MASTER_SITES= http://www.vorbis.com/files/rc2/unix/ +MASTER_SITES= http://www.xiph.org/ogg/vorbis/download/ \ + http://www.vorbis.com/files/rc2/unix/ \ + http://www.oddsock.org/vorbisrc3/files/rc3/unix/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} MAINTAINER= naddy@FreeBSD.org -LIB_DEPENDS= ogg.2:${PORTSDIR}/audio/libogg +LIB_DEPENDS= ogg.3:${PORTSDIR}/audio/libogg -USE_LIBTOOL= yes -CONFIGURE_ARGS= --with-ogg-prefix=${LOCALBASE} +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ogg=${LOCALBASE} .if defined(NOPORTDOCS) MAKE_ENV= DOC="" diff --git a/audio/libvorbis/distinfo b/audio/libvorbis/distinfo index dc6a89e91382..ccb1989817b8 100644 --- a/audio/libvorbis/distinfo +++ b/audio/libvorbis/distinfo @@ -1 +1 @@ -MD5 (libvorbis-1.0rc2.tar.gz) = e5dfe5c71ee451313ec11af1387bd8f7 +MD5 (libvorbis-1.0rc3.tar.gz) = e3a0ce7718f698326504c76562315df2 diff --git a/audio/libvorbis/files/patch-configure b/audio/libvorbis/files/patch-configure index b7ea0b4a7bf6..39b3be55e8a4 100644 --- a/audio/libvorbis/files/patch-configure +++ b/audio/libvorbis/files/patch-configure @@ -1,7 +1,9 @@ + $FreeBSD$ ---- configure.orig Mon Jun 18 18:12:43 2001 -+++ configure Tue Jul 17 00:26:16 2001 -@@ -1621,7 +1621,7 @@ if test -z "$GCC"; then + +--- configure.orig Tue Jan 1 22:47:11 2002 ++++ configure Tue Jan 1 22:54:27 2002 +@@ -5337,7 +5337,7 @@ PROFILE="-v -xpg -g -xO4 -fast -native -fsimple -xcg92 -Dsuncc" ;; *) DEBUG="-g" @@ -10,43 +12,16 @@ $FreeBSD$ PROFILE="-g -p" ;; esac else -@@ -1712,9 +1712,9 @@ rm -f conftest* +@@ -5428,9 +5428,9 @@ CFLAGS="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -O4 -ffast-math -fsigned-char" PROFILE="-DDARWIN -fno-common -force_cpusubtype_ALL -Wall -g -pg -O4 -ffast-math -fsigned-char";; *) -- DEBUG="-g -Wall -D__NO_MATH_INLINES -fsigned-char" +- DEBUG="-g -Wall -W -D__NO_MATH_INLINES -fsigned-char" - CFLAGS="-O20 -D__NO_MATH_INLINES -fsigned-char" - PROFILE="-O20 -g -pg -D__NO_MATH_INLINES -fsigned-char" ;; -+ DEBUG="-g -Wall" -+ CFLAGS="" -+ PROFILE="-g -pg" ++ DEBUG="-g -Wall -W -fsigned-char" ++ CFLAGS="-fsigned-char" ++ PROFILE="-g -pg -fsigned-char" ;; esac fi CFLAGS="$CFLAGS $cflags_save" -@@ -1800,14 +1800,14 @@ else - LIBS="" - fi - --echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6 --echo "configure:1805: checking for pthread_create in -lpthread" >&5 -+echo $ac_n "checking for pthread_create in -pthread""... $ac_c" 1>&6 -+echo "configure:1805: checking for pthread_create in -pthread" >&5 - ac_lib_var=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'` - if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" --LIBS="-lpthread $LIBS" -+LIBS="-pthread $LIBS" - cat > conftest.$ac_ext <<EOF - #line 1813 "configure" - #include "confdefs.h" -@@ -1835,7 +1835,7 @@ LIBS="$ac_save_LIBS" - fi - if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then - echo "$ac_t""yes" 1>&6 -- pthread_lib="-lpthread" -+ pthread_lib="-pthread" - else - echo "$ac_t""no" 1>&6 - : diff --git a/audio/libvorbis/files/patch-lib_floor1.c b/audio/libvorbis/files/patch-lib_floor1.c deleted file mode 100644 index 94264d168a5e..000000000000 --- a/audio/libvorbis/files/patch-lib_floor1.c +++ /dev/null @@ -1,14 +0,0 @@ - -$FreeBSD$ - ---- lib/floor1.c.orig Mon Aug 13 13:33:39 2001 -+++ lib/floor1.c Fri Aug 17 01:09:12 2001 -@@ -226,7 +226,7 @@ - - /* also store a sorted position index */ - for(i=0;i<n;i++)sortpointer[i]=info->postlist+i; -- qsort(sortpointer,n,sizeof(int),icomp); -+ qsort(sortpointer,n,sizeof(int *),icomp); - - /* points from sort order back to range number */ - for(i=0;i<n;i++)look->forward_index[i]=sortpointer[i]-info->postlist; diff --git a/audio/libvorbis/files/patch-lib_psy.c b/audio/libvorbis/files/patch-lib_psy.c deleted file mode 100644 index 5d9cc6a4f8c6..000000000000 --- a/audio/libvorbis/files/patch-lib_psy.c +++ /dev/null @@ -1,167 +0,0 @@ - -$FreeBSD$ - ---- lib/psy.c.orig Mon Aug 13 03:36:57 2001 -+++ lib/psy.c Tue Aug 28 01:47:19 2001 -@@ -594,95 +594,11 @@ - - } - --static void bark_noise_pointmp(int n,const long *b, -- const float *f, -- float *noise, -- const int fixed){ -- long i,hi=0,lo=0,hif=0,lof=0; -- double xa=0,xb=0; -- double ya=0,yb=0; -- double x2a=0,x2b=0; -- double y2a=0,y2b=0; -- double xya=0,xyb=0; -- double na=0,nb=0; -- -- for(i=0;i<n;i++){ -- if(hi<n){ -- /* find new lo/hi */ -- int bi=b[i]>>16; -- for(;hi<bi;hi++){ -- double bin=(f[hi]<-140.f?0.:f[hi]+140.); -- double nn= bin*bin; -- na += nn; -- xa += hi*nn; -- ya += bin*nn; -- x2a += hi*hi*nn; -- y2a += bin*bin*nn; -- xya += hi*bin*nn; -- } -- bi=b[i]&0xffff; -- for(;lo<bi;lo++){ -- double bin=(f[lo]<-140.f?0.:f[lo]+140.); -- double nn= bin*bin; -- na -= nn; -- xa -= lo*nn; -- ya -= bin*nn; -- x2a -= lo*lo*nn; -- y2a -= bin*bin*nn; -- xya -= lo*bin*nn; -- } -- } -- -- if(hif<n && fixed>0){ -- int bi=i+fixed/2; -- if(bi>n)bi=n; -- for(;hif<bi;hif++){ -- double bin=(f[hif]<-140.f?0.:f[hif]+140.); -- double nn= bin*bin; -- nb += nn; -- xb += hif*nn; -- yb += bin*nn; -- x2b += hif*hif*nn; -- y2b += bin*bin*nn; -- xyb += hif*bin*nn; -- } -- bi=i-(fixed+1)/2; -- if(bi<0)bi=0; -- for(;lof<bi;lof++){ -- double bin=(f[lof]<-140.f?0.:f[lof]+140.); -- double nn= bin*bin; -- nb -= nn; -- xb -= lof*nn; -- yb -= bin*nn; -- x2b -= lof*lof*nn; -- y2b -= bin*bin*nn; -- xyb -= lof*bin*nn; -- } -- } -- -- { -- double denom=1./(na*x2a-xa*xa); -- double a=(ya*x2a-xya*xa)*denom; -- double b=(na*xya-xa*ya)*denom; -- double va=a+b*i; -- -- if(fixed>0){ -- double denomf=1./(nb*x2b-xb*xb); -- double af=(yb*x2b-xyb*xb)*denomf; -- double bf=(nb*xyb-xb*yb)*denomf; -- double vb=af+bf*i; -- if(va>vb)va=vb; -- } -- -- noise[i]=va-140.f; -- } -- } --} -- - static void bark_noise_hybridmp(int n,const long *b, -- const float *f, -- float *noise, -- const int fixed){ -+ const float *f, -+ float *noise, -+ const float offset, -+ const int fixed){ - long i,hi=0,lo=0,hif=0,lof=0; - double xa=0,xb=0; - double ya=0,yb=0; -@@ -699,7 +615,7 @@ - /* find new lo/hi */ - int bi=b[i]>>16; - for(;hi<bi;hi++){ -- double bin=f[hi]; -+ double bin=(f[hi]<-offset?0.:f[hi]+offset); - if(bin>0.f){ - double nn= bin*bin; - nn*=nn; -@@ -716,7 +632,7 @@ - } - bi=b[i]&0xffff; - for(;lo<bi;lo++){ -- double bin=f[lo]; -+ double bin=(f[lo]<-offset?0.:f[lo]+offset); - if(bin>0.f){ - double nn= bin*bin; - nn*=nn; -@@ -744,7 +660,7 @@ - if(bi>n)bi=n; - - for(;hif<bi;hif++){ -- double bin=f[hif]; -+ double bin=(f[hif]<-offset?0.:f[hif]+offset); - if(bin>0.f){ - double nn= bin*bin; - nn*=nn; -@@ -762,7 +678,7 @@ - bi=i-(fixed+1)/2; - if(bi<0)bi=0; - for(;lof<bi;lof++){ -- double bin=f[lof]; -+ double bin=(f[lof]<-offset?0.:f[lof]+offset); - if(bin>0.f){ - double nn= bin*bin; - nn*=nn; -@@ -817,7 +733,7 @@ - - } - -- noise[i]=va; -+ noise[i]=va-offset; - } - } - } -@@ -859,13 +775,13 @@ - if(p->vi->noisemaskp){ - float *work=alloca(n*sizeof(float)); - -- bark_noise_pointmp(n,p->bark,logmdct,logmask, -- -1); -+ bark_noise_hybridmp(n,p->bark,logmdct,logmask, -+ 140.,-1); - - for(i=0;i<n;i++)work[i]=logmdct[i]-logmask[i]; - - _analysis_output("medianmdct",seq,work,n,1,0); -- bark_noise_hybridmp(n,p->bark,work,logmask, -+ bark_noise_hybridmp(n,p->bark,work,logmask,0., - p->vi->noisewindowfixed); - - for(i=0;i<n;i++)work[i]=logmdct[i]-work[i]; diff --git a/audio/libvorbis/pkg-plist b/audio/libvorbis/pkg-plist index ae959e455619..598d3a004e93 100644 --- a/audio/libvorbis/pkg-plist +++ b/audio/libvorbis/pkg-plist @@ -3,14 +3,17 @@ include/vorbis/codec.h include/vorbis/vorbisenc.h include/vorbis/vorbisfile.h lib/libvorbis.a +lib/libvorbis.la lib/libvorbis.so -lib/libvorbis.so.0 +lib/libvorbis.so.1 lib/libvorbisenc.a +lib/libvorbisenc.la lib/libvorbisenc.so -lib/libvorbisenc.so.0 +lib/libvorbisenc.so.1 lib/libvorbisfile.a +lib/libvorbisfile.la lib/libvorbisfile.so -lib/libvorbisfile.so.1 +lib/libvorbisfile.so.2 share/aclocal/vorbis.m4 %%PORTDOCS%%share/doc/libvorbis/programming.html %%PORTDOCS%%share/doc/libvorbis/v-comment.html @@ -23,6 +26,7 @@ share/aclocal/vorbis.m4 %%PORTDOCS%%share/doc/libvorbis/vorbisenc/style.css %%PORTDOCS%%share/doc/libvorbis/vorbisenc/vorbis_encode_ctl.html %%PORTDOCS%%share/doc/libvorbis/vorbisenc/vorbis_encode_init.html +%%PORTDOCS%%share/doc/libvorbis/vorbisenc/vorbis_encode_init_vbr.html %%PORTDOCS%%share/doc/libvorbis/vorbisenc/vorbis_info.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/OggVorbis_File.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/chaining_example_c.html @@ -49,9 +53,13 @@ share/aclocal/vorbis.m4 %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_raw_tell.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_raw_total.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_read.html +%%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_read_float.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_seekable.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_serialnumber.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_streams.html +%%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_test.html +%%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_test_callbacks.html +%%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_test_open.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_time_seek.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_time_tell.html %%PORTDOCS%%share/doc/libvorbis/vorbisfile/ov_time_total.html diff --git a/audio/vorbis-tools/Makefile b/audio/vorbis-tools/Makefile index 41bb8b8d2c04..9d5985ae77b5 100644 --- a/audio/vorbis-tools/Makefile +++ b/audio/vorbis-tools/Makefile @@ -6,23 +6,27 @@ # PORTNAME= vorbis-tools -PORTVERSION= 1.0.r2 +PORTVERSION= 1.0.r3 PORTEPOCH= 2 CATEGORIES= audio -MASTER_SITES= http://www.vorbis.com/files/rc2/unix/ +MASTER_SITES= http://www.xiph.org/ogg/vorbis/download/ \ + http://www.vorbis.com/files/rc2/unix/ \ + http://www.oddsock.org/vorbisrc3/files/rc3/unix/ DISTNAME= ${PORTNAME}-${PORTVERSION:S/.r/rc/} MAINTAINER= naddy@FreeBSD.org -LIB_DEPENDS= ao.2:${PORTSDIR}/audio/libao \ - ogg.2:${PORTSDIR}/audio/libogg \ - vorbis.0:${PORTSDIR}/audio/libvorbis +LIB_DEPENDS= ao.3:${PORTSDIR}/audio/libao \ + ogg.3:${PORTSDIR}/audio/libogg \ + vorbis.1:${PORTSDIR}/audio/libvorbis \ + curl.2:${PORTSDIR}/ftp/curl -USE_LIBTOOL= yes -CONFIGURE_ARGS= --with-ao-prefix=${LOCALBASE} \ - --with-ogg-prefix=${LOCALBASE} \ - --with-vorbis-prefix=${LOCALBASE} +GNU_CONFIGURE= yes +CONFIGURE_ARGS= --with-ao=${LOCALBASE} \ + --with-ogg=${LOCALBASE} \ + --with-vorbis=${LOCALBASE} \ + --with-curl=${LOCALBASE} -MAN1= ogg123.1 oggenc.1 ogginfo.1 +MAN1= ogg123.1 oggenc.1 ogginfo.1 vcut.1 vorbiscomment.1 .include <bsd.port.mk> diff --git a/audio/vorbis-tools/distinfo b/audio/vorbis-tools/distinfo index 7d0701833aa7..3cdf621e7eaf 100644 --- a/audio/vorbis-tools/distinfo +++ b/audio/vorbis-tools/distinfo @@ -1 +1 @@ -MD5 (vorbis-tools-1.0rc2.tar.gz) = 2c8acbc323c701bed290293cf7928554 +MD5 (vorbis-tools-1.0rc3.tar.gz) = c28c6b28cddb1d7027afd9a47a0d7b9c diff --git a/audio/vorbis-tools/files/patch-configure b/audio/vorbis-tools/files/patch-configure new file mode 100644 index 000000000000..4c28d162f384 --- /dev/null +++ b/audio/vorbis-tools/files/patch-configure @@ -0,0 +1,25 @@ + +$FreeBSD$ + +--- configure.orig Wed Jan 2 01:35:43 2002 ++++ configure Wed Jan 2 01:35:59 2002 +@@ -5342,7 +5342,7 @@ + ;; + *) + DEBUG="-g" +- CFLAGS="-O" ++ CFLAGS="" + PROFILE="-g -p" + ;; + esac +@@ -5365,8 +5365,8 @@ + ;; + *) + DEBUG="-g -Wall -fsigned-char" +- CFLAGS="-O20 -fsigned-char" +- PROFILE="-O20 -g -pg -fsigned-char" ++ CFLAGS="-fsigned-char" ++ PROFILE="-g -pg -fsigned-char" + ;; + esac + fi diff --git a/audio/vorbis-tools/files/patch-ogg123::buffer.c b/audio/vorbis-tools/files/patch-ogg123::buffer.c new file mode 100644 index 000000000000..f7523092ac85 --- /dev/null +++ b/audio/vorbis-tools/files/patch-ogg123::buffer.c @@ -0,0 +1,17 @@ + +$FreeBSD$ + +--- ogg123/buffer.c.orig Thu Dec 20 01:24:53 2001 ++++ ogg123/buffer.c Wed Jan 16 03:26:15 2002 +@@ -88,9 +88,11 @@ + + /* Cleanup thread data structures */ + pthread_mutex_unlock(&buf->mutex); ++#if 0 /* KLUDGE: disabling this keeps ogg123 from crashing */ + pthread_mutex_destroy(&buf->mutex); + pthread_cond_destroy(&buf->playback_cond); + pthread_cond_destroy(&buf->write_cond); ++#endif + } + + diff --git a/audio/vorbis-tools/files/patch-oggenc::man::oggenc.1 b/audio/vorbis-tools/files/patch-oggenc::man::oggenc.1 new file mode 100644 index 000000000000..77a71037c4fb --- /dev/null +++ b/audio/vorbis-tools/files/patch-oggenc::man::oggenc.1 @@ -0,0 +1,25 @@ + +$FreeBSD$ + +--- oggenc/man/oggenc.1.orig Wed Dec 19 07:46:57 2001 ++++ oggenc/man/oggenc.1 Wed Jan 16 03:27:33 2002 +@@ -1,7 +1,7 @@ + .\" Process this file with + .\" groff -man -Tascii oggenc.1 + .\" +-.TH oggenc 1 "2001 August 13" "" "Vorbis Tools release candidate 2" ++.TH oggenc 1 "2001 August 13" "" "Vorbis Tools" + + .SH NAME + oggenc \- encode audio into the Ogg Vorbis format +@@ -231,10 +231,6 @@ + Manpage Author: + .br + Stan Seibert <indigo@aztec.asu.edu> +- +-.SH BUGS +-Options -m, -M, and -q for for flexible bitrate/quality selection exist, but are not +-implemented in the vorbis encoder, and so are not documented here yet. + + .SH SEE ALSO + |