Maemo
From openSUSE
| Revision as of 11:01, 16 November 2007 Thoenig (Talk | contribs) Running the SDK � Previous diff |
Revision as of 11:01, 16 November 2007 Thoenig (Talk | contribs) Running the SDK Next diff → |
||
| Line 25: | Line 25: | ||
| === Running the SDK === | === Running the SDK === | ||
| - | Make sure that you have the package [http://software.opensuse.org/search?p=1&q=xorg-x11-server-extra <tt>xorg-x11-server-extra</tt>] installed on your openSUSE system. This package contains the Xephyr (similar to Xnest, but supports newer X extensions). | + | Make sure that you have the package [http://software.opensuse.org/search?p=1&q=xorg-x11-server-extra <tt>xorg-x11-server-extra</tt>] installed on your openSUSE system. This package contains the Xephyr X server (similar to Xnest, but supports newer X extensions). |
| In your X session start Xephyr: | In your X session start Xephyr: | ||
Revision as of 11:01, 16 November 2007
Maemo is a Linux-based development platform for handheld devices. It is used by the Nokia 770 Internet Tablet, and its successors, the Nokia N800 and N810.
This page gives an overview on how to use and develop Maemo software on the openSUSE platform.
Contents |
Installing the Maemo SDK
OS2008 (Maemo 4.0 Codename "Chinook") Supported devices: Nokia N800 and Nokia N810
Nokia has published detailed installation instructions for the Maemo 4.0 Chinook SDK. The SDK basically consists of two parts
- Scratchbox Environment
- Maemo 4.0 SDK
Installation
To install the scratchbox environment download maemo-scratchbox-install_4.0.sh and run it as root.
Follow the instructions after the script has installed the necessary files.
After that you need to install the Maemo 4.0 SDK into the scratchbox environment. For that download and run the script maemo-sdk-install_4.0.sh.
Once accomplished, the SDK is installed.
Running the SDK
Make sure that you have the package xorg-x11-server-extra installed on your openSUSE system. This package contains the Xephyr X server (similar to Xnest, but supports newer X extensions).
In your X session start Xephyr:
- Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac
Now open a terminal, and "start" the scratchbox (with root privileges):
- sudo /scratchbox/sbin/sbox_ctl start
After that, run the following command as regular user:
- /scratchbox/login
If this is done, please run the following within the scratchbox environment:
- af-sb-init.sh start
Watch Xephyr, it now should show the running Maemo.
Creating Maemo packages on openSUSE
Project Ideas
APT Cheat Sheet
It's no wonder that some openSUSE developers might not be familiar with apt-get and related tools. So here's a small Cheat Sheet to give you a starting point:
- /etc/apt/sources.list
- File listing the installation repositories. A list of available repositories can be found here.
- apt-get update
- Update the package database. Similar to smart update
- apt-get install <package>
- Install a package. Similar to smart install <name>
- apt-cache search <name>
- Search for packages by name. Similar to smart search <name>
- dpkg -L <package>
- List the files belonging to a package.
- dpkg -S <filename>
- Find packages containing a file.

