ports/63583: [Patch] multimedia/vlc -- add tons of knobs, add missing BUILD/RUN_DEPENDS, and missing man pages.

michael johnson ahze at ahze.net
Mon Mar 1 13:00:37 UTC 2004


>Number:         63583
>Category:       ports
>Synopsis:       [Patch] multimedia/vlc -- add tons of knobs, add missing BUILD/RUN_DEPENDS, and missing man pages.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Mar 01 05:00:36 PST 2004
>Closed-Date:
>Last-Modified:
>Originator:     michael johnson
>Release:        5.2-CURRENT
>Organization:
>Environment:
>Description:
this patch adds tons of knobs that are auto-detected. I kept all like knobs the same as mplayer.

gnome support

2 man pages that are not being installed

and BUILD/RUN_DEPENDS= multimedia/libmatroska

Tested System: FreeBSD 5.2-CURRENT
Not Tested: FreeBSD 4.x
>How-To-Repeat:
      
>Fix:
diff -ruN multimedia/vlc.orig/Makefile multimedia/vlc/Makefile
--- multimedia/vlc.orig/Makefile	Sun Feb 29 21:53:38 2004
+++ multimedia/vlc/Makefile	Mon Mar  1 07:35:34 2004
@@ -4,10 +4,47 @@
 #
 # $FreeBSD: ports/multimedia/vlc/Makefile,v 1.40 2004/02/20 05:52:26 dinoex Exp $
 #
+# WITH_GNOME
+# default: autodetected
+# Build with gnome support
+#
+# WITH_ESOUND
+# default: autodetected
+#
+# WITH_AALIB
+# default: autodetected
+#
+# WITH_CDDB
+# default: autodetected
+#
+# WITH_GGI
+# default: autodetected
+#
+# WITH_LIBDVBPSI
+# default: autodetected
+#
+# WITH_LIBTHEORA
+# default: autodetected
+#
+# WITH_LIVEMEDIA
+# default: autodetected
+#
+# WITH_SPEEX
+# default: autodetected
+#
+# WITH_SVGALIB
+# default: autodetected
+#
+# WITH_XOSD
+# default: autodetected
+#
+# WITH_OPTIMIZED_CFLAGS
+# default: undefined
+#
 
 PORTNAME=	vlc
 PORTVERSION=	0.7.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	http://download.videolan.org/pub/videolan/vlc/${PORTVERSION}/
 
@@ -25,17 +62,13 @@
 		faad.0:${PORTSDIR}/audio/faad \
 		wx_gtk2-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk2 \
 		slp.1:${PORTSDIR}/net/openslp
-.if defined(WITH_LIBDVBPSI)
-LIB_DEPENDS+=	dvbpsi.3:${PORTSDIR}/multimedia/libdvbpsi
-.endif
-
-# After libmpeg2 release 0.3.2
-#		mpeg2.0:${PORTSDIR}/multimedia/libmpeg2 \
+BUILD_DEPENDS=	${LOCALBASE}/lib/libmatroska.a:${PORTSDIR}/multimedia/libmatroska
+RUN_DEPENDS=	${LOCALBASE}/lib/libmatroska.a:${PORTSDIR}/multimedia/libmatroska
 
 USE_GETOPT_LONG=yes
 USE_GETTEXT=	yes
 USE_GMAKE=	yes
-USE_GNOME=	gtk12
+WANT_GNOME=	yes
 USE_REINPLACE=	yes
 USE_SDL=	sdl
 USE_XLIB=	yes
@@ -55,32 +88,175 @@
 		--with-ffmpeg=${LOCALBASE} \
 		--disable-libmpeg2 \
 		--disable-libcdio \
-		--disable-libcddb \
 		--program-prefix="" \
 		--without-libintl-prefix \
