2011-04-03, 06:29
Script originaly from here - check the original post guidance and references
I really wanted the new Alaska skin on my Zotac Mag running linux but i couldn't have it since it was an xbmc-live install.
It took some looking around but i finally found out how to compile the nightly xbmc from git source.
[NOTE] The default installation comes with the horrible vim-tiny installation, the first thing i did was upgrade vim so i can edit my files in peace. Install vim-nox using the following commands
- Get root
- Create /home/xbmc/XBMC-build_git.sh
- Copy this into script
- Run script
- Wait... It takes approximately an hour to complete the first time around, once it's done it will restart xbmc live and you will have the latest nightly!
- Install Alaska
This script was created by boykster in this post. I'm just adding it here for easy access since i know a lot of people here want to try out the Alaska Revisited goodness.
[NOTE] Future builds can be compiled by using the same script with the refresh option since you would already have all the git stuff installed
I really wanted the new Alaska skin on my Zotac Mag running linux but i couldn't have it since it was an xbmc-live install.
It took some looking around but i finally found out how to compile the nightly xbmc from git source.
[NOTE] The default installation comes with the horrible vim-tiny installation, the first thing i did was upgrade vim so i can edit my files in peace. Install vim-nox using the following commands
Code:
sudo apt-get update
sudo apt-get install vim-nox
- Get root
Code:
sudo su -
- Create /home/xbmc/XBMC-build_git.sh
Code:
vi /home/xbmc/XBMC-build_git.sh
- Copy this into script
Code:
# Script to compile xbmc from source
# Created by boykster @ http://forum.xbmc.org/showpost.php?p=738445&postcount=36
#!/bin/bash
NUMPARAMS=1
if [ $# -lt "$NUMPARAMS" ]
then
echo
echo "Usage: $0 <upgrade / refresh>"
echo
echo "-- upgrade = full setup (setup GIT, build environment, etc)"
echo "-- refresh = update existing XBMC GIT COMPILE to latest version"
echo
else
S1="upgrade"
S2="refresh"
if [ $1 = $S1 ]
then
stop xbmc-live
cp /etc/apt/sources.list /etc/apt/sources.list-backup
add-apt-repository ppa:team-xbmc-svn/ppa
echo deb http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu lucid main >> /etc/apt/sources.list
echo deb-src http://ppa.launchpad.net/team-xbmc-svn/ppa/ubuntu lucid main >> /etc/apt/sources.list
aptitude autoclean -y; aptitude update -y
aptitude install ccache libvdpau-dev debhelper zip git-core make g++ gcc gawk pmountlibtool yasm nasm automake cmake gperf gettext 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-openssl-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 -y -q
apt-get build-dep xbmc -y
cp /etc/apt/sources.list-backup /etc/apt/sources.list
rm -r -f /etc/apt/sources.list-backup
mkdir ~/setup
cd $HOME/setup
git clone git://github.com/xbmc/xbmc.git
cd $HOME/setup/xbmc
./bootstrap; ./configure --prefix=/usr --enable-vdpau --disable-pulse ; make -j4
make install prefix=/usr
start xbmc-live
else if [ $1 = $S2 ]
then
stop xbmc-live
cd $HOME/setup/xbmc
git pull --rebase
make distclean ; ./bootstrap ; ./configure --prefix=/usr --enable-vdpau --disable-pulse ; make -j4
make install prefix=/usr
start xbmc-live
else
echo
echo "Usage: $0 <upgrade / update>"
echo
echo "-- upgrade = full setup (setup GIT, build environment, etc)"
echo "-- refresh = update existing XBMC GIT COMPILE to latest version"
echo
fi
fi
fi
- Run script
Code:
sh /home/xbmc/XBMC_build_git.sh upgrade
- Wait... It takes approximately an hour to complete the first time around, once it's done it will restart xbmc live and you will have the latest nightly!
- Install Alaska
This script was created by boykster in this post. I'm just adding it here for easy access since i know a lot of people here want to try out the Alaska Revisited goodness.
[NOTE] Future builds can be compiled by using the same script with the refresh option since you would already have all the git stuff installed
Code:
sh /home/xbmc/XBMC_build_git.sh refresh