Hi
komme per browser nicht drauf
und mein buildscript auch nicht
Code
vdr_add_modules_boot (){
echo -e "[\e[0;32m ok \x1B[0m] Adding mali + sunxi_cedar_mod to /etc/modules ..."
echo mali >> $DEST/cache/sdcard/etc/modules
echo sunxi_cedar_mod >> $DEST/cache/sdcard/etc/modules
}
vdr_setup_deb_multimedia (){
echo -e "[\e[0;32m ok \x1B[0m] Setting up www.deb-multimedia.org ..."
echo deb http://www.deb-multimedia.org jessie main non-free >> $DEST/cache/sdcard/etc/apt/sources.list
chroot $DEST/cache/sdcard /bin/bash -c "apt-get update"
chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y --force-yes install deb-multimedia-keyring"
chroot $DEST/cache/sdcard /bin/bash -c "apt-get update"
}
echo -e "[\e[0;32m ok \x1B[0m] Installing required packages for VDR ..."
vdr_install_packages (){
chroot $DEST/cache/sdcard /bin/bash -c "apt-get -y install git build-essential autoconf libtool gettext automake xutils-dev pkg-config xserver-xorg-dev libdrm-dev g++ x11proto-xf86dri-dev xserver-xorg debhelper dh-autoreconf x11proto-xext-dev libxext-dev libxfixes-dev libvdpau-dev libfreetype6-dev libfontconfig1-dev libcap-dev libxcb-screensaver0-dev libxcb-randr0-dev libxcb-dpms0-dev libxcb-icccm4-dev libx11-xcb-dev libxcb-ewmh-dev alsa-base alsa-utils libasound2-dev libudev-dev libglib2.0-dev libxcb-xv0 libxcb-shm0 libxcb-dpms0 libxcb-util0 libxcb-screensaver0 libxcb-keysyms1 libxcb-icccm4 libxcb-glx0 libxcb-randr0 psmisc build-essential libcap-dev libfontconfig1-dev gettext libcxxtools-dev libtntnet-dev libboost-dev libpcre3-dev libssl-dev htop iperf samba rcconf ntp libcairo2 librsvg2-common librsvg2-bin librsvg2-2 librsvg2-dev libxml2-dev libxml2-utils libxml2 curl libcurl4-openssl-dev libcurl4-gnutls-dev libcurl4-openssl-dev cifs.utils checkinstall gcc"
}
vdr_install_xfree_driver (){
echo -e "[\e[0;32m ok \x1B[0m] Installing xf86 fbturbo driver ..."
echo -e "[\e[0;32m ok \x1B[0m] copy the pakage ..."
cp $SRC/lib/packages/xf86-video-fbturbo_0.4.0-1~koodur2_armhf.deb $DEST/cache/sdcard/xf86-video-fbturbo-armhf.deb
cp $SRC/lib/packages/libump-dev_3.0-0sunxi1~koodur1_armhf.deb $DEST/cache/sdcard/libump-dev_3.0-0sunxi1-armhf.deb
cp $SRC/lib/packages/libump_3.0-0sunxi1~koodur1_armhf.deb $DEST/cache/sdcard/libump_3.0-0sunxi1-armhf.deb
chroot $DEST/cache/sdcard /bin/bash -c "dpkg -i /libump_3.0-0sunxi1-armhf.deb"
chroot $DEST/cache/sdcard /bin/bash -c "dpkg -i /libump-dev_3.0-0sunxi1-armhf.deb"
chroot $DEST/cache/sdcard /bin/bash -c "dpkg -i /xf86-video-fbturbo-armhf.deb"
echo -e "[\e[0;32m ok \x1B[0m] installing the package ..."
#
# alternative version compile from source
#
#chroot $DEST/cache/sdcard /bin/bash -c "debconf-apt-progress -- apt-get -y install xorg-dev xutils-dev x11proto-dri2-dev xutils-dev libdrm-dev libvdpau-dev"
## quemu bug walkaround
#git clone https://github.com/ssvb/xf86-video-fbturbo.git $DEST/cache/sdcard/tmp/xf86-video-fbturbo
#chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && autoreconf -vi"
#chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && ./configure --prefix=/usr"
#chroot $DEST/cache/sdcard /bin/bash -c "cd /tmp/xf86-video-fbturbo && make && make install && cp xorg.conf /etc/X11/xorg.conf"
}
vdr_link_libxcb (){
echo -e "[\e[0;32m ok \x1B[0m] Linking libxcb-xv for vdr-plugin-softhd-device ..."
if [ -e $DEST/cache/sdcard/usr/lib/arm-linux-gnueabihf/libxcb-xv.so.0 ]
then
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-xv.so.0 /usr/lib/libxcb-xv.so.0"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-shm.so.0 /usr/lib/libxcb-shm.so.0"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-dpms.so.0 /usr/lib/libxcb-dpms.so.0"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-util.so.0 /usr/lib/libxcb-util.so.0"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-screensaver.so.0 /usr/lib/libxcb-screensaver.so.0"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-keysyms.so.1 /usr/lib/libxcb-keysyms.so.1"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-icccm.so.4 /usr/lib/libxcb-icccm.so.4"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-glx.so.0 /usr/lib/libxcb-glx.so.0"
chroot $DEST/cache/sdcard /bin/bash -c "ln -s /usr/lib/arm-linux-gnueabihf/libxcb-randr.so.0 /usr/lib/libxcb-randr.so.0"
else
echo -e "[\e[0;31m failed \x1B[0m] lib's not found"
fi
}
vdr_sunxi-vdpau (){
git clone https://github.com/Snaipe/libcsptr.git $DEST/cache/sdcard/usr/local/src/libcsptr
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=/usr/local .. && make && make install"
#chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && make"
#chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libcsptr && make install"
echo -e "[\e[0;34m git cloning \x1B[0m] libvdpau-sunxi ..."
git clone -b staging https://github.com/rellla/libvdpau-sunxi.git $DEST/cache/sdcard/usr/local/src/libvdpau-sunxi
echo -e "[\e[0;32m finished \x1B[0m] cloning libvdpausunxi ..."
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/libvdpau-sunxi && make clean && make $CTHREADS && make install"
#
# export Variable
#
echo "export VDPAU_DRIVER=sunxi" >> $DEST/cache/sdcard/etc/profile
}
vdr_get_vdr (){
if [[ $VDR_VER == "stable" ]]; then
echo -e "[\e[0;34m running \x1B[0m] Downloading VDR ..."
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src && wget -q ftp://ftp.tvdr.de/vdr/vdr-2.2.0.tar.bz2"
echo -e "[\e[0;32m finished \x1B[0m] Downloading VDR ..."
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src && tar xfvj vdr-2.2.0.tar.bz2 &> /dev/null"
echo -e "[\e[0;32m finished \x1B[0m] unpacking VDR ..."
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src && ln -s vdr-2.2.0 VDR"
echo -e "[\e[0;32m finished \x1B[0m] Link VDR Sources ..."
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src && rm -r dvbhddevice/ dvbsddevice/ hello/ pictures/ rcu/ skincurses/"
echo -e "[\e[0;32m finished \x1B[0m] Cleaning VDR removing Plugins: dvbhddevice, dvbsddevice, hello, pictures, rcu, skincurses ..."
else
echo "No Developer Version at this time"
fi
}
#
# Plugins
#
vdr_plug_softhddevice (){
echo -e "[\e[0;34m running \x1B[0m] download and build VDR-Plugin: softhddevice"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src && git clone git://projects.vdr-developer.org/vdr-plugin-softhddevice.git"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src && ln -s ../../../ softhddevice"
echo -e "[\e[0;32m finished \x1B[0m]"
echo -e "[\e[0;34m patching for A20 \x1B[0m]"
# ... get A20 Patch
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src && wget -q http://www.vdr-resource.de/vdr-softhd-device_A20.diff"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src/softhddevice && patch < /usr/local/src/vdr-softhd-device_A20.diff"
echo -e "[\e[0;32m finished \x1B[0m]"
}
vdr_plug_streamdev (){
echo -e "[\e[0;34m running \x1B[0m] download and build VDR-Plugin: streamdev"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src && git clone git://projects.vdr-developer.org/vdr-plugin-streamdev.git"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src && ln -s ../../../ streamdev"
echo -e "[\e[0;32m finished \x1B[0m]"
}
vdr_plug_live (){
echo -e "[\e[0;34m running \x1B[0m] download and build VDR-Plugin: live"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src && git clone git://projects.vdr-developer.org/vdr-plugin-live.git"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src && ln -s ../../../ live"
chroot $DEST/cache/sdcard /bin/bash -c "mkdir /usr/local/share/vdr/"
chroot $DEST/cache/sdcard /bin/bash -c "mkdir /usr/local/share/vdr/plugins/"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src/live && cp -r live/ /usr/local/share/vdr/plugins/"
echo -e "[\e[0;32m finished \x1B[0m]"
}
vdr_plug_epgsearch (){
echo -e "[\e[0;34m running \x1B[0m] download and build VDR-Plugin: epgsearch"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src && git clone git://projects.vdr-developer.org/vdr-plugin-epgsearch.git"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src && ln -s ../../../ epgsearch"
echo -e "[\e[0;32m finished \x1B[0m]"
}
vdr_build () {
echo -e "[\e[0;34m running \x1B[0m] build VDR"
chroot $DEST/cache/sdcard /bin/bash -c "cd /usr/local/src/VDR/PLUGINS/src/VDR && make clean && make $CTHREADS && make $CTHREADS plugins && make install"
echo -e "[\e[0;32m finished \x1B[0m]"
}
#
# Run the functions
#
install_vdr (){
vdr_add_modules_boot
vdr_setup_deb_multimedia
vdr_install_packages
vdr_install_xfree_driver
vdr_link_libxcb
vdr_sunxi-vdpau
vdr_get_vdr
vdr_plug_softhddevice
vdr_plug_streamdev
vdr_plug_live
vdr_plug_epgsearch
vdr_build
}
Alles anzeigen
Code
[ ok ] Installing xf86 fbturbo driver ...
[ ok ] copy the pakage ...
Selecting previously unselected package libump:armhf.
(Reading database ... 43843 files and directories currently installed.)
Preparing to unpack /libump_3.0-0sunxi1-armhf.deb ...
Unpacking libump:armhf (3.0-0sunxi1~koodur1) ...
Setting up libump:armhf (3.0-0sunxi1~koodur1) ...
Selecting previously unselected package libump-dev.
(Reading database ... 43849 files and directories currently installed.)
Preparing to unpack .../libump-dev_3.0-0sunxi1-armhf.deb ...
Unpacking libump-dev (3.0-0sunxi1~koodur1) ...
Setting up libump-dev (3.0-0sunxi1~koodur1) ...
Selecting previously unselected package xf86-video-fbturbo.
(Reading database ... 43859 files and directories currently installed.)
Preparing to unpack /xf86-video-fbturbo-armhf.deb ...
Unpacking xf86-video-fbturbo (0.4.0-1~koodur2) ...
Setting up xf86-video-fbturbo (0.4.0-1~koodur2) ...
Processing triggers for man-db (2.7.0.2-5) ...
[ ok ] installing the package ...
[ ok ] Linking libxcb-xv for vdr-plugin-softhd-device ...
[ failed ] lib's not found
Klone nach '/home/build/Schreibtisch/vdrtest/output/cache/sdcard/usr/local/src/libcsptr'...
remote: Counting objects: 595, done.
remote: Total 595 (delta 0), reused 0 (delta 0), pack-reused 595
Empfange Objekte: 100% (595/595), 99.59 KiB | 0 bytes/s, Fertig.
Löse Unterschiede auf: 100% (341/341), Fertig.
Prüfe Konnektivität... Fertig.
-- The C compiler identification is GNU 4.9.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Found PkgConfig: /usr/bin/pkg-config (found version "0.28")
-- checking for one of the modules 'check'
-- Configuring done
-- Generating done
-- Build files have been written to: /usr/local/src/libcsptr/build
Scanning dependencies of target csptr
[100%] Building C object CMakeFiles/csptr.dir/src/mman.c.o
Linking C static library libcsptr.a
[100%] Built target csptr
[100%] Built target csptr
Install the project...
-- Install configuration: ""
-- Installing: /usr/local/include/csptr/config.h
-- Installing: /usr/local/include/csptr/smalloc.h
-- Installing: /usr/local/include/csptr/array.h
-- Installing: /usr/local/include/csptr/smart_ptr.h
-- Installing: /usr/local/share/man/man3/csptr.3
-- Installing: /usr/local/lib/libcsptr.a
[ git cloning ] libvdpau-sunxi ...
Klone nach '/home/build/Schreibtisch/vdrtest/output/cache/sdcard/usr/local/src/libvdpau-sunxi'...
remote: Counting objects: 1074, done.
remote: Total 1074 (delta 0), reused 0 (delta 0), pack-reused 1074
Empfange Objekte: 100% (1074/1074), 393.55 KiB | 202.00 KiB/s, Fertig.
Löse Unterschiede auf: 100% (746/746), Fertig.
Prüfe Konnektivität... Fertig.
[ finished ] cloning libvdpausunxi ...
Package vdpau was not found in the pkg-config search path.
Perhaps you should add the directory containing `vdpau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vdpau' found
rm -f device.o presentation_queue.o surface_output.o surface_video.o surface_bitmap.o video_mixer.o decoder.o handles.o queue.o ve.o h264.o mpeg12.o mpeg4.o rgba.o tiled_yuv.o
rm -f device.d presentation_queue.d surface_output.d surface_video.d surface_bitmap.d video_mixer.d decoder.d handles.d queue.d ve.d h264.d mpeg12.d mpeg4.d rgba.d tiled_yuv.d
rm -f libvdpau_sunxi.so.1
Package vdpau was not found in the pkg-config search path.
Perhaps you should add the directory containing `vdpau.pc'
to the PKG_CONFIG_PATH environment variable
No package 'vdpau' found
cc -MD -MP -MQ device.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c device.c -o device.o
cc -MD -MP -MQ presentation_queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c presentation_queue.c -o presentation_queue.o
cc -MD -MP -MQ surface_output.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_output.c -o surface_output.o
cc -MD -MP -MQ surface_video.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_video.c -o surface_video.o
cc -MD -MP -MQ surface_bitmap.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c surface_bitmap.c -o surface_bitmap.o
cc -MD -MP -MQ video_mixer.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c video_mixer.c -o video_mixer.o
cc -MD -MP -MQ decoder.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c decoder.c -o decoder.o
cc -MD -MP -MQ handles.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c handles.c -o handles.o
cc -MD -MP -MQ queue.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c queue.c -o queue.o
cc -MD -MP -MQ ve.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c ve.c -o ve.o
cc -MD -MP -MQ h264.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c h264.c -o h264.o
cc -MD -MP -MQ mpeg12.o -fpic -fvisibility=hidden -Wall -O3 -std=gnu99 -c mpeg12.c -o mpeg12.o
In file included from vdpau_private.h:58:0,
from device.c:23:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
In file included from vdpau_private.h:58:0,
from surface_video.c:21:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
compilation terminated.
In file included from vdpau_private.h:58:0,
from handles.c:23:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from presentation_queue.c:20:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from surface_output.c:20:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from h264.c:23:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from surface_bitmap.c:20:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from decoder.c:22:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from mpeg12.c:21:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from video_mixer.c:22:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
In file included from vdpau_private.h:58:0,
from ve.c:28:
/usr/local/include/csptr/smart_ptr.h:29:21: fatal error: common.h: No such file or directory
# include "common.h"
^
compilation terminated.
Makefile:43: recipe for target 'surface_video.o' failed
make: *** [surface_video.o] Error 1
make: *** Waiting for unfinished jobs....
Makefile:43: recipe for target 'handles.o' failed
make: *** [handles.o] Error 1
Makefile:43: recipe for target 'surface_output.o' failed
make: *** [surface_output.o] Error 1
Makefile:43: recipe for target 'h264.o' failed
make: *** [h264.o] Error 1
Makefile:43: recipe for target 'presentation_queue.o' failed
make: *** [presentation_queue.o] Error 1
Makefile:43: recipe for target 'decoder.o' failed
make: *** [decoder.o] Error 1
Makefile:43: recipe for target 'device.o' failed
make: *** [device.o] Error 1
Makefile:43: recipe for target 'mpeg12.o' failed
make: *** [mpeg12.o] Error 1
Makefile:43: recipe for target 'surface_bitmap.o' failed
make: *** [surface_bitmap.o] Error 1
Makefile:43: recipe for target 've.o' failed
make: *** [ve.o] Error 1
Makefile:43: recipe for target 'video_mixer.o' failed
make: *** [video_mixer.o] Error 1
[ running ] Downloading VDR ...
[ finished ] Downloading VDR ...
[ finished ] unpacking VDR ...
[ finished ] Link VDR Sources ...
[ finished ] Cleaning VDR removing Plugins: dvbhddevice, dvbsddevice, hello, pictures, rcu, skincurses ...
[ running ] download and build VDR-Plugin: softhddevice
Cloning into 'vdr-plugin-softhddevice'...
remote: Counting objects: 2455, done.
remote: Compressing objects: 100% (2453/2453), done.
Alles anzeigen
bzw irgendwie findet git ja etwas aber dann hängt's bei softhddevice
:edit
wobei http://projects.vdr-developer.org/projects/plg-softhddevice geht :-/