61
edits
m (→Steps) |
m (→Steps) |
||
| Line 20: | Line 20: | ||
#Get MeegoSDK<br>Follow the steps from the [http://wiki.meego.com/SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux official Meego Website]. '''Stop at the point "Install MeeGo Runtime"''', we will continue from this point on. <br> | #Get MeegoSDK<br>Follow the steps from the [http://wiki.meego.com/SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux official Meego Website]. '''Stop at the point "Install MeeGo Runtime"''', we will continue from this point on. <br> | ||
#Download and install the [http://wiki.meego.com/SDK/Docs/1.1/Configuring_QEMU_runtimes Runtime]<br><pre>sudo mad-admin create -f -e meego-netbook-ia32-qemu-1.1.20101031.2037-sda-runtime</pre> <br> | #Download and install the [http://wiki.meego.com/SDK/Docs/1.1/Configuring_QEMU_runtimes Runtime]<br><pre>sudo mad-admin create -f -e meego-netbook-ia32-qemu-1.1.20101031.2037-sda-runtime</pre> <br> | ||
#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 whereever you like it best<br><pre> mkdir ~/meegoSDK </pre> 2. Create a working directory on your HOST Storage whereever you like it best<br><pre> mkdir ~/meegoWorkingDirectory</pre>3. Mount the SDK Image into your Host System<br><pre> 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> mkdir ~/meegoSDK/meegoWorkingDirectory</pre> 5. Bind Mount your external Working Directory into the SDK Working Directory<br><pre> 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 whereever you like it best<br><pre> mkdir ~/meegoSDK </pre> 2. Create a working directory on your HOST Storage whereever you like it best<br><pre> 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>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 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. | #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 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 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><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><pre>hg update -C PRC1</pre><pre>cd ..</pre> <pre>hg update -C PRC1</pre> | ||
| Line 29: | Line 29: | ||
#Compile<br>The checkout there is still debian based, this needs to be adjusted. For now its good enough to use the mozconfig provided in the bottom of this page.<br><pre>make -f client.mk build</pre> | #Compile<br>The checkout there is still debian based, this needs to be adjusted. For now its good enough to use the mozconfig provided in the bottom of this page.<br><pre>make -f client.mk build</pre> | ||
#Package it</pre><br><pre>cd build-tree/obj-qt-buildxulrunner/xulrunner</pre><br><pre>make package</pre> | #Package it</pre><br><pre>cd build-tree/obj-qt-buildxulrunner/xulrunner</pre><br><pre>make package</pre> | ||
#Copy it to your device<br><pre>scp fennec- | #Copy it to your device<br><pre>scp fennec-#####.en-US.linux-i686.tar.bz2 meego@IPTOYOURMEEGONETBOOK:/</pre><br> | ||
#Extract it | #Extract it | ||
#Run it | #Run it | ||
edits