Re: [Kmfl-devel] Installation to Fedora 8 [was: Re: Installaing KMFL in current distros - Ubuntu, D
Brought to you by:
courtjester
|
From: Doug R. <dou...@si...> - 2007-12-06 17:25:53
|
Whoops. This should have gone to kmfl-devel as well. K. Sethu wrote: > On Dec 5, 2007 4:08 AM, Doug Rintoul <dou...@si...> wrote: > >> I have generated RPMs for Fedora 8. The only thing missing on the >> development system I just installed was perl-XML-Parser and scim-devel. >> You may also need libxkbfile-devel. >> >> Once the above were installed, I generated rpms by typing >> >> sudo rpmbuild -tb kmflcomp-0.9.6.tar.gz >> >> and installing the resulting rpms (except debuginfo). >> >> then >> >> sudo rpmbuild -tb libkmflcomp-0.9.6.tar.gz >> >> >> > > The above should be libkmfl-0.9.6.tar.gz and not > "libkmflcomp-0.9.6.tar.gz" , right? > > Right. I mistyped. >> and installing the resulting rpms (except debuginfo). >> >> then >> >> sudo rpmbuild -tb scim-kmfl-imengine-0.9.6.tar.gz >> >> and installing scim-kmfl-imengine-0.9.6-1fc8.i586.rpm. >> >> > > Thanks for the info. > > This morning I installed from the 3 tarballs into my Fedora 8 > successfully. The procedure I used was the following 3 steps while in > each directory having the expanded contents of the respective tar > ball: > > ./configure --prefix=/usr > make > sudo make install > > perl-XML-Parser had been installed in mine before. Following your tips > I added scim-devel. > > Then kmflcomp and libkmfl each got compiled and installed. > > But scim-kmfl-imengine failed (on compiling or installation I don't > recollect now - I am on a different laptop at work on Windoze now > while writing this). However after libxkbfile-devel which you > mentioned as may be needed, scim-kmfl-imengine also got compiled and > installed. > > libxkbfile-devel is definitely needed for scim-kmfl-imengine to compile. > I am curious as to why scim-kmfl-imengine is dependent on > libxkbfile-devel when xkb is a different IME? > There is a (undocumented) feature in kmfl which allows a keyboard to change to xkb layout. Some positional kmfl keyboards are designed to be used with a specific underlying layout (for example U.S. English). If a user's primary layout was Dvorak for example, kmfl can switch to U.S. English so that the physical location of the keys used in the kmfl remain consistent. I added this feature a while back but did not update the documentation. Right now the LAYOUT keyword in the header statements is used to specify the xkb layout. The layout is the same as you would specify to setxkbmap. Note that only the basic layout is currently supported, ie no variants. I had planned to expand support but never got around to it, which is one reason why I have not yet documented this feature. >> I am hesitant to upload fedora rpms to >> sourceforge. I am not really interested in trying to generate RPMs for >> every distro under the sun every time there is a new version of kmfl. >> >> > > Yes - but if there is demand in future from Fedora users you may have > to do that also or provide guidance on compiling and installing. > What is really needed is to get kmfl into fedora, like it already is in Mandriva, and will be in Debian/Ubuntu. I guess a Fedora maintainer needs to be identified. Not sure how to go about this. > I will write on im-switch matter when I get time soon (certainly by > this weekend). im-switch is Also will send the error message in > SuSe10.3 when I go home today. > I look forward to your response. Doug. |