View Single Post
Posts: 32 | Thanked: 106 times | Joined on Jan 2010
#9
I add a Makefile, Now you can install with the common *nix method,
at first, you need install some dependency for build hildon-input-method-plugin,
at first, add below repo :
Code:
deb http://repository.maemo.org/ fremantle/sdk free non-free
deb http://repository.maemo.org/ fremantle/tools free non-free
then open x-terminal, and type :
Code:
sudo gainroot
#gain root

apt-get install build-essential
#base develop tools

apt-get install bash
#install bash

apt-get install git-core
#git tool, be used to checkout source code from github

apt-get install libgconf2-dev libdbus-glib-1-dev libhildon-im-ui-dev hildon-input-method-framework-dev  libgtk2.0-dev libosso-dev
#lib file for hildon-input-method plugin

apt-get install sqlite3
#be used to generate dict file
the Inputpad ui is pyqt4 program, so you need python2.5-qt4
:
Code:
apt-get install python2.5-qt4 python2.5-qt4-dbus
then, checkout source code and BUILD it ! ( exit root before do this ) :
Code:
git clone git://github.com/foolegg/maemo-chinese-input-pad.git mcip
#checkout source code

cd mcip
#enter source code directory

make
#build

sudo gainroot
#get root

make install
#install
then, reboot.
If everything is ok, you can use this inputpad like system origin virtual keyboard.

when you need update :

Code:
cd mcip
#enter source code directory

sudo gainroot
#get root

make uninstall
#uninstall old version

exit
#exit root

git pull origin master
#checkout newest source code

make
#build, again

sudo gainroot
#get root

make install
#install, again
reboot.

Last edited by foolegg; 2010-12-30 at 12:49.
 

The Following 2 Users Say Thank You to foolegg For This Useful Post: