Edit Info Other
Login

Diff for "xbmc"

Differences between revisions 5 and 6
Revision 5 as of 2014-01-27 15:17:25
Size: 3289
Editor: ktdreyer
Comment:
Revision 6 as of 2014-03-18 22:45:36
Size: 3022
Editor: ktdreyer
Comment: nightly builds update
Deletions are marked like this. Additions are marked like this.
Line 5: Line 5:
NOTE: nightly builds are disabled because I need web hosting. If you have server space available with HTTP access, please let me know. Unfortunately since XBMC bundles ffmpeg, I can't host these on fedorapeople.org. (Thank you to Brian Faris for being willing to hosting the nightlies build infrastructure through 2013.) NOTE: nightly builds are disabled because I have not had time to resurrect them.
Line 7: Line 7:
Nightly packages from xbmc's master Git branch are available at [[http://xbmc.ktdreyer.com]]. Nightly packages from xbmc's master Git branch are available at (removed).
Line 9: Line 9:
To use these builds, download [[http://xbmc.ktdreyer.com/fedora/xbmc-nightly.repo]] to /etc/yum.repos.d/ and run "yum update xbmc". To get back to RPM Fusion's official XBMC package, run "yum --disablerepo=xbmc-nightly downgrade xbmc" To use these builds, download [[http://(removed)/fedora/xbmc-nightly.repo]] to /etc/yum.repos.d/ and run "yum update xbmc". To get back to RPM Fusion's official XBMC package, run "yum --disablerepo=xbmc-nightly downgrade xbmc"

XBMC in RPM Fusion

Nightly builds

NOTE: nightly builds are disabled because I have not had time to resurrect them.

Nightly packages from xbmc's master Git branch are available at (removed).

To use these builds, download http://(removed)/fedora/xbmc-nightly.repo to /etc/yum.repos.d/ and run "yum update xbmc". To get back to RPM Fusion's official XBMC package, run "yum --disablerepo=xbmc-nightly downgrade xbmc"

Note that these builds may be in various states of disrepair, or even altogether unusable. Be prepared to upgrade or downgrade as needed. You have been warned.

The build script that does this is available at https://gitorious.org/ktdreyer/xbmc-nightly.

Modifying and building a custom package

RPM Fusion uses CVS to manage the spec files and associated files for a package. To add to the complexity, Alex and Ken keep the canonical RPM spec in a separate Git repository, since Git is much easier to work with than CVS. We do all commmits to Git first, and then periodically sync that to CVS.

Building from Git

To do a build from Git:

$ git clone git://fedorapeople.org/home/fedora/alexlan/public_git/xbmc-rpm.git
$ cd xbmc
$ ./xbmc-generate-tarball-xz.sh
$ md5sum xbmc-*-patched.tar.xz > sources
$ fedpkg --dist f20 mockbuild --root fedora-20-x86_64-rpmfusion_free

Use fedpkg inside the Git repo in order to do the build. Because RPM Fusion's infrastructure is not yet plumbed up together with dist-git and fedpkg, we can't use this command for real package maintenance, but it is useful for easily doing local mock builds.

Maybe you're already familiar with mock and fedpkg... if so, great! If not, read over some of the relevant fedoraproject.org wiki pages.

Doing an XBMC upgrade

Let's say RPM Fusion is shipping an older version of XBMC, and you want a newer version.

Clone the Git repo, and maybe even looking through the history of commits (git log -p), so you can see how we do each update.

The first step is to change the Git tag in xbmc-generate-tarball-xz.sh and re-run that script. That will download a tarball to your working directory and strip it of all the unneeded bits.

Next, update the version in xbmc.spec. You will also need to put the md5sum of the new tarball into the sources file. You can run md5sum xbmc-*-patched.tar.xz > sources, but I like to use fedpkg new-sources to automatically update the .gitignore and sources files. (It's ok if fedpkg complains about failure to upload, since RPM Fusion's infrastructure technically doesn't use fedpkg.)

Lastly, make a git commit (fedpkg commit -c) that updates everything to the latest version.

Once you're sure it builds on a couple platforms (like F19 and F20), then create a patch with git format-patch and attach it to your bugzilla report.

xbmc (last edited 2023-11-14 09:37:58 by anonymous)