Archive for the ‘Uncategorized’ Category

XBMC repo for Meego

Monday, August 16th, 2010

This has taken much longer than I had hoped but here it is! The XBMC repo for Meego.1.0

Adding the Repo and installing XBMC:

wget http://download.obs.maemo.org/home%3a/arfoll/MeeGo_1.0_Core/home%3aarfoll.repo
sudo mv home\:arfoll.repo /etc/yum.repos.d

Edit /etc/yum.repos.d/home\:arfoll.repo, and set gpgcheck to 0. (The Maemo community OBS seems to enable this but it doesn't sign the packages it builds!)

sudo yum install xbmc

Can't really make it easier than that now can I?

Note: I've only tested this on meego 1.0 netbook with all the latest updates as of 14th august. Please tell me if anything goes wrong in your install.

Thanks to the people on the #meego channel and to the maemo community for making their very nice community OBS available to all meego x86 people.

XBMC r33163 is now available in the repositories!

The current XBMC build is SVN (dharma branch) r32806, which isn't the latest but it's fairly stable. I will move to newer ones eventually but my aim is not to update this every day. The dependancies will probably not be updated so long as the OBS keeps compiling them fine ;-) If you have a newer package that works and compiles in meego i'd be glad to replace one of my older ones though!

There is no MythTV support in this XBMC version, as I remove all mysql dependancies using a patch. If anyone really wants to do this, I can probably renenable my mysql/perl packages. I also have a small patch to add some meego specific stuff and fix a libfaad error - see this forum post.

How to disable rpmlint on OBS

Monday, August 16th, 2010

Recently started playing with the meego community OBS (on build.obs.maemo.org) and found that they have rpmlint installed. I actually quite like it, it pointed to quite a few errors and improved alot of my packages. I can't say my packages are now brilliant, but they are a little better. However sometimes, it just gets in the way. So off I go on #opensuse-build and get told that I'm crazy and I should fix my package and that the xbmc makefile is ridiculous for putting some arch dependent stuff in /usr/share/. Now that may be true, but either way I still want my xbmc package without having to patch the makefile to see it all break in my next release. They don't want to tell me how to get rid of rpmlint. Google doesn't seem to want anyone to know either but after lots of searching I found how to do it!

Add as xbmc.rpmlintrc in your working directory:

#remove all rpmlint output
addFilter(".*")

Then just add and commit

osc add xbmc.rpmlintrc
osc commit

This example is very brutal. Here is a link to the opensuse wiki which will show you what the filters are so you can disable just the rules that annoy you.

For example in my package the nice way of doing this would be to add this. See some examples in the heartbeat opensuse package.

addFilter("arch-dependent-file-in-usr-share /usr/share/xbmc/Python24.zip")

FreeDOS on usb stick on Linux – for BIOS update

Wednesday, November 18th, 2009

To cut a long story short I managed to get Windows98 dos on a USB stick. I have no idea how to do it again. So i went and found another way - incidentally this is nicer because it doesn't require a license!

Note : This will work on any OS that has dd, so pretty much all of them, but in *nix it's usually allready there!

So take a USB stick bigger than 31MB (unformatted), and then just download, uncompress and write the FreeDOS img like this :
Note : here my usb key is in /dev/sde. It will be wiped entirely. Then /dev/xxx1 will be the DOS partition. After the 31MB the rest of the space can still be used just format it! - Windows won't be able to see it.

wget http://www.madeo.co.uk/FreeDOS-1.0-USB-Boot.img.bz2
bzip2 -d FreeDOS-1.0-USB-Boot.img.bz2
dd bs=512 if=FreeDOS-1.0-USB-Boot.img of=/dev/sde
mount /dev/sde1 /mnt
cp biosfiles /mnt
umount /mnt

Thanks to derek @ http://derek.chezmarcotte.ca/ for the FreeDOS image!