pkgsrc/inputmethod/xcin/patches/patch-ad
rxg 73a0f23706 Added chewing module support.
Taken the patches form -
	http://chewing.csie.net/download/xcin/xcin-chewing-20041004.diff
Used PKG_SYSCONFDIR schema.
Used ${PAX} to do post-install.
Bump PKGREVISION.
2006-01-28 03:03:11 +00:00

54 lines
1.4 KiB
Text

$NetBSD: patch-ad,v 1.2 2006/01/28 03:03:11 rxg Exp $
--- etc/xcinrc.NETBSD.orig 2001-11-29 21:50:42.000000000 +0800
+++ etc/xcinrc.NETBSD
@@ -112,7 +112,7 @@
(DEFAULT_IM_SINMD "DEFAULT")
(PHRASE "default.phr")
(CINPUT (cj simplex phone bimspinyin bimsphone jyutping
- array30 jyutping0 zh_hex))
+ array30 jyutping0 chewing zh_hex))
(FONTSET "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-big5-0")
(OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-big5-0")))
;
@@ -152,6 +152,10 @@
'((SETKEY 9)
(BEEP_DUPCHAR YES)))
+(define chewing@big5
+ '((SETKEY 10)
+ (MODULE "chewing")))
+
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;
@@ -163,7 +167,7 @@
(DEFAULT_IM_SINMD "DEFAULT")
(PHRASE "default.phr")
(CINPUT (pinyin shuangpin jtcj_gb wubizixing phonegb2
- array30 zh_hex))
+ zh_hex))
(FONTSET "-sony-*-24-*-iso8859-1,-*-medium-r-*-24-*-gb2312.1980-0")
(OVERSPOT_FONTSET "-sony-*-16-*-iso8859-1,-*-medium-r-*-16-*-gb2312.1980-0")))
;
@@ -180,7 +184,7 @@
(define jtcj_gb@euccn
'((SETKEY 3)))
-(define phonegb2@gb2312
+(define phonegb2@euccn
'((SETKEY 4)
(END_KEY YES)
(BEEP_DUPCHAR YES)))
@@ -188,11 +192,6 @@
(define wubizixing@euccn
'((SETKEY 5)))
-(define array30@gb2312
- '((SETKEY 8)
- (BEEP_DUPCHAR YES)
- (DISABLE_SEL_LIST "w")
- (KEYSTROKE_REMAP "t:0xb5c4;T:0xb5c4")))
;