输入法又一选择ibus

期待NetBSD6.0在桌面开发上的进展。

版主: lionux

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

输入法又一选择ibus

帖子 lionux » 2010-08-20 22:50

ibus8月7日正式进入pkgsrc了,之前在wip里一直无法编译通过。今天有空安装了不错,目前netbsd下正常使用的只有它了。安装就不详细说了,没有packages只能通过pkgsrc来安装。
设置,打开.xinitrc加入

代码: 全选

[color="Sienna"][color="Sienna"]export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus[/color][/color]
目前scim与firefox冲突,fcitx对locale敏感,ibus是最好选择,今天看到OpenBSD团队也ports了ibus。
在窗口管理器中,比方fluxbox中需手动启动,xinitrc中添加ibus-daemon -rdx,其他xfce4,kde4中ibus会自动运行。qt程序安装ibus-qt。
感谢leo的提醒使用前先需要添加输入法。
system——preferences——ibus preferrnces —— input method —— Chiense pinyin.

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-08-21 1:05

勾起了尝试的兴趣,已经有3个月没有碰X了,OpenBSD安装的系统里也没有设置开启,现在找时间试试, 多谢!

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-09-19 15:28

OpenBSD当前i386下,编译半个小时后出错,晕,看来还要等等。

=================================================

这几天NetBSD和OpenBSD混着使,把我给搞晕了,OpenBSD的当前版是有packages的呀。:mad:

尝试加载当前的packages,失败:

代码: 全选

# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/
# pkg_add ibus
Can't install gettext-0.18.1 because of libraries
|library ncurses.12.0 not found
| /usr/lib/libncurses.so.11.0 (system): bad major
Direct dependencies for gettext-0.18.1 resolve to: libiconv-1.13p1
Full dependency tree is libiconv-1.13p1
Can't install glib2-2.24.2p1: can't resolve gettext-0.18.1
Can't install pango-1.28.1: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install atk-1.30.0p0: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install shared-mime-info-0.71: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install gtk+2-2.20.1p2: can't resolve pango-1.28.1,atk-1.30.0p0,shared-mime-info-0.71,gettext-0.18.1,glib2-2.24.2p1
Can't install gtk-engines2-2.20.1p1: can't resolve gettext-0.18.1,gtk+2-2.20.1p2
Can't install sqlite3-3.6.23p0 because of libraries
Can't install python-2.6.5: can't resolve sqlite3-3.6.23p0
Can't install libgsf-1.14.18p1: can't resolve python-2.6.5,gettext-0.18.1,glib2-2.24.2p1
Can't install libcroco-0.6.2p1: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install librsvg-2.26.3p2: can't resolve libcroco-0.6.2p1,libgsf-1.14.18p1,python-2.6.5,gettext-0.18.1,gtk-engines2-2.20.1p1,gtk+2-2.20.1p2
Can't install libIDL-0.8.14: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install ORBit2-2.14.18: can't resolve gettext-0.18.1,libIDL-0.8.14,glib2-2.24.2p1
Can't install dbus-glib-0.88p0v0: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install gconf2-2.28.1p2: can't resolve dbus-glib-0.88p0v0,gettext-0.18.1,ORBit2-2.14.18,gtk+2-2.20.1p2
Can't install gamin-0.1.10p9: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install dbus-python-0.83.1: can't resolve dbus-glib-0.88p0v0,python-2.6.5,gettext-0.18.1
Can't install libnotify-0.4.5p1: can't resolve dbus-glib-0.88p0v0,gettext-0.18.1,gtk+2-2.20.1p2
Can't install py-setuptools-0.6.11p1v0: can't resolve python-2.6.5
Can't install py-numpy-1.3.0p6: can't resolve py-setuptools-0.6.11p1v0,python-2.6.5
Can't install py-cairo-1.8.8p1: can't resolve python-2.6.5
Can't install libglade2-2.6.4p3: can't resolve python-2.6.5,gettext-0.18.1,gtk+2-2.20.1p2
Can't install py-gobject-2.20.0p2v0: can't resolve python-2.6.5,gettext-0.18.1,glib2-2.24.2p1
Can't install py-gtk2-2.16.0p3: can't resolve py-numpy-1.3.0p6,libglade2-2.6.4p3,python-2.6.5,gettext-0.18.1,py-cairo-1.8.8p1,py-gobject-2.20.0p2v0
Can't install py-notify-0.1.1p6: can't resolve py-gtk2-2.16.0p3,python-2.6.5,gettext-0.18.1,libnotify-0.4.5p1
Can't install desktop-file-utils-0.16p1: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install py-xdg-0.18p1: can't resolve python-2.6.5
Can't install ibus-1.3.7p3: can't resolve py-xdg-0.18p1,dbus-python-0.83.1,py-notify-0.1.1p6,desktop-file-utils-0.16p1,python-2.6.5,gconf2-2.28.1p2,librsvg-2.26.3p2,gamin-0.1.10p9,gettext-0.18.1
包不全。
据说这个输入法的作者也是scim的作者。

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-09-28 5:55

