Meego Wiki
Views
From MeeGo wiki
< SDK
Revision as of 07:05, 26 October 2010 by Fabo (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://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/ /

Note: replace ${distribution} by one of the following value "Debian_5.0", "Ubuntu_09.10" or "Ubuntu_10.04".

2. update packages database

# apt-get 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/devel:/tools:/sdk:/host/${distribution}/devel: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/devel:/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/devel:/tools:/sdk:/host/openSUSE_11.3/devel:tools:sdk:host.repo
  • Download and copy the repository file:
  1. Navigate to http://download.meego.com/live/devel:/tools:/sdk:/host/.
  2. Go to folder openSUSE_11.3.
  3. Download file devel: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

# apt-get 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

Install for ARM

Install the MeeGo SDK meta package

Debian / Ubuntu

# apt-get install meego-sdk-armv7l

Fedora

# yum install  meego-sdk-armv7l

OpenSUSE

# zypper install  meego-sdk-armv7l

Install Qt Creator

Debian / Ubuntu

# apt-get install meego-sdk-qtcreator

Fedora

# yum install meego-sdk-qt-creator

OpenSUSE

# zypper install meego-sdk-qt-creator

Install MADDE

Debian / Ubuntu

# apt-get install madde qt-tools


Install toolchains

Debian / Ubuntu

# apt-get install arm-2009q1

Install sysroots

for ARM (as root):

# mad-admin fetch meego-core-armv7l-madde-sysroot

Install QEMU

Debian / Ubuntu

# apt-get 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 meego-core-armv7l

Test MADDE target

as regular user:

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

Test QtCreator

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

Personal tools