Difference between revisions of "Marble/MeeGoEnvironment"

(Page moved to community wiki)
Line 1: Line 1:
''This text is mostly just copied from [[Projects/Marble/MaemoEnvironment]] and adapted to the new software.''
{{ Moved To Community }}
=== MeeGo 1.2 Harmattan Platform SDK / Scratchbox Setup ===
Developing for MeeGo 1.2 Harmattan based devices does not mean to write software and compile on the device itself. Most of the development happens on normal desktop systems. A device like a N9/N950 is indeed not needed: The scratchbox environment emulates it for you. Please follow the [http://harmattan-dev.nokia.com/platform-sdk/ MeeGo 1.2 Harmattan Platform SDK Guidelines] in the Nokia Developer Wiki to setup scratchbox on your system.
After installation, follow the guide to start the SDK UI. You should end up with a scratchbox shell using the HARMATTAN_X86 target. Additionally, start the MeeGo UI in Xephyr as described.
=== Compiling Marble Touch ===
To strip down the number of dependencies, we will use the Qt-based version of Marble. The compilation requires cmake as the build system, make sure it is installed:
<syntaxhighlight lang="bash">
[sbox-HARMATTAN_X86: ~] > fakeroot apt-get install cmake
(If you prefer <tt>ccmake</tt> over <tt>cmake</tt>, just install <tt>cmake-curses-gui</tt> too)
With the necessary dependencies in place we proceed to the next step, checking out the Marble source code.
<syntaxhighlight lang="bash">
[sbox-HARMATTAN_X86: ~] > mkdir -p ~/marble/{src,build}
[sbox-HARMATTAN_X86: ~] > git clone git://anongit.kde.org/marble ~/marble/src
''To get git inside scratchbox, install the git devkit on the host (scratchbox-devkit-git on debian-based systems). If the target is not yet set up, add <tt>git</tt> to the <tt>-d</tt> switch of <tt>sb-conf setup</tt>. Otherwise you can either reinstall the target via <tt>sb-menu</tt> or, more easy and safe, edit <tt>/scratchbox/users/<username>/targets/<targetname>.config</tt>, add "git" to the <tt>SBOX_DEVKIT_NAMES=</tt> line and run <tt>sb-conf install --devkits</tt> to re-install the devkits.''
''Workaround: Just somehow copy the sources to your scratchbox dir, e.g. by <tt>scp -r localhost:/path/to/marble-sources ~/marble/src</tt>''
Once all files were downloaded, prepare the compilation step:
<syntaxhighlight lang="bash">
[sbox-HARMATTAN_X86: ~] > cd ~/marble/build
[sbox-HARMATTAN_X86: ~] > cmake -DQTONLY=ON ../src
If cmake finished successfully, compile and install Marble:
<syntaxhighlight lang="bash">
[sbox-HARMATTAN_X86: ~] > make install
=== Running Marble Touch ===
Execute the <tt>marble-touch</tt> binary with the help of <tt>meego-run</tt>, a script provided by the Harmattan platform to setup a working environment.
<syntaxhighlight lang="bash">
[sbox-HARMATTAN_X86: ~] > meego-run marble-touch
Marble Touch should start up and become visible in Xephyr now.

Latest revision as of 04:52, 26 October 2016

This page is now on the community wiki.

This page was last edited on 26 October 2016, at 04:52. Content is available under Creative Commons License SA 4.0 unless otherwise noted.