(→Add MeeGo SDK 1.1.80 targets) |
(categorise, wikify links) |
||
| (18 intermediate revisions not shown) | |||
| Line 5: | Line 5: | ||
MeeGo SDK 1.2-preview will include following major changes: | MeeGo SDK 1.2-preview will include following major changes: | ||
* Qt Creator update to 2.1-rc. | * Qt Creator update to 2.1-rc. | ||
| - | * Qt Simulator | + | * Qt Simulator and handset skin |
* MeeGo 1.2 toolchain | * MeeGo 1.2 toolchain | ||
| - | * MeeGo 1.2 targets support. Covers 1.1.80 and up. | + | * MeeGo 1.2 new targets support. Covers 1.1.80 and up. |
== Prerequisites == | == 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 [[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 [[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 | + | == 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: | ||
| + | **The toolchain repo "http://download.meego.com/live/devel:/tools:/sdk:/host:/toolchain:/MeeGo:/1.2" is only used when devel:tools:sdk:host is used. | ||
| + | ** The Qt Simulator is only available in devel:tools:sdk:host repository at this stage. So don't try to install qt-simulator meego-sdk-qt-simulator-skin if you are not using the devel:tools:sdk:host repo. | ||
=== On Ubuntu or Debian === | === On Ubuntu or Debian === | ||
| Line 20: | Line 33: | ||
<li>Add the following line to <code>/etc/apt/sources.list.d/meego-sdk.list</code>.<br> | <li>Add the following line to <code>/etc/apt/sources.list.d/meego-sdk.list</code>.<br> | ||
Replace ${distribution} with one of the following: "Debian_5.0", "Ubuntu_09.10", "Ubuntu_10.04" or "Ubuntu_10.10". | Replace ${distribution} with one of the following: "Debian_5.0", "Ubuntu_09.10", "Ubuntu_10.04" or "Ubuntu_10.10". | ||
| - | + | <br>For getting the Development version set: | |
| - | + | <pre>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}/ / </pre> | ||
</li> | </li> | ||
| + | Alternativelly for the Testing version use: | ||
| + | <pre>deb http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/ / </pre> | ||
| + | <br> Note: If you use the Testing repository qt-simulator will not install | ||
<li>Add the repository public key: | <li>Add the repository public key: | ||
<pre>$ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A | <pre>$ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A | ||
| Line 43: | Line 60: | ||
<li>Add the MeeGo SDK 1.2-preview yum repository. <br/> | <li>Add the MeeGo SDK 1.2-preview yum repository. <br/> | ||
Replace ${distribution} with one of the following: "Fedora_12" or "Fedora_13". | Replace ${distribution} with one of the following: "Fedora_12" or "Fedora_13". | ||
| - | <pre>$ sudo wget http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo | + | <pre>$ 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</pre> | |
</li> | </li> | ||
| + | Or with Tools:SDK:Host repo | ||
| + | <pre>$ sudo wget http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo</pre> | ||
<li>Install the signing key: | <li>Install the signing key: | ||
| - | <pre>$ sudo rpm --import http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/repodata/repomd.xml.key | + | <pre>$ 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 </pre> | |
</li> | </li> | ||
| + | Or with Tools:SDK:Host repo | ||
| + | <pre>$ sudo rpm --import http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/repodata/repomd.xml.key</pre> | ||
<li>Update the packages database: | <li>Update the packages database: | ||
<pre>$ sudo yum update</pre> | <pre>$ sudo yum update</pre> | ||
| Line 59: | Line 80: | ||
<li>To add the MeeGo SDK repository on a system running MeeGo, run the following command. <br> | <li>To add the MeeGo SDK repository on a system running MeeGo, run the following command. <br> | ||
Replace ${distribution}/${version} with one of the following values: "Trunk". | Replace ${distribution}/${version} with one of the following values: "Trunk". | ||
| - | <pre>$ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo | + | <pre>$ 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</pre> </li> | |
| + | Or with Tools:SDK:Host repo | ||
| + | <pre>$ sudo zypper addrepo -f http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo</pre> | ||
</ul> | </ul> | ||
| Line 67: | Line 90: | ||
<li>To add the MeeGo repository, run the following command. <br> | <li>To add the MeeGo repository, run the following command. <br> | ||
Replace ${distribution}/${version} with one of the following values: "openSUSE_11.2" or "openSUSE_11.3". | Replace ${distribution}/${version} with one of the following values: "openSUSE_11.2" or "openSUSE_11.3". | ||
| - | <pre>$ sudo zypper addrepo -f http://download.meego.com/live/devel:/tools:/sdk:/host/${distribution}/devel:tools:sdk:host.repo | + | <pre>$ 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</pre> | |
| + | Or with Tools:SDK:Host repo | ||
| + | <pre>$ sudo zypper addrepo -f http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo</pre> | ||
</li> | </li> | ||
</ul> | </ul> | ||
| - | == | + | == Install a new MeeGo SDK 1.2-preview == |
| + | Skip this step if you are doing a update. | ||
<ul> | <ul> | ||
<li>Debian / Ubuntu | <li>Debian / Ubuntu | ||
| - | <pre>$ sudo apt-get install meego-sdk- | + | <pre>$ sudo apt-get install qt-simulator meego-sdk-qt-simulator-skin libattica0</pre> |
</li> | </li> | ||
<li>Fedora | <li>Fedora | ||
| - | <pre>$ sudo yum install meego-sdk- | + | <pre>$ sudo yum install qt-simulator meego-sdk-qt-simulator-skin libattica0</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 qt-simulator meego-sdk-qt-simulator-skin libattica0</pre> |
| + | </li> | ||
| + | </ul> | ||
| + | '''For IA32:''' | ||
| + | <ul> | ||
| + | <li>Debian / Ubuntu | ||
| + | <pre>$ sudo apt-get install meego-sdk-ia32 meego-1.2-sdk-ia32-toolchain</pre> | ||
| + | </li> | ||
| + | <li>Fedora | ||
| + | <pre>$ sudo yum install meego-sdk-ia32 meego-1.2-sdk-ia32-toolchain</pre> | ||
| + | </li> | ||
| + | <li>OpenSUSE / MeeGo | ||
| + | <pre>$ sudo zypper install meego-sdk-ia32 meego-1.2-sdk-ia32-toolchain</pre> | ||
| + | </li> | ||
| + | </ul> | ||
| + | |||
| + | '''For ARM:''' | ||
| + | <ul> | ||
| + | <li>Debian / Ubuntu | ||
| + | <pre>$ sudo apt-get install meego-sdk-armv7l</pre> | ||
| + | </li> | ||
| + | <li>Fedora | ||
| + | <pre>$ sudo yum install meego-sdk-armv7l</pre> | ||
| + | </li> | ||
| + | <li>OpenSUSE / MeeGo | ||
| + | <pre>$ sudo zypper install meego-sdk-armv7l</pre> | ||
| + | </li> | ||
| + | </ul> | ||
| + | |||
| + | == Update the MeeGo SDK == | ||
| + | Skip this step if you are doing a new installation | ||
| + | <ul> | ||
| + | <li>Debian / Ubuntu | ||
| + | <pre>$ sudo apt-get install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator meego-sdk-qt-simulator-skin</pre> | ||
| + | </li> | ||
| + | <li>Fedora | ||
| + | <pre>$ sudo yum install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator meego-sdk-qt-simulator-skin meego-sdk-libqtdbus4 meego-sdk-libphonon4 meego-sdk-libqthelp4 meego-sdk-libqtdesigner4</pre> | ||
| + | </li> | ||
| + | On Fedora 13, the attica has been provided by the system so the libattica0 might not be needed. | ||
| + | <li>OpenSUSE / MeeGo | ||
| + | <pre>$ sudo zypper install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator meego-sdk-qt-simulator-skin meego-sdk-libqtdbus4 meego-sdk-libphonon4 meego-sdk-libqthelp4 meego-sdk-libqtdesigner</pre> | ||
</li> | </li> | ||
</ul> | </ul> | ||
| Line 112: | Line 178: | ||
</ul> | </ul> | ||
| - | == Add MeeGo SDK 1.1.80 targets == | + | == 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 [[SDK/Tutorials/Add_a_new_target]]. | |
| - | + | ||
| - | + | ||
| - | * Update handset target. Replace the {url_sysroot} and {url_runtime} with the url to the real tarballs. | + | * 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} | 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. | + | * 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} | ||
| - | |||
| - | |||
== Add Qt Simulator target == | == Add Qt Simulator target == | ||
| Line 135: | Line 197: | ||
* Build | * Build | ||
* To use the simulator, please refer to http://doc.qt.nokia.com/qtsimulator-1.1/simulator-starting.html for more information. | * To use the simulator, please refer to http://doc.qt.nokia.com/qtsimulator-1.1/simulator-starting.html for more information. | ||
| + | |||
| + | [[Category:SDK]] | ||
| + | [[Category:Meego-1.2]] | ||
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 |
MeeGo SDK 1.2-preview will include following major changes:
You can either do a new installation or update an existing installation to get MeeGo SDK 1.2-preview.
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 SDK/Docs/1.1/Getting started with the MeeGo SDK for Linux#Removing components.
Install the MeeGo SDK 1.1 with SDK/Docs/1.1/Getting started with the MeeGo SDK for Linux
The Update should just work but in case you have any problem, a new installation can be tried.
/etc/apt/sources.list.d/meego-sdk.list.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}/ /
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
$ gpg --keyserver pgpkeys.mit.edu --recv 0BC7BEC479FC1F8A $ gpg --export --armor 0BC7BEC479FC1F8A | sudo apt-key add -
$ sudo apt-get update
$ apt-cache policy meego-sdk-qtcreator
Make sure you installed the 2.1.0~rc1 or newer version.
$ cd /etc/yum.repos.d/
$ 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
Or with Tools:SDK:Host repo
$ sudo wget http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/Tools:SDK:Host.repo
$ 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
Or with Tools:SDK:Host repo
$ sudo rpm --import http://download.meego.com/live/Tools:/SDK:/Host/${distribution}/repodata/repomd.xml.key
$ sudo yum update
$ 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
$ 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
Skip this step if you are doing a update.
$ sudo apt-get install qt-simulator meego-sdk-qt-simulator-skin libattica0
$ 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.
$ sudo zypper install qt-simulator meego-sdk-qt-simulator-skin libattica0
For IA32:
$ sudo apt-get install meego-sdk-ia32 meego-1.2-sdk-ia32-toolchain
$ sudo yum install meego-sdk-ia32 meego-1.2-sdk-ia32-toolchain
$ sudo zypper install meego-sdk-ia32 meego-1.2-sdk-ia32-toolchain
For ARM:
$ sudo apt-get install meego-sdk-armv7l
$ sudo yum install meego-sdk-armv7l
$ sudo zypper install meego-sdk-armv7l
Skip this step if you are doing a new installation
$ sudo apt-get install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator meego-sdk-qt-simulator-skin
$ sudo yum install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator meego-sdk-qt-simulator-skin meego-sdk-libqtdbus4 meego-sdk-libphonon4 meego-sdk-libqthelp4 meego-sdk-libqtdesigner4
On Fedora 13, the attica has been provided by the system so the libattica0 might not be needed.
$ sudo zypper install meego-sdk-qtcreator madde madde-config-common qt-tools libattica0 qt-simulator meego-sdk-qt-simulator-skin meego-sdk-libqtdbus4 meego-sdk-libphonon4 meego-sdk-libqthelp4 meego-sdk-libqtdesigner
For ARM only:
$ sudo apt-get install qemu-arm madde-config-armv7l
$ sudo yum install qemu-arm madde-config-armv7l
$ sudo zypper install qemu-arm madde-config-armv7l
For IA32 only:
$ sudo apt-get install meego-1.2-sdk-ia32-toolchain qemu-gl madde-config-ia32
$ sudo yum install meego-1.2-sdk-ia32-toolchain qemu-gl madde-config-ia32
$ sudo zypper install meego-1.2-sdk-ia32-toolchain qemu-gl madde-config-ia32
We use meego-sdk-update-target tool to add new target. For detailed usage of meego-sdk-update-target, please refer to SDK/Tutorials/Add_a_new_target.
sudo ./meego-sdk-update-target -u 1.2-preview-test01 -d handset -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}
/opt/meego/qt-simulator/simulator -registeronly