XBMC

From FedoraJunkies

Jump to: navigation, search

XBMC Legacy Instructions

Contents

1. Checkout from subversion

svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/

2. Install Packages

Fedora 8, 9, 10 or, 11
rpm -Uvh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm \
http://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-stable.noarch.rpm
CentOS 5 (32) 
rpm -Uvh http://apt.sw.be/redhat/el5/en/i386/rpmforge/RPMS/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
CentOS 5 (64)
rpm -Uvh http://apt.sw.be/redhat/el5/en/x86_64/rpmforge/RPMS//rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm

Cut & Paste Fun

yum install SDL* glew glew-devel libmad-devel tre tre-devel libogg libogg-devel libvorbis libvorbis-devel boost \
boost-devel bzip2-devel bzip2-libs fribidi* lzo lzo-devel mysql-libs mysql-devel jasper jasper-devel faac faac-devel \
enca enca-devel hal hal-devel hal-libs cmake gperf nasm libXmu-devel fontconfig-devel freetype-devel libXinerama-devel \
pcre-devel gcc-c++ sqlite-devel curl-devel pulseaudio-libs-devel libsmbclient-devel libcdio-devel libmms-devel libXtst-devel \
libsamplerate libsamplerate-devel

*sudo ln -s /usr/lib/mysql/libmysqlclient.so.15.0.0 /usr/lib/libmysqlclient.so (i386)
*sudo ln -s /usr/lib64/mysql/libmysqlclient.so.15.0.0 /usr/lib64/libmysqlclient.so (x86_64)

if the ./configure still shows -lmysqlclient = no, check your mysql directory and maybe its libmysqlclient.so.16.0.0

3. Configure

cd XBMC/
./bootstrap
./configure

With the above installed packages this should go smoothly :)

4. Build

make

Go grab a beer, perhaps grill a steak, smoke a cigar and then come back. This could take a while...

  • The make can error out with;

Edit line 49 of XBMC/xbmc/cores/dvdplayer/Codecs/libDVDCSS/doc/latex/dvdcss_8h.tex
and remove the broken 'e' in the others name (change it to a regular 'e') and rerun make, all will work now :)

  • jpegint.h error fix
cp XBMC/xbmc/lib/cximage-6.0/jpeg/jpegint.h /usr/include/

Then remake

Fedora Specific Patches

Fedora 11
XBMC-GCC44.patch

Fedora 9/10
fribidi-charsetconverter.patch (no longer used)
fribidi-arabicshaping.patch (no longer used)

Fedora 8
dsputil_mmx.patch

Apply patches and then remake again

5. Install

make install

When this completes you are done!
Simply log into Gnome (or KDE) and open up a terminal and type 'xbmc' and it will load.

e.g.

XBMC on FC8
XBMC on FC8

Latest RPMS

Available via YUM as well @ our Yum Repository


RELEASE Versions

Fedora 11
XBMC-9.04.1-1.fc11.i586.rpm Babylon 9.04.1
XBMC-9.04.1-1.fc11.x86_64.rpm Babylon 9.04.1

Fedora 10
XBMC-9.04.1-1.fc10.i386.rpm Babylon 9.04.1
XBMC-9.04.1-1.fc10.x86_64.rpm Babylon 9.04.1

Fedora 9
XBMC-9.04.1-1.fc9.i386.rpm Babylon 9.04.1
XBMC-8.10-2.fc9.x86_64.rpm Atlantis 8.10

Fedora 8
XBMC-8.10-2.fc8.i386.rpm Atlantis 8.10
(updates discontinued) XBMC-8.10-2.fc8.x86_64.rpm Atlantis 8.10 (updates discontinued)

CentOS 5
XBMC-8.10-2.el5.i386.rpm Atlantis 8.10

DEVELOPMENT (Subversion) Versions

Fedora 8 ( i386 / x86_64 )
Our Build Farm auto builds these every night, while I could update this page every day that just doesn't seem very efficient.

CentOS 5 i386 Snapshot RPMs
F8 i386 Snapshot RPMs
F8 x86_64 Snapshot RPMs
F9 i386 Snapshot RPMs
F9 x86_64 Snapshot RPMs
F10 i386 Snapshot RPMs
F10 x86_64 Snapshot RPMs
F11 i386 Snapshot RPMs
F11 x86_64 Snapshot RPMs

Looks like the Fedora 11 builds are failing on Goom. I corrected the build on my system by disabling Goom in the Makefile. Not the best solution, but I don't really use Goom anyway.


CentOS 5.2 (Not automated, build issue at the moment)
XBMC-svn.20080920-1.i386.rpm
XBMC-svn.20080920-1.el5.x86_64.rpm


SRPMS

RELEASE

CentOS 5
XBMC-8.10-2.el5.src.rpm Atlantis 8.10

Fedora 8
XBMC-8.10-2.fc8.src.rpm Atlantis 8.10

Fedora 9
XBMC-9.04-1.fc9.src.rpm Babylon 9.04

Fedora 10
XBMC-9.04.1-1.fc10.src.rpm Babylon 9.04

Subversion Snapshots

CentOS 5.2
XBMC-svn.20080920-1.el5.src.rpm

Any and all issues regarding these RPMs should be sent to scotth@sourcemirrors.org, I am *not* part of the XBMC team so please do not ask them questions regarding these packages. Thanks!

Additional RPMs you may need for installation on CentOS

i386 versions will be up later

glew-1.4.0-3.el5.kb.x86_64.rpm
jasper-1.900.1-2.el5.x86_64.rpm
lzo-2.02-2.el5.x86_64.rpm
sqlite-3.4.2-3.fc8.x86_64.rpm

Source CentOS RPMS (Thanks Kraig) libxrandr-1.2.3-1.src.rpm
sdl_mixer-1.2.8-1.src.rpm
sqlite-3.6.7-1.src.rpm
xorg-x11-proto-devel-7.4-4.src.rpm

Personal tools