Meego Wiki
Views

SDK/Docs/1.2-preview-under-progress

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Update meego-sdk-update-target)
(Add MeeGo SDK 1.1.80 and later targets)
Line 179: Line 179:
== Add MeeGo SDK 1.1.80 and later targets ==  
== Add MeeGo SDK 1.1.80 and later targets ==  
-
* Download the [http://download3.meego.com/meego-sdk-update-target meego-sdk-update-target] tool
+
We use meego-sdk-update-target tool to add new target. For detailed usage of meego-sdk-update-target, please refer to http://wiki.meego.com/SDK/Tutorials/Add_a_new_target.
-
** The one here is version 1.0.6.  
+
-
** You can get the latest version of meego-sdk-update-target from http://meego.gitorious.org/meego-developer-tools/meego-sdk-update-target.
+
* Update handset target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs and provide a target name as you want.  
* Update handset target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs and provide a target name as you want.  
Line 188: Line 186:
* Update netbook target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs and provide a target name as you want.  
* Update netbook target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs and provide a target name as you want.  
  sudo ./meego-sdk-update-target -u 1.2-preview-test01 -d netbook -a ia32 -meego-version 1.2 -sysroot ${url_sysroot} -runtime ${url_runtime}
  sudo ./meego-sdk-update-target -u 1.2-preview-test01 -d netbook -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.
 
== Add Qt Simulator target ==  
== Add Qt Simulator target ==  

Revision as of 10:26, 14 February 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 and handset skin
  • MeeGo 1.2 toolchain
  • MeeGo 1.2 new targets support. Covers 1.1.80 and up.

Prerequisites

You can either do a new installation or update an existing installation to get MeeGo SDK 1.2-preview.

  • New Installation

You can have a New Installation of MeeGo SDK 1.2-preview by removing all old components. To remove the previous SDK, please refer to http://wiki.meego.com/SDK/Docs/1.1/Getting_started_with_the_MeeGo_SDK_for_Linux#Removing_components.

  • Update from previous installation

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

  • Note

The Update should just work but in case you have any problem, a new installation can be tried.

Update installation repository of MeeGo SDK 1.2-preview

  • There are 3 repositories for you to update to MeeGo SDK 1.2-preview
  • MeeGo SDK development repo - devel:tools:sdk:host - Changed frequently and mainly used by MeeGo SDK team.
  • MeeGo SDK testing repo - Tools:SDK:Host - Be stabler than devel:tools:sdk:host.
  • MeeGo SDK release repo - "http://repo.meego.com/MeeGo/sdk/host/repos/". For release. Not ready for 1.2-preview now.
  • Note:

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".
    For getting the Development version set:
    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. Alternativelly for the Testing version use:

    deb http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/ / 


    Note: If you use the Testing repository qt-simulator will not install

  3. Add the repository public key:
    $ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A
    $ gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
  4. Update the packages database:
    $ sudo apt-get update
  5. 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

    Make sure you installed the 2.1.0~rc1 or newer version.

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. Or with Tools:SDK:Host repo

    $ sudo wget http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo
  4. 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 
  5. Or with Tools:SDK:Host repo

    $ sudo rpm --import http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/repodata/repomd.xml.key
  6. 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
  • Or with Tools:SDK:Host repo

    $ sudo zypper addrepo -f http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/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

    Or with Tools:SDK:Host repo

    $ sudo zypper addrepo -f http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo

Install a new MeeGo SDK 1.2-preview

Skip this step if you are doing a update.

  • Debian / Ubuntu
    $ sudo apt-get install qt-simulator meego-sdk-qt-simulator-skin libattica0
  • Fedora
    $ sudo yum install qt-simulator meego-sdk-qt-simulator-skin libattica0
  • On Fedora 13, the attica has been provided by the system so the libattica0 might not be needed.

  • OpenSUSE / MeeGo
    $ sudo zypper install qt-simulator meego-sdk-qt-simulator-skin libattica0

For IA32:

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

For ARM:

  • Debian / Ubuntu
    $ sudo apt-get install meego-sdk-armv7l
  • Fedora
    $ sudo yum install meego-sdk-armv7l
  • OpenSUSE / MeeGo
    $ sudo zypper install meego-sdk-armv7l

Update the MeeGo SDK

Skip this step if you are doing a new installation

  • Debian / Ubuntu
    $ sudo apt-get install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator qt-simulator-skin-handset-864x480
  • Fedora
    $ sudo yum install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator qt-simulator-skin-handset-864x480
  • On Fedora 13, the attica has been provided by the system so the libattica0 might not be needed.

  • OpenSUSE / MeeGo
    $ sudo zypper install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator qt-simulator-skin-handset-864x480

For ARM only:

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

For IA32 only:

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

Add MeeGo SDK 1.1.80 and later targets

We use meego-sdk-update-target tool to add new target. For detailed usage of meego-sdk-update-target, please refer to http://wiki.meego.com/SDK/Tutorials/Add_a_new_target.

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

Add Qt Simulator target

  • Launch qt-simulator. The qt-simulator has to be registered manually before it's usable. Will be fixed.
/opt/meego/qt-simulator/simulator -registeronly
  • Launch meego-sdk-qtcreator
  • Go to Tools->Options->Qt4->Qt Versions
  • Click the "+" to add a new "Qt Version"
  • In "Version name", provide a name.
  • In "qmake locations:", browser and select /opt/meego/simulator-qt/bin/qmake
  • Build
  • To use the simulator, please refer to http://doc.qt.nokia.com/qtsimulator-1.1/simulator-starting.html for more information.
Personal tools