summaryrefslogtreecommitdiffstats
path: root/multimedia/vlc-devel/files
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-28 14:47:10 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2005-11-28 14:47:10 +0800
commitdf29250bae0ba55de1c884bd48b54df67b9a2a94 (patch)
tree1b3902a8003fcfe6e8c59219d2477e805ad49800 /multimedia/vlc-devel/files
parentd3f872f1d094133f72e13f09c2ffd2657f1edd7b (diff)
downloadmarcuscom-ports-df29250bae0ba55de1c884bd48b54df67b9a2a94.tar
marcuscom-ports-df29250bae0ba55de1c884bd48b54df67b9a2a94.tar.gz
marcuscom-ports-df29250bae0ba55de1c884bd48b54df67b9a2a94.tar.bz2
marcuscom-ports-df29250bae0ba55de1c884bd48b54df67b9a2a94.tar.lz
marcuscom-ports-df29250bae0ba55de1c884bd48b54df67b9a2a94.tar.xz
marcuscom-ports-df29250bae0ba55de1c884bd48b54df67b9a2a94.tar.zst
marcuscom-ports-df29250bae0ba55de1c884bd48b54df67b9a2a94.zip
- Add vlc-devel at version 20051128
- Avahi support works in this version, but configure script is outdated and needs to be patched or wait until another release. - Use new USE_GECKO - Put a note about www/mplayer-plugin being more complete than vlc-mozilla git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@5228 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'multimedia/vlc-devel/files')
-rw-r--r--multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_ffmpeg.c25
-rw-r--r--multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_postprocess.c18
-rw-r--r--multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_video.c38
-rw-r--r--multimedia/vlc-devel/files/patch-modules_stream_out_switcher.c11
-rw-r--r--multimedia/vlc-devel/files/patch-modules_video_filter_swscale_common.h21
-rw-r--r--multimedia/vlc-devel/files/patch-modules_visualization_galaktos_PCM.c11
-rw-r--r--multimedia/vlc-devel/files/svlc.desktop10
-rw-r--r--multimedia/vlc-devel/files/wxvlc.desktop10
8 files changed, 144 insertions, 0 deletions
diff --git a/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_ffmpeg.c b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_ffmpeg.c
new file mode 100644
index 000000000..502fe4c96
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_ffmpeg.c
@@ -0,0 +1,25 @@
+--- modules/codec/ffmpeg/ffmpeg.c.orig Fri May 13 07:48:21 2005
++++ modules/codec/ffmpeg/ffmpeg.c Fri May 13 13:28:17 2005
+@@ -42,11 +42,9 @@
+
+ #include "ffmpeg.h"
+
+-#ifdef LIBAVCODEC_PP
++#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
+ # ifdef HAVE_POSTPROC_POSTPROCESS_H
+-# include <postproc/postprocess.h>
+-# else
+-# include <libpostproc/postprocess.h>
++# include <ffmpeg/postproc/postprocess.h>
+ # endif
+ #endif
+
+@@ -105,7 +103,7 @@
+ VLC_TRUE );
+ change_integer_range( 0, 2 );
+
+-#ifdef LIBAVCODEC_PP
++#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
+ add_integer( "ffmpeg-pp-q", 0, NULL, PP_Q_TEXT, PP_Q_LONGTEXT, VLC_FALSE );
+ add_string( "ffmpeg-pp-name", "default", NULL, LIBAVCODEC_PP_TEXT,
+ LIBAVCODEC_PP_LONGTEXT, VLC_TRUE );
diff --git a/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_postprocess.c b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_postprocess.c
new file mode 100644
index 000000000..29b5eb319
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_postprocess.c
@@ -0,0 +1,18 @@
+--- modules/codec/ffmpeg/postprocess.c.orig Fri May 13 07:48:21 2005
++++ modules/codec/ffmpeg/postprocess.c Sat May 14 00:11:53 2005
+@@ -35,13 +35,9 @@
+
+ #include "ffmpeg.h"
+
+-#ifdef LIBAVCODEC_PP
++#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
+
+-#ifdef HAVE_POSTPROC_POSTPROCESS_H
+-# include <postproc/postprocess.h>
+-#else
+-# include <libpostproc/postprocess.h>
+-#endif
++#include <ffmpeg/postproc/postprocess.h>
+
+ #ifndef PP_CPU_CAPS_ALTIVEC
+ # define PP_CPU_CAPS_ALTIVEC 0
diff --git a/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_video.c b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_video.c
new file mode 100644
index 000000000..1ed5bda68
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_codec_ffmpeg_video.c
@@ -0,0 +1,38 @@
+--- modules/codec/ffmpeg/video.c.orig Fri May 13 13:30:36 2005
++++ modules/codec/ffmpeg/video.c Fri May 13 13:32:42 2005
+@@ -202,7 +202,7 @@
+
+ p_pic = p_dec->pf_vout_buffer_new( p_dec );
+
+-#ifdef LIBAVCODEC_PP
++#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
+ if( p_sys->p_pp && p_sys->b_pp && !p_sys->b_pp_init )
+ {
+ E_(InitPostproc)( p_dec, p_sys->p_pp, p_context->width,
+@@ -301,7 +301,7 @@
+ p_sys->b_direct_rendering = 1;
+ }
+
+-#ifdef LIBAVCODEC_PP
++#if defined(LIBAVCODEC_PP) && LIBAVCODE_BUILD > 4750
+ p_sys->p_pp = NULL;
+ p_sys->b_pp = p_sys->b_pp_async = p_sys->b_pp_init = VLC_FALSE;
+ p_sys->p_pp = E_(OpenPostproc)( p_dec, &p_sys->b_pp_async );
+@@ -719,7 +719,7 @@
+
+ if( p_sys->p_ff_pic ) av_free( p_sys->p_ff_pic );
+
+-#ifdef LIBAVCODEC_PP
++#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
+ E_(ClosePostproc)( p_dec, p_sys->p_pp );
+ #endif
+
+@@ -741,7 +741,7 @@
+ uint8_t *p_dst, *p_src;
+ int i_src_stride, i_dst_stride;
+
+-#ifdef LIBAVCODEC_PP
++#if defined(LIBAVCODEC_PP) && LIBAVCODEC_BUILD > 4750
+ if( p_sys->p_pp && p_sys->b_pp )
+ E_(PostprocPict)( p_dec, p_sys->p_pp, p_pic, p_ff_pic );
+ else
diff --git a/multimedia/vlc-devel/files/patch-modules_stream_out_switcher.c b/multimedia/vlc-devel/files/patch-modules_stream_out_switcher.c
new file mode 100644
index 000000000..3952ddff1
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_stream_out_switcher.c
@@ -0,0 +1,11 @@
+--- modules/stream_out/switcher.c.orig Wed Mar 23 03:57:15 2005
++++ modules/stream_out/switcher.c Wed Mar 23 03:57:50 2005
+@@ -44,7 +44,7 @@
+ #ifdef HAVE_POSTPROC_POSTPROCESS_H
+ # include <postproc/postprocess.h>
+ #else
+-# include <libpostproc/postprocess.h>
++# include <ffmpeg/postproc/postprocess.h>
+ #endif
+
+ #define SOUT_CFG_PREFIX "sout-switcher-"
diff --git a/multimedia/vlc-devel/files/patch-modules_video_filter_swscale_common.h b/multimedia/vlc-devel/files/patch-modules_video_filter_swscale_common.h
new file mode 100644
index 000000000..4219d8b53
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_video_filter_swscale_common.h
@@ -0,0 +1,21 @@
+--- modules/video_filter/swscale/common.h.orig Fri May 13 03:23:24 2005
++++ modules/video_filter/swscale/common.h Fri May 13 03:37:24 2005
+@@ -36,7 +36,17 @@
+ #define MANGLE(a) #a
+ #endif
+
+-#ifdef ARCH_X86
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++
++#if (defined(__FreeBSD__) && __FreeBSD_version >= 500000)
++#include <sys/endian.h>
++#define bswap_16(x) bswap16(x)
++#elif (defined(__FreeBSD__) && __FreeBSD_version <= 500000)
++#include <sys/endian.h>
++#define bswap_16(x) be16toh(x)
++#elif ARCH_X86
+ static inline unsigned short ByteSwap16(unsigned short x)
+ {
+ __asm("xchgb %b0,%h0" :
diff --git a/multimedia/vlc-devel/files/patch-modules_visualization_galaktos_PCM.c b/multimedia/vlc-devel/files/patch-modules_visualization_galaktos_PCM.c
new file mode 100644
index 000000000..78799ac46
--- /dev/null
+++ b/multimedia/vlc-devel/files/patch-modules_visualization_galaktos_PCM.c
@@ -0,0 +1,11 @@
+--- modules/visualization/galaktos/PCM.c.orig Fri Nov 26 08:21:47 2004
++++ modules/visualization/galaktos/PCM.c Fri Nov 26 08:22:06 2004
+@@ -79,7 +79,7 @@
+ //Takes in a 2x512 array of PCM samples
+ //and stores them
+
+-void addPCM(int16_t PCMdata[2][512])
++void addPCM(short PCMdata[2][512])
+ {
+ int i,j;
+ int samples=512;
diff --git a/multimedia/vlc-devel/files/svlc.desktop b/multimedia/vlc-devel/files/svlc.desktop
new file mode 100644
index 000000000..e7ed9a3ee
--- /dev/null
+++ b/multimedia/vlc-devel/files/svlc.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=VideoLAN (skins) Media Player
+Comment=Video and Audio player and server
+Icon=gvlc.png
+Exec=vlc --intf skins2
+TryExec=svlc
+Terminal=false
+Type=Application
+Categories=Application;AudioVideo;
diff --git a/multimedia/vlc-devel/files/wxvlc.desktop b/multimedia/vlc-devel/files/wxvlc.desktop
new file mode 100644
index 000000000..c95dd3f62
--- /dev/null
+++ b/multimedia/vlc-devel/files/wxvlc.desktop
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Encoding=UTF-8
+Name=VideoLAN (wxgtk) Media Player
+Comment=Video and Audio player and server
+Icon=vlc.png
+Exec=vlc
+TryExec=wxvlc
+Terminal=false
+Type=Application
+Categories=Application;AudioVideo;