Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Jan 2000 21:55:47 +0900 (KST)
From:      cjh@wdb.co.kr
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/16365: Ports update: korean/ami
Message-ID:  <200001261255.VAA26333@kfug.kr.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         16365
>Category:       ports
>Synopsis:       Ports Update: korean/ami
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 26 05:00:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     CHOI Junho
>Release:        FreeBSD 3.4-STABLE i386
>Organization:
Web Data Bank Co.
>Environment:

FreeBSD gradius.myhome 3.4-STABLE FreeBSD 3.4-STABLE #6: Sun Jan  9
12:32:52 KST 2000     root@gradius.myhome:/usr/src/sys/compile/GRADIUS
i386

>Description:

Regular ports update.

>How-To-Repeat:

build it!

>Fix:
	
diff -uNr -x README.html -x *~ /usr/ports/korean/ami/Makefile ami/Makefile
--- /usr/ports/korean/ami/Makefile	Mon Nov  1 10:24:03 1999
+++ ami/Makefile	Mon Jan 17 22:14:17 2000
@@ -6,10 +6,13 @@
 # $FreeBSD: ports/korean/ami/Makefile,v 1.4 1999/11/01 01:24:03 steve Exp $
 #
 
-DISTNAME=	ami-0.5.2
-PKGNAME=	ko-ami-0.5.2
+DISTNAME=	ami-${AMI_VER}
+PKGNAME=	ko-ami-${AMI_VER}
 CATEGORIES=	korean x11
-MASTER_SITES=	http://www.kr.freebsd.org/~hwang/ami/
+MASTER_SITES=	http://www.kr.freebsd.org/~hwang/ami/ \
+		http://adam.kaist.ac.kr/~cwryu/archive/misc/
+DISTFILES=	${DISTNAME}.tar.gz hanja.dic.gz ami.dic
+EXTRACT_ONLY=	${DISTNAME}.tar.gz
 
 MAINTAINER=	cjh@kr.freebsd.org
 
@@ -19,6 +22,22 @@
 GNU_CONFIGURE=	YES
 CONFIGURE_ENV=	GLIB_CONFIG=${LOCALBASE}/bin/glib12-config \
 		GTK_CONFIG=${X11BASE}/bin/gtk12-config
+CONFIGURE_ARGS+= --with-hangul-keyboard=2
+
+AMI_VER=	1.0.4
+
+# Korean input in dvorak keyboard
+.if defined(WITH_DVORAK)
+CONFIGURE_ARGS+= --with-english-keyboard=dvorak
+.endif
+
+# gnome support
+.if defined(WITH_GNOME_APPLET)
+PKGNAME=	ko-ami-gnome-${AMI_VER}
+RUN_DEPENDS+=	panel:${PORTSDIR}/x11/gnomecore
+LIB_DEPENDS+=	gnome.3:${PORTSDIR}/x11/gnomelibs
+CONFIGURE_ARGS+= --enable-gnome-applet
+.endif
 
 post-build:
 	@cd ${WRKSRC}/hanjadic; \
@@ -39,9 +58,14 @@
 	${INSTALL_DATA} ${FILESDIR}/XLC_LOCALE \
 		${PREFIX}/share/doc/ami
 
-.for NAME in AUTHORS README NEWS COPYING ChangeLog gtkrc
+.for NAME in AUTHORS README NEWS COPYING ChangeLog
 	${INSTALL_DATA} ${WRKSRC}/${NAME} \
 		${PREFIX}/share/doc/ami
 .endfor
+
+	# dic
+	${GUNZIP_CMD} -cd ${_DISTDIR}/hanja.dic.gz > \
+			${PREFIX}/share/ami/hanja.dic
+	${CAT} ${_DISTDIR}/ami.dic >> ${PREFIX}/share/ami/hanja.dic
 
 .include <bsd.port.mk>
