Posts Tagged ‘Meego’

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")

XBMC on Meego 1.0

Wednesday, June 2nd, 2010

This howto should be very simple to follow. All rpms have been made specifically for meego this time unlike my previous howtos.

This should work for a stock meego 1.0 netbook image. I tested it on a Samsung NC10 with 2GB of ram.

A few optional things that could be nice
An openssh server might be useful, full vim, wget and synergy (keyboard sharing client/server)

sudo yum install -y vim openssh-server wget synergy

My howto will use wget.

Installing dependancies from Meego repos
Here goes the big part. The last 15 or so dependancies may not all be required. However I didn't want to go all the way through them again. If you do it please send me an email ;-)

sudo yum install -y boost-devel glew-devel libsamplerate-devel libogg-devel bzip2-devel zip lzo-devel fribidi-devel sqlite-devel pcre-devel flac-devel libsmbclient-devel libtalloc samba-winbind gperf libXau-devel libvorbis-devel openssl-devel SDL-devel alsa-lib-devel alsa-plugins-pulseaudio jasper-devel jasper-libs libtiff-devel SDL_image-devel libXtst-devel libXmu-devel libcurl-devel libmp4v2-devel fontconfig-devel libpng-devel SDL_mixer-devel libXinerama-devel libXi-devel avahi-devel libcom_err-devel e2fsprogs-devel python-devel cppunit-devel freeglut-devel perl-ExtUtils-MakeMaker perl-ExtUtils-CBuilder libXxf86vm-devel mikmod-devel esound-devel expat-devel dbus-devel dbus-glib-devel libblkid-devel dos2unix libsysfs-devel glib2-devel libXv-devel ncurses-devel readline-devel doxygen udisks-devel

Installing dependancies from here
You don't need to install the HAL package since revision 29991. Meego provides udisks and udisks-devel. Thanks openelec.tv for pointing this out!
Warning : my mysql package is probably a little different as I got rid of some dependancies
Warning : my lame package does not include mp3x as it needed gtk+-devel and I have better things to do ;-)
If you want to save some space the debuginfo and doc packages are not needed. Also only the main mysql package and it's dependancies are needed.

My webserver is getting hammered so please be nice and use this google docs link to download the dependancies. Below are the sha1sum and md5sum for the file.

[brendan@madeouk]$ sha1sum XBMC_deps_rpms.tar.gz
2cbe584ddc418c1f177707e2a3baef89bda42928 XBMC_deps_rpms.tar.gz
[brendan@madeouk]$ md5sum XBMC_deps_rpms.tar.gz
0f9c094fa8ec20022989965b5642cc1a XBMC_deps_rpms.tar.gz

wget http://www.madeo.co.uk/files/XBMC_deps_rpms.tar.gz
tar xzvf XBMC_deps_rpms.tar.gz
cd i586
rm hal-*
sudo rpm -ivh *

Getting XBMC and compiling/installing
Feel free to use a different version, the latest wouldn't compile for me so I took what my Acer Revo was currently running... This will take a few hours on an Atom 270 without distcc.
Warning: You'll need to use another computer to grab the xbmc sources since SVN isn't in the meego repos and I havent built an RPM for it. Maybe later!

svn co -r30739 https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ xbmc
cd xbmc/
./bootstrap
./configure --prefix=/usr --disable-vdpau --disable-dvdcss --disable-hal
make -j2
make install

That's all! Hopefully it works for you.
Notice the windowmanager will mess things up if your mouse is in the top part of the screen. Disable the mouse in XBMC or just run a different WM like openbox.

How to build Meego images (a.k.a moblin 2.2)

Friday, February 19th, 2010

These are not official builds. Nor are they official instructions. Follow at your own risk !
Download link : (647MB). Alternate link here .
If you're even lazier here are some pictures and videos of it running!

Part 1 : Build environment
Skip to part2 if you allready have MIC2 or if you have no intention of using fedora
I used Fedora 10, simply because there was a repo for the MIC2 (tool to make images for moblin). For a quick install download a vmware image off thoughtpolice. (the root password is thoughtpolice!).

I'm not sure this is needed but selinux complains during the build and it's notoriously annoying so I disabled it.

system-config-selinux

Add this as moblin_tools.repo in /etc/yum.repos.d/:

[MoblinTools]
name=Moblin fc10 tools
failovermethod=priority
baseurl=http://repo.moblin.org/moblin/tools/fc10/
enabled=1
gpgcheck=0

Now we install mic2. (and all it's dependancies...). Load the squashfs module just to make sure

sudo yum install mic2
sudo modprobe squashfs

Part 2 : making the image!
The Intel/Nokia people very kindly hide away some premade images :

http://repo.meego.com/trunk/repo/ia32/os/image-config/

You can either use their default.ks image or my brendan.ks image with the time and keyboard fixed so that it works in the uk ;-)

moblin-image-creator -c brendan.ks -f liveusb

To burn it to a USB stick use:

dd bs=4096 if=moblin-brendan-201002191551.usbimg of=/dev/sdx

You'll find your root user has the following property in the live USB image:

user : root
Password : moblin

Notes :
- I've found my clutter interface usually crashes on the first load. Doing an init 3 and then init 5 in a tty terminal as root usually fixes it.

First look at Meego – a.k.a Moblin 2.2 (and where is maemo??)

Friday, February 19th, 2010

Here are a few pictures of the upcoming Meego release (Moblin 2.2).
Go try it out for yourself! USB image can be downloaded here

Bootup is about as fast as Moblin 2.1, syslinux menu has not changed but due to using MIC2 this is not a surprise. Kernel 2.6.33-rc8 is used.

Graphically menus have changed very slightly. It now has a meego graphic as it starts clutter/mutter.

The biggest changes I could spot where Chromium for web browsing and Mozilla nowhere to be found... Thunderbird was being used for email. When halting (which apparently having no icon to do that means it's more user friendly...) it gives you a cute little backdrop of one of those creature like blocks waving at you!

Right now, Meego looks like a clone of Moblin and the only reason for the name change seems to be to appease the Maemo community which still seems to be up in arms about the move to an RPM based distro.