Meego Wiki
Views
From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
Line 26: Line 26:
=== Fedora ===
=== Fedora ===
-
# Go to the yum repository directory:
+
1. Go to the yum repository directory
-
#:<pre> # cd /etc/yum.repos.d/ </pre>
+
 
-
# Add the MeeGo SDK yum repository:
+
$ cd /etc/yum.repos.d/
-
#:<pre> # wget http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo</pre>
+
 
-
#: '''Note:''' replace ${distribution} with one of the following values, depending on your Linux distribution: "Fedora_12", "Fedora_13"  
+
2. Add the MeeGo SDK yum repository
-
# Install the signing key:
+
 
-
#:<pre> # rpm --import http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/repodata/repomd.xml.key </pre>
+
# wget http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo
-
# Update packages database:
+
 
-
#: <pre># yum update</pre>
+
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 ===
=== openSUSE ===
Line 41: Line 49:
* Use the command:
* Use the command:
-
<pre>
+
 
-
zypper addrepo -f http://download.meego.com/live/Tools:/SDK:/Host/openSUSE_11.3/Tools:SDK:Host.repo
+
# zypper addrepo -f http://download.meego.com/live/Tools:/SDK:/Host/openSUSE_11.3/Tools:SDK:Host.repo
-
</pre>
+
 
* Download and copy the repository file:
* Download and copy the repository file:
# Navigate to http://download.meego.com/live/Tools:/SDK:/Host/.
# Navigate to http://download.meego.com/live/Tools:/SDK:/Host/.
Line 50: Line 58:
# Copy the file as root to <code>/etc/zypp/repos.d</code> directory.
# Copy the file as root to <code>/etc/zypp/repos.d</code> directory.
# Update repository information:
# Update repository information:
-
#: <pre>zypp ref</pre>
+
 
 +
# zypp ref
== Install for IA32 ==
== Install for IA32 ==

Revision as of 08:08, 28 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/Tools:/SDK:/Host/${distribution}/ /

Note: replace ${distribution} 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

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

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