WIP Offer: Fedora 19 port
#1
Information 
I currently have the following configuration of Gotham building and running on Fedora 19:

Code:
./configure --disable-dvdcss --disable-afpclient --disable-mysql --disable-webserver --disable-optical-drive --disable-rsxs

You can clone my spec file and mock configuration from https://github.com/javanix-seven/xbmc-fedora

Is there any interest in merging some sort of rpm build process support into the source tree so that users could check out XBMC and build an rpm from source? I could provide a spec file and a mock configuration to this end (though the mock config would not be strictly necessary, it just makes validating and testing builds easier).

I will be maintaining this for my own use as I run a Fedora 19 HTPC, but if there is interest I would be willing to work on merging a "make rpm" target into the build process.

Quick guide to building for Fedora 19:
1) Install mock - available for CentOS, Fedora through EPEL, other distros as well
2) Download xbmc-fedora-19-i386.cfg and xbmc-fedora-19-x86_64.cfg to /etc/mock/
3) Download xbmc.spec
4) Make a "sources" directory.
5) Git clone https://github.com/xbmc/xbmc.git inside "sources"
6) Create an RPM-friendly source archive:
Code:
mv sources/xbmc sources/xbmc-13.0
6a)
Code:
cd sources ; tar -czf xbmc-13.0.tar.gz xbmc-13.0
7) Build SRPM:
Code:
mock -r xbmc-fedora-19-i386 --resultdir=./srpm --buildsrpm --sources=./sources --spec=./xbmc.spec
8) Compile i686:
Code:
mock -r xbmc-fedora-19-i386 --resultdir=./ ./srpm/*.src.rpm
9) Compile x86_64:
Code:
mock -r xbmc-fedora-19-x86_64 --resultdir=./ ./srpm/*.src.rpm
Reply
#2
I'd be nice if you could add a script to make an rpm, analog to tools/Linux/packaging/mk-debian-package.sh
Reply
#3
(2014-02-11, 11:04)wsnipex Wrote: I'd be nice if you could add a script to make an rpm, analog to tools/Linux/packaging/mk-debian-package.sh

Alright, I'll work something up and post it in this thread - if it seems useful I'll submit a pull request.
Reply
#4
great, thanks
Reply
#5
Very nice, I was just looking around for a spec file that might be a basis for centos 6.

I'm curious if there is a specific reason that the webserver and mysql support were disabled?

Cheers,
Feday.
Reply
#6
The reason I disabled it was because whatever mysql and webserver libraries Fedora provided didn't immediately work with the configure/autoconf stuff, so it saved a bunch of time to just disable them.

Once I get a chance I'll work on making sure that nothing is disabled by default - I just thought I'd share a start here.

In the meantime, I cleaned up the spec file since then based on what the rpm-fusion maintainers are doing

Mostly it is configured to look at external libraries now, rather than compiling the sources for ffmpeg that ship within the xbmc codebase.

https://github.com/javanix-seven/xbmc-fe.../xbmc.spec

That said, as long as you can get the NVidia drivers working for CentOS I don't see anything on the requires list that would cause too many issues for running xbmc.

Dunno if the 2.6.x kernel on CentOS will work all that wonderfully though, but it's worth a shot.
Reply
#7
Please, DO NOT use external ffmpeg!
Reply
#8
(2014-02-24, 08:37)wsnipex Wrote: Please, DO NOT use external ffmpeg!

Is there a thread with some backstory on that somewhere?
Reply
#9
sure, e.g. a lengthy discussion about it with debian guys: http://forum.xbmc.org/showthread.php?tid=177474
https://github.com/xbmc/xbmc/pull/4005
and here https://github.com/xbmc/xbmc-packaging/p...t-25709741
Reply
#10
Just wondering if there has been any progress on this...
Reply
#11
Not read any news about FFmpeg for Fedora but you can read more about XBMC for Debian in this other thread

http://forum.xbmc.org/showthread.php?tid=177474
Reply

Logout Mark Read Team Forum Stats Members Help
Offer: Fedora 19 port0