Meego Wiki
Views
From MeeGo wiki
< SDK
Revision as of 06:44, 29 October 2010 by Johnchen (Talk | contribs)
Jump to: navigation, search

Contents

How to test MeeGo SDK

This page explains how to test the weekly releases of MeeGo SDK.

Configure distributions package manager

Debian / Ubuntu

1. Add the following line to /etc/apt/sources.list file or add /etc/apt/sources.list.d/meego-sdk.list file:

deb http://repo.meego.com/MeeGo/sdk/host/repos/${distribution}/${version}/ /

Note: replace ${distribution}/${version} by one of the following value "debian/5.0" , "ubuntu/09.10" or "ubuntu/10.04"

2. add the repository public key

# gpg --keyserver subkeys.pgp.net --recv 0BC7BEC479FC1F8A
# gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -

3. update packages database

# aptitude update

Fedora

1. Go to the yum repository directory

$ cd /etc/yum.repos.d/

2. Add the MeeGo SDK yum repository

# wget http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo

Note: replace ${distribution} with one of the following values, depending on your Linux distribution: "Fedora_12", "Fedora_13"

3. Install the signing key

# rpm --import http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/repodata/repomd.xml.key

4. Update packages database

# yum update

openSUSE

To add MeeGo repository, do one of the following:

  • Use the command:
# zypper addrepo -f http://download.meego.com/live/Tools:/SDK:/Host/openSUSE_11.3/Tools:SDK:Host.repo
  • Download and copy the repository file:
  1. Navigate to http://download.meego.com/live/Tools:/SDK:/Host/.
  2. Go to folder openSUSE_11.3.
  3. Download file Tools:SDK:Host.repo.
  4. Copy the file as root to /etc/zypp/repos.d directory.
  5. Update repository information:
# zypp ref

Install for IA32

Install the meego-sdk-ia32 package

Debian / Ubuntu

# aptitude install meego-sdk-ia32

Fedora

# yum install  meego-sdk-ia32

OpenSUSE

# zypper install  meego-sdk-ia32

Create runtime and target

# mad-admin create -f -e meego-handset-ia32-1.0.80.9.20100706.1-sdk-pre0901-runtime
# mad-admin create -f  meego-core-ia32-1.1

Install for ARM

Install MeeGo SDK (meta/all in one)

Debian / Ubuntu

# aptitude install meego-sdk-armv7l

Fedora

# yum install  meego-sdk-armv7l

OpenSUSE

# zypper install  meego-sdk-armv7l

Install Qt Creator (standalone)

Debian / Ubuntu

# aptitude install meego-sdk-qtcreator

Fedora

# yum install meego-sdk-qt-creator

OpenSUSE

# zypper install meego-sdk-qt-creator

Install MADDE (standalone)

Debian / Ubuntu

# aptitude install madde qt-tools


Install toolchains (standalone)

Debian / Ubuntu

# aptitude install arm-2009q1

Install QEMU (standalone)

Debian / Ubuntu

# aptitude install qemu-arm

Install QEMU images (QEMU NAND and rootfs)

 * Note1: You will need to provide your device's 15-digit IMEI number.
 * Note2: MeeGo Handset image contains the UI.

Create target

as root:

# mad-admin create -f meego-core-armv7l-1.1

Test MADDE target

as regular user:

$ mad -t meego-core-${arch}-1.1 pscreate -t qt-simple qthello
$ cd qthello
$ mad -t meego-core-${arch}-1.1 qmake
$ mad -t meego-core-${arch}-1.1 make

Test QtCreator

Find more information about testing QtCreator with MADDE for MeeGo on this wiki page.

Personal tools