Meego Wiki
Views
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Install toolchains)
(Install sysroots)
Line 96: Line 96:
  # mad-admin fetch meego-core-armv7l-madde-sysroot
  # mad-admin fetch meego-core-armv7l-madde-sysroot
-
 
-
for ia32 (as root):
 
-
 
-
# mad-admin fetch meego-core-ia32-madde-sysroot
 
-
 
=== Install QEMU ===
=== Install QEMU ===

Revision as of 14:49, 20 October 2010

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 meeg-sdk-ia32

Fedora

# yum install  meeg-sdk-ia32

OpenSUSE

# zypper install  meeg-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 Qt Creator

Debian / Ubuntu

# apt-get install qtcreator

Fedora

# yum install qt-creator

OpenSUSE

# zypper install 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

  • Note: you can optionally only choose qemu-arm or qemu-gl (QEMU for ia32 target)
# apt-get install qemu-arm qemu-gl


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.
 * netbook: meego-netbook-ia32-1.0.80.12.20100727.1-sdk-pre0729.tar.bz2
 * handset: meego-handset-ia32-1.0.80.9.20100706.1-sdk-pre0729.tar.bz2

Configure MADDE

as root:

# mad-admin create meego-core-${arch}

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