So, damit man nicht den gesamten Thread lesen muss, anbei die Lösung:
DIE LÖSUNG:
Code
cd /usr/src/
hg clone http://hg.debian.org/hg/xine-lib/xine-lib-1.2 xine-lib-1.2
cd xine-lib-1.2
wget http://unix.oppserver.net/xine-lib/1.2/xine-lib-1.2-vdpau-r286_without-defineLOCKDISPLAY.diff
wget http://unix.oppserver.net/xine-lib/1.2/xine-lib-1.2-vdpau-r286-extensions-v11.diff
patch -p1 < xine-lib-1.2-vdpau-r286_with*.diff
patch -p1 < xine-lib-1.2-vdpau-r286-extensions-v11.diff
./autogen.sh --with-external-ffmpeg --disable-dxr3 --enable-debug --disable-optimizations --disable-musepack
make
make install
ldconfig
Alles anzeigen
########################################################################################
DER ANFANG:
Hallo, beim bauen der xine-lib 1.2 klemmt es bei mir ein wenig. Ich bin wie folgt vorgegangen:
Code
hg clone http://hg.debian.org/hg/xine-lib/xine-lib-1.2 xine-lib-1.2
cd xine-lib-1.2
wget http://www.jusst.de/vdpau/files/xine-lib-1.2/xine-lib-1.2-vdpau-r284.diff.bz2
bzip2 -d xine-lib-1.2-vdpau-r284.diff.bz2
wget http://durchflieger.dachsweb.de/vdpau-extensions/v11/xine-lib-1.2-vdpau-r284-extensions-v11.diff.gz
gunzip xine-lib-1.2-vdpau-r284-extensions-v11.diff.gz
Soweit so gut. Beim Patchen bekomme ich schon die ersten Hunks:
Code
lenny:/usr/src/xine-lib-1.2# patch -p1 < xine-lib-1.2-vdpau-r284.diff
patching file README-VDPAU
patching file configure.ac
Hunk #1 succeeded at 1272 (offset 7 lines).
patching file debian/shlibdeps.sh
patching file include/xine.h
patching file include/xine/video_out.h
Hunk #1 FAILED at 155.
1 out of 4 hunks FAILED -- saving rejects to file include/xine/video_out.h.rej
patching file m4/summary.m4
patching file m4/video_out.m4
patching file src/demuxers/Makefile.am
patching file src/demuxers/demux_mpeg.c
patching file src/demuxers/demux_vc1es.c
patching file src/spu_dec/spudvb_decoder.c
Hunk #1 succeeded at 32 with fuzz 1.
patching file src/video_dec/Makefile.am
patching file src/video_dec/libvdpau/Makefile.am
patching file src/video_dec/libvdpau/bits_reader.h
patching file src/video_dec/libvdpau/dpb.c
patching file src/video_dec/libvdpau/dpb.h
patching file src/video_dec/libvdpau/h264_parser.c
patching file src/video_dec/libvdpau/h264_parser.h
patching file src/video_dec/libvdpau/nal.c
patching file src/video_dec/libvdpau/nal.h
patching file src/video_dec/libvdpau/vdpau_h264.c
patching file src/video_dec/libvdpau/vdpau_mpeg12.c
patching file src/video_dec/libvdpau/vdpau_vc1.c
patching file src/video_out/Makefile.am
patching file src/video_out/video_out_raw.c
Hunk #1 FAILED at 166.
1 out of 4 hunks FAILED -- saving rejects to file src/video_out/video_out_raw.c.rej
patching file src/video_out/video_out_vdpau.c
patching file src/video_out/video_out_xv.c
patching file src/xine-engine/accel_vdpau.h
patching file src/xine-engine/load_plugins.c
patching file src/xine-engine/video_out.c
Hunk #1 succeeded at 902 with fuzz 2.
Hunk #2 FAILED at 933.
Hunk #3 FAILED at 992.
Hunk #4 FAILED at 1466.
Hunk #5 FAILED at 1557.
4 out of 5 hunks FAILED -- saving rejects to file src/xine-engine/video_out.c.rej
patching file src/xine-engine/xine_interface.c
lenny:/usr/src/xine-lib-1.2# patch -p1 < xine-lib-1.2-vdpau-r284-extensions-v11.diff
patching file include/xine/vdr.h
patching file include/xine.h
patching file src/vdr/Makefile.am
patching file src/vdr/input_vdr.c
patching file src/video_out/video_out_vdpau.c
patching file src/xine-utils/utils.c
Alles anzeigen
Und beim configure bleibt es dann hängen:
Code
./autogen.sh --with-external-ffmpeg --disable-dxr3 --enable-debug --disable-optimizations
.
.
checking for a52dec/a52.h... yes
checking for a52dec/a52_internal.h... yes
checking for NeAACDecInit in -lfaad... yes
checking for neaacdec.h... yes
checking for FFMPEG... configure: error: Package requirements (libavcodec >= 51.68.0) were not met:
Requested 'libavcodec >= 51.68.0' but version of libavcodec is 51.58.0
Nun weiß ich nicht mehr weiter. Installiert ist:
Code
lenny:/usr/src/xine-lib-1.2# dpkg -l |grep libavcodec
ii libavcodec-dev 3:20080706-0.3lenny1 library to encode decode multimedia streams - devel files
ii libavcodec51 3:20080706-0.3lenny1 library to encode decode multimedia streams - runtime files
Gruß und Dank vdr-box