LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 2076|回复: 19

新进入china-overlay的fcitx-070703使用二笔时,输入标点符号就崩溃。

[复制链接]
发表于 2008-1-25 13:46:05 | 显示全部楼层 |阅读模式
新进入china-overlay的fcitx-070703使用二笔时,输入标点符号就崩溃,再网上看似乎有个patch可以打。
发表于 2008-1-27 07:26:43 | 显示全部楼层
解决了吗?0703不是overlay里的。
我用的是yuking的最后一版"黑色星期五"
上次让乐乐放进去他说他不用fcitx,不好测试维护。

fcitx-3.5.ebuild
  1. # Copyright 1999-2007 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: /var/cvsroot/gentoo-x86/app-i18n/fcitx/fcitx-3.5_pre070403.ebuild,v 1.1 2007/04/27 16:53:30 matsuu Exp $
  4. DESCRIPTION="Free Chinese Input Toy for X. Another Chinese XIM Input Method"
  5. HOMEPAGE="http://www.fcitx.org/"
  6. SRC_URI="http://www.fcitx.org/download/${P}-BlackFri.tar.bz2"
  7. LICENSE="GPL-2"
  8. SLOT="0"
  9. KEYWORDS="~amd64 ~ppc ~x86"
  10. IUSE="truetype"
  11. DEPEND="x11-libs/libX11
  12.         x11-libs/libXrender
  13.         x11-libs/libXt
  14.         truetype? ( x11-libs/libXft )"
  15. S="${WORKDIR}/${P/_pre*}"
  16. src_compile() {
  17.         econf $(use_enable truetype xft) || die "configure failed"
  18.         emake || die "make failed"
  19. }
  20. src_install() {
  21.         emake DESTDIR="${D}" install || die
  22.         dodoc AUTHORS ChangeLog README THANKS TODO
  23.         rm -rf "${D}"/usr/share/fcitx/doc/
  24.         dodoc doc/pinyin.txt doc/cjkvinput.txt
  25.         dohtml doc/wb_fh.htm
  26. }
  27. pkg_postinst() {
  28.         elog "You should export the following variables to use fcitx"
  29.         elog " export XMODIFIERS="@im=fcitx""
  30.         elog " export XIM=fcitx"
  31.         elog " export XIM_PROGRAM=fcitx"
  32.         elog ""
  33.         elog "If you want to use WuBi or ErBi"
  34.         elog " cp /usr/share/fcitx/data/wbx.mb ~/.fcitx"
  35.         elog " cp /usr/share/fcitx/data/erbi.mb ~/.fcitx"
  36.         elog " cp /usr/share/fcitx/data/tables.conf ~/.fcitx"
  37.         elog ""
  38. }
复制代码
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-27 10:15:01 | 显示全部楼层
http://www.linuxsir.cn/bbs/thread308953.html ( fcitx 070703 二笔、晚风输入标点崩溃及下面的五笔3码上屏patch)

我不会写ebuild,上面这个联接是说这个bug的。
回复 支持 反对

使用道具 举报

发表于 2008-1-27 10:51:05 | 显示全部楼层
呵呵,怪我没说明白。
我的意思是,Yuking的BlackFri版修复了这些问题,我根据portage中的070403版改了一下ebuild,使之可以放在自己的overlay中用:)

不过我只用二笔,很正常。你给的链接里说五笔拼音还是有问题,我刚试了一下,没那个毛病,但到底用起来有没有问题还不知道。
回复 支持 反对

使用道具 举报

发表于 2008-1-27 11:23:27 | 显示全部楼层
我安装070703时候出现下面的错误,请问怎样解决呢
回复 支持 反对

使用道具 举报

发表于 2008-1-27 11:24:43 | 显示全部楼层
i686-pc-linux-gnu-gcc -O2 -fno-strength-reduce -march=pentium-m -O2 -pipe -fomit-frame-pointer   -I/usr/include/freetype2   -D_USE_XFT -Wall  -Wl,-O1 -Wl,--as-needed -o fcitx -lXpm IC.o ime.o InputWindow.o KeyList.o main.o MainWindow.o MyErrorsHandlers.o punc.o py.o PYFA.o pyMapTable.o pyParser.o sp.o tools.o ui.o table.o xim.o qw.o vk.o about.o QuickPhrase.o AutoEng.o extra.o internalVersion.o ../lib/libXimd.a -lXft -lXrender -lfontconfig -lfreetype -lz -lX11   -lX11
InputWindow.o: In function `DrawInputWindow':
InputWindow.c.text+0x108b): undefined reference to `XpmCreateImageFromData'
InputWindow.c.text+0x10f4): undefined reference to `XpmCreateImageFromData'
MainWindow.o: In function `DrawMainWindow':
MainWindow.c.text+0xd27): undefined reference to `XpmCreateImageFromData'
MainWindow.c.text+0xd91): undefined reference to `XpmCreateImageFromData'
MainWindow.c.text+0xdd2): undefined reference to `XpmCreateImageFromData'
MainWindow.o:MainWindow.c.text+0xe6e): more undefined references to `XpmCreateImageFromData' follow
about.o: In function `setIcon':
about.c.text+0x70): undefined reference to `XpmCreatePixmapFromData'
about.c.text+0x116): undefined reference to `XpmGetErrorString'
collect2: ld 返回 1
make[2]: *** [fcitx] 错误 1
make[2]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.5_pre070703/work/fcitx-3.5/src'
make[1]: *** [all-recursive] 错误 1
make[1]: Leaving directory `/var/tmp/portage/app-i18n/fcitx-3.5_pre070703/work/fcitx-3.5'
make: *** [all] 错误 2
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-27 12:18:17 | 显示全部楼层
Post by zhou3345;1811560
呵呵,怪我没说明白。
我的意思是,Yuking的BlackFri版修复了这些问题,我根据portage中的070403版改了一下ebuild,使之可以放在自己的overlay中用:)

不过我只用二笔,很正常。你给的链接里说五笔拼音还是有问题,我刚试了一下,没那个毛病,但到底用起来有没有问题还不知道。


明白了, 谢谢。
回复 支持 反对

使用道具 举报

发表于 2008-1-27 12:43:26 | 显示全部楼层
Post by nainaide;1811587
作者: zhou3345
呵呵,怪我没说明白。
我的意思是,Yuking的BlackFri版修复了这些问题,我根据portage中的070403版改了一下ebuild,使之可以放在自己的overlay中用:)

不过我只用二笔,很正常。你给的链接里说五笔拼音还是有问题,我刚试了一下,没那个毛病,但到底用起来有没有问题还不知道。。



我安装这个也会出现错误
回复 支持 反对

使用道具 举报

发表于 2008-1-27 13:28:22 | 显示全部楼层
兄弟也用二笔吗?
想知道 能不能用 闲云快码的码表?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2008-1-27 13:34:51 | 显示全部楼层
在~/.fcitx中有个erbi.mb,应该是就关键所在。是不是需要个转换程序?我也想把它改良。这样就可以用拼音二笔了。有人知道吗,不然只好再麻烦yuking大侠了。
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表