Skip navigation

Tag Archives: multimedia

AGGIORNATO per la versione 10.0 di xbmc il 17 Feb 2011

L’elenco delle dipendenze di XBMC per linux è elencata nel file README.linux nella cartella dei sorgenti:

debhelper (>= 7.0.50), quilt, python-support, cmake,
 autotools-dev, autoconf, automake, unzip, libboost-dev,
 libgl1-mesa-dev | libgl-dev, libglu-dev, libglew-dev, libmad0-dev, libjpeg-dev,
 libsamplerate-dev, libogg-dev, libvorbis-dev, libvorbisenc2, libfreetype6-dev,
 libfontconfig-dev, libbz2-dev, libfribidi-dev, libsqlite3-dev,
 libmysqlclient-dev, libasound-dev, libpng-dev, libpcre3-dev, liblzo2-dev,
 libcdio-dev, libsdl-dev, libsdl-image1.2-dev, libsdl-mixer1.2-dev, libenca-dev,
 libjasper-dev, libxt-dev, libxtst-dev, libxmu-dev, libxinerama-dev, libcurl3,
 libcurl4-gnutls-dev | libcurl-dev, libdbus-1-dev, libhal-storage-dev,
 libhal-dev, libpulse-dev, libavahi-common-dev, libavahi-client-dev,
 libxrandr-dev, libavcodec-dev, libavformat-dev, libavutil-dev, libpostproc-dev,
 libswscale-dev, liba52-dev, libdts-dev, libfaad-dev, libmp4ff-dev,
 libmpeg2-4-dev, libass-dev, libflac-dev, libwavpack-dev,
 python-dev, gawk, gperf, nasm [!amd64], libcwiid1-dev, libbluetooth-dev,
 zlib1g-dev, libmms-dev, libsmbclient-dev, libtiff4-dev, libiso9660-dev, libssl-dev,
 libmicrohttpd-dev, libmodplug-dev, libssh-dev, gettext, cvs, libtool

(i nomi dei pacchetti cambiano da distro a distro)
per esempio leggendo il README.ubuntu le dipendenze per tutte le versioni di Ubuntu superiori alla 7.04 sono le seguenti:

subversion make g++ gcc gawk pmount libtool nasm automake cmake gperf unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs

e si possono installare con due semplici comandi:

sudo add-apt-repository ppa:team-xbmc-svn/ppa
##se le librerie della vostra distro sono troppo vecchie aggiungete anche questo repo
#sudo add-apt-repository ppa:team-xbmc/ppa
sudo apt-get update
sudo apt-get build-dep xbmc-dmo

( documentazione dei primo repository e del secondo repository )

Per le distro Debian è necessario il repository Debian Multimedia .
quindi aggiungere le seguenti righe al file /etc/apt/sources.list (se non già presenti)

deb http://www.debian-multimedia.org squeeze main non-free
deb-src http://www.debian-multimedia.org squeeze main non-free

quindi dare:

wget http://www.debian-multimedia.org/pool/main/d/debian-multimedia-keyring/debian-multimedia-keyring_2010.12.26_all.deb
#se il link sopra non funziona recuperare il link corretto alla pagina di debian multimedia

dpkg -i debian-multimedia-keyring_2010.12.26_all.deb

apt-get update

e controllare che non ci siano errori.

Sulla mia Squeeze ho eseguito i seguenti comanti

wget http://mirrors.xbmc.org/releases/source/xbmc-10.0.tar.gz
tar xfvj xbmc-10.0.tar.gz
##in alternativa con subversion:
#svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ xbmc
apt-get build-dep xbmc-dmo
apt-get install autoconf build-essential libtool
cd xbmc*
./bootstrap
./configure
make -j 2
make -C lib/addons/script.module.pil
make -C lib/addons/script.module.pysqlite
make install

se la compilazione fallisce riportando un errore riferito alla libdvdread eseguire questo comando nel terminale dalla posizione della cartella contenente i sorgenti.

cat xbmc/cores/dvdplayer/Codecs/libdvd/libdvdread/misc/dvdread-config.sh >> xbmc/cores/dvdplayer/Codecs/libdvd/libdvdread/obj/dvdread-config
chmod 0755 xbmc/cores/dvdplayer/Codecs/libdvd/libdvdread/obj/dvdread-config

Dipendenze per i driver grafici e per i codec H.264:

apt-get install mesa-utils mplayer-nogui

LE DIPENDENZE PER DEBIAN SQUEEZE DELLA NUOVA VERSIONE DI XBMC (10.0) SONO:

