canmove, Confirmed users
1,584
edits
No edit summary |
|||
| Line 1: | Line 1: | ||
== Introduction == | |||
These are instructions for building [[Fennec]] for Nokia Maemo using the Scratchbox cross-compilation environment on Linux. | |||
== Maemo 5 (Fremantle) == | |||
We currently use the Maemo 4 SDK for our official Firefox for Maemo 1.x builds, because Maemo 5 is not compatible with the Nokia N800/N810. If you want to build with the Maemo 5 SDK, see the instructions at [[/Fremantle]]. | |||
== Maemo 4 (Chinook) == | |||
<pre> | |||
sudo su | sudo su | ||
echo "deb http://scratchbox.org/debian/ stable main" >> /etc/apt/sources.list | echo "deb http://scratchbox.org/debian/ stable main" >> /etc/apt/sources.list | ||
| Line 81: | Line 90: | ||
exit | exit | ||
</pre> | |||
Now continue to [[Mobile/Build/Fennec]] to check out and build the Fennec source code. | |||
= Notes on 64 Bit Ubuntu Ibex = | == Electrolysis == | ||
To build the [[Electrolysis]] branch, see [[Mobile/e10s]]. | |||
== Qt == | |||
Future versions of Maemo will be based primarily on Qt instead of GTK. To build with Qt see [[User:Pjohnsen/MozillaQtBuild]]. | |||
== Notes on 64 Bit Ubuntu Ibex == | |||
Scratchbox contains 32 bit binaries which must be accommodated on a 64 bit system. The easiest way to do this is with a 32 bit chroot. Scratchbox also uses a chroot - so they will be executing 2 deep when the build is done. | Scratchbox contains 32 bit binaries which must be accommodated on a 64 bit system. The easiest way to do this is with a 32 bit chroot. Scratchbox also uses a chroot - so they will be executing 2 deep when the build is done. | ||
| Line 96: | Line 114: | ||
* make certain binfmt_misc is loaded (modprobe -a binfmt_misc) | * make certain binfmt_misc is loaded (modprobe -a binfmt_misc) | ||
* inside chroot make sure /proc is mounted (mount /proc) | * inside chroot make sure /proc is mounted (mount /proc) | ||