[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#478811: ITP: sunpinyin -- An input method engine based on SLM



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



2008/5/5 ZhengPeng Hou <zhengpeng.hou@gmail.com>:
On Sat, May 03, 2008 at 09:44:40PM +0800, Jun Ma wrote:
> debian etch编译安装:
> 1. sudo apt-get install devscripts
> 2. dget http://mentors.debian.net/debian/pool/main/s/sunpinyin/sunpinyin_1.0-1.dsc
> 3. dpkg-source -x sunpinyi_1.0-1.dsc
> 4. sudo vi /usr/lib/pkgconfig/scim.pc
>     修改moduledir为moduledir=${exec_prefix}/lib/scim-1.0/1.4.0
你应该去patch sunpinyin.我觉得,这个其实是 etch 中 libscim-dev 的问题。etch 中
libscim-dev 的版本是 1.4.4-7。同时, 在 etch 里,scim 版本是 1.4.4-7。自从 1.4.1-1,SCIM
上输入法的所有模块就被放到了 /usr/lib/scim-1.0/1.4.0/ 而不是以前的 /usr/lib/scim-1.0。但是
libscim-dev_1.4.4-7 中指定的 moduledir 却是
${exec_prefix}/lib/scim-1.0。很明显,如果不在输入法模块的 package 里 hardcode 或者修改
libscim-dev 是无法让 etch 里 SCIM 输入法模块正常编译或者工作的。bug#422739 虽然是针对 lenny
的,但是这个问题在 etch 中也存在。etch 中的 scim-pinyin 是通过在其 Makefile.am 中指定
moduledir 路径为 @SCIM_MODULEDIR@/1.4.0/IMEngine
解决的。很明显,这个办法只能适用于老版本的  libscim-dev,对于新版的 libscim-dev (比如
1.4.7-3)就不能用了。我们可以知道,sid 中的 scim-pinyin build-depends on libscim-dev
(>= 1.4.6-1)。这是为什么 testing 和 sid 中的 scim-pinyin 都能正常编译的原因。

由于 sunpinyin 的 deb 包才刚刚准备进入 Debian,我想如果成功 upload 的话,它应该先会进入
sid。所以现在恐怕无法兼顾 testing 中的编译问题。如果将来进入 testing 时 libscim-dev 还是 1.4.4-7
的话,也许要专门 backport 一个版本,让它的 Makefile.am 中路径像 scim-pinyin 一样写死。


> 5. cd sunpinyin-1.0 && sudo dpkg-buildpackage
s/sudo/fakeroot
> 6. sudo dpkg -i ../scim-sunpinyin_1.0-1_i386.deb
> 7. 重启scim
>
> 2008/5/3 Jun Ma <sync.jma@gmail.com>:
> > On Fri, May 2, 2008 at 10:02 AM, Yong Sun <Yong.Sun@sun.com> wrote:
> >  > Yes, SunPinyin had been ported to SCIM framework. And now it supports IIIMF,
> >  > SCIM, BeCJK, and the Mac OS porting (leopard) is on going.
> >  >
> >  >  Regards,
> >  >
> >
> >  在kov的帮助下,我顺利的切换到了SCIM-PINYIN。
> >  感觉不错,大家可以测试下。
> >
> >
> >
> >  --
> >
> >
> > FIXME if it is wrong.
> >
>
>
>
> --
> FIXME if it is wrong.

- -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFIHrGZJrhDLBNiZtwRApxeAJ9YLxRPCr4/99PGymfF7K8FmzIbPACgjOld
bxeo5aMg9B2P3phoTNDJuAo=
=kmFq
- -----END PGP SIGNATURE-----




- --
Regards
Kov Chai
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: http://getfiregpg.org

iD8DBQFIHwMWC8hyx6EmTc0RAuadAJ0bsFJL7oLdr5TCLfJdpawKnRZ+3wCgnTwO
PbfQvl9TEMZ037DvdqmbWEk=
=d+wp
-----END PGP SIGNATURE-----



Reply to: