Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 21 Nov 2005 19:15:54 GMT
From:      Sangwoo Shim <sangwoos@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/89388: Add 'byeoru' module to ja-uim
Message-ID:  <200511211915.jALJFsBE089190@www.freebsd.org>
Resent-Message-ID: <200511211920.jALJKJFq069621@freefall.freebsd.org>

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

>Number:         89388
>Category:       ports
>Synopsis:       Add 'byeoru' module to ja-uim
>Confidential:   no
>Severity:       non-critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Mon Nov 21 19:20:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sangwoo Shim
>Release:        7-CURRENT
>Organization:
Seoul Natl' Univ. (ROK)
>Environment:
FreeBSD ssw.dyndns.org 7.0-CURRENT FreeBSD 7.0-CURRENT #0: Thu Nov 17 00:00:02 KST 2005     root@ssw.dyndns.org:/usr/obj/usr/src/sys/SSW  amd64
>Description:
The 'byeoru' module (developed by Jae-hyeon Park) is far more superior to default hangul2/hangul3 module. And it was merged to 0.5 version of uim, and will serve as the default hangul input module in the future.
In the meantime, this patch will make available byeoru module in 0.4 series of uim.

One more note: Shouldn't uim be moved to textproc (like SCIM?)
>How-To-Repeat:
              
>Fix:
              patch against $PORTS/japanese/uim.
Also can be downloaded at http://swoo.org/~sangwoo/uim-byeoru.diff

%%%
diff -urN /usr/ports/japanese/uim/Makefile uim/Makefile
--- /usr/ports/japanese/uim/Makefile    Thu Nov 17 00:33:35 2005
+++ uim/Makefile        Tue Nov 22 04:10:06 2005
@@ -7,9 +7,10 @@

 PORTNAME=      uim
 PORTVERSION=   0.4.9.1
-PORTREVISION=  1
+PORTREVISION=  2
 CATEGORIES=    japanese x11
-MASTER_SITES=  http://uim.freedesktop.org/releases/
+MASTER_SITES=  http://uim.freedesktop.org/releases/ \
+               http://www.tuhep.phys.tohoku.ac.jp/~jhpark/uim/:byeoru

 MAINTAINER=    nobutaka@FreeBSD.org
 COMMENT=       Input method library
@@ -30,6 +31,10 @@
                LDFLAGS="-L${X11BASE}/lib  -L${LOCALBASE}/lib"
 DOCSDIR_JA=    ${PREFIX}/share/doc/ja/uim
 PLIST_SUB+=    DOCSDIR_JA="${DOCSDIR_JA:S,^${PREFIX}/,,}"
+BYEORU_FILES=  byeoru.scm byeoru-custom.scm byeoru-key-custom.scm \
+               byeoru-symbols.scm byeoru-dic.scm
+DISTFILES=     ${DISTNAME}${EXTRACT_SUFX} ${BYEORU_FILES:S/$/:byeoru/}
+EXTRACT_ONLY=  ${DISTNAME}${EXTRACT_SUFX}

 MAN1=          uim-xim.1

@@ -69,6 +74,11 @@
 .else
 PLIST_SUB+=    CANNA="@comment "
 .endif
+
+post-extract:
+       for i in ${BYEORU_FILES}; do \
+               ${CAT} ${DISTDIR}/$$i >${WRKSRC}/scm/$$i; \
+       done

 post-patch:
        ${REINPLACE_CMD} -e 's,%%LOCALBASE%%,${LOCALBASE},' ${WRKSRC}/scm/skk-custom.scm
diff -urN /usr/ports/japanese/uim/distinfo uim/distinfo
--- /usr/ports/japanese/uim/distinfo    Sun Oct  2 01:47:34 2005
+++ uim/distinfo        Tue Nov 22 03:58:46 2005
@@ -1,2 +1,18 @@
 MD5 (uim-0.4.9.1.tar.gz) = 0e2625cc926917d7864c4d0c341c535a
+SHA256 (uim-0.4.9.1.tar.gz) = caad8b67e892f6bff08640dba799ecde97218dec0dd58581e7ccbfa15e870dfc
 SIZE (uim-0.4.9.1.tar.gz) = 1602849
