From owner-ports-jp@jp.freebsd.org  Sat Jul 24 04:00:23 1999
Received: (from daemon@localhost)
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) id EAA16624;
	Sat, 24 Jul 1999 04:00:23 +0900 (JST)
	(envelope-from owner-ports-jp@jp.FreeBSD.org)
Received: from smtp.teleway.ne.jp (smtp.teleway.ne.jp [203.140.129.13])
	by castle.jp.freebsd.org (8.9.3+3.2W/8.7.3) with ESMTP id EAA16619
	for <ports-jp@jp.freebsd.org>; Sat, 24 Jul 1999 04:00:23 +0900 (JST)
	(envelope-from yasuf@big.or.jp)
Received: from post1a.po.teleway.ne.jp (post1a.teleway.ne.jp [203.140.129.22])
	by smtp.teleway.ne.jp (8.9.3+3.2W/3.7W) with ESMTP id DAA27895
	for <ports-jp@jp.freebsd.org>; Sat, 24 Jul 1999 03:59:52 +0900 (JST)
	(envelope-from yasuf@big.or.jp)
Received: from localhost ([210.234.51.96]) by post1a.po.teleway.ne.jp
          (Post.Office MTA v3.0 release "turbo_2"
          ID# 110-55583U50000L50000S0V35) with ESMTP id AAA24669
          for <ports-jp@jp.freebsd.org>; Sat, 24 Jul 1999 03:59:45 +0900
To: ports-jp@jp.freebsd.org
In-Reply-To: Your message of "Thu, 22 Jul 1999 20:34:16 +0900"
	<19990722203416E.toru@s-fine.co.jp>
References: <19990722203416E.toru@s-fine.co.jp>
X-Mailer: Mew version 1.93 on XEmacs 20.4 (Emerald)
Mime-Version: 1.0
Content-Type: Multipart/Mixed;
	boundary="--Next_Part(Sat_Jul_24_03:59:22_1999_179)--"
Content-Transfer-Encoding: 7bit
Message-Id: <19990724035935Y.yasuf@big.or.jp>
Date: Sat, 24 Jul 1999 03:59:35 +0900
From: Yasuhiro Fukuma <yasuf@big.or.jp>
X-Dispatcher: imput version 980905(IM100)
Lines: 241
Reply-To: ports-jp@jp.freebsd.org
Precedence: list
X-Distribute: distribute version 2.1 (Alpha) patchlevel 24e+990625
X-Sequence: ports-jp 7039
Subject: [ports-jp 7039] Re: skkinput
Errors-To: owner-ports-jp@jp.freebsd.org
Sender: owner-ports-jp@jp.freebsd.org
X-Originator: yasuf@big.or.jp

----Next_Part(Sat_Jul_24_03:59:22_1999_179)--
Content-Type: Text/Plain; charset=iso-2022-jp
Content-Transfer-Encoding: 7bit

$BJ!4V(B@$BJ!2,(B $B$G$9!#(B

$B5-;v(B <19990722203416E.toru@s-fine.co.jp> $B$K$F!"(B
Toru YANO ($BLpLn(B $BD*(B) <toru@maid.ne.jp> $B$5$s$O=q$-$^$7$?(B:

> > $B$$$k$N$G$9$,!"8=:_(B MASTER_SITES $B$,9TJ}ITL@$J$N$G(Bsend-pr$B$G$-$:$K$=$N$^$^(B
> > $BJ|$C$F$*$+$l$F$$$k$H$$$&>uBV$G$9!#(B

>   $B$3$l$G$9$1$I!":#O"Mm$,$"$C$F!"(B
> 
>   http://member.nifty.ne.jp/Tatari_SAKAMOTO/index.htm
> 
>   $B$K0\F0$7$F$^$9$M!#(B

$B$*$*!"$I$&$b$"$j$,$H$&$4$6$$$^$9!#(B

$B$H$$$&$o$1$GAaB.(B skkinput-2.03 $B$KBP1~$7$^$7$?!#?tF|MM;R$r$_$F!"(B
$BLdBj$J$5$=$&$G$"$l$P(B send-pr $B$7$?$$$H;W$$$^$9!#(B

---
 Yasuhiro Fukuma ($BJ!4V(B $B9/90(B) as Yasu.F @ Kitakyushu.Fukuoka.Japan
 Web site: http://www8.big.or.jp/~yasuf/
 $B!H:#=5$OKM$,$*Aw$j$7$^$7$?!#Mh=5$OC/$G$7$g$&!#!I(B

----Next_Part(Sat_Jul_24_03:59:22_1999_179)--
Content-Type: Text/Plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename=ja-skkinput.diff

Index: skkinput/Makefile
===================================================================
RCS file: /home/ncvs/ports/japanese/skkinput/Makefile,v
retrieving revision 1.5
diff -u -r1.5 Makefile
--- Makefile	1998/06/06 03:45:10	1.5
+++ Makefile	1999/07/23 06:51:40
@@ -6,26 +6,27 @@
 # $Id: Makefile,v 1.5 1998/06/06 03:45:10 itojun Exp $
 #
 
-DISTNAME=	skkinput-2.00
-PKGNAME=	ja-skkinput-2.00
+DISTNAME=	skkinput-2.03
+PKGNAME=	ja-skkinput-2.03
 CATEGORIES=	japanese x11
-MASTER_SITES=	http://www.yajima.kuis.kyoto-u.ac.jp/staffs/sakamoto/skkinput/
+MASTER_SITES=	http://member.nifty.ne.jp/Tatari_SAKAMOTO/
 
-MAINTAINER=	mrt@mickey.ai.kyutech.ac.jp
+MAINTAINER=	yasuf@big.or.jp
 
-RUN_DEPENDS=	${LOCALBASE}/libexec/skkserv:${PORTSDIR}/japanese/skk \
-		jman:${PORTSDIR}/japanese/man
+RUN_DEPENDS=	${LOCALBASE}/sbin/skkserv:${PORTSDIR}/japanese/skkserv
 
 USE_IMAKE=	yes
 MANLANG=	ja
 MAN1=		skkinput.1
 MANCOMPRESSED=	yes
 
+DOCS=		*.jis skkinput.doc myeval/skkinputlisp.doc dot.skkinput
+
 post-install:
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${X11BASE}/share/doc/skkinput
+	@${MKDIR} ${PREFIX}/share/doc/skkinput
 	@( cd ${WRKSRC} ; \
-	   ${INSTALL_DATA} *.jis skkinput.doc ${X11BASE}/share/doc/skkinput/ )
+	   ${INSTALL_DATA} ${DOCS} ${PREFIX}/share/doc/skkinput )
 .endif
 
 .include <bsd.port.mk>
Index: skkinput/files/md5
===================================================================
RCS file: /home/ncvs/ports/japanese/skkinput/files/md5,v
retrieving revision 1.2
diff -u -r1.2 md5
--- md5	1998/04/18 15:50:19	1.2
+++ md5	1999/07/23 06:14:12
@@ -1 +1 @@
-MD5 (skkinput-2.00.tar.gz) = 5f10e3ed5a5f8ab40adf2daa6de84931
+MD5 (skkinput-2.03.tar.gz) = 74c08620e8e916a3d56f3bb3e85a5d62
Index: skkinput/patches/patch-ab
===================================================================
RCS file: patch-ab
diff -N patch-ab
--- /dev/null	Fri Jul 23 16:04:19 1999
+++ patch-ab	Thu Mar 25 15:10:39 1999
@@ -0,0 +1,111 @@
+--- imattr.c.orig	Tue Mar  3 20:58:22 1998
++++ imattr.c	Fri Mar 19 14:24:12 1999
+@@ -127,6 +127,11 @@
+ static int getFontSet( IMIC *, unsigned int, int, int, char *, int ) ;
+ static int getLineSpace( IMIC *, unsigned int, int, int, char *, int ) ;
+ static int getCursor( IMIC *, unsigned int, int, int, char *, int ) ;
++ 
++#ifndef	ORIGINAL
++static int setFilterEvents( IMIC *, char *, int, int, int, int );
++static int getFilterEvents( IMIC *, unsigned int, int, int, char *, int );
++#endif
+ 
+ static ICAttribute icAttributes[] = {
+   { XNInputStyle, TYPE_CARD32, OP_C|OP_G,
+@@ -135,6 +140,8 @@
+     setClientWindow, getClientWindow },
+   { XNFocusWindow, TYPE_WINDOW, OP_C|OP_S|OP_G,
+     setFocusWindow, getFocusWindow },
++  { XNFilterEvents, TYPE_CARD32, OP_C|OP_S|OP_G,
++    setFilterEvents, getFilterEvents },
+   { XNPreeditAttributes, TYPE_NESTED_LIST, OP_C|OP_S|OP_G,
+     setPreeditAttributes, getPreeditAttributes },
+   { XNStatusAttributes, TYPE_NESTED_LIST, OP_C|OP_S|OP_G,
+@@ -495,6 +502,26 @@
+   return 0 ;
+ }
+ 
++#ifndef	ORIGINAL
++/* ARGSUSED */
++static int
++setFilterEvents
++( IMIC *icp, char *value, int len, int order, int nest, int op )
++{
++  unsigned long filter_events;
++
++  CHECK_ICATTR_SIZE(4, IMBadSomething);
++
++  filter_events = (unsigned long)getC32(value, order);
++
++  if (!(icp->common_attr.set_mask & ATTR_MASK_FILTER_EVENTS) ||
++      filter_events != icp->common_attr.filter_events) {
++    icp->common_attr.change_mask |= ATTR_MASK_FILTER_EVENTS;
++  }
++  return 0;
++}
++#endif
++
+ /* ARGSUSED */
+ static int setPreeditAttributes
+ ( IMIC *icp, char *value, int len, int order, int nest, int op )
+@@ -1061,6 +1088,35 @@
+   }
+ }
+ 
++#ifndef	ORIGINAL
++/* ARGSUSED */
++static int
++getFilterEvents
++( IMIC *icp, unsigned int id, int nest, int offset,
++  char *data, int len )
++{
++  IMConnection *conn = icp->im->connection;
++
++  if (!(icp->common_attr.set_mask & ATTR_MASK_FILTER_EVENTS)) {
++    /* fill default value */
++    fillCommonDefault(icp, (unsigned long)ATTR_MASK_FILTER_EVENTS);
++  }
++
++  if (icp->common_attr.set_mask & ATTR_MASK_FILTER_EVENTS) {
++    IMPutC16(conn, id);		/* attribute ID */
++    IMPutC16(conn, 4);		/* value length */
++    IMPutC32(conn, icp->common_attr.filter_events);
++  }
++  else {
++    /* no default is available */
++    IMCancelRequest(conn, offset);
++    IMSendError(conn, IMBadSomething, icp->im->id, icp->id,
++                "filter events not specified yet");
++    return -1;
++  }
++}
++#endif
++
+ /* ARGSUSED */
+ static int getArea
+ ( IMIC *icp, unsigned int id, int nest,
+@@ -1383,6 +1439,12 @@
+       icp->focus_profile = icp->client_profile ;
+     }
+   }
++#ifndef	ORIGINAL
++  if (mask & ATTR_MASK_FILTER_EVENTS) {
++    ap->filter_events = NoEventMask;
++    ap->set_mask |= ATTR_MASK_FILTER_EVENTS;
++  }
++#endif
+ }
+ 
+ static int getNaturalLineSpace( IMIC *icp )
+@@ -1520,6 +1582,11 @@
+       SENDERROR( IMBadFocusWindow, "invalid focus window ID" ) ;
+     }
+   }
++#ifndef	ORIGINAL
++  if (mask & ATTR_MASK_FILTER_EVENTS) {
++    SENDERROR(IMBadSomething, "filter events not support");
++  }
++#endif
+ 
+   return ret ;
+ #undef SENDERROR
Index: skkinput/patches/patch-ac
===================================================================
RCS file: patch-ac
diff -N patch-ac
--- /dev/null	Fri Jul 23 16:04:19 1999
+++ patch-ac	Thu Mar 25 15:10:39 1999
@@ -0,0 +1,13 @@
+--- im.h.orig	Tue Mar  3 21:08:33 1998
++++ im.h	Fri Mar 19 14:10:22 1999
+@@ -148,6 +148,10 @@
+     XIMStyle input_style ;
+     Window client ;			/* client window */
+     Window focus ;			/* focus window */
++#ifndef	ORIGINAL
++#define ATTR_MASK_FILTER_EVENTS	(1<<3)
++    unsigned long filter_events;	/* Event mask that IM need */
++#endif
+ } IMCommonAttributes;
+ 
+ typedef struct {
Index: skkinput/pkg/PLIST
===================================================================
RCS file: /home/ncvs/ports/japanese/skkinput/pkg/PLIST,v
retrieving revision 1.3
diff -u -r1.3 PLIST
--- PLIST	1998/09/05 00:27:52	1.3
+++ PLIST	1999/07/23 06:43:26
@@ -6,5 +6,7 @@
 share/doc/skkinput/PROGRAM.jis
 share/doc/skkinput/README.jis
 share/doc/skkinput/TODO.jis
+share/doc/skkinput/dot.skkinput
 share/doc/skkinput/skkinput.doc
+share/doc/skkinput/skkinputlisp.doc
 @dirrm share/doc/skkinput

----Next_Part(Sat_Jul_24_03:59:22_1999_179)----
