<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>XBMC &#8211; FU-BAR</title>
	<atom:link href="/tag/xbmc/feed/" rel="self" type="application/rss+xml" />
	<link>/</link>
	<description>Fucked Up Beyond All Recognition</description>
	<lastBuildDate>Sun, 12 Dec 2010 00:09:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>/wp-content/uploads/2020/07/cropped-eu-header-20200715-2-32x32.png</url>
	<title>XBMC &#8211; FU-BAR</title>
	<link>/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>XBMC for Fedora 11</title>
		<link>/2009/06/11/xbmc-for-fedora-11/</link>
					<comments>/2009/06/11/xbmc-for-fedora-11/#comments</comments>
		
		<dc:creator><![CDATA[Rui Seabra]]></dc:creator>
		<pubDate>Thu, 11 Jun 2009 19:21:10 +0000</pubDate>
				<category><![CDATA[Free Software]]></category>
		<category><![CDATA[Fedora]]></category>
		<category><![CDATA[Leonidas]]></category>
		<category><![CDATA[XBMC]]></category>
		<guid isPermaLink="false">/?p=517</guid>

					<description><![CDATA[Ok, not yet RPMS but these instructions should work flawlessly as is on Fedora 11. Firstly, you should add the rpmfusion repositories to your machine, then install a few packages so your build will work: sudo yum -y install \ SDL* glew glew-devel libmad-devel tre tre-devel \ libogg libogg-devel libvorbis libvorbis-devel \ boost boost-devel bzip2-devel &#8230; <p class="link-more"><a href="/2009/06/11/xbmc-for-fedora-11/" class="more-link">Continue reading<span class="screen-reader-text"> "XBMC for Fedora 11"</span></a></p>]]></description>
										<content:encoded><![CDATA[<p>Ok, not yet RPMS but these instructions should work flawlessly as is on Fedora 11.</p>
<p>Firstly, you should <a href="http://rpmfusion.org/Configuration">add the rpmfusion repositories</a> to your machine, then install a <em>few</em> packages so your build will work:</p>
<pre>sudo yum -y 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 libsamplerate-devel libcdio-devel \
        pulseaudio-libs-devel avahi-devel ffmpeg-devel libmad-devel \
        a52dec-devel libdca faad2-devel libmpeg2-devel libass-devel \
        libvorbis-devel libogg-devel libmpcdec-devel flac-devel \
        wavpack-devel python-devel subversion</pre>
<p>This will allow for a lot of the dependencies to be made external, which is a good thing!</p>
<p>Now, to fetch the repository of XBMC (well, let&#8217;s use the latest, but theses instructions should work with a stable release source package):</p>
<pre>mkdir ~/svn ; cd ~/svn
svn co http://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/ xbmc</pre>
<p>It will take a short while to fetch everything, depending on your connection, you may even be better off having a coffee or some tea.</p>
<p>Now you should go into the  ~/svn/xbmc/XBMC/ directory and run configure. My run installs xbmc on /opt/xbmc and enables some external dependencies. Unfortunately, even with the required dependencies some of the options need changes not yet available in the official packages, so we&#8217;ll be using some internal versions instead. Don&#8217;t worry about it, we&#8217;ll just specify the ones which will be external.</p>
<p>Unfortunately, mysql-libs doesn&#8217;t supply a &#8220;generic&#8221; path for the shared object file, so we&#8217;ll also need to &#8220;hack&#8221; its existence before running xbmc&#8217;s configure:</p>
<pre>sudo ln -s /usr/lib/mysql/libmysqlclient.so.16.0.0 /usr/lib/libmysqlclient.so

./configure --prefix=/opt/xbmc \
  --enable-external-libmad \
  --enable-external-liba52 \
  --enable-external-libmpeg2 \
  --enable-external-libass \
  --enable-external-libvorbis \
  --enable-external-libogg \
  --enable-external-libmpcdec \
  --enable-external-libflac \
  --enable-external-libwavpack \
  --enable-external-python \</pre>
<p>This will result in the following output, at the end:</p>
<pre>------------------------
  XBMC Configuration:
------------------------
  Debugging:    Yes
  Profiling:    No
  Optimization: Yes
  OpenGL:       Yes
  VDPAU:        No
  Joystick:     Yes
  XRandR:       Yes
  PCRE Support: Yes
  MID Support:  No
  ccache:       No
  PulseAudio:   Yes
  FAAC:         Yes
  DVDCSS:       Yes
  Avahi:        Yes
  External Libraries:   No
  External FFmpeg:      No
  External libmad:      Yes
  External liba52:      Yes
  External libdts:      No
  External libfaad:     No
  External libmpeg2:    Yes
  External libass:      Yes
  External libvorbis:   Yes
  External libogg:      Yes
  External libmpcdec:   Yes
  External libflac:     Yes
  External libwavpack:  Yes
  External Python:      Yes
  prefix:       /opt/xbmc
------------------------</pre>
<p>Unfortunately, make failed due to some problem with accessing libjpeg internals. The official package doesn&#8217;t contain all you need, so you have to use hack XBMC&#8217;s code in order to force using the internal version of libjpeg:</p>
<pre>make
In file included from tif_ojpeg.c:35:
/usr/include/jpeglib.h:1096:55: error: jpegint.h: No such file or directory
tif_ojpeg.c: In function ‘OJPEGPreDecode’:
tif_ojpeg.c:1414: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1424: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1425: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1426: error: dereferencing pointer to incomplete type
tif_ojpeg.c:1428: error: ‘DSTATE_INHEADER’ undeclared (first use in this function)
tif_ojpeg.c:1428: error: (Each undeclared identifier is reported only once
tif_ojpeg.c:1428: error: for each function it appears in.)
tif_ojpeg.c:1508: error: dereferencing pointer to incomplete type</pre>
<p>Even though it looks awful, just <a href="http://files.1407.org/2009/06/11/fix_tif_ojpeg.patch">fix tif_ojpeg with this patch file</a> and run make again.</p>
<p>After this, you run <strong>make install</strong> to install into /opt/xbmc, and if you want to have an X session that launches XBMC automatically, then you can also add</p>
<pre>sudo ln -s /opt/xbmc/share/xsessions/XBMC.desktop /usr/share/xsessions/</pre>
<p>Now you can create a guest account and launch the computer automatically into that user, running XBMC.</p>
]]></content:encoded>
					
					<wfw:commentRss>/2009/06/11/xbmc-for-fedora-11/feed/</wfw:commentRss>
			<slash:comments>6</slash:comments>
		
		
			</item>
	</channel>
</rss>
