Meego Wiki
Views

SDK/Docs/1.2-preview-under-progress

From MeeGo wiki
(Difference between revisions)
Jump to: navigation, search
(Add MeeGo SDK 1.1.80 targets)
(Updating the MeeGo SDK)
Line 75: Line 75:
<ul>
<ul>
  <li>Debian / Ubuntu
  <li>Debian / Ubuntu
-
  <pre>$ sudo apt-get install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator</pre>
+
  <pre>$ sudo apt-get install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator qt-simulator-skin-handset-864x480</pre>
  </li>
  </li>
  <li>Fedora
  <li>Fedora
-
  <pre>$ sudo yum install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator</pre>
+
  <pre>$ sudo yum install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator qt-simulator-skin-handset-864x480</pre>
  </li>
  </li>
On Fedora 13, the attica has been provided by the system so the libattica0 might not be needed.  
On Fedora 13, the attica has been provided by the system so the libattica0 might not be needed.  
  <li>OpenSUSE / MeeGo
  <li>OpenSUSE / MeeGo
-
  <pre>$ sudo zypper install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator</pre>
+
  <pre>$ sudo zypper install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator qt-simulator-skin-handset-864x480</pre>
  </li>
  </li>
</ul>
</ul>

Revision as of 06:30, 31 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

    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. 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 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 targets

  • Update handset 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}
  • Update netbook 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 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