(参照http://test.moblin.org/projects/application-launcher)
a) 安装git:
在Target下打开Terminal:
# apt-get install git-core
b) 安装Genesis:
(http://test.moblin.org/projects/genesis-application-lifecycle-manager)
在Target下打开Terminal:
# cd /usr/src/
# git clone http://moblin.org/repos/users/horace.li/genesis.git
# cd genesis
# ./autogen.sh
l 执行时可能出现错误
checking for LIBWNCK... configure: error: Package requirements (libwnck-1.0) were not met:
No package 'libwnck-1.0' found |
解决:
# apt-get install libwnck-dev
# ./configure --prefix=/usr
# make
# make install
c) 安装clutter:
i. 从clutter网站(http://clutter-project.org/sources/)下载代码到Target下的/usr/src:
1. clutter- 0.8.0
2. clutter-box2d- 0.8.0
3. clutter-cairo- 0.8.2 (用clutter-cairo-0.8.0 make app-launcher的时候遇到问题)
ii. 编译并安装clutter- 0.8.0 :
在Target下打开Terminal
# cd /usr/src/
# tar zxvf clutter- 0.8.0 .tar.gz
# cd clutter- 0.8.0 /
# ./configure --prefix=/usr
l 执行时可能出现错误:
checking for GL/gl.h... no configure: error: Unable to locate required GL headers |
解决:
# apt-get install mesa-common-dev
l 执行时可能出现错误:
checking for glXCreateContext in -lGL... no configure: error: GLX not found and GLX backend requested |
解决:
# apt-get install libgl1-mesa-dev
# make
# make install
iii. 编译并安装clutter-cairo- 0.8.2 :
在Target下打开Terminal
# cd /usr/src/
# tar zxvf clutter-cairo- 0.8.2 .tar.gz
# cd clutter-cairo- 0.8.2 /
# ./configure --prefix=/usr
# make
# make install
iv. 编译并安装clutter-box2d- 0.8.0 :
在Target下打开Terminal
# cd /usr/src/
# tar zxvf clutter-box2d- 0.8.0
# cd clutter-box2d- 0.8.0 /
# ./configure --prefix=/usr
# make
# make install
d) 编译并运行app-launcher:
在Target下打开Terminal
# cd /usr/src/
# git clone http://moblin.org/repos/users/jketreno/app-launcher.git
# cd app-launcher
# make
# ./app-launcher