加到我的最愛 :: 上一篇主題 :: 下一篇主題 |
發表人 |
內容 |
whisky 專任教授

註冊時間: 2005-03-04 文章: 256 來自: 八里, France
|
發表於: 星期四 五月 04, 2006 2:32 pm 文章主題: Gaim + [enter] key patch for GCIN (and others?) |
|
|
在 Gcin 同好會上看到的, gaim 其實有個 patch 可用來修正關於在 gcin 中無法使用 enter key 將中文輸出到 gaim 中的問題。
下面的 PKGBUILD 是從一個韓文的 Arch 論壇看到的!
http://arch.freebsdcity.org/phpBB2/viewtopic.php?p=39
代碼: |
# $Id: PKGBUILD,v 1.82 2005/08/28 14:07:06 jgc Exp $
# Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=gaim
pkgver=1.5.0
pkgrel=2
pkgdesc="A GTK+-based messaging client"
url="http://gaim.sourceforge.net"
depends=('startup-notification' 'libao' 'gnutls>=1.2.0' 'tk' 'gtkspell')
source=(http://dl.sourceforge.net/sourceforge/gaim/gaim-$pkgver.tar.bz2 http://cvs.fedora.redhat.com/viewcvs/*checkout*/devel/gaim/gaim-0.76-xinput.patch)
#md5sums=('9205321ac11fad271c90f2f0d7c5e7ce' 'afc682711efed5d09a9229bd06a7a13b ')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --enable-gtkspell --enable-gnutls=yes --enable-nss=no --disable-gevolution
patch -Np1 -i ${startdir}/gaim-0.76-xinput.patch || return 1
make || return 1
make DESTDIR=$startdir/pkg install
rm $startdir/pkg/usr/lib/perl5/*/$CARCH-linux-thread-multi/perllocal.pod
mv $startdir/pkg/usr/lib/perl5/?.?.? $startdir/pkg/usr/lib/perl5/current
find $startdir/pkg -name '*.la' -exec rm {} \;
}
|
查了一下,發現這個 patch 其實在 2004 就提出 - 不過我是到現在才知道有他的存在。而且不只是針對 gcin,我想很多人(不只是中文語系者)應該都會有需要。不懂為啥這個 patch 沒有進入 gaim 的 cvs?
我在 Arch 的 Bug track 上貼了一條回報
http://bugs.archlinux.org/task/4563
希望 Arch 的 maintainer 願意接受這個 patch - 不過因為我沒有太多「有力舉證」可以補充,也就是 - 已經有哪些 distro 使用?會不會有 package breaking 問題等等?所以我不敢確定 gaim maintainer 會花時間去看一下。 |
|
回頂端 |
|
 |
whisky 專任教授

註冊時間: 2005-03-04 文章: 256 來自: 八里, France
|
發表於: 星期五 五月 05, 2006 12:06 am 文章主題: |
|
|
2.x CVS (PKGBUILD 可以從 AUR 取得) 不會有這個 [enter] 的問題,但是會有 [TAB] 無法斷詞,變成直接把輸入列中的字丟給 GAIM 的現象。 |
|
回頂端 |
|
 |
whisky 專任教授

註冊時間: 2005-03-04 文章: 256 來自: 八里, France
|
|
回頂端 |
|
 |
|