Skip to content
Newer
Older
100644 145 lines (104 sloc) 5.62 KB
80e6562 @Memphiz [sync] - sync buildsys/projects for linux,osx,ios for airplay support
Memphiz authored
1
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
2 TOC
3 1. Introduction
4 2. Getting the source code
5 3. Installing the required libraries and headers
6 4. How to compile
7 5. How to run
8 6. Uninstalling
9
10 -----------------------------------------------------------------------------
11 1. Introduction
12 -----------------------------------------------------------------------------
13
14 A gfx-adapter with OpenGL acceleration is highly recommended and 24/32 bitdepth
15 is required with OpenGL.
16
17 NOTE TO NEW LINUX USERS: All lines that are prefixed with the '$'
18 character are commands that need to be typed into a terminal window /
19 console (similar to the command prompt for Windows). Note that the '$'
20 character itself should NOT be typed as part of the command.
21
22
23 -----------------------------------------------------------------------------
24 2. Getting the source code
25 -----------------------------------------------------------------------------
26
98d0f9c changed: point to git in README.xxx files
spiff authored
27 You will have to grab the source code of course. First install the git
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
28 package provided by your distribution. Then from a terminal, type:
29
30 $ cd $HOME
98d0f9c changed: point to git in README.xxx files
spiff authored
31 $ git clone git://github.com/xbmc/xbmc.git xbmc
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
32
33 -----------------------------------------------------------------------------
34 3. Installing the required libraries and headers
35 -----------------------------------------------------------------------------
36
37 You will then need the required libraries. The following is the list of packages
38 that are used to build XBMC packages on Debian/Ubuntu (with all supported
39 external libraries enabled).
40
d13a4ed @mkortstiege fixed: updated README.linux (fixes #9901)
mkortstiege authored
41 Build-Depends: debhelper (>= 7.0.50~), python-support, cmake,
42 autotools-dev, autoconf, automake, unzip, libboost-dev, zip, libtool,
43 libgl1-mesa-dev | libgl-dev, libglu1-mesa-dev | libglu-dev, libglew-dev,
44 libmad0-dev, libjpeg-dev, libsamplerate-dev, libogg-dev, libvorbis-dev,
45 libfreetype6-dev, libfontconfig-dev, libbz2-dev, libfribidi-dev,
97ac393 @mkortstiege fixed: replaced virtual package libasound-dev by libasound2-dev in li…
mkortstiege authored
46 libsqlite3-dev, libmysqlclient-dev, libasound2-dev, libpng12-dev | libpng-dev,
d13a4ed @mkortstiege fixed: updated README.linux (fixes #9901)
mkortstiege authored
47 libpcre3-dev, liblzo2-dev, libcdio-dev, libsdl-dev, libsdl-image1.2-dev,
a3a7f74 changed: no need to send a fake key event to unblank the screen from …
vdrfan authored
48 libsdl-mixer1.2-dev, libenca-dev, libjasper-dev, libxt-dev,
d13a4ed @mkortstiege fixed: updated README.linux (fixes #9901)
mkortstiege authored
49 libxmu-dev, libxinerama-dev, libcurl4-gnutls-dev | libcurl-dev,
50 libdbus-1-dev, libhal-storage-dev, libhal-dev, libpulse-dev,
51 libavahi-common-dev, libavahi-client-dev, libxrandr-dev, libavcodec-dev,
52 libavformat-dev, libavutil-dev, libpostproc-dev, libswscale-dev,
53 libmpeg2-4-dev, libass-dev (>= 0.9.8), libmpcdec-dev, libflac-dev,
7916902 @mkortstiege changed: removed libwavpack as it's fully supported by ffmpeg (fixes …
mkortstiege authored
54 python-dev, gawk, gperf, nasm [!amd64], libcwiid1-dev,
384d2b6 @mkortstiege changed: added new build dependency libboost-thread-dev to linux READMEs
mkortstiege authored
55 libbluetooth-dev, zlib1g-dev, libsmbclient-dev, libboost-thread-dev
3c918d6 Removed use of libfaad2. It was already disabled on all platforms.
theuni authored
56 libiso9660-dev, libssl-dev, lsb-release, libvdpau-dev, libmicrohttpd-dev,
80e6562 @Memphiz [sync] - sync buildsys/projects for linux,osx,ios for airplay support
Memphiz authored
57 libmodplug-dev, librtmp-dev, libcrystalhd-dev, curl, python-dev, libyajl-dev,
3d8a9ec added: libtinyxml-dev dependency to README.ubuntu and README.linux
arnova authored
58 libplist-dev, libusb-dev, libudev-dev, libltdl-dev, libtinyxml-dev
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
59
60 *** For developers and anyone else who compiles frequently it is recommended to
61 use ccache
62
63 --------------------------------------------------------------
64 3.1. Using the XBMC PPA to get all build dependencies (Debian/Ubuntu only)
65 --------------------------------------------------------------
66
67 For this, you need to specify the PPA in your apt sources. Please find them on
68 the forum.
69
e5d1f2e @mkortstiege changed: updated xbmc.org related urls to reflect latest website changes
mkortstiege authored
70 http://forum.xbmc.org/showthread.php?t=33327
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
71
72 Update apt:
73 $ sudo apt-get update
74
75 Here is the magic command to get the build dependencies (used to compile the
76 version on the PPA).
77 $ sudo apt-get build-dep xbmc
78
79 -----------------------------------------------------------------------------
80 4. How to compile
81 -----------------------------------------------------------------------------
82
83 To create the XBMC executable manually perform these steps:
84
85 .0 $ ./bootstrap
86
e7d28c5 updated: configure.in and README.linux
AlTheKiller authored
87 .1 $ ./configure <option1> <option2> ... (See --help for available options)
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
88
89 A full listing of supported options can be viewed by typing
90 './configure --help'.
91
92 .2 $ make
93
94 Tip: by adding -j<number> to the make command, you describe how many
95 concurrent jobs will be used. So for dualcore the command is:
96
97 $ make -j2
98
ef0ee83 @mkortstiege changed: Makefile.in cleanup after removing internal python on linux …
mkortstiege authored
99 .3 $ make install
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
100
101 This will install XBMC in the prefix provided in 4.1 as well as a launcher script.
102
103 NOTE: You may need to run this with sudo (sudo make install) if your user
104 doesn't have write permissions to the prefix you have provided (as in the
105 default case, /usr/local).
106
107 Tip: To override the location that XBMC is installed, use PREFIX=<path>.
108 For example.
109
3612b52 Make use of DESTDIR now.
ceros7 authored
110 $ make install DESTDIR=$HOME/xbmc
45285e8 step 3/4: Move linuxport to trunk. How'd I get roped into this?
AlTheKiller authored
111
112 -----------------------------------------------------------------------------
113 5. How to run
114 -----------------------------------------------------------------------------
115 How to run xbmc depends on the type of installation you have done. It is
116 possible to run XBMC without the requirement to install xbmc anywhere else. In
117 this case, type the following from the top source directory.
118
119 $ ./xbmc.bin
120
121 If you chose to install XBMC using '/usr' or '/usr/local' as the PREFIX, you
122 can just issue 'xbmc' in a teminal session.
123
124 If you overridden PREFIX to install XBMC into some non-standard location, you
125 will have to run xbmc by directly running 'xbmc.bin'. For example.
126
127 $ $HOME/xbmc/usr/share/xbmc.bin
128
129 If you wish to use VDPAU decoding you will now have to change the Render Method
130 in Settings->Videos->Player from "Auto Detect" to "VDPAU".
131
132 -----------------------------------------------------------------------------
133 6. Uninstalling
134 -----------------------------------------------------------------------------
135 Issue "make uninstall" ("sudo make uninstall" if you user doesn't have write
136 permission to the install directory) from your source tree. If you would like
137 to also remove any settings and 3rd party addons (skins, scripts, etc) you
138 should also run "rm -rf ~/.xbmc".
139
140 NOTE: If you have rerun configure with a different prefix, you will either need
141 to rerun configure with the correct prefix for this step to work correctly.
142
143 EOF
144
Something went wrong with that request. Please try again.