Meego开发环境配置...

原创 2011年01月21日 14:04:00

 

Notes: [desktop$:]means you should run this command outside scratchbox, and [sbox$:] means run this command in scratchbox;

 

1.[desktop$:]sudo gedit /etc/sysctl.conf, then copy the following text to it:

vm.mmap_min_addr = 4096 net.ipv4.ip_local_port_range = 1024 65535 vm.vdso_enabled = 0

 

2.[desktop$:] sudo gedit /etc/apt/sources.list, then copy the follow text to it:

deb http://maemo.research.nokia.com/repository/scratchbox 1.0/

 

if you are outside nokia, use: 

deb https://files.maemo.org/repository/scratchbox 1.0/

 

3.[desktop$:] sudo apt-get update

 

4.Install the following packages:

[desktop$:] sudo apt-get install maemo-assistant   scratchbox-core   scratchbox-libs   scratchbox-devkit-cputransp   scratchbox-devkit-qemu   scratchbox-devkit-debian-squeeze   scratchbox-devkit-hashutils-squeeze   scratchbox-devkit-perl   scratchbox-toolchain-cs2007q3-glibc2.5-i486   scratchbox-toolchain-cs2009q3-eglibc2.10-armv7-hard   scratchbox-toolchain-cs2009q3-eglibc2.10-i486

 

Waitting...(long time)...

 

5.To add your username:

[desktop$:] sudo /scratchbox/sbin/sbox_adduser <USERNAME> yes, then enter the passwords

 

6.For the group membership to be effective in your current terminal session, run the following command: 

[desktop$:]newgrp sbox

 

7.[desktop$:]dpkg -l | grep scratchbox

 

8.[desktop$:] sudo apt-get install matchbox-window-manager xcompmgr

 

9.[desktop$:]sudo apt-get install xserver-xephyr

 

10. [desktop$:]Xephyr :2 -host-cursor -screen 864x480x16 -dpi 96 -ac +accessx +kb +extension Composite &

 

Waitting...

 

11.Install the meego target:

[desktop$:]  maemo-assistant harmattan -A -a x86 -s -t <targetName>

 

12.Then enter the scratchbox:

[desktop$:] newgrp sbox

[desktop$:] scratchbox

 

13.[sbox$:] fakeroot apt-get update

 

14.The following command are all run inside scratchbox:

fakeroot apt-get install libgl1 libgl-dev

 fakeroot apt-get install libqt4-dev libmeegotouchcore0 duihomescreen libqt4-opengl-dev meego-sb-session libicu-dev libcontextprovider-dev libcontextsubscriber-dev

 fakeroot apt-get install  xt9-essential-plugins

 fakeroot apt-get install meegofeedback-pulseaudio meegofeedback-reactionmap libmeegoreactionmap0 meegofeedbackd

 fakeroot apt-get install libmeegoimenginewords0 meego-imengine-xt9 mcompositor libmeegoimframework0 meego-im-uiserver meego-keyboard

 fakeroot apt-get install libduicontrolpanel-dev libmeegoreactionmap-dev libxcomposite-dev libxext-dev

 fakeroot apt-get install meegotouch-demos-widgetsgallery

 fakeroot apt-get install ui-fonts

 fakeroot apt-get install libmeegoimframework-dev libmeegoimframework0-dbg

 

Now, the configure progress is finished, then start the X-server and the ui-server:

15.And then start the X-server:

[desktop$:]DISPLAY=:0 Xephyr :2 -host-cursor -screen 864x480x16 -dpi 96 -ac +accessx +extension Composite & 

sleep 2

matchbox-window-manager -use_titlebar no -display :2 &

sleep 1

xcompmgr -d :2 &

 

If you don't like meego-sb-session to start input method for you. Remove /etc/meego-sb-session/session.enabled/20input-method file. And start input method manually.

 

[desktop$:]pkill meego-im-ui

[desktop$:]meego-im-uiserver -software -bypass-wm-hint -output-level debug

 

16.Start the ui-server:

[sbox$:]meego-sb-session start

export DISPLAY:=2

source /tmp/session_bus_address.user

pkill mdecorator

widgetsgallery -software&

 

17.Then in the project development process, you can use:

[sbox$:] meego-im-uiserver -software -bypass-wm-hint -output-level debug

 

 

 

 

 

 

配置 MeeGo QUEM Netbook 开发环境

1.硬件要求:) l8 m6 [0 a6 r$ q% W/ m0 d1.1 Cpu:必须支持VT即虚拟化。, c$ x7 Y- C% m大部分的AMD处理器都支持VT。9 i7 R4 z3 Q4 L(...
  • moblin
  • moblin
  • 2011年02月09日 14:56
  • 1386

teamcenter二次开发环境配置

  • 2017年11月07日 16:05
  • 18KB
  • 下载

Fedora 14教育网安装Meego开发环境

有用的网站和Wiki--------------------------------------------------------------------------------Meego镜像htt...

Android开发环境配置

  • 2017年06月09日 21:04
  • 194KB
  • 下载

实用资源分享(一)PHPstorm开发环境配置

一、下载安装 PHPStrom下载:http://www.jetbrains.com/phpstorm/ PHP下载:http://windows.php.net/download/ PHPStrom...

Android_开发环境配置

  • 2015年04月20日 13:07
  • 470KB
  • 下载

mac下server开发环境配置

mac下的server开发我总共看了两种方式: 一、php的方式; mac下自带了apache和php,如何打开呢? 1. apache的使用方式: 启动: sudo apachectl start ...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Meego开发环境配置...
举报原因:
原因补充:

(最多只允许输入30个字)