不错,可以在netbsd下使用ibus了,但是需要先设置一下——我前一阵安装的是gnome:
system——preferences——ibus preferrnces —— input method —— Chiense pinyin.

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

帖子 lionux » 2010-09-28 8:25

leo 写了:OpenBSD当前i386下,编译半个小时后出错,晕,看来还要等等。

=================================================

这几天NetBSD和OpenBSD混着使,把我给搞晕了,OpenBSD的当前版是有packages的呀。:mad:

尝试加载当前的packages,失败:

代码: 全选

# export PKG_PATH=ftp://ftp.openbsd.org/pub/OpenBSD/snapshots/packages/i386/
# pkg_add ibus
Can't install gettext-0.18.1 because of libraries
|library ncurses.12.0 not found
| /usr/lib/libncurses.so.11.0 (system): bad major
Direct dependencies for gettext-0.18.1 resolve to: libiconv-1.13p1
Full dependency tree is libiconv-1.13p1
Can't install glib2-2.24.2p1: can't resolve gettext-0.18.1
Can't install pango-1.28.1: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install atk-1.30.0p0: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install shared-mime-info-0.71: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install gtk+2-2.20.1p2: can't resolve pango-1.28.1,atk-1.30.0p0,shared-mime-info-0.71,gettext-0.18.1,glib2-2.24.2p1
Can't install gtk-engines2-2.20.1p1: can't resolve gettext-0.18.1,gtk+2-2.20.1p2
Can't install sqlite3-3.6.23p0 because of libraries
Can't install python-2.6.5: can't resolve sqlite3-3.6.23p0
Can't install libgsf-1.14.18p1: can't resolve python-2.6.5,gettext-0.18.1,glib2-2.24.2p1
Can't install libcroco-0.6.2p1: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install librsvg-2.26.3p2: can't resolve libcroco-0.6.2p1,libgsf-1.14.18p1,python-2.6.5,gettext-0.18.1,gtk-engines2-2.20.1p1,gtk+2-2.20.1p2
Can't install libIDL-0.8.14: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install ORBit2-2.14.18: can't resolve gettext-0.18.1,libIDL-0.8.14,glib2-2.24.2p1
Can't install dbus-glib-0.88p0v0: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install gconf2-2.28.1p2: can't resolve dbus-glib-0.88p0v0,gettext-0.18.1,ORBit2-2.14.18,gtk+2-2.20.1p2
Can't install gamin-0.1.10p9: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install dbus-python-0.83.1: can't resolve dbus-glib-0.88p0v0,python-2.6.5,gettext-0.18.1
Can't install libnotify-0.4.5p1: can't resolve dbus-glib-0.88p0v0,gettext-0.18.1,gtk+2-2.20.1p2
Can't install py-setuptools-0.6.11p1v0: can't resolve python-2.6.5
Can't install py-numpy-1.3.0p6: can't resolve py-setuptools-0.6.11p1v0,python-2.6.5
Can't install py-cairo-1.8.8p1: can't resolve python-2.6.5
Can't install libglade2-2.6.4p3: can't resolve python-2.6.5,gettext-0.18.1,gtk+2-2.20.1p2
Can't install py-gobject-2.20.0p2v0: can't resolve python-2.6.5,gettext-0.18.1,glib2-2.24.2p1
Can't install py-gtk2-2.16.0p3: can't resolve py-numpy-1.3.0p6,libglade2-2.6.4p3,python-2.6.5,gettext-0.18.1,py-cairo-1.8.8p1,py-gobject-2.20.0p2v0
Can't install py-notify-0.1.1p6: can't resolve py-gtk2-2.16.0p3,python-2.6.5,gettext-0.18.1,libnotify-0.4.5p1
Can't install desktop-file-utils-0.16p1: can't resolve gettext-0.18.1,glib2-2.24.2p1
Can't install py-xdg-0.18p1: can't resolve python-2.6.5
Can't install ibus-1.3.7p3: can't resolve py-xdg-0.18p1,dbus-python-0.83.1,py-notify-0.1.1p6,desktop-file-utils-0.16p1,python-2.6.5,gconf2-2.28.1p2,librsvg-2.26.3p2,gamin-0.1.10p9,gettext-0.18.1
包不全。
据说这个输入法的作者也是scim的作者。

