maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Alternatives (https://talk.maemo.org/forumdisplay.php?f=36)
-   -   [Mer] Compile without OBS (https://talk.maemo.org/showthread.php?t=33115)

cayle 2009-10-19 17:34

[Mer] Compile without OBS
 
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.

lbt 2009-10-19 18:44

Re: [Mer] Compile without OBS
 
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 :)

cayle 2009-10-19 20:29

Re: [Mer] Compile without OBS
 
Thank you. I'll try that.


All times are GMT. The time now is 10:39.

vBulletin® Version 3.8.8