diff -uNr -x README.html -x *~ /usr/ports/korean/ami/files/md5 ami/files/md5
--- /usr/ports/korean/ami/files/md5	Mon Nov  1 10:24:08 1999
+++ ami/files/md5	Sat Jan 15 00:38:32 2000
@@ -1 +1,3 @@
-MD5 (ami-0.5.2.tar.gz) = a14e5afd7638861428a519cf4ccf1c0a
+MD5 (ami-1.0.4.tar.gz) = e670aed5410af953aa166b45c5e703a5
+MD5 (hanja.dic.gz) = 3f114405753ad0596c4127df36e35710
+MD5 (ami.dic) = 27ca7f0208f8fbf685f9496d0b435303
diff -uNr -x README.html -x *~ /usr/ports/korean/ami/patches/patch-aa ami/patches/patch-aa
--- /usr/ports/korean/ami/patches/patch-aa	Thu Jan  1 09:00:00 1970
+++ ami/patches/patch-aa	Mon Jan 17 23:29:14 2000
@@ -0,0 +1,11 @@
+--- Ximd/Makefile.in~	Sun Jan  2 11:49:20 2000
++++ Ximd/Makefile.in	Mon Jan 17 23:29:02 2000
+@@ -86,7 +86,7 @@
+ cflags_set = @cflags_set@
+ cxxflags_set = @cxxflags_set@
+ 
+-INCLUDES = $(IMDKIT_DEFINES) $(GTK_CFLAGS)
++INCLUDES = $(IMDKIT_DEFINES) $(GTK_CFLAGS) $(GNOME_INCLUDEDIR)
+ 
+ noinst_LIBRARIES = libXimd.a
+ 
diff -uNr -x README.html -x *~ /usr/ports/korean/ami/patches/patch-ca ami/patches/patch-ca
--- /usr/ports/korean/ami/patches/patch-ca	Wed Sep  1 06:14:44 1999
+++ ami/patches/patch-ca	Thu Jan 20 22:41:07 2000
@@ -7,4 +7,4 @@
 +CFLAGS = -g -O2 `glib12-config --cflags`
  hanja-hwp2ami: hanja-hwp2ami.o
 -	$(CC) -o hanja-hwp2ami hanja-hwp2ami.o `glib-config --libs`
-+	$(CC) -o hanja-hwp2ami hanja-hwp2ami.o -lxpg4 `glib12-config --libs`
++	$(CC) -o hanja-hwp2ami hanja-hwp2ami.o `glib12-config --libs`
diff -uNr -x README.html -x *~ /usr/ports/korean/ami/pkg/COMMENT ami/pkg/COMMENT
--- /usr/ports/korean/ami/pkg/COMMENT	Wed Aug 25 14:41:13 1999
+++ ami/pkg/COMMENT	Sun Jan 16 20:27:54 2000
@@ -1 +1 @@
-Just another Korean X11 Input Method
+Well-known Korean X11 Input Method
diff -uNr -x README.html -x *~ /usr/ports/korean/ami/pkg/DESCR ami/pkg/DESCR
--- /usr/ports/korean/ami/pkg/DESCR	Wed Aug 25 14:41:13 1999
+++ ami/pkg/DESCR	Sun Jan 16 20:28:34 2000
@@ -7,3 +7,4 @@
 
 --
 CHOI Junho <cjh@kr.freebsd.org>
+WWW: http://www.kr.freebsd.org/~hwang/ami
diff -uNr -x README.html -x *~ /usr/ports/korean/ami/pkg/PLIST ami/pkg/PLIST
--- /usr/ports/korean/ami/pkg/PLIST	Mon Nov  1 10:24:09 1999
+++ ami/pkg/PLIST	Sat Jan 15 00:42:03 2000
@@ -1,5 +1,7 @@
 bin/ami
 bin/hanja-hwp2ami
+share/ami/gtkrc
+share/ami/hanja.dic
 share/doc/ami/XLC_LOCALE
 @comment copy new locale definition(no harm, so need not be uninstalled)
 @exec if [ -f %D/lib/X11/locale/ko/XLC_LOCALE ]; then mv -f %D/lib/X11/locale/ko/XLC_LOCALE %D/lib/X11/locale/ko/XLC_LOCALE.orig; fi
@@ -10,5 +12,5 @@
 share/doc/ami/NEWS
 share/doc/ami/COPYING
 share/doc/ami/ChangeLog
-share/doc/ami/gtkrc
+@dirrm share/ami
 @dirrm share/doc/ami

>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001261255.VAA26333>