Meego Wiki
Views

SDK/Docs/1.2-preview-under-progress

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Updating the MeeGo SDK)
Line 109: Line 109:
  </li>
  </li>
</ul>
</ul>
 +
 +
== Update MeeGo SDK 1.1.80 or 1.2 targets ==
 +
* Download the [http://download3.meego.com/meego-sdk-update-target meego-sdk-update-target] tool
 +
** The one here is version 1.0.1.
 +
** You can get the latest version of meego-sdk-update-target from http://meego.gitorious.org/meego-developer-tools/meego-sdk-update-target.
 +
 +
* Update target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs.
 +
sudo ./meego-sdk-update-target -u 1.2-preview-test01 -d handset -a ia32 -meego-version 1.2 -sysroot ${url_sysroot} -runtime ${url_runtime}
 +
 +
* For detailed usage of meego-sdk-update-target, please refer to http://wiki.meego.com/SDK/Tutorials/Add_a_new_target.

Revision as of 10:40, 21 January 2011

This page describe how to use the initial MeeGo SDK 1.2-preview and test it. It's not for real MeeGo SDK 1.2-preview version and the contents here are mainly for QA testing before the release. But it will become official when it is released.

Contents

Introduction

MeeGo SDK 1.2-preview will include following major changes:

  • Qt Creator update to 2.1-rc.
  • Qt Simulator
  • MeeGo 1.2 toolchain
  • MeeGo 1.2 targets support. Covers 1.1.80 and up.

Prerequisites

Install the MeeGo SDK 1.1 with http://wiki.meego.com/SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux

Update installation repo of MeeGo SDK 1.2-preview

This update is temporarily for testing. After releasing, it's not necessary.

On Ubuntu or Debian

  1. Add the following line to /etc/apt/sources.list.d/meego-sdk.list.
    Replace ${distribution} with one of the following: "Debian_5.0", "Ubuntu_09.10", "Ubuntu_10.04" or "Ubuntu_10.10".
    deb http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/ / 
    deb http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/ / 
  2. Add the repository public key:
    $ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A
    $ gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
  3. Update the packages database:
    $ sudo apt-get update
  4. To check that the MeeGo repository has been correctly added, run the following command. The details of the meego-sdk-qtcreator package should be printed.
    $ apt-cache policy meego-sdk-qtcreator

On Fedora

  1. Go to the yum repository directory:
    $ cd /etc/yum.repos.d/ 
  2. Add the MeeGo SDK 1.2-preview yum repository.
    Replace ${distribution} with one of the following: "Fedora_12" or "Fedora_13".
    $ sudo wget http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo
    $ sudo wget http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/devel:tools:sdk:host:toolchain:MeeGo:1.2.repo
  3. Install the signing key:
    $ sudo rpm --import http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/repodata/repomd.xml.key 
    $ sudo rpm --import http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/repodata/repomd.xml.key 
  4. Update the packages database:
    $ sudo yum update

On MeeGo

  • To add the MeeGo SDK repository on a system running MeeGo, run the following command.
    Replace ${distribution}/${version} with one of the following values: "Trunk".
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/devel:tools:sdk:host.repo

On openSUSE

  • To add the MeeGo repository, run the following command.
    Replace ${distribution}/${version} with one of the following values: "openSUSE_11.2" or "openSUSE_11.3".
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo
    $ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2/${distribution}/devel:tools:sdk:host:toolchain:MeeGo:1.2.repo

Updating the MeeGo SDK

  • Debian / Ubuntu
    $ sudo apt-get install meego-sdk-qtcreator madde qt-tools libattica0
  • Fedora
    $ sudo yum install meego-sdk-qtcreator madde qt-tools  libattica0
  • OpenSUSE / MeeGo
    $ sudo zypper install meego-sdk-qtcreator madde qt-tools  libattica0

For ARM only:

  • Debian / Ubuntu
    $ sudo apt-get install qemu-arm
  • Fedora
    $ sudo yum install qemu-arm
  • OpenSUSE / MeeGo
    $ sudo zypper install qemu-arm

For IA32 only:

  • Debian / Ubuntu
    $ sudo apt-get install meego-1.2-sdk-ia32-toolchain qemu-gl
  • Fedora
    $ sudo yum install meego-1.2-sdk-ia32-toolchain qemu-gl
  • OpenSUSE / MeeGo
    $ sudo zypper install meego-1.2-sdk-ia32-toolchain qemu-gl

Update MeeGo SDK 1.1.80 or 1.2 targets

  • Update target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs.
sudo ./meego-sdk-update-target -u 1.2-preview-test01 -d handset -a ia32 -meego-version 1.2 -sysroot ${url_sysroot} -runtime ${url_runtime}
Personal tools