+ -
当前位置:首页 → 问答吧 → ebuild for scim-fcitx

ebuild for scim-fcitx

时间:2005-05-08

来源:互联网

fcitx 的 scim 版本,代码来自输入法版,详细情况请那里查看。
我写了一个 ebuild, 大家可以可以试试。
scim 中终于有了一个好用的五笔输入法了。不错。
http://www.magiclinux.org/people/sun...-fcitx.tar.bz2

作者: sunmoon1997   发布时间: 2005-05-08

哈哈,这下有的人恐怕要糊涂了

作者: zhllg   发布时间: 2005-05-08

怎么使用呢?怎么弄不出来?

作者: beyond93   发布时间: 2005-05-11

gzip压缩的,不是bzip2。

作者: Twig   发布时间: 2005-05-14

嘿嘿,我是说找不到输入法,原来在scim配置输入法里边的其他选项里

作者: beyond93   发布时间: 2005-05-14

引用:
作者: Twig
gzip压缩的,不是bzip2。
怎么解压的,楼兄打的包,我都不会解 :ask 已经错过好几次了。

引用:
# tar -xjf scim-fcitx.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: 由于前面延迟的错误而退出

作者: linuxth   发布时间: 2005-05-14

SCIM里面本来不是就带有五笔输入法了吗?

作者: arliu   发布时间: 2005-10-07

to楼上,说的是“好用的五笔输入法”,不是说“终于有了一款五笔输入法”

to楼上的楼上,如果解压错误,file一下看看就知道该怎么解压了。

作者: Zer4tul   发布时间: 2005-10-08

发重复了,版主看到了就删了吧

作者: fiag   发布时间: 2006-08-10

楼主的ebuild在我这里运行会出错。我修改了下。

1. 修改下载链接,用sourceforge的镜像
2. 不再依赖 x11
3. 添加 pkg_postinst()
4. src_compile() emake 会出错,改为 make

代码:
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-i18n/scim-fcitx/scim-fcitx-3.1.1.ebuild,v 1.1 2006/08/06 16:10:06 matsuu Exp $

DESCRIPTION="Smart Common Input Method (SCIM) Smart Pinyin Input Method"
HOMEPAGE="http://www.scim-im.org/downloads/imengines_download"
SRC_URI="mirror://sourceforge/scim/${PN}.${PV}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""

DEPEND="|| ( >=app-i18n/scim-1.2 >=app-i18n/scim-cvs-1.2 )"

S=${WORKDIR}/fcitx

src_compile() {
 econf || die "econf failed"
 make || die "make failed"
}

src_install() {
 emake DESTDIR="${D}" install || die "emake install failed"
 dodoc AUTHORS THANKS README
}

pkg_postinst() {
 einfo
 einfo "To use SCIM, you should use the following in your user startup scripts"
 einfo "such as .gnomerc or .xinitrc:"
 einfo
 einfo "LANG='your_language' scim -d"
 einfo "export XMODIFIERS=@im=SCIM"
 einfo "export GTK_IM_MODULE=scim"
 einfo "export QT_IM_MODULE=scim"
 einfo
}

作者: fiag   发布时间: 2006-08-10

楼上混哪里的,好熟的ID.......

作者: 三翻领   发布时间: 2006-08-10

我这里在AMD64上有问题。问题比较严重,scim-fcitx不能使用,一切换到fcitx,输入拼音后选择条不会出现,而且上面的中英切换按钮和全角半角切换按钮都消失。然后切换到其他输入法,也都不能正常使用了。


app-i18n/scim-1.4.4

代码:
fiag@localhost ~ $ emerge --info
Portage 2.1.1_pre4-r4 (default-linux/amd64/2006.0, gcc-4.1.1/amd64-vanilla, glibc-2.4-r3, 2.6.18-rc3 x86_64)
=================================================================
System uname: 2.6.18-rc3 x86_64 AMD Turion(tm) 64 Mobile Technology MT-30
Gentoo Base System version 1.12.4
Last Sync: Wed, 09 Aug 2006 09:50:01 +0000
ccache version 2.4 [disabled]
app-admin/eselect-compiler: 2.0.0_rc2-r1
dev-lang/python: 2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache: 2.4-r2
dev-util/confcache: [Not Present]
sys-apps/sandbox: 1.2.18.1
sys-devel/autoconf: 2.13, 2.60
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils: 2.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool: 1.5.22
virtual/os-headers: 2.6.16
ACCEPT_KEYWORDS="amd64 ~amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -pipe -march=athlon64 -msse3 -funswitch-loops -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/eselect/compiler /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -pipe -march=athlon64 -msse3 -funswitch-loops -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="ftp://ftp.sjtu.edu.cn/gentoo"
LANG="zh_CN.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--enable-new-dtags -Wl,--sort-common -Wl,--as-needed"
LINGUAS="zh_CN"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://gentoo.139pay.com/gentoo-portage"
USE="amd64 X a52 aac acpi alsa avi bash-completion bitmap-fonts cairo cdr cjk cli crypt dlloader dri dts dvd dxr3 elibc_glibc emboss fbcon ffmpeg firefox flac foomaticdb fortran gif gnome gpm gs gstreamer gtk gtk2 hal input_devices_keyboard input_devices_mouse input_devices_synaptics isdnlog jpeg kernel_linux linguas_zh_CN lzw lzw-tiff mad mp3 mpeg ncurses network nls nptl nptlonly nsplugin nvidia ogg opengl openssh pam pcre pdflib pic png pppd quicktime readline reflection samba sdl session speex spell spl sse3 ssl sysfs tcpd theora threads tiff truetype truetype-fonts type1-fonts unicode usb userland_GNU userlocales v4l vcd video_cards_nv video_cards_nvidia video_cards_vesa xcomposite xine xinerama xorg xpm xscreensaver xv xvid xvmc zlib"
Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_RSYNC_EXTRA_OPTS

以前在x86上手动编译就能正常使用,偶尔也会出上面提到的毛病。

谁帮忙测试一下32位平台好用么?

楼上,嘿嘿 8-)

作者: fiag   发布时间: 2006-08-10