diff options
author | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
---|---|---|
committer | Cecil Hugh Watson <knoppmyth@gmail.com> | 2009-09-26 01:57:08 (GMT) |
commit | 7b29169fff9e7c624890c5edffe85def8a293136 (patch) | |
tree | 47753889faa3a2063b66d1c7e7681e703eb1b39a /abs/core/mplayer | |
parent | c491dea779dac29afff3578bf8245943817c2339 (diff) | |
download | linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.zip linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.gz linhes_pkgbuild-7b29169fff9e7c624890c5edffe85def8a293136.tar.bz2 |
LinHES 6.01.00
Diffstat (limited to 'abs/core/mplayer')
-rw-r--r-- | abs/core/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch | 286 | ||||
-rw-r--r-- | abs/core/mplayer/PKGBUILD | 98 | ||||
-rw-r--r-- | abs/core/mplayer/demux_audio_fix_20080129.diff | 11 | ||||
-rw-r--r-- | abs/core/mplayer/demux_mov_fix_20080129.diff | 45 | ||||
-rw-r--r-- | abs/core/mplayer/ivtv_2.6.24.patch | 33 | ||||
-rw-r--r-- | abs/core/mplayer/stream_cddb_fix_20080120.diff | 32 | ||||
-rw-r--r-- | abs/core/mplayer/url_fix_20080120.diff | 10 |
7 files changed, 47 insertions, 468 deletions
diff --git a/abs/core/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch b/abs/core/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch deleted file mode 100644 index 79deb93..0000000 --- a/abs/core/mplayer/MPlayer-1.0rc1-gnome-screensaver.patch +++ /dev/null @@ -1,286 +0,0 @@ -diff -Nur MPlayer-1.0rc1.orig/configure MPlayer-1.0rc1/configure ---- MPlayer-1.0rc1.orig/configure 2006-10-23 00:32:31.000000000 +0200 -+++ MPlayer-1.0rc1/configure 2006-11-11 14:02:38.000000000 +0100 -@@ -257,6 +257,7 @@ - --disable-ftp Disable ftp support [enabled] - --disable-vstream Disable tivo vstream client support [autodetect] - --disable-pthreads Disable Posix threads support [autodetect] -+ --disable-dbus-glib Disable D-BUS GLib interface (required for GNOME screensaver support) [autodetect] - --disable-ass Disable internal SSA/ASS subtitles support [autodetect] - --enable-rpath Enable runtime linker path for extra libs [disabled] - -@@ -1721,6 +1722,7 @@ - _musepack=auto - _vstream=auto - _pthreads=auto -+_dbus_glib=auto - _ass=auto - _rpath=no - _asmalign_pot=auto -@@ -2033,6 +2035,8 @@ - --disable-vstream) _vstream=no ;; - --enable-pthreads) _pthreads=yes ;; - --disable-pthreads) _pthreads=no ;; -+ --enable-dbus-glib) _dbus_glib=yes ;; -+ --disable-dbus-glib) _dbus_glib=no ;; - --enable-ass) _ass=yes ;; - --disable-ass) _ass=no ;; - --enable-rpath) _rpath=yes ;; -@@ -7029,6 +7033,19 @@ - fi - echores "$_gethostbyname2" - -+echocheck "D-BUS GLib interface" -+if test "$_dbus_glib" = auto && pkg-config --exists dbus-glib-1; then -+ _dbus_glib=yes -+ _inc_dbus_glib=`pkg-config --cflags dbus-glib-1 2>/dev/null` -+ _ld_dbus_glib=`pkg-config --libs dbus-glib-1 2>/dev/null` -+fi -+ -+if test "$_dbus_glib" = yes; then -+ _def_dbus_glib='#define HAVE_DBUS_GLIB 1' -+else -+ _def_dbus_glib='#undef HAVE_DBUS_GLIB' -+fi -+echores "$_dbus_glib" - - # --------------- GUI specific tests begin ------------------- - echocheck "GUI" -@@ -7521,6 +7538,10 @@ - VESA_LIB = $_ld_vesa - AA_LIB = $_ld_aa - CACA_LIB = $_ld_caca -+DBUS_GLIB_INC = $_inc_dbus_glib -+DBUS_GLIB_LIB = $_ld_dbus_glib -+DBUS_GLIB = $_dbus_glib -+ - - # audio output - OSS = $_ossaudio -@@ -8378,6 +8399,7 @@ - $_def_tga - $_def_toolame - $_def_twolame -+$_def_dbus_glib - - /* used by GUI: */ - $_def_xshape -diff -Nur MPlayer-1.0rc1.orig/help/help_mp-en.h MPlayer-1.0rc1/help/help_mp-en.h ---- MPlayer-1.0rc1.orig/help/help_mp-en.h 2006-10-23 00:32:29.000000000 +0200 -+++ MPlayer-1.0rc1/help/help_mp-en.h 2006-11-11 14:02:38.000000000 +0100 -@@ -679,6 +679,13 @@ - #define MSGTR_InsertingAfVolume "[Mixer] No hardware mixing, inserting volume filter.\n" - #define MSGTR_NoVolume "[Mixer] No volume control available.\n" - -+// gnome_screensaver.c -+#define MSGTR_OpenBusConnectionError "%s: Failed to open connection to bus: %s\n" -+#define MSGTR_RemoteMethodException "%s: Caught remote method exception %s: %s\n" -+#define MSGTR_GError "%s: Error: %s\n" -+#define MSGTR_GNOMEScreensaverEnabled "GNOME screensaver enabled\n" -+#define MSGTR_GNOMEScreensaverDisabled "GNOME screensaver disabled\n" -+ - // ====================== GUI messages/buttons ======================== - - #ifdef HAVE_NEW_GUI -diff -Nur MPlayer-1.0rc1.orig/libvo/gnome_screensaver.c MPlayer-1.0rc1/libvo/gnome_screensaver.c ---- MPlayer-1.0rc1.orig/libvo/gnome_screensaver.c 1970-01-01 01:00:00.000000000 +0100 -+++ MPlayer-1.0rc1/libvo/gnome_screensaver.c 2006-11-11 14:02:38.000000000 +0100 -@@ -0,0 +1,120 @@ -+/* -+ * gnome_screensaver.c v0.0.7 -+ * -+ * Enable/Disable the GNOME screensaver -+ * Supports GNOME screensaver API 2.14 and 2.15 -+ * -+ * Call gnome_screensaver_control(1) to enable and -+ * gnome_screensaver_control(0) to disable -+ * -+ */ -+ -+#include <stdlib.h> -+#include <unistd.h> -+#include <dbus/dbus-glib.h> -+ -+#include "gnome_screensaver.h" -+#include "mp_msg.h" -+#include "help_mp.h" -+ -+#define GS_SERVICE "org.gnome.ScreenSaver" -+#define GS_PATH "/org/gnome/ScreenSaver" -+#define GS_INTERFACE "org.gnome.ScreenSaver" -+ -+#define GS_APPLICATION_NAME "MPlayer" -+#define GS_REASON_FOR_INHIBIT "Playing a movie" -+ -+static guint32 cookie; -+ -+void gnome_screensaver_control(int enable) -+{ -+ DBusGConnection *connection; -+ GError *error; -+ DBusGProxy *proxy; -+ gboolean ret; -+ char *funcname = "gnome_screensaver_control()"; -+ -+ g_type_init(); -+ -+ /* Get a connection to the session bus */ -+ error = NULL; -+ connection = dbus_g_bus_get(DBUS_BUS_SESSION, &error); -+ if (connection == NULL) { -+ mp_msg(MSGT_VO, MSGL_ERR, -+ funcname, MSGTR_OpenBusConnectionError, error->message); -+ g_error_free(error); -+ return; -+ } -+ -+ /* Create a proxy object */ -+ proxy = dbus_g_proxy_new_for_name(connection, -+ GS_SERVICE, GS_PATH, GS_INTERFACE); -+ -+ /* Enable the screensaver */ -+ if (enable) { -+ /* First call the GNOME screensaver 2.15 API method */ -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "UnInhibit", &error, G_TYPE_UINT, -+ cookie, G_TYPE_INVALID); -+ -+ /* If this fails, try the GNOME screensaver 2.14 API */ -+ if (!ret && error->domain == DBUS_GERROR -+ && error->code == DBUS_GERROR_UNKNOWN_METHOD) { -+ mp_msg(MSGT_VO, MSGL_V, -+ "%s: GNOME screensaver 2.15 API failed, trying 2.14 API\n", -+ funcname); -+ g_error_free(error); -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "AllowActivation", &error, -+ G_TYPE_INVALID, G_TYPE_INVALID); -+ } -+ } -+ /* Disable the screensaver */ -+ else { -+ /* First call the GNOME screensaver 2.15 API method */ -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "Inhibit", &error, G_TYPE_STRING, -+ GS_APPLICATION_NAME, G_TYPE_STRING, -+ GS_REASON_FOR_INHIBIT, G_TYPE_INVALID, -+ G_TYPE_UINT, cookie, G_TYPE_INVALID); -+ -+ /* If this fails, try the GNOME screensaver 2.14 API */ -+ if (!ret && error->domain == DBUS_GERROR -+ && error->code == DBUS_GERROR_UNKNOWN_METHOD) { -+ mp_msg(MSGT_VO, MSGL_V, -+ "%s: GNOME screensaver 2.15 API failed, trying 2.14 API\n", -+ funcname); -+ g_error_free(error); -+ error = NULL; -+ ret = -+ dbus_g_proxy_call(proxy, "InhibitActivation", &error, -+ G_TYPE_STRING, GS_REASON_FOR_INHIBIT, -+ G_TYPE_INVALID, G_TYPE_INVALID); -+ } -+ } -+ -+ if (!ret) { -+ /* Check if it's a remote exception or a regular GError */ -+ if (error->domain == DBUS_GERROR -+ && error->code == DBUS_GERROR_REMOTE_EXCEPTION) { -+ mp_msg(MSGT_VO, MSGL_ERR, -+ funcname, MSGTR_RemoteMethodException, -+ dbus_g_error_get_name(error), error->message); -+ } -+ else { -+ mp_msg(MSGT_VO, MSGL_ERR, -+ funcname, MSGTR_GError, error->message); -+ } -+ g_error_free(error); -+ } -+ else { -+ mp_msg(MSGT_VO, MSGL_INFO, -+ enable ? MSGTR_GNOMEScreensaverEnabled : -+ MSGTR_GNOMEScreensaverDisabled); -+ } -+ -+ g_object_unref(proxy); -+} -diff -Nur MPlayer-1.0rc1.orig/libvo/gnome_screensaver.h MPlayer-1.0rc1/libvo/gnome_screensaver.h ---- MPlayer-1.0rc1.orig/libvo/gnome_screensaver.h 1970-01-01 01:00:00.000000000 +0100 -+++ MPlayer-1.0rc1/libvo/gnome_screensaver.h 2006-11-11 14:02:38.000000000 +0100 -@@ -0,0 +1,6 @@ -+#ifndef _GNOME_SCREENSAVER_H -+#define _GNOME_SCREENSAVER_H -+ -+extern void gnome_screensaver_control(int enable); -+ -+#endif /* !_GNOME_SCREENSAVER_H */ -diff -Nur MPlayer-1.0rc1.orig/libvo/Makefile MPlayer-1.0rc1/libvo/Makefile ---- MPlayer-1.0rc1.orig/libvo/Makefile 2006-10-23 00:32:26.000000000 +0200 -+++ MPlayer-1.0rc1/libvo/Makefile 2006-11-11 14:02:38.000000000 +0100 -@@ -39,6 +39,11 @@ - SRCS += vosub_vidix.c - endif - -+ifeq ($(DBUS_GLIB),yes) -+SRCS += gnome_screensaver.c -+LIBAV_INC += $(DBUS_GLIB_INC) -+endif -+ - INCLUDE = -I. -I.. -I../osdep $(LIBAV_INC) - CFLAGS = $(INCLUDE) $(OPTFLAGS) -DMPG12PLAY - -diff -Nur MPlayer-1.0rc1.orig/libvo/x11_common.c MPlayer-1.0rc1/libvo/x11_common.c ---- MPlayer-1.0rc1.orig/libvo/x11_common.c 2006-10-23 00:32:26.000000000 +0200 -+++ MPlayer-1.0rc1/libvo/x11_common.c 2006-11-11 14:02:38.000000000 +0100 -@@ -58,6 +58,10 @@ - #include "mplayer.h" - #endif - -+#ifdef HAVE_DBUS_GLIB -+#include "gnome_screensaver.h" -+#endif -+ - #define WIN_LAYER_ONBOTTOM 2 - #define WIN_LAYER_NORMAL 4 - #define WIN_LAYER_ONTOP 6 -@@ -1701,8 +1705,12 @@ - timeout_save = 0; - } - -- if (stop_xscreensaver) -+ if (stop_xscreensaver) { - xscreensaver_enable(); -+#ifdef HAVE_DBUS_GLIB -+ gnome_screensaver_control(1); -+#endif -+ } - if (kdescreensaver_was_running && stop_xscreensaver) - { - system -@@ -1747,8 +1755,12 @@ - allow_exp); - } - // turning off screensaver -- if (stop_xscreensaver) -+ if (stop_xscreensaver) { - xscreensaver_disable(mDisplay); -+#ifdef HAVE_DBUS_GLIB -+ gnome_screensaver_control(0); -+#endif -+ } - if (stop_xscreensaver && !kdescreensaver_was_running) - { - kdescreensaver_was_running = -diff -Nur MPlayer-1.0rc1.orig/Makefile MPlayer-1.0rc1/Makefile ---- MPlayer-1.0rc1.orig/Makefile 2006-10-23 00:32:31.000000000 +0200 -+++ MPlayer-1.0rc1/Makefile 2006-11-11 14:02:38.000000000 +0100 -@@ -75,6 +75,7 @@ - $(DIRECTFB_LIB) \ - $(CACA_LIB) \ - $(VESA_LIB) \ -+ $(DBUS_GLIB_LIB) \ - - ifeq ($(VIDIX),yes) - VO_LIBS += vidix/libvidix.a diff --git a/abs/core/mplayer/PKGBUILD b/abs/core/mplayer/PKGBUILD index f69a21a..0b670c1 100644 --- a/abs/core/mplayer/PKGBUILD +++ b/abs/core/mplayer/PKGBUILD @@ -1,67 +1,63 @@ -# $Id: PKGBUILD 3632 2008-06-26 11:48:49Z paul $ -# Maintainer: Thomas Bächler <thomas@archlinux.org> pkgname=mplayer -pkgver=1.0rc2 -pkgrel=5 -pkgdesc="A movie player for linux" -arch=(i686 x86_64) +pkgver=29438 +pkgrel=1 +pkgdesc="Famous multimedia player, dev. version, without its GUI" +arch=('i686' 'x86_64') +url="http://www.mplayerhq.hu/" +license=('GPL') depends=('libxxf86dga' 'libxv' 'libmad' 'giflib' 'cdparanoia' 'gtk2' - 'sdl' 'lame' 'libtheora' 'xvidcore' - 'libgl' 'smbclient' 'aalib' 'jack-audio-connection-kit' - 'x264>=20080625' 'faac' 'lirc-utils' 'ttf-dejavu') + 'sdl' 'lame' 'libtheora' 'xvidcore' 'zlib' 'libmng' 'libxss' + 'libgl' 'smbclient' 'aalib' 'x264>=20090108' 'faac' 'lirc-utils' + 'ttf-dejavu' 'fribidi' 'libmng' 'libxfont' 'libjpeg') license=('GPL') -url="http://www.mplayerhq.hu/" -makedepends=('libcaca' 'unzip' 'live-media' 'libdca' 'mesa') -backup=('etc/mplayer/codecs.conf' 'etc/mplayer/input.conf') -source=(http://www.mplayerhq.hu/MPlayer/releases/MPlayer-${pkgver}.tar.bz2 - http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2 - http://www.mplayerhq.hu/MPlayer/patches/demux_audio_fix_20080129.diff - http://www.mplayerhq.hu/MPlayer/patches/demux_mov_fix_20080129.diff - http://www.mplayerhq.hu/MPlayer/patches/url_fix_20080120.diff - http://www.mplayerhq.hu/MPlayer/patches/stream_cddb_fix_20080120.diff - ivtv_2.6.24.patch) -md5sums=('7e27e535c2d267637df34898f1b91707' - 'e4e2020d11b681aac898103b3ba723c4' - '320af7daa1b248ee8e8c15d34d7923e3' - 'ce999929155f509a3e6bee41d9d613ed' - '6a2c124586e1e6c44ae4ca1b4be9b6e4' - 'c7d1bcdd61fcceb7598d61fe2213c587' - '1ef35068587f6b6dbc99342567895236') +makedepends=('libcaca' 'unzip' 'live-media' 'libdca' 'subversion' 'nvidia-utils') -build() { - cd $startdir/src/MPlayer-${pkgver} +conflicts=('mplayer-nogui-svn') +provides=('mplayer') +source=(http://knoppmyth.net/repo/source/mplayer-export-snapshot.tar.bz2 http://www.mplayerhq.hu/MPlayer/skins/Blue-1.7.tar.bz2) +md5sums=() - # Custom CFLAGS break the mplayer build - unset CFLAGS +_svnmod="mplayer" +_svntrunk=svn://svn.mplayerhq.hu/mplayer/trunk/ - # Add support for gnome screensaver - #patch -p1 -i ../MPlayer-1.0rc1-gnome-screensaver.patch || return 1 +build() { - # Workaround for changed ivtv interface since it went mainline in 2.6.24 - patch -p1 -i ../ivtv_2.6.24.patch || return 1 - - # Fix security issues - for p in demux_audio_fix_20080129.diff demux_mov_fix_20080129.diff url_fix_20080120.diff stream_cddb_fix_20080120.diff; do - patch -p0 -i ../${p} - done + cd $srcdir +# if [ -d $_svnmod/.svn ]; then +# cd $_svnmod +# svn up -r $pkgver +# else +# svn co $_svntrunk --config-dir . -r $pkgver $_svnmod +# fi + # msg "SVN checkout done or server timeout" - cd $startdir/src/MPlayer-${pkgver} + #cp -r $_svnmod $_svnmod-build + cp -r mplayer-export-2009-04-03/ $_svnmod-build + cd $_svnmod-build + msg "Building the package..." + CFLAGS="$CFLAGS -fomit-frame-pointer" + # Custom CFLAGS break the mplayer build +# unset CFLAGS ./configure --prefix=/usr --enable-gui --disable-arts --enable-x11 \ --enable-runtime-cpudetection --confdir=/etc/mplayer --disable-nas \ - --enable-gl --enable-tv-v4l1 --enable-tv-v4l2 --enable-largefiles \ + --enable-tv-v4l1 --enable-tv-v4l2 --enable-largefiles \ --disable-liblzo --disable-speex --disable-openal \ - --disable-fribidi --disable-libdv --disable-musepack \ + --enable-fribidi --disable-libdv --disable-musepack \ --language=all --disable-dvdnav --disable-esd --disable-mga \ - --disable-libamr_nb \ - --with-extraincdir=/usr/lib/live-media + --disable-libamr_nb --enable-lirc --disable-jack \ + --enable-freetype --enable-vdpau + make || return 1 + make DESTDIR=$pkgdir install || return 1 - [ "$CARCH" = "i686" ] && sed 's|-march=i486|-march=i686|g' -i config.mak + install -m0644 etc/{codecs.conf,input.conf,example.conf} $pkgdir/etc/mplayer + install -d $pkgdir/usr/share/mplayer/ + ln -s /usr/share/fonts/TTF/DejaVuSans.ttf $pkgdir/usr/share/mplayer/subfont.ttf + rm -rf ${pkgdir}/usr/share/mplayer/font + mv ${srcdir}/Blue ${pkgdir}/usr/share/mplayer/skins/default + mkdir -p ${pkgdir}/usr/share/doc/mplayer + cp ${srcdir}/$_svnmod-build/DOCS/tech/* ${pkgdir}/usr/share/doc/mplayer + msg "Cleaning build files..." + rm -rf $srcdir/$_svnmod-build - make || return 1 - make -j1 DESTDIR=${startdir}/pkg install - cp etc/{codecs.conf,input.conf,example.conf} ${startdir}/pkg/etc/mplayer/ - ln -s /usr/share/fonts/TTF/DejaVuSans.ttf ${startdir}/pkg/usr/share/mplayer/subfont.ttf - rm -rf ${startdir}/pkg/usr/share/mplayer/font - mv ${startdir}/src/Blue ${startdir}/pkg/usr/share/mplayer/skins/default } diff --git a/abs/core/mplayer/demux_audio_fix_20080129.diff b/abs/core/mplayer/demux_audio_fix_20080129.diff deleted file mode 100644 index 1b18b6e..0000000 --- a/abs/core/mplayer/demux_audio_fix_20080129.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- libmpdemux/demux_audio.c (revision 24724) -+++ libmpdemux/demux_audio.c (working copy) -@@ -229,6 +229,8 @@ - ptr += 4; - - comment = ptr; -+ if (&comment[length] < comments || &comment[length] >= &comments[blk_len]) -+ return; - c = comment[length]; - comment[length] = 0; - diff --git a/abs/core/mplayer/demux_mov_fix_20080129.diff b/abs/core/mplayer/demux_mov_fix_20080129.diff deleted file mode 100644 index d83477b..0000000 --- a/abs/core/mplayer/demux_mov_fix_20080129.diff +++ /dev/null @@ -1,45 +0,0 @@ ---- libmpdemux/demux_mov.c (revision 24724) -+++ libmpdemux/demux_mov.c (working copy) -@@ -173,11 +173,12 @@ - i=trak->chunkmap_size; - while(i>0){ - --i; -- for(j=trak->chunkmap[i].first;j<last;j++){ -+ j=FFMAX(trak->chunkmap[i].first, 0); -+ for(;j<last;j++){ - trak->chunks[j].desc=trak->chunkmap[i].sdid; - trak->chunks[j].size=trak->chunkmap[i].spc; - } -- last=trak->chunkmap[i].first; -+ last=FFMIN(trak->chunkmap[i].first, trak->chunks_size); - } - - #if 0 -@@ -235,6 +236,8 @@ - s=0; - for(j=0;j<trak->durmap_size;j++){ - for(i=0;i<trak->durmap[j].num;i++){ -+ if (s >= trak->samples_size) -+ break; - trak->samples[s].pts=pts; - ++s; - pts+=trak->durmap[j].dur; -@@ -246,6 +249,8 @@ - for(j=0;j<trak->chunks_size;j++){ - off_t pos=trak->chunks[j].pos; - for(i=0;i<trak->chunks[j].size;i++){ -+ if (s >= trak->samples_size) -+ break; - trak->samples[s].pos=pos; - mp_msg(MSGT_DEMUX, MSGL_DBG3, "Sample %5d: pts=%8d off=0x%08X size=%d\n",s, - trak->samples[s].pts, -@@ -1568,8 +1573,7 @@ - if( udta_len>udta_size) - udta_len=udta_size; - { -- char dump[udta_len-4]; -- stream_read(demuxer->stream, (char *)&dump, udta_len-4-4); -+ stream_skip(demuxer->stream, udta_len-4-4); - udta_size -= udta_len; - } - } diff --git a/abs/core/mplayer/ivtv_2.6.24.patch b/abs/core/mplayer/ivtv_2.6.24.patch deleted file mode 100644 index 4e0a3fe..0000000 --- a/abs/core/mplayer/ivtv_2.6.24.patch +++ /dev/null @@ -1,33 +0,0 @@ -Patch to account for linux-2.6.24.x including ivtv, but MPlayer won't -build against it. See this link for more information and the origin -of the patch: -http://archives.free.net.ph/message/20080201.201454.1047775e.en.html -Thanks to Robby Workman for pointing me to this one. - -diff -Nur MPlayer-1.0rc2.orig/configure MPlayer-1.0rc2/configure ---- MPlayer-1.0rc2.orig/configure 2007-10-07 21:49:33.000000000 +0200 -+++ MPlayer-1.0rc2/configure 2008-03-10 10:27:29.000000000 +0100 -@@ -4920,7 +4920,7 @@ - echores "$_dxr3" - - --echocheck "IVTV TV-Out" -+echocheck "IVTV TV-Out (pre linux-2.6.24)" - if test "$_ivtv" = auto ; then - cat > $TMPC << EOF - #include <stdlib.h> -@@ -4928,7 +4928,13 @@ - #include <linux/types.h> - #include <linux/videodev2.h> - #include <linux/ivtv.h> --int main(void) { return 0; } -+#include <sys/ioctl.h> -+int main(void) { -+struct ivtv_cfg_stop_decode sd; -+struct ivtv_cfg_start_decode sd1; -+ioctl (0, IVTV_IOC_START_DECODE, &sd1); -+ioctl (0, IVTV_IOC_STOP_DECODE, &sd); -+return 0; } - EOF - _ivtv=no - cc_check && _ivtv=yes diff --git a/abs/core/mplayer/stream_cddb_fix_20080120.diff b/abs/core/mplayer/stream_cddb_fix_20080120.diff deleted file mode 100644 index 45f7226..0000000 --- a/abs/core/mplayer/stream_cddb_fix_20080120.diff +++ /dev/null @@ -1,32 +0,0 @@ ---- stream/stream_cddb.c (revision 24724) -+++ stream/stream_cddb.c (working copy) -@@ -53,6 +53,7 @@ - #include "version.h" - #include "stream.h" - #include "network.h" -+#include "libavutil/intreadwrite.h" - - #define DEFAULT_FREEDB_SERVER "freedb.freedb.org" - #define DEFAULT_CACHE_DIR "/.cddb/" -@@ -453,8 +454,9 @@ - } else { - len = ptr2-ptr+1; - } -+ len = FFMIN(sizeof(album_title) - 1, len); - strncpy(album_title, ptr, len); -- album_title[len-2]='\0'; -+ album_title[len]='\0'; - } - mp_msg(MSGT_DEMUX, MSGL_STATUS, MSGTR_MPDEMUX_CDDB_ParseOKFoundAlbumTitle, album_title); - return 0; -@@ -490,8 +492,9 @@ - } else { - len = ptr2-ptr+1; - } -+ len = FFMIN(sizeof(album_title) - 1, len); - strncpy(album_title, ptr, len); -- album_title[len-2]='\0'; -+ album_title[len]='\0'; - } - mp_msg(MSGT_DEMUX, MSGL_STATUS, MSGTR_MPDEMUX_CDDB_ParseOKFoundAlbumTitle, album_title); - return cddb_request_titles(cddb_data); diff --git a/abs/core/mplayer/url_fix_20080120.diff b/abs/core/mplayer/url_fix_20080120.diff deleted file mode 100644 index a073589..0000000 --- a/abs/core/mplayer/url_fix_20080120.diff +++ /dev/null @@ -1,10 +0,0 @@ ---- stream/url.c (revision 24724) -+++ stream/url.c (working copy) -@@ -328,6 +328,7 @@ - } - } - -+ tmp = NULL; - while(i < len) { - // look for the next char that must be kept - for (j=i;j<len;j++) { |