cross compile might be fast but it is not native
so for me is it much easier to compile over telnet from my mac on the vip
i must find first the rigth dvb driver.. the driver i used for 1.7.15 dont work
i used the env from hans-werner
here is my way .. still nor ready .. but you can see wath you must do
Code
bedingungen
# dev auf usb stick
wget http://hilses.de/vip1710/vip1710-native-build-environment.tar.xz
# stick anpassen (netzwerk und joydev plugrc.d)
#### swapfile anlegen !!!!!!
# dd if=/dev/zero of=/swapfile1 bs=1024 count=524288
# mkswap /swapfile1
# swapon -s
# swapon /swapfile1
# swapon -s
# nano /plugrc.d/70-swapon.sh
# --
# swapon /swapfile1
# --
# booten mit stick
mount -o remount,rw /mnt
/mnt/chroot.sh
ln -s /usr/bin/gcc /usr/bin/cc
#---
# download alle in /download
mkdir /download
#---
SRC_DIR=/download
DEST_DIR=/DESTDIR
export SRC_DIR
export DEST_DIR
mkdir "${SRC_DIR}"
mkdir "${DEST_DIR}"
## gettext
cd "${SRC_DIR}"
wget http://ftp.gnu.org/pub/gnu/gettext/gettext-0.18.1.1.tar.gz
tar zxvf gettext-0.18.1.1.tar.gz
cd gettext-0.18.1.1
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## nano
cd "${SRC_DIR}"
wget http://www.nano-editor.org/dist/v2.2/nano-2.2.6.tar.gz
tar zxvf nano-2.2.6.tar.gz
cd nano-2.2.6
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
# mc
#wget http://www.midnight-commander.org/downloads/mc-4.7.5.2.tar.gz
#tar zxvf mc-4.7.5.2.tar.gz
#cd mc-4.7.5.2
#./configure --prefix=/usr && make && make install
#!!!!!!!!!!!
# a52dec
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/a52dec-0.7.4.tar.gz
tar zxvf a52dec-0.7.4.tar.gz
cd a52dec-0.7.4
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
###DESTDIR geht nicht
## twolame
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/twolame-0.3.12.tar.gz
tar zxvf twolame-0.3.12.tar.gz
cd twolame-0.3.12
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## attr
cd "${SRC_DIR}"
wget http://download.savannah.gnu.org/releases/attr/attr-2.4.46.src.tar.gz
tar zxvf attr-2.4.46.src.tar.gz
cd attr-2.4.46
./configure --prefix=/usr && make && make install && make install-dev && DESTDIR="${DEST_DIR}" make install
## jpeg
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/jpegsrc.v8b.tar.gz
tar zxvf jpegsrc.v8b.tar.gz
cd jpeg-8b
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## libtool
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/libtool-2.2.10.tar.gz
tar zxvf libtool-2.2.10.tar.gz
cd libtool-2.2.10
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
#!!!!!!!!!! PAM in Makefile löschen
# libcap
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/libcap-2.00.tar.bz2
tar jxvf libcap-2.00.tar.bz2
cd libcap-2.00
make && make install && DESTDIR="${DEST_DIR}" make install
#!!!!!!!!!!!!
## expat
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/expat-2.0.1.tar.gz
tar zxvf expat-2.0.1.tar.gz
cd expat-2.0.1
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
###DESTDIR geht nicht
## id3lib
#cd "${SRC_DIR}"
#wget http://downloads.sourceforge.net/project/id3lib/id3lib/3.8.3/id3lib-3.8.3.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Fid3lib%2Ffiles%2Fid3lib%2F3.8.3%2F
#tar zxvf id3lib-3.8.3.tar.gz
#cd id3lib-3.8.3
#./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## libid3tag !!!!! DESTDIR
cd "${SRC_DIR}"
wget ftp://ftp.mars.org/pub/mpeg/libid3tag-0.15.1b.tar.gz
tar zxvf libid3tag-0.15.1b.tar.gz
cd libid3tag-0.15.1b
sed -i '/-fforce-mem/d' configure && ./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## libmad
cd "${SRC_DIR}"
wget ftp://ftp.mars.org/pub/mpeg/libmad-0.15.1b.tar.gz
tar zxvf libmad-0.15.1b.tar.gz
cd libmad-0.15.1b
sed -i '/-fforce-mem/d' configure && ./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## mpg123
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/mpg123-1.12.3.tar.bz2
tar jxvf mpg123-1.12.3.tar.bz2
cd mpg123-1.12.3
./configure --prefix=/usr --with-audio=oss && make && make install && DESTDIR="${DEST_DIR}" make install
## libogg !!!!! DESTDIR
cd "${SRC_DIR}"
wget http://downloads.xiph.org/releases/ogg/libogg-1.2.2.tar.gz
tar zxvf libogg-1.2.2.tar.gz
cd libogg-1.2.2
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## libvorbis
cd "${SRC_DIR}"
wget http://downloads.xiph.org/releases/vorbis/libvorbis-1.3.2.tar.bz2
tar jxvf libvorbis-1.3.2.tar.bz2
cd libvorbis-1.3.2
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
# libsndfile
wget http://mega-nerd.com/libsndfile/files/libsndfile-1.0.25.tar.gz
tar zxvf libsndfile-1.0.25.tar.gz
cd libsndfile-1.0.25
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## freetype
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/freetype-2.4.2.tar.bz2
tar jxvf freetype-2.4.2.tar.bz2
cd freetype-2.4.2
./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
## fontconfig
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/fontconfig-git-2010-09-01.tar.bz2
mkdir fontconfig-git-2010-09-01
tar jxvf fontconfig-git-2010-09-01.tar.bz2 -C fontconfig-git-2010-09-01
cd fontconfig-git-2010-09-01
./autogen.sh --prefix=/usr ; ./configure --prefix=/usr && make && make install && DESTDIR="${DEST_DIR}" make install
# lirc
#cd "${SRC_DIR}"
#wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/lirc-0.8.2.tar.bz2
#wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/lirc-0.8.2-xilleon-driver.patch
#tar jxvf lirc-0.8.2.tar.bz2
#cd lirc-0.8.2
#patch -p1 < ../lirc-0.8.2-xilleon-driver.patch
#./configure --prefix=/usr --with-driver=xilleon && make && make install && DESTDIR="${DEST_DIR}" make install
## libvipipcstack
cd "${SRC_DIR}"
wget http://hilses.de/vip1710/libvipipcstack/libvipipcstack-0.0.1b.src.tar.bz2
tar jxvf libvipipcstack-0.0.1b.src.tar.bz2
cd libvipipcstack
make
mkdir -p "${DEST_DIR}/usr/bin"
cp *.h "/usr/include"
cp progs/dummyapplication progs/example-informationservice progs/ipcpipe progs/loaduri progs/volume "/usr/bin/"
cp libvipipcstack.so /usr/lib/
cp progs/dummyapplication progs/example-informationservice progs/ipcpipe progs/loaduri progs/volume "${DEST_DIR}/usr/bin/"
cp libvipipcstack.so "${DEST_DIR}/usr/lib/"
## dvb
#cd "${SRC_DIR}"
#wget http://linuxtv.org/downloads/drivers/linux-media-2011-07-08.tar.bz2
#mkdir linux-media-2011-07-08
#tar jxvf linux-media-2011-07-08.tar.bz2 -C linux-media-2011-07-08
#ln -sf linux-media-2011-07-08 DVB
#cd linux-media-2011-07-08
#cp include/linux/dvb /usr/include/linux
cd "${SRC_DIR}"
wget http://www.mikrocontroller.net/attachment/115270/dvb.tar.gz
tar zxvf dvb.tar.gz
cp -rf dvb /usr/include/linux
------
wget ftp://ftp.tvdr.de/vdr/Developer/vdr-1.7.15.tar.bz2
## vdr
cd "${SRC_DIR}"
# wget http://www.mikrocontroller.net/attachment/114732/vdr-1.7.15-patched-sources.tar.gz
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/orig_upstream/vdr-1.7.16.tar.bz2
wget http://hilses.de/vip1710/vdr-vip1710-minidistro.src/vdr-1.7.16-no-setprio.patch
tar jxvf vdr-1.7.16.tar.bz2
cd vdr-1.7.16
patch -p1 < ../vdr-1.7.16-no-setprio.patch
make
DESTDIR="${DEST_DIR}" make install
DESTDIR="${DEST_DIR}" make install-plugins
wget http://projects.vdr-developer.org/attachments/download/497/vdr-streamdev-0.5.1.tgz
wget http://www.muempf.de/down/vdr-mp3-0.10.2.tar.gz
wget http://linvdr.org/download/vdr-sleeptimer/sleeptimer-0.7.tar.gz
wget http://www.joachim-wilke.de/downloads/vdr-fritz/vdr-fritzbox-1.3.9.tgz
Alles anzeigen