Editing Miniature/Development/Instructions
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
== Getting started - plot summary == | == Getting started - plot summary == | ||
WARNING: This list does not necessarily explain what every step does, nor will it help you in case you run into problems! Also, I will assume your host machine has a i386 architecture (I use Jaunty, 64 bit installation instructions are not covered here). | WARNING: This list does not necessarily explain what every step does, nor will it help you in case you run into problems! Also, I will assume your host machine has a i386 architecture (I use Jaunty, 64 bit installation instructions are not covered here). | ||
Line 35: | Line 12: | ||
vm.mmap_min_addr = 4096 | vm.mmap_min_addr = 4096 | ||
- | + | Save with <ESC> :wq (or use nano as an editor). Reboot your host machine. | |
- | + | ||
- | Save with <ESC> :wq (or use nano as an editor). | + | |
- | + | ||
Start with the Maemo SDK installation: | Start with the Maemo SDK installation: | ||
Line 50: | Line 24: | ||
$ ./maemo-sdk-install_5.0.sh | $ ./maemo-sdk-install_5.0.sh | ||
$ /scratchbox/login | $ /scratchbox/login | ||
- | |||
- | |||
[http://tablets-dev.nokia.com/eula/index.php Get tokenized Maemo/Nokia repo here], enter token code and keep page open. You'll soon need the repo link. | [http://tablets-dev.nokia.com/eula/index.php Get tokenized Maemo/Nokia repo here], enter token code and keep page open. You'll soon need the repo link. | ||
Line 59: | Line 31: | ||
[sbox-FREMANTLE_X86: ~] > fakeroot apt-get update #simply repeat if it aborts in-between, ignore bad GPG | [sbox-FREMANTLE_X86: ~] > fakeroot apt-get update #simply repeat if it aborts in-between, ignore bad GPG | ||
[sbox-FREMANTLE_X86: ~] > fakeroot apt-get install nokia-binaries #repeat if interrupted/incomplete | [sbox-FREMANTLE_X86: ~] > fakeroot apt-get install nokia-binaries #repeat if interrupted/incomplete | ||
- | [sbox-FREMANTLE_X86: ~] > fakeroot apt-get install libqt4 | + | [sbox-FREMANTLE_X86: ~] > fakeroot apt-get install libqt4-dev |
- | + | ||
Now do the same for the ARMEL target (= same architecture as device): | Now do the same for the ARMEL target (= same architecture as device): | ||
Line 67: | Line 38: | ||
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get update #simply repeat if it aborts in-between, ignore bad GPG | [sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get update #simply repeat if it aborts in-between, ignore bad GPG | ||
[sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install nokia-binaries #repeat if interrupted/incomplete | [sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install nokia-binaries #repeat if interrupted/incomplete | ||
- | [sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install libqt4 | + | [sbox-FREMANTLE_ARMEL: ~] > fakeroot apt-get install libqt4-dev |
=== Compiling Miniature inside Scratchbox === | === Compiling Miniature inside Scratchbox === | ||
Line 76: | Line 47: | ||
[sbox-FREMANTLE_X86: ~] git clone git://gitorious.org/miniature/miniature.git | [sbox-FREMANTLE_X86: ~] git clone git://gitorious.org/miniature/miniature.git | ||
[sbox-FREMANTLE_X86: ~] cd miniature | [sbox-FREMANTLE_X86: ~] cd miniature | ||
- | [sbox-FREMANTLE_X86: ~] ./autogen.sh | + | [sbox-FREMANTLE_X86: ~] ./autogen.sh && make |
On your host machine (i.e., outside of scratchbox, do not close your sb session though): | On your host machine (i.e., outside of scratchbox, do not close your sb session though): | ||
Line 98: | Line 69: | ||
[sbox-FREMANTLE_ARMEL: ~] cd ~/source/miniature | [sbox-FREMANTLE_ARMEL: ~] cd ~/source/miniature | ||
[sbox-FREMANTLE_ARMEL: ~] make distclean # dont worry if this fails | [sbox-FREMANTLE_ARMEL: ~] make distclean # dont worry if this fails | ||
- | [sbox-FREMANTLE_ARMEL: ~] ./autogen.sh | + | [sbox-FREMANTLE_ARMEL: ~] ./autogen.sh && make |
Copy the binary onto the device (even if totally unsecure: let's just assume opensshd is installed and running on your N900): | Copy the binary onto the device (even if totally unsecure: let's just assume opensshd is installed and running on your N900): |
Learn more about Contributing to the wiki.