maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Building FENNEC/FIREFOX from source with Maemo SDK (https://talk.maemo.org/showthread.php?t=84288)

bellini 2012-05-15 09:49

Building FENNEC/FIREFOX from source with Maemo SDK
 
Hello,

I want to know how to build Latest Fennec/Firefox from source and run compiled binary on Maemo 5 N900 System.
Anyone can help me? i can create an article in your wiki, it will be usefull for maemo community.

Thank you.
PS: excuse me for my bad english

misiak 2012-05-15 09:58

Re: Building FENNEC/FIREFOX from source with Maemo SDK
 
general rules:
1. install maemo sdk (i don't know what systems are supported now, i have a virtual machine with ubuntu 10.04 and scratchbox installed there for n900 development)
2. download Fennec or Firefox sources
3. try to compile
4. if there are errors, fix them
5. try again, if it still fails, goto number 4
6. copy results to 900
7. test and run

or maybe it would be easier to add debian armel's repositories to /etc/apt/sources.list IN YOUR SDK, NOT ON N900!, then do
Code:

apt-get source iceweasel
apt-get build-dep iceweasel
fakeroot dpkg-buildpackage iceweasel

- this works for some debian packages (I haven't done this for >1year, so I may have forgotten some extra steps, but I hope you know what I mean)

Iceweasel is equivalent of Firefox in Debian (it's Firefox in Debian).


All times are GMT. The time now is 05:56.

vBulletin® Version 3.8.8