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 obs 搭建全记录

1、Rpm包解包命令:rpm2cpio ../kernel-ntfs-2.4.20-8.i686.rpm | cpio –idmv2、http://wiki.meego.com/Build_Infr...

配置 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
  • 1363

Android开发环境配置

  • 2017-06-09 21:04
  • 194KB
  • 下载

Windows下cocos2DX安卓开发环境配置

1,下载 jdk-6u45-windows-x64.exe,注意必须安装JDK1.6版,1.7版会有编译错误 地址:http://download.oracle.com/otn-pub/java/j...

Android_开发环境配置

  • 2015-04-20 13:07
  • 470KB
  • 下载

Windows下硬盘安装Ubuntu之三--ubuntu下android开发环境配置及常用设置

安装好了ubuntu之后,需要配置开发环境,同时也对系统进行了一些设置。 目录: 一、设置root密码 二、安装JDK 三、安装eclipse 四、安装android SDK 五、安装ND...
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:深度学习:神经网络中的前向传播和反向传播算法推导
举报原因:
原因补充:

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