HowToMeegoFennecDraft: Difference between revisions

Jump to navigation Jump to search
m
Line 40: Line 40:
#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 git doxygen libXrender-devel freetype-devel fontconfig-devel glib2-static 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 glib2-static 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> <pre>echo "[extensions] hgext.mq=" &gt;&gt; ~/.hgrc</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 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 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.mozilla.org/mozilla-central</pre> <pre>cd mozilla-central</pre><pre>hg clone http://hg.mozilla.org/mobile-browser mobile</pre><pre>cd mobile/.hg</pre> Get patchsets <pre>hg clone http://hg.mozilla.org/users/romaxa_gmail.com/workbase_prc2 patches</pre> <pre>cd patches</pre> <pre>hg update -C mobile-browser</pre> <pre>cd ../../../.hg/</pre> <pre>hg clone http://hg.mozilla.org/users/romaxa_gmail.com/workbase_prc2 patches </pre><pre>cd ../</pre> Apply patches using mqueue <pre>hg qpush --all</pre> <pre>cd mobile</pre> <pre>hg qpush --all</pre><pre>cd ..</pre>  
#Copy mozconfig from this page into the /meegoWorkingDirectory  
#Copy mozconfig from this page into the /meegoWorkingDirectory  
#Compile<br>The checkout there is still debian based, this needs to be adjusted. For now it's good enough to use the mozconfig provided in the bottom of this page.<br><pre>mkdir ./build-tree</pre><pre>make -f client.mk build</pre>  
#Compile<br>The checkout there is still debian based, this needs to be adjusted. For now it's good enough to use the mozconfig provided in the bottom of this page.<br><pre>mkdir ./build-tree</pre><pre>make -f client.mk build</pre>  
#Package it<br><pre>cd build-tree/obj-qt-buildxulrunner/xulrunner</pre><br><pre>make package</pre>
#Package it<br><pre>cd build-tree/obj-qt-buildxulrunner/xulrunner</pre><br><pre>make package</pre>  
#Copy it to your device<br>Find the fennec*tar* within your build-tree/obj-qt-buildxulrunner/xulrunner directory<pre>scp fennec-#####.en-US.linux-i686.tar.bz2 <user>@IPTOYOURMEEGONETBOOK:/home/<user></pre><br>
#Copy it to your device<br>Find the fennec*tar* within your build-tree/obj-qt-buildxulrunner/xulrunner directory<pre>scp fennec-#####.en-US.linux-i686.tar.bz2 &lt;user&gt;@IPTOYOURMEEGONETBOOK:/home/&lt;user&gt;</pre><br>  
#Extract it
#Extract it  
#Run it
#Run it


Navigation menu