autoconf autopoint binutils build-essential ccache cmake cmake-data comerr-dev debhelper diffstat dpkg-dev emacsen-common fakeroot g++ g++-4.4 gawk gcc gcc-4.4 gettext git  gperf html2text intltool-debian krb5-multidev liba52-0.7.4-dev libaa1-dev libalgorithm-diff-perl libalgorithm-diff-xs-perl libalgorithm-merge-perl libartsc0  libartsc0-dev libasound2-dev libass-dev libaudio-dev libaudio2 libaudiofile-dev libavahi-client-dev libavahi-common-dev libavcodec-dev libavcore-dev libavformat-dev  libavutil-dev libbluetooth-dev libboost-dev libboost1.42-dev libbz2-dev libc-dev-bin libc6-dev libcaca-dev libcdio-dev libcrystalhd-dev libcrystalhd2 libcurl3  libcurl4-gnutls-dev libcwiid-dev libcwiid1 libdbus-1-dev libdc1394-22-dev libdca-dev libdirac-decoder0 libdirac-dev libdirectfb-dev libdirectfb-extra libdpkg-perl  libdts-dev libenca-dev liberror-perl libesd0-dev libexpat1-dev libfaac-dev libfaad-dev libflac-dev libfontconfig1-dev libfreetype6-dev libfribidi-dev libftgl-dev  libftgl2 libgcrypt11-dev libgl1-mesa-dev libglew1.5 libglew1.5-dev libglib2.0-dev libglu1-mesa-dev libgnutls-dev libgpg-error-dev libgsm1-dev libhal-dev  libhal-storage-dev libice-dev libidn11-dev libiso9660-7 libiso9660-dev libjasper-dev libjpeg62-dev libkrb5-dev libldap2-dev liblzo2-2 liblzo2-dev libmad0-dev  libmail-sendmail-perl libmicrohttpd-dev libmicrohttpd5 libmikmod2 libmikmod2-dev libmms-dev libmodplug-dev libmp3lame-dev libmpcdec-dev libmpeg2-4-dev  libmysqlclient-dev libmysqlclient16 libncurses5-dev libogg-dev libopencore-amrnb-dev libopencore-amrwb-dev liborc-0.4-dev libpcre3-dev libpcrecpp0 libpng12-dev  libpostproc-dev libpthread-stubs0 libpthread-stubs0-dev libpulse-browse0 libpulse-dev libraw1394-dev librtmp-dev libsamplerate0 libsamplerate0-dev  libschroedinger-dev libsdl-image1.2 libsdl-image1.2-dev libsdl-mixer1.2 libsdl-mixer1.2-dev libsdl1.2-dev libslang2-dev libsm-dev libsmbclient-dev libsmpeg-dev  libsmpeg0 libsqlite3-dev libssh2-1 libssl-dev libstdc++6-4.4-dev libsvga1-dev libswscale-dev libsys-hostname-long-perl libsysfs-dev libtasn1-3-dev libtheora-dev  libtiff4-dev libtiffxx0c2 libunistring0 libva-dev libva-glx1 libva-tpi1 libvdpau-dev libvdpau1 libvorbis-dev libwavpack-dev libx11-dev libx264-dev libxau-dev  libxcb1-dev libxdmcp-dev libxext-dev libxi-dev libxinerama-dev libxmlrpc-c3 libxmu-dev libxmu-headers libxrandr-dev libxrender-dev libxt-dev libxtst-dev  libxvidcore4-dev linux-libc-dev make manpages-dev mesa-common-dev mysql-common nasm pkg-config po-debconf python2.6-dev quilt rsync sharutils x11proto-core-dev  x11proto-input-dev x11proto-kb-dev x11proto-randr-dev x11proto-record-dev x11proto-render-dev x11proto-xext-dev x11proto-xinerama-dev xtrans-dev zip zlib1g-dev

Dipendenze che, su Squeeze, si installano con un semplice:

apt-get build-dep xbmc

dipendenze su lenny per la versione precendente di XBMC 9.x :

apt-get -y install subversion make g++ gcc curl gawk pmount libtool nasm yasm automake cmake gperf zip unzip bison libsdl-dev libsdl-image1.2-dev libsdl-gfx1.2-dev libsdl-mixer1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl3 libcurl4-gnutls-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbisenc2 libsmbclient-dev libmysqlclient-dev libpcre3-dev libdbus-1-dev libhal-dev libhal-storage-dev libjasper-dev libfontconfig-dev libbz2-dev libboost-dev libfaac-dev libenca-dev libxt-dev libxtst-dev libxmu-dev libpng-dev libjpeg-dev libpulse-dev mesa-utils libcdio-dev libsamplerate-dev libmms-dev libmpeg3-dev libfaad-dev libflac-dev libiso9660-dev libass-dev libssl-dev fp-compiler gdc libwavpack-dev libmpeg2-4-dev libmicrohttpd-dev libmodplug-dev libssh-dev gettext cvs libdvd-dev libdvdnav-dev
apt-get -y install build-essential debhelper dpkg-dev fakeroot html2text intltool-debian liba52-0.7.4-dev libavcodec-dev libavcodec52 libavformat-dev libavformat52 libavutil-dev libavutil49 libbluetooth-dev libcwiid-dev libcwiid1 libcwiid1-dev libdca-dev libdca0 libdts-dev libgsm1 libmail-sendmail-perl libmpcdec-dev libmpcdec3 liboil0.3 libpostproc-dev libpostproc51 libschroedinger-1.0-0 libspeex1 libswscale-dev libswscale0 libsys-hostname-long-perl libtheora0 libvdpau-dev libvdpau1 libxinerama-dev patch po-debconf python-dev python2.6-dev x11proto-xinerama-dev xz-utils

Collegamenti utili: