HowToMeegoFennecDraft: Difference between revisions

Jump to navigation Jump to search
m
Line 22: Line 22:
#Mount the SDK<br>It is important to know that it is not a good idea to use Qemu and the Meego SDK. This is because of:<br>a) In case Qemu crash once, you can not start it again, everything is gone.<br>b) Qemu is very slow on compiling<br>c) For mounting working directories into Qemu you need to use nfs which is possible but increase complexity<br>d) The Image Partitions for netbook and handset are just to small in order to hold the mozilla sources<br><br>Steps:<br>1. Create mount point on your HOST Storage wherever you like it best<br><pre>sudo mkdir ~/meegoSDK </pre> 2. Create a working directory on your HOST Storage whereever you like it best<br><pre>sudo mkdir ~/meegoWorkingDirectory</pre>3. Mount the SDK Image into your Host System<br><pre>sudo mount -o loop,offset=512 /usr/lib/madde/linux-i686/runtimes/meego-netbook-ia32-qemu-1.1.20101031.2037-sda-runtime/meego-netbook-ia32-qemu-1.1.20101031.2037-sda.raw ~/meegoSDK </pre>4. Create a mount point within the meegoSDK Directory<br><pre>sudo mkdir ~/meegoSDK/meegoWorkingDirectory</pre> 5. Bind Mount your external Working Directory into the SDK Working Directory<br><pre>sudo mount --bind ~/meegoWorkingDirectory ~/meegoSDK/meegoWorkingDirectory</pre>  
#Mount the SDK<br>It is important to know that it is not a good idea to use Qemu and the Meego SDK. This is because of:<br>a) In case Qemu crash once, you can not start it again, everything is gone.<br>b) Qemu is very slow on compiling<br>c) For mounting working directories into Qemu you need to use nfs which is possible but increase complexity<br>d) The Image Partitions for netbook and handset are just to small in order to hold the mozilla sources<br><br>Steps:<br>1. Create mount point on your HOST Storage wherever you like it best<br><pre>sudo mkdir ~/meegoSDK </pre> 2. Create a working directory on your HOST Storage whereever you like it best<br><pre>sudo mkdir ~/meegoWorkingDirectory</pre>3. Mount the SDK Image into your Host System<br><pre>sudo mount -o loop,offset=512 /usr/lib/madde/linux-i686/runtimes/meego-netbook-ia32-qemu-1.1.20101031.2037-sda-runtime/meego-netbook-ia32-qemu-1.1.20101031.2037-sda.raw ~/meegoSDK </pre>4. Create a mount point within the meegoSDK Directory<br><pre>sudo mkdir ~/meegoSDK/meegoWorkingDirectory</pre> 5. Bind Mount your external Working Directory into the SDK Working Directory<br><pre>sudo mount --bind ~/meegoWorkingDirectory ~/meegoSDK/meegoWorkingDirectory</pre>  
#ChangeRoot into MeegoSDK<br>1. Copy the changeroot script from this page (see section "Scripts"<br> 2. Use this script by calling<br><pre>sudo sdk-changeroot ~/meegoSDK</pre>  
#ChangeRoot into MeegoSDK<br>1. Copy the changeroot script from this page (see section "Scripts"<br> 2. Use this script by calling<br><pre>sudo sdk-changeroot ~/meegoSDK</pre>  
#Download and install dependencies / needed packages<br><pre>zypper in python-devel docutils libidl-devel libcontentaction-devel alsa-lib-devel gst-plugins-base-devel libXext-devel libXrender-devel freetype-devel fontconfig-devel libXt-devel libffi-devel python sharutils bc quilt yasm zip wget</pre>  
#Download and install dependencies / needed packages<br><pre>zypper in python-devel docutils libidl-devel libcontentaction-devel alsa-lib-devel gst-plugins-base-devel libXext-devel git doxygen libXrender-devel freetype-devel fontconfig-devel libXt-devel libffi-devel python sharutils bc quilt yasm zip wget</pre>  
#Get and Compile Mercurial<br>MeegoSDK is missing Mercurial packages, we need to download, compile and install them by our own.<br><pre>cd /meegoWorkingDirectory</pre><pre>wget http://mercurial.selenic.com/release/mercurial-1.7.3.tar.gz </pre><pre>tar -xzf mercurial-1.7.3.tar.gz </pre> <pre>cd mercurial-1.7.3 </pre><pre>make install</pre>
#Get and Compile Mercurial<br>MeegoSDK is missing Mercurial packages, we need to download, compile and install them by our own.<br><pre>cd /meegoWorkingDirectory</pre><pre>wget http://mercurial.selenic.com/release/mercurial-1.7.3.tar.gz </pre><pre>tar -xzf mercurial-1.7.3.tar.gz </pre> <pre>cd mercurial-1.7.3 </pre><pre>make install</pre>
#Get and install autoconf2.13<pre>wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz</pre><pre>tar -xvzf autoconf-2.13.tar.gz</pre><pre>cd autoconf-2.13/</pre><pre>./configure --program-suffix=2.13</pre><pre>make</pre><pre>sudo make install</pre>
#Get and Compile autoconf2.13<pre>wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.13.tar.gz</pre><pre>tar -xvzf autoconf-2.13.tar.gz</pre><pre>cd autoconf-2.13/</pre><pre>./configure --program-suffix=2.13</pre><pre>make</pre><pre>sudo make install</pre>
#Get and Compile libresourceqt <pre>git clone git://gitorious.org/maemo-multimedia/libresourceqt.git</pre><pre>qmake</pre><pre>make</pre><pre>make install</pre>
#Get Xulrunner Sources from Meego Developer Preview Repository<br><pre>cd /meegoWorkingDirectory </pre><pre>hg clone http://hg.meego.com/mozilla-central</pre> <pre>cd mozilla-central</pre><pre>hg clone http://hg.meego.com/mobile-browser mobile</pre><pre>cd mobile</pre>Update to PRC1 Branch, which is a Fennec Beta 2 with changes for Meego <pre>hg update -C PRC1</pre><pre>cd ..</pre> <pre>hg update -C PRC1</pre>  
#Get Xulrunner Sources from Meego Developer Preview Repository<br><pre>cd /meegoWorkingDirectory </pre><pre>hg clone http://hg.meego.com/mozilla-central</pre> <pre>cd mozilla-central</pre><pre>hg clone http://hg.meego.com/mobile-browser mobile</pre><pre>cd mobile</pre>Update to PRC1 Branch, which is a Fennec Beta 2 with changes for Meego <pre>hg update -C PRC1</pre><pre>cd ..</pre> <pre>hg update -C PRC1</pre>  
#Copy mozconfig from this page into the /meegoWorkingDirectory  
#Copy mozconfig from this page into the /meegoWorkingDirectory  

Navigation menu