LinuxSir.cn,穿越时空的Linuxsir!

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

想装ibus的五笔,在官方的portage里居然没找到

[复制链接]
发表于 2010-6-1 00:10:55 | 显示全部楼层 |阅读模式
如题,gentoo-china里的好像也用不了,就自己写了一个,第一次写,高手指教一下
默认只安装五笔

ibus-table-chinese-1.3.0.20100527.ebuild
  1. # Copyright 1999-2010 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4. EAPI=3
  5. DESCRIPTION="IBus chinese"
  6. HOMEPAGE="http://code.google.com/p/ibus/"
  7. SRC_URI="http://ibus.googlecode.com/files/${P}.tar.gz"
  8. LICENSE="LGPL-3"
  9. SLOT="0"
  10. KEYWORDS="~x86 ~amd64"
  11. IUSE="+wubi86 cangjie3 cangjie5 cangjiebig cantonese cantonhk easybig erbi
  12. erbiqs jyutping quick3 quick5 quickclassic scj6 stroke5 wu xinhua yong zhengma
  13. zhuyin zhuyinbig ziranma"
  14. DEPEND=">=app-i18n/ibus-1.3
  15.                 >=app-i18n/ibus-table-1.2"
  16. RDEPEND="${DEPEND}"
  17. use_disable() {
  18.         use $1 || echo "--disable-$1"
  19. }
  20. src_configure() {
  21.                 econf \
  22.                                 $(use_disable wubi86) \
  23.                                 $(use_disable cangjie3) \
  24.                                 $(use_disable cangjie5 ) \
  25.                                 $(use_disable cangjiebig ) \
  26.                                 $(use_disable cantonese ) \
  27.                                 $(use_disable cantonhk ) \
  28.                                 $(use_disable easybig ) \
  29.                                 $(use_disable erbi ) \
  30.                                 $(use_disable erbiqs ) \
  31.                                 $(use_disable jyutping ) \
  32.                                 $(use_disable quick3 ) \
  33.                                 $(use_disable quick5 ) \
  34.                                 $(use_disable quickclassic ) \
  35.                                 $(use_disable scj6 ) \
  36.                                 $(use_disable stroke5 ) \
  37.                                 $(use_disable wu ) \
  38.                                 $(use_disable xinhua ) \
  39.                                 $(use_disable yong ) \
  40.                                 $(use_disable zhengma ) \
  41.                                 $(use_disable zhuyin ) \
  42.                                 $(use_disable zhuyinbig ) \
  43.                                 $(use_disable ziranma ) || die
  44. }
  45. src_install() {
  46.                 emake DESTDIR="${D}" install || die
  47. }
复制代码
发表于 2010-6-1 02:55:24 | 显示全部楼层
在gentoo-china的overlay里。有ibus-table-wubi的ebuild

但是ibus-table-xingma安装以后,也是可以调出五笔输入法的。
回复 支持 反对

使用道具 举报

发表于 2010-6-1 10:29:29 | 显示全部楼层
gentoo官方的中文支持一塌糊涂啊
回复 支持 反对

使用道具 举报

发表于 2010-6-1 11:44:03 | 显示全部楼层
我安装官方app-i18n/ibus-table-xingma,五笔没大问题,但有些字或词的出现位子真的是如上说的一塌糊涂。
但amd64 overlay的已经mask,没法,忍。
回复 支持 反对

使用道具 举报

发表于 2010-6-1 14:52:40 | 显示全部楼层
Post by ulosggs;2093707
gentoo官方的中文支持一塌糊涂啊


你需要什么样的支持?

你觉得还欠缺什么样的支持?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-1 21:35:49 | 显示全部楼层
Post by tlze;2093725
我安装官方app-i18n/ibus-table-xingma,五笔没大问题,但有些字或词的出现位子真的是如上说的一塌糊涂。
但amd64 overlay的已经mask,没法,忍。


原来在xingma里面,不过我装的是最新ibus-table-chinese-1.3.0.20100527.tar.gz
没遇到什么问题,感觉挺好用的,
以前用fcitx,在webqq(chromium)里经常卡死,就换了
回复 支持 反对

使用道具 举报

 楼主| 发表于 2010-6-1 21:42:58 | 显示全部楼层
Post by 溺水三千;2093646
在gentoo-china的overlay里。有ibus-table-wubi的ebuild

但是ibus-table-xingma安装以后,也是可以调出五笔输入法的。


gentoo-china里的这个能用么?看不懂...

  1. # Copyright 1999-2008 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $

  4. EAPI="1"

  5. inherit ibus-tables

  6. KEYWORDS=""
  7. IUSE="extra-phrases +wubi86 wubi98"

  8. DOCS="AUTHORS"
复制代码
回复 支持 反对

使用道具 举报

发表于 2010-6-1 22:04:18 | 显示全部楼层
inherit ibus-tables

ibus-tables.eclass
回复 支持 反对

使用道具 举报

发表于 2010-6-1 22:40:32 | 显示全部楼层
Post by zhllg;2093754
你需要什么样的支持?

你觉得还欠缺什么样的支持?


我不需要什么支持,还欠缺各种支持
回复 支持 反对

使用道具 举报

发表于 2010-6-4 16:04:22 | 显示全部楼层
Post by ulosggs;2093852
我不需要什么支持,还欠缺各种支持
废话。我也废话。
回复 支持 反对

使用道具 举报

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

本版积分规则

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