On Thu, Mar 27, 2008 at 11:02:45AM +0100, Tony Grant wrote:
> Reinhard,
> 
> I decided to try vdr 1.6.0 and vdr-xine 0.8.2 and have ran into the XINE
> VDR VERSION MISMATCH in INSTALL issue.
> 
> I am running xine-lib 1.2 pulled from the xine site
> 
> pkg-config --cflags libxine
> -I/usr/local/include
> 
> I can't see what is wrong

I use this in order to be sure I only got ONE xine-lib installed :

#!/bin/bash
source /etc/make.conf
p=vdr.patch
MAKE='sudo nice -n 4 make -j3'
OPTIONS="show update dry-run apply undry-run  unapply compile log exit"
select opt in $OPTIONS; do
        if [ "$opt" = "show" ]; then
                vi $p
        elif [ "$opt" = "update" ]; then
                hg pull -u http://hg.debian.org/hg/xine-lib/xine-lib-1.2/
        elif [ "$opt" = "dry-run" ]; then
                patch --dry-run -p1 < $p
        elif [ "$opt" = "apply" ]; then
                patch -p1 < $p
        elif [ "$opt" = "undry-run" ]; then
                patch --dry-run -p1 -R < $p
        elif [ "$opt" = "unapply" ]; then
                patch -p1 -R < $p
        elif [ "$opt" = "compile" ]; then
                sudo ./autogen.sh --disable-dxr3 --enable-opengl --enable-v4l \
                --enable-glu --enable-dvb --prefix=/usr \
                --with-alsa --with-external-ffmpeg --with-fontconfig \
                --with-freetype --with-x --with-xv-path=/usr/X11R6/lib \
                --x-includes=/usr/include && $MAKE && $MAKE install && \
                sudo rm -fr /usr/lib/xine && $MAKE install && $MAKE distclean
        elif [ "$opt" = "log" ]; then
                hg log|less
        elif [ "$opt" = "exit" ]; then
                exit
        else
                echo bad option
        fi
done

Just put this into your xine-lib-1.2 hg's source and adjust it if you
don't want to install into /usr ;-)

If you don't use gentoo, you could remove the source... and my p is only
to have vdr fifo where I want them...

(notice the rm -fr /usr/lib/xine which I only run if the install is
successfull to be sure I can have a complete be unique xine install).

Hope that could be of any help ;-)
-- 
Grégoire FAVRE  http://gregoire.favre.googlepages.com  http://www.gnupg.org
               http://picasaweb.google.com/Gregoire.Favre

_______________________________________________
vdr mailing list
vdr@linuxtv.org
http://www.linuxtv.org/cgi-bin/mailman/listinfo/vdr

Reply via email to