Reply
Thread Tools
Posts: 4 | Thanked: 1 time | Joined on Aug 2006 @ Columbia, MO
#1
Is there a way to compile locally for Mer under a scratchbox like system - without using the Novell OBS? I would like to try out the harmattan QT preview release, but, I understand that to put into Mer:Extras-Devel is against the preview license. I have installed gcc, g++, dbus-dev, etc.. on my n810 Mer. I can compile nearly everything but compiling one file keeps triggering a reboot due to exceeding virtual memory (I have created a 1GB swapfile and it still breaks). I don't recommend any c++ development on Mer as it is very slow.
 
Posts: 119 | Thanked: 412 times | Joined on Aug 2008
#2
Simple answer : "Yes"

There are quite a lot of docs on building for Mer ... take a look at:
http://wiki.maemo.org/Mer/Build/Application_Building

It does rely on the OBS to provide the build-dependencies (so I won't claim it's 100% offline) but you don't have to upload the source so no license issues.

Create a package just as you would for a normal application in the url above and when you get to the uploading source section, stop.

Then, assuming you followed along to that point, run:
osc build MerExtrasStable_MerStable_Ubuntu_9.04 armv5el <pkg>.dsc
(I think - "osc repos" will confirm the repo/arch targets you have)

This will actually send the dsc to the OBS and calculate build-depends. Then it creates a chroot and starts a build.

As for the speed, yeah, I noticed !!!

I've made an acceleration suite and my test for it is Qt... that builds at native speed and I run the Qt I built with it on my N800.

Accel : http://wiki.maemo.org/Mer/Build/Cross_Build if you care
 
Posts: 4 | Thanked: 1 time | Joined on Aug 2006 @ Columbia, MO
#3
Thank you. I'll try that.
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 13:20.