Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Mer] Compile without OBS

    Reply
    cayle | # 1 | 2009-10-19, 17:34 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks

     
    lbt | # 2 | 2009-10-19, 18:44 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    cayle | # 3 | 2009-10-19, 20:29 | Report

    Thank you. I'll try that.

    Edit | Forward | Quote | Quick Reply | Thanks

     
vBulletin® Version 3.8.8
Normal Logout