-
-
Notifications
You must be signed in to change notification settings - Fork 2
Installing KMFL on Debian
Note: This page contains old documentation from 2007, but may still be useful.
At the time of writing, there are no binary packages of KMFL available for debian. Following are instructions for installing from source: Please note: The accuracy of these instructions may change (especially version numbers). Also, if Doug makes .deb files for Debian, these instructions will become obsolete.
***August 2010: Current instructions for installing KMFL on Ubuntu are here.***
Before starting, SCIM should be installed and working. This can be done through your regular apt repository
Add the following to /etc/apt/sources.list:
deb http://packages.sil.org/ubuntu edgy main deb-src http://packages.sil.org/ubuntu edgy main
Update your apt database
sudo apt-get update
You will need to make sure you have the required tools to build the KMFL debs. These are fakeroot and im-switch (as well as the build-essential package).
Install the supporting packages:
sudo apt-get build-dep scim-kmfl-imengine
Create a folder to make KMFL in
mkdir kmfl cd kmfl
And download the sources for KMFL (some of these could be installed from the Debian repository, but more recent versions are obtainable by using the source).
apt-get source kmflcomp libkmfl scim-kmfl-engine
At the time of writing, scim-qtimm was a dependency of scim-kmfl-engine, also scim-qtimm was not available for Debian, so the following change needed to be made:
gedit scim-kmfl-imengine-0.9.6/debian/control
Look for the line starting with "Depends:" and remove scim-qtimm.
Execute the following commands to build and install the libraries and programs
cd kmflcomp-0.9.6 fakeroot dpkg-buildpackage cd .. sudo dpkg -i *deb
cd libkmfl-0.9.6 fakeroot dpkg-buildpackage cd .. sudo dpkg -i *deb
cd scim-kmfl-engine fakeroot dpkg-buildpackage cd .. sudo dpkg -i scim-kmfl-imengine_0.9.6-2_i386.deb
Now log out and log in again and kmfl should be enabled.
Keyboards can be downloaded from Tavultesoft's keyboard list. Note that you will need to get the keyboards in .kmn format (ie the source), not .kmx or .kmp.
To install a keyboard, open SCIM settings, either by right-clicking the SCIM window or by running scim-setup. Select KMFL on the left, click install and select the keyboard you have downloaded. That keyboard will appear in the list with other SCIM keyboards.