-		--without-libiconv-prefix \
+		--without-libiconv-prefix
+
+MAN1=		vlc.1 \
+		vlc-config.1
+
+.include <bsd.port.pre.mk>
+
+.if ${HAVE_GNOME:Mgnomelibs}!=""
+WITH_GNOME=	yes
+.endif
+
+.if ${HAVE_GNOME:Mesound}!=""
+WITH_ESOUND=	yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libaa.so.1)
+WITH_AALIB=	yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libcddb.so.1)
+WITH_CDDB=	yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libggi.so.2)
+WITH_GGI=	yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libdvbpsi.so.3)
+WITH_LIBDVBPSI=	yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libtheora.so.0)
+WITH_LIBTHEORA=	yes
+.endif
+
+.if exists(${LOCALBASE}/live/liveMedia/libliveMedia.a)
+WITH_LIVEMEDIA=	yes
+.endif
+
+.if exists(${LOCALBASE}/lib/libspeex.so.2)
+WITH_SPEEX=	yes
+.endif
+
+.if exists(${LOCALBASE}/lib/lib/vga.so.1)
+WITH_SVGALIB=	yes
+.endif
+
+.if exists(${LOCALBASE}/libxosd.so.4)
+WITH_XOSD=	yes
+.endif
+
+.if defined(WITH_GNOME)
+USE_GNOME+=	gnomelibs
+CONFIGURE_ARGS+=--enable-gnome
+PKGNAMESUFFIX=	-gnome
+PLIST_FILES+=	bin/gnome-vlc \
+		lib/vlc/gui/libgnome_plugin.so \
+		lib/vlc/misc/libgnome_main_plugin.so
+.else
+USE_GNOME+=	gtk12
+CONFIGURE_ARGS+=--enable-gtk
+.endif
+
+.if defined(WITH_ESOUND)
+USE_GNOME+=	esound
+CONFIGURE_ARGS+=--enable-esd
+PLIST_FILES+=	lib/vlc/audio_output/libesd_plugin.so
+.if defined(PKGNAMESUFFIX)
+PKGNAMESUFFIX:=	${PKGNAMESUFFIX}-esound
+.else
+PKGNAMESUFFIX=	-esound
+.endif
+.endif
+
+.if defined(WITH_AALIB)
+LIB_DEPENDS+=	aa.1:${PORTSDIR}/graphics/aalib
+CONFIGURE+=	--enable-aa
+.endif
+
+.if defined(WITH_CDDB)
+LIB_DEPENDS+=	cddb.1:${PORTSDIR}/audio/libcddb
+CONFIGURE_ARGS+=--enable-libcddb
+.else
+CONFIGURE_ARGS+=--disable-libcddb
+.endif
+
+.if defined(WITH_GGI)
+LIB_DEPENDS+=	ggi.2:${PORTSDIR}/graphics/libggi
+CONFIGURE_ARGS+=--enable-ggi
+PLIST_FILES+=	lib/vlc/video_output/libggi_plugin.so
+.endif
 
 .if defined(WITH_LIBDVBPSI)
-CONFIGURE_ARGS+=	--with-dvbpsi=${LOCALBASE}
-PLIST_SUB+=		LIBDVBPSI=""
+LIB_DEPENDS+=	dvbpsi.3:${PORTSDIR}/multimedia/libdvbpsi
+CONFIGURE_ARGS+=--with-dvbpsi=${LOCALBASE}
+PLIST_FILES+=	lib/vlc/demux/libts_dvbpsi_plugin.so \
+		lib/vlc/mux/libmux_ts_dvbpsi_plugin.so
 .else
-CONFIGURE_ARGS+=	--disable-dvbpsi
-PLIST_SUB+=		LIBDVBPSI="@comment "
+CONFIGURE_ARGS+=--disable-dvbpsi
 .endif
 
-post-patch:
-	@${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/' ${WRKSRC}/configure
+.if defined(WITH_LIBTHEORA)
+LIB_DEPENDS+=   theora.0:${PORTSDIR}/graphics/libtheora
+EXTRA_PATCHES+= ${PATCHDIR}/theora.c-patch
+CONFIGURE_ARGS+=--enable-theora
+PLIST_FILES+=	lib/vlc/libtheora.a
+.endif
 
-.include <bsd.port.pre.mk>
+.if defined(WITH_LIVEMEDIA)
+RUN_DEPENDS+=	${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
+BUILD_DEPENDS+=	${LOCALBASE}/live/liveMedia/libliveMedia.a:${PORTSDIR}/net/liveMedia
+CONFIGURE_ARGS+=--enable-livedotcom \
+		--with-livedotcom-tree=${LOCALBASE}/live
+PLIST_FILES+=	lib/vlc/liblivedotcom.a
+.endif
+
+.if defined(WITH_SPEEX)
+LIB_DEPENDS+=	speex.2:${PORTSDIR}/audio/speex
+CONFIGURE_ARGS+=--enable-speex
+PLIST_FILES+=	lib/vlc/codec/libspeex_plugin.so
+.endif
+
+.if defined(WITH_SVGALIB)
+LIB_DEPENDS+=	vga.1:${PORTSDIR}/graphics/svgalib
+CONFIGURE_ARGS+=--enable-svgalib
+PLIST_FILES+=	lib/vlc/video_output/libsvgalib_plugin.so
+.endif
+
+.if defined(WITH_XOSD)
+LIB_DEPENDS+=	xosd.4:${PORTSDIR}/misc/xosd
+CONFIGURE_ARGS+=--enable-xosd
+.endif
+
+.if defined(WITH_OPTIMIZED_CFLAGS)
+CFLAGS+=	-O3 -ffast-math -fomit-frame-pointer
+.else
+CONFIGURE_ARGS+=--disable-optimizations
+.endif
+
+.if defined(WITH_OPTIMIZED_CFLAGS) && (${ARCH} == "i386")
+CONFIGURE_ARGS+=--with-tuning=i686
+.endif
 
 .if ${OSVERSION} < 500000
-CONFIGURE_ENV+=		LIBS="-L/usr/lib -lcipher"
+CONFIGURE_ENV+=	LIBS="-L/usr/lib -lcipher"
 .endif
 
 .if ${ARCH} == "i386"
-PLIST_SUB+=		MMX=""
+PLIST_SUB+=	MMX=""
 .else
-PLIST_SUB+=		MMX="@comment "
+PLIST_SUB+=	MMX="@comment "
 .endif
+
+pre-everything::
+	@${ECHO_MSG} "N - O - T - E"
+	@${ECHO_MSG} ""
+	@${ECHO_MSG} "Take a careful look into the Makefile in order"
+	@${ECHO_MSG} "to learn how to tune VLC towards you personal preferences!"
+	@${ECHO_MSG} "For example,"
+	@${ECHO_MSG} "make WITH_LIVEMEDIA=yes"
+	@${ECHO_MSG} "builds VLC with livemedia (live.com) support."
+
+post-patch:
+	@${REINPLACE_CMD} -e 's/-lc_r/${PTHREAD_LIBS}/' ${WRKSRC}/configure
+
+post-install:
+	${INSTALL_MAN} ${WRKSRC}/doc/vlc.1 ${MANPREFIX}/man/man1
+	${INSTALL_MAN} ${WRKSRC}/doc/vlc-config.1 ${MANPREFIX}/man/man1
 
 .include <bsd.port.post.mk>
diff -ruN multimedia/vlc.orig/files/patch-mkv.c multimedia/vlc/files/patch-mkv.c
--- multimedia/vlc.orig/files/patch-mkv.c	Wed Dec 31 19:00:00 1969
+++ multimedia/vlc/files/patch-mkv.c	Mon Mar  1 05:36:08 2004
@@ -0,0 +1,198 @@
+diff -Nur modules/demux/mkv.cpp.orig modules/demux/mkv.cpp
+--- modules/demux/mkv.cpp.orig	2003-12-22 15:27:37.000000000 +0100
++++ modules/demux/mkv.cpp	2004-01-21 17:02:42.000000000 +0100
+@@ -543,15 +543,15 @@
+                             msg_Dbg( p_input, "|   |   |   + Track Type=%s",
+                                      psz_type );
+                         }
+-                        else  if( EbmlId( *el3 ) == KaxTrackFlagEnabled::ClassInfos.GlobalId )
+-                        {
+-                            KaxTrackFlagEnabled &fenb = *(KaxTrackFlagEnabled*)el3;
+-                            fenb.ReadData( p_sys->es->I_O() );
+-
+-                            tk.b_enabled = uint32( fenb );
+-                            msg_Dbg( p_input, "|   |   |   + Track Enabled=%u",
+-                                     uint32( fenb )  );
+-                        }
++//                         else  if( EbmlId( *el3 ) == KaxTrackFlagEnabled::ClassInfos.GlobalId )
++//                         {
++//                             KaxTrackFlagEnabled &fenb = *(KaxTrackFlagEnabled*)el3;
++//                             fenb.ReadData( p_sys->es->I_O() );
++
++//                             tk.b_enabled = uint32( fenb );
++//                             msg_Dbg( p_input, "|   |   |   + Track Enabled=%u",
++//                                      uint32( fenb )  );
++//                         }
+                         else  if( EbmlId( *el3 ) == KaxTrackFlagDefault::ClassInfos.GlobalId )
+                         {
+                             KaxTrackFlagDefault &fdef = *(KaxTrackFlagDefault*)el3;
+@@ -651,44 +651,44 @@
+                             tk.psz_codec_name = UTF8ToStr( UTFstring( cname ) );
+                             msg_Dbg( p_input, "|   |   |   + Track Codec Name=%s", tk.psz_codec_name );
+                         }
+-                        else if( EbmlId( *el3 ) == KaxCodecSettings::ClassInfos.GlobalId )
+-                        {
+-                            KaxCodecSettings &cset = *(KaxCodecSettings*)el3;
+-                            cset.ReadData( p_sys->es->I_O() );
+-
+-                            tk.psz_codec_settings = UTF8ToStr( UTFstring( cset ) );
+-                            msg_Dbg( p_input, "|   |   |   + Track Codec Settings=%s", tk.psz_codec_settings );
+-                        }
+-                        else if( EbmlId( *el3 ) == KaxCodecInfoURL::ClassInfos.GlobalId )
+-                        {
+-                            KaxCodecInfoURL &ciurl = *(KaxCodecInfoURL*)el3;
+-                            ciurl.ReadData( p_sys->es->I_O() );
+-
+-                            tk.psz_codec_info_url = strdup( string( ciurl ).c_str() );
+-                            msg_Dbg( p_input, "|   |   |   + Track Codec Info URL=%s", tk.psz_codec_info_url );
+-                        }
+-                        else if( EbmlId( *el3 ) == KaxCodecDownloadURL::ClassInfos.GlobalId )
+-                        {
+-                            KaxCodecDownloadURL &cdurl = *(KaxCodecDownloadURL*)el3;
+-                            cdurl.ReadData( p_sys->es->I_O() );
+-
+-                            tk.psz_codec_download_url = strdup( string( cdurl ).c_str() );
+-                            msg_Dbg( p_input, "|   |   |   + Track Codec Info URL=%s", tk.psz_codec_download_url );
+-                        }
+-                        else if( EbmlId( *el3 ) == KaxCodecDecodeAll::ClassInfos.GlobalId )
+-                        {
+-                            KaxCodecDecodeAll &cdall = *(KaxCodecDecodeAll*)el3;
+-                            cdall.ReadData( p_sys->es->I_O() );
+-
+-                            msg_Dbg( p_input, "|   |   |   + Track Codec Decode All=%u <== UNUSED", uint8( cdall ) );
+-                        }
+-                        else if( EbmlId( *el3 ) == KaxTrackOverlay::ClassInfos.GlobalId )
+-                        {
+-                            KaxTrackOverlay &tovr = *(KaxTrackOverlay*)el3;
+-                            tovr.ReadData( p_sys->es->I_O() );
++//                         else if( EbmlId( *el3 ) == KaxCodecSettings::ClassInfos.GlobalId )
++//                         {
++//                             KaxCodecSettings &cset = *(KaxCodecSettings*)el3;
++//                             cset.ReadData( p_sys->es->I_O() );
++
++//                             tk.psz_codec_settings = UTF8ToStr( UTFstring( cset ) );
++//                             msg_Dbg( p_input, "|   |   |   + Track Codec Settings=%s", tk.psz_codec_settings );
++//                         }
++//                         else if( EbmlId( *el3 ) == KaxCodecInfoURL::ClassInfos.GlobalId )
++//                         {
++//                             KaxCodecInfoURL &ciurl = *(KaxCodecInfoURL*)el3;
++//                             ciurl.ReadData( p_sys->es->I_O() );
++
++//                             tk.psz_codec_info_url = strdup( string( ciurl ).c_str() );
++//                             msg_Dbg( p_input, "|   |   |   + Track Codec Info URL=%s", tk.psz_codec_info_url );
++//                         }
++//                         else if( EbmlId( *el3 ) == KaxCodecDownloadURL::ClassInfos.GlobalId )
++//                         {
++//                             KaxCodecDownloadURL &cdurl = *(KaxCodecDownloadURL*)el3;
++//                             cdurl.ReadData( p_sys->es->I_O() );
++
++//                             tk.psz_codec_download_url = strdup( string( cdurl ).c_str() );
++//                             msg_Dbg( p_input, "|   |   |   + Track Codec Info URL=%s", tk.psz_codec_download_url );
++//                         }
++//                         else if( EbmlId( *el3 ) == KaxCodecDecodeAll::ClassInfos.GlobalId )
++//                         {
++//                             KaxCodecDecodeAll &cdall = *(KaxCodecDecodeAll*)el3;
++//                             cdall.ReadData( p_sys->es->I_O() );
++
++//                             msg_Dbg( p_input, "|   |   |   + Track Codec Decode All=%u <== UNUSED", uint8( cdall ) );
++//                         }
++//                         else if( EbmlId( *el3 ) == KaxTrackOverlay::ClassInfos.GlobalId )
++//                         {
++//                             KaxTrackOverlay &tovr = *(KaxTrackOverlay*)el3;
++//                             tovr.ReadData( p_sys->es->I_O() );
+ 
+-                            msg_Dbg( p_input, "|   |   |   + Track Overlay=%u <== UNUSED", uint32( tovr ) );
+-                        }
++//                             msg_Dbg( p_input, "|   |   |   + Track Overlay=%u <== UNUSED", uint32( tovr ) );
++//                         }
+                         else  if( EbmlId( *el3 ) == KaxTrackVideo::ClassInfos.GlobalId )
+                         {
+                             msg_Dbg( p_input, "|   |   |   + Track Video" );
+@@ -698,21 +698,22 @@
+ 
+                             while( ( el4 = p_sys->ep->Get() ) != NULL )
+                             {
+-                                if( EbmlId( *el4 ) == KaxVideoFlagInterlaced::ClassInfos.GlobalId )
+-                                {
+-                                    KaxVideoFlagInterlaced &fint = *(KaxVideoFlagInterlaced*)el4;
+-                                    fint.ReadData( p_sys->es->I_O() );
+-
+-                                    msg_Dbg( p_input, "|   |   |   |   + Track Video Interlaced=%u", uint8( fint ) );
+-                                }
+-                                else if( EbmlId( *el4 ) == KaxVideoStereoMode::ClassInfos.GlobalId )
+-                                {
+-                                    KaxVideoStereoMode &stereo = *(KaxVideoStereoMode*)el4;
+-                                    stereo.ReadData( p_sys->es->I_O() );
+-
+-                                    msg_Dbg( p_input, "|   |   |   |   + Track Video Stereo Mode=%u", uint8( stereo ) );
+-                                }
+-                                else if( EbmlId( *el4 ) == KaxVideoPixelWidth::ClassInfos.GlobalId )
++//                                 if( EbmlId( *el4 ) == KaxVideoFlagInterlaced::ClassInfos.GlobalId )
++//                                 {
++//                                     KaxVideoFlagInterlaced &fint = *(KaxVideoFlagInterlaced*)el4;
++//                                     fint.ReadData( p_sys->es->I_O() );
++
++//                                     msg_Dbg( p_input, "|   |   |   |   + Track Video Interlaced=%u", uint8( fint ) );
++//                                 }
++//                                 else if( EbmlId( *el4 ) == KaxVideoStereoMode::ClassInfos.GlobalId )
++//                                 {
++//                                     KaxVideoStereoMode &stereo = *(KaxVideoStereoMode*)el4;
++//                                     stereo.ReadData( p_sys->es->I_O() );
++
++//                                     msg_Dbg( p_input, "|   |   |   |   + Track Video Stereo Mode=%u", uint8( stereo ) );
++//                                 }
++//                                 else 
++                              if( EbmlId( *el4 ) == KaxVideoPixelWidth::ClassInfos.GlobalId )
+                                 {
+                                     KaxVideoPixelWidth &vwidth = *(KaxVideoPixelWidth*)el4;
+                                     vwidth.ReadData( p_sys->es->I_O() );
+@@ -752,28 +753,28 @@
+                                     tk.f_fps = float( vfps );
+                                     msg_Dbg( p_input, "   |   |   |   + fps=%f", float( vfps ) );
+                                 }
+-                                else if( EbmlId( *el4 ) == KaxVideoDisplayUnit::ClassInfos.GlobalId )
+-                                {
+-                                     KaxVideoDisplayUnit &vdmode = *(KaxVideoDisplayUnit*)el4;
+-                                    vdmode.ReadData( p_sys->es->I_O() );
++//                                 else if( EbmlId( *el4 ) == KaxVideoDisplayUnit::ClassInfos.GlobalId )
++//                                 {
++//                                      KaxVideoDisplayUnit &vdmode = *(KaxVideoDisplayUnit*)el4;
++//                                     vdmode.ReadData( p_sys->es->I_O() );
++
++//                                     msg_Dbg( p_input, "|   |   |   |   + Track Video Display Unit=%s",
++//                                              uint8( vdmode ) == 0 ? "pixels" : ( uint8( vdmode ) == 1 ? "centimeters": "inches" ) );
++//                                 }
++//                                 else if( EbmlId( *el4 ) == KaxVideoAspectRatio::ClassInfos.GlobalId )
++//                                 {
++//                                     KaxVideoAspectRatio &ratio = *(KaxVideoAspectRatio*)el4;
++//                                     ratio.ReadData( p_sys->es->I_O() );
++
++//                                     msg_Dbg( p_input, "   |   |   |   + Track Video Aspect Ratio Type=%u", uint8( ratio ) );
++//                                 }
++//                                 else if( EbmlId( *el4 ) == KaxVideoGamma::ClassInfos.GlobalId )
++//                                 {
++//                                     KaxVideoGamma &gamma = *(KaxVideoGamma*)el4;
++//                                     gamma.ReadData( p_sys->es->I_O() );
+ 
+-                                    msg_Dbg( p_input, "|   |   |   |   + Track Video Display Unit=%s",
+-                                             uint8( vdmode ) == 0 ? "pixels" : ( uint8( vdmode ) == 1 ? "centimeters": "inches" ) );
+-                                }
+-                                else if( EbmlId( *el4 ) == KaxVideoAspectRatio::ClassInfos.GlobalId )
+-                                {
+-                                    KaxVideoAspectRatio &ratio = *(KaxVideoAspectRatio*)el4;
+-                                    ratio.ReadData( p_sys->es->I_O() );
+-
+-                                    msg_Dbg( p_input, "   |   |   |   + Track Video Aspect Ratio Type=%u", uint8( ratio ) );
+-                                }
+-                                else if( EbmlId( *el4 ) == KaxVideoGamma::ClassInfos.GlobalId )
+-                                {
+-                                    KaxVideoGamma &gamma = *(KaxVideoGamma*)el4;
+-                                    gamma.ReadData( p_sys->es->I_O() );
+-
+-                                    msg_Dbg( p_input, "   |   |   |   + fps=%f", float( gamma ) );
+-                                }
++//                                     msg_Dbg( p_input, "   |   |   |   + fps=%f", float( gamma ) );
++//                                 }
+                                 else
+                                 {
+                                     msg_Dbg( p_input, "|   |   |   |   + Unknown (%s)", typeid(*el4).name() );
diff -ruN multimedia/vlc.orig/files/theora.c-patch multimedia/vlc/files/theora.c-patch
--- multimedia/vlc.orig/files/theora.c-patch	Wed Dec 31 19:00:00 1969
+++ multimedia/vlc/files/theora.c-patch	Sun Feb 29 22:29:18 2004
@@ -0,0 +1,11 @@
+--- modules/codec/theora.c.orig	Sun Feb 29 22:28:09 2004
++++ modules/codec/theora.c	Sun Feb 29 22:28:23 2004
+@@ -31,7 +31,7 @@
+ #include <ogg/ogg.h>
+ 
+ #include <theora/theora.h>
+-
++extern int theora_encode_tables(theora_state *t, ogg_packet *op);
+ /*****************************************************************************
+  * decoder_sys_t : theora decoder descriptor
+  *****************************************************************************/
diff -ruN multimedia/vlc.orig/pkg-plist multimedia/vlc/pkg-plist
--- multimedia/vlc.orig/pkg-plist	Sun Feb 29 21:53:38 2004
+++ multimedia/vlc/pkg-plist	Mon Mar  1 05:47:12 2004
@@ -82,6 +82,7 @@
 lib/vlc/demux/libid3tag_plugin.so
 lib/vlc/demux/libm3u_plugin.so
 lib/vlc/demux/libm4v_plugin.so
+lib/vlc/demux/libmkv_plugin.so
 lib/vlc/demux/libmp4_plugin.so
 lib/vlc/demux/libmpeg_system_plugin.so
 lib/vlc/demux/libmpga_plugin.so
@@ -89,7 +90,6 @@
 lib/vlc/demux/libogg_plugin.so
 lib/vlc/demux/libps_plugin.so
 lib/vlc/demux/librawdv_plugin.so
-%%LIBDVBPSI%%lib/vlc/demux/libts_dvbpsi_plugin.so
 lib/vlc/demux/libts_plugin.so
 lib/vlc/demux/libwav_plugin.so
 lib/vlc/gui/libgtk_plugin.so
@@ -119,7 +119,6 @@
 lib/vlc/mux/libmux_mp4_plugin.so
 lib/vlc/mux/libmux_ogg_plugin.so
 lib/vlc/mux/libmux_ps_plugin.so
-%%LIBDVBPSI%%lib/vlc/mux/libmux_ts_dvbpsi_plugin.so
 lib/vlc/mux/libmux_ts_plugin.so
 lib/vlc/packetizer/libpacketizer_copy_plugin.so
 lib/vlc/packetizer/libpacketizer_mpeg4audio_plugin.so

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list