+MD5 (byeoru.scm) = 705eb5e99bccad6265eaaf0941d0ac88
+SHA256 (byeoru.scm) = 06517e1c31b350fb48248747bb8245aad0afe76f16129cecfb41fcfcc8c87065
+SIZE (byeoru.scm) = 68232
+MD5 (byeoru-custom.scm) = e38397bfad45cec132b234b53c6b7279
+SHA256 (byeoru-custom.scm) = e221cfe1007b921009279c5de945e1f055bd7ccb19662f7e75dd0b348ffaed31
+SIZE (byeoru-custom.scm) = 5664
+MD5 (byeoru-key-custom.scm) = 583381445b69fe23cb3d20afeedf5c3a
+SHA256 (byeoru-key-custom.scm) = cb99ed2fbe1cac7a1f4056f834b15428d119d918e28ff0a332235ee4eb00f3e8
+SIZE (byeoru-key-custom.scm) = 4254
+MD5 (byeoru-symbols.scm) = ea7f88d399cdf2f06908b884188f2e84
+SHA256 (byeoru-symbols.scm) = 526f187a9e2dd9c3996f4fcdcb5af915cfe0da89eae8c84c54d5c38f5480b6de
+SIZE (byeoru-symbols.scm) = 12379
+MD5 (byeoru-dic.scm) = 95537e53fd9a03dad73fb92f97723f16
+SHA256 (byeoru-dic.scm) = 1c5b71623a4dbf5fb8ee45dcd6fc58b1732d858033836fe3f6f42abdc001eed4
+SIZE (byeoru-dic.scm) = 363899
diff -urN /usr/ports/japanese/uim/files/patch-scm:Makefile.am uim/files/patch-scm:Makefile.am
--- /usr/ports/japanese/uim/files/patch-scm:Makefile.am Thu Jan  1 09:00:00 1970+++ uim/files/patch-scm:Makefile.am     Tue Nov 22 03:29:07 2005
@@ -0,0 +1,20 @@
+--- scm/Makefile.am.orig       Tue Sep 27 05:57:06 2005
++++ scm/Makefile.am    Tue Nov 22 03:25:30 2005
+@@ -21,6 +21,8 @@
+  tcode.scm \
+  tutcode.scm tutcode-key-custom.scm \
+  hangul.scm hangul2.scm hangul3.scm romaja.scm \
++ byeoru.scm byeoru-dic.scm byeoru-symbols.scm \
++ byeoru-custom.scm byeoru-key-custom.scm \
+  viqr.scm \
+  ipa-x-sampa.scm \
+  latin.scm \
+@@ -47,7 +49,7 @@
+ if SKK
+   module_names += "skk"
+ endif
+-module_names += "tcode" "tutcode" "hangul" "viqr" "ipa-x-sampa" "latin"
++module_names += "tcode" "tutcode" "byeoru" "hangul" "viqr" "ipa-x-sampa" "latin"
+ if M17NLIB
+   module_names += "m17nlib"
+ endif
diff -urN /usr/ports/japanese/uim/files/patch-scm:Makefile.in uim/files/patch-scm:Makefile.in
--- /usr/ports/japanese/uim/files/patch-scm:Makefile.in Thu Jan  1 09:00:00 1970+++ uim/files/patch-scm:Makefile.in     Tue Nov 22 03:28:59 2005
@@ -0,0 +1,20 @@
+--- scm/Makefile.in.orig       Tue Nov 22 03:25:25 2005
++++ scm/Makefile.in    Tue Nov 22 03:27:10 2005
+@@ -283,6 +283,8 @@
+  tcode.scm \
+  tutcode.scm tutcode-key-custom.scm \
+  hangul.scm hangul2.scm hangul3.scm romaja.scm \
++ byeoru.scm byeoru-dic.scm byeoru-symbols.scm \
++ byeoru-custom.scm byeoru-key-custom.scm \
+  viqr.scm \
+  ipa-x-sampa.scm \
+  latin.scm \
+@@ -293,7 +295,7 @@
+  uim-module-manager.scm\
+ $(am__append_1)
+
+-module_names = "pyload" $(am__append_2) $(am__append_3) $(am__append_4) $(am__append_5) "tcode" "tutcode" "hangul" "viqr" "ipa-x-sampa" "latin" $(am__append_6) $(am__append_7)
++module_names = "pyload" $(am__append_2) $(am__append_3) $(am__append_4) $(am__append_5) "tcode" "tutcode" "byeoru" "hangul" "viqr" "ipa-x-sampa" "latin" $(am__append_6) $(am__append_7)
+ subdir = scm
+ ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
+ mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
diff -urN /usr/ports/japanese/uim/pkg-plist uim/pkg-plist
--- /usr/ports/japanese/uim/pkg-plist   Wed Sep 21 01:47:44 2005
+++ uim/pkg-plist       Tue Nov 22 03:35:01 2005
@@ -58,6 +58,11 @@
 share/uim/generic-custom.scm
 share/uim/generic-key-custom.scm
 share/uim/generic.scm
+share/uim/byeoru.scm
+share/uim/byeoru-custom.scm
+share/uim/byeoru-key-custom.scm
+share/uim/byeoru-symbols.scm
+share/uim/byeoru-dic.scm
 share/uim/hangul.scm
 share/uim/hangul2.scm
 share/uim/hangul3.scm
%%%
>Release-Note:
>Audit-Trail:
>Unformatted:



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