diff options
author | AlTheKiller <AlTheKiller@svn> | 2009-09-23 01:49:50 +0000 |
---|---|---|
committer | AlTheKiller <AlTheKiller@svn> | 2009-09-23 01:49:50 +0000 |
commit | 45285e8a9300cd754a760560640b75b09f98035e (patch) | |
tree | ad9f093885ad5c98e9dd4156674e7691c22ed0a2 /README.ubuntu |
step 3/4: Move linuxport to trunk. How'd I get roped into this?
git-svn-id: https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk@23097 568bbfeb-2a22-0410-94d2-cc84cf5bfa90
Diffstat (limited to 'README.ubuntu')
-rw-r--r-- | README.ubuntu | 93 |
1 files changed, 93 insertions, 0 deletions
diff --git a/README.ubuntu b/README.ubuntu new file mode 100644 index 0000000000..2aa4b04786 --- /dev/null +++ b/README.ubuntu @@ -0,0 +1,93 @@ +TOC +1. Introduction +2. Getting the source code +3. Installing the required Ubuntu packages +4. How to compile +5. How to run +6. Uninstalling +7. Endword + +----------------------------------------------------------------------------- +1. Introduction +----------------------------------------------------------------------------- + +We currently recommend Ubuntu Hardy(8.04), Intrepid(8.10), or Jaunty(9.04). +A gfx-adapter with OpenGL acceleration is highly recommended and 24/32 +bitdepth is required with OpenGL. + +NOTE TO NEW LINUX USERS: All lines that are prefixed with the '#' +character are commands that need to be typed into a terminal window / +console (similar to the command prompt for Windows). Note that the '#' +character itself should NOT be typed as part of the command. + + +----------------------------------------------------------------------------- +2. Getting the source code +----------------------------------------------------------------------------- + + # sudo apt-get install subversion + # cd $HOME + # svn checkout https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC + +----------------------------------------------------------------------------- +3. Installing the required Ubuntu packages +----------------------------------------------------------------------------- + +Two methods exist to install the required Ubuntu packages : + +-------------------------------------------------------------------- +3.1. Copy and paste the following line corresponding to your system +-------------------------------------------------------------------- + +For Ubuntu (all versions >= 7.04): + + # sudo aptitude install 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 libsdl-sound1.2-dev libfribidi-dev liblzo2-dev libfreetype6-dev libsqlite3-dev libogg-dev libasound-dev python-sqlite libglew-dev libcurl4-dev x11proto-xinerama-dev libxinerama-dev libxrandr-dev libxrender-dev libmad0-dev libogg-dev libvorbis-dev 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 + +On 8.04 and older versions, libmms is outdated and thus XBMC will not compile properly. +In this case you will have to manually compile the latest version. + # wget "http://launchpad.net/libmms/trunk/0.4/+download/libmms-0.4.tar.gz" + # tar zxvf libmms-0.4.tar.gz + # cd libmms-0.4 + # ./configure --prefix=/usr + # make + # sudo make install +-------------------------------------------------------------- +3.2. Use a single command to get all build dependencies +-------------------------------------------------------------- + +For this, you need to specify the PPA in your apt sources. Please find them on the forum + +http://xbmc.org/forum/showthread.php?t=33327 + +Update apt : + # sudo apt-get update + +Here is the magic command to get the build dependencies (used to compile the version on the PPA). + # sudo apt-get build-dep xbmc + + + +*** For developers and anyone else who compiles frequently it is recommended to use ccache +sudo apt-get install ccache + +*** A tip for those with multiple computers at home is to check out distcc (totally unsupported from xbmc ofcourse) +sudo apt-get install distcc + +----------------------------------------------------------------------------- +4. How to compile +----------------------------------------------------------------------------- +See README.linux + +----------------------------------------------------------------------------- +5. Uninstalling +----------------------------------------------------------------------------- +$ sudo apt-get remove xbmc* + +----------------------------------------------------------------------------- +6. Endword +----------------------------------------------------------------------------- + +Have fun! + +EOF + |