OpenBSD只port了ibus还没有输入法可用。

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

帖子 lionux » 2010-09-28 8:28

leo 写了:不错,可以在netbsd下使用ibus了,但是需要先设置一下——我前一阵安装的是gnome:
system——preferences——ibus preferrnces —— input method —— Chiense pinyin.

对先得添加输入法,感谢提醒,一会加上。

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-09-28 12:28

lionux 写了:OpenBSD只port了ibus还没有输入法可用。
难怪了,看来目前OpenBSD上输入法是依然无解。

John.Fu
铁 Fe
帖子: 77
注册时间: 2010-05-04 21:06

帖子 John.Fu » 2010-09-28 17:26

在 NetBSD pkgsrc 的哪个路径? 我怎么找不到 ibus ?

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-09-28 21:03

/usr/pkgsrc/inputmethod/ibus

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-10-01 4:53

IBUS can't work on NetBSD 5.1 RC4 amd64 plat.
There is nothing when you choose the inputmethod

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

帖子 lionux » 2010-10-01 9:13

leo 写了:IBUS can't work on NetBSD 5.1 RC4 amd64 plat.
There is nothing when you choose the inputmethod

怎样装的packages?全部编译。

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-10-01 9:30

全手动编译,5.1RC4的包不全,无法使用pkg_add或pkgin安装。

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

帖子 lionux » 2010-10-01 9:40

有什么提示信息。

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-10-01 9:44

特别注意了一下make和make install以后有没有什么信息,但是,除了编译过程中的中间信息,并没有其它的安装设置提示信息,我也忘了原来那台机器(当前版的5.99.39)安装好后是怎么处理的了,所以一点头绪没有。—— 直到现在还不清楚是否安装结束后需要进行什么设置。

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

帖子 lionux » 2010-10-01 9:49

运行时有什么提示,配置的是否正确。

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-10-01 10:15

It just told me to put below lines into ~/.bashrc file, I just did what the program told me, and I put it into ~/.xinitrc file too.

代码: 全选

# cat .bashrc
export XMODIFIERS=@im=ibus
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
# 
# cat .xinitrc
export XMODIFIERS="@im=ibus"
export GTK_IM_MODULE=ibus
export QT_IM_MODULE=ibus
exec gnome-session
 

I am not sure if it's correct.

Sorry, I am in NetBSD 5.1 RC4, so I can't type Chinese right now.

when you want to select the input method, there is nothing to select. Please see the attachment.
附件
1.png

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

帖子 lionux » 2010-10-01 10:25

用的ksh?

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-10-01 10:27

yes, I am using ksh.

头像
leo
帖子: 2465
注册时间: 2010-01-21 3:27

帖子 leo » 2010-10-01 10:58

I forget to put this line into /etc/mk.conf

代码: 全选

PKG_RCD_SCRIPTS=YES

maybe need to cp some rc.d scripts to /etc/rc.d/

头像
lionux
锌 Zn
帖子: 457
注册时间: 2010-02-04 11:09

帖子 lionux » 2010-10-01 11:58

输入法装了吗

回复

在线用户

正浏览此版面之用户: 没有注册用户 和 0 访客