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?) Fix: patch against $PORTS/japanese/uim. Also can be downloaded at http://swoo.org/~sangwoo/uim-byeoru.diff %%% 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
Responsible Changed From-To: freebsd-ports-bugs->nobutaka Over to maintainer.
Hi, Checksums and file size of fetched byeoru-dic.scm are different from them in your patch. Which is correct? checksums and file size in your patch: MD5 (byeoru-dic.scm) = 95537e53fd9a03dad73fb92f97723f16 SHA256 (byeoru-dic.scm) = 1c5b71623a4dbf5fb8ee45dcd6fc58b1732d858033836fe3f6f42abdc001eed4 SIZE (byeoru-dic.scm) = 363899 checksums and file size calculated from fetched byeoru-dic.scm: MD5 (byeoru-dic.scm) = cee301bd14f261f8a35a695238595dd5 SHA256 (byeoru-dic.scm) = 9322999fc523c632d2b751015273a1c1d69479808136666764c210ef0c4be7fa SIZE (byeoru-dic.scm) = 1246039 -- MANTANI Nobutaka nobutaka@nobutaka.org, nobutaka@freebsd.org
State Changed From-To: open->feedback Waiting for response from submitter.
2005/12/1, MANTANI Nobutaka <nobutaka@freebsd.org>: > Hi, > > Checksums and file size of fetched byeoru-dic.scm are different from them= in your patch. Which is correct? > > checksums and file size in your patch: > MD5 (byeoru-dic.scm) =3D 95537e53fd9a03dad73fb92f97723f16 > SHA256 (byeoru-dic.scm) =3D 1c5b71623a4dbf5fb8ee45dcd6fc58b1732d858033836= fe3f6f42abdc001eed4 > SIZE (byeoru-dic.scm) =3D 363899 > > checksums and file size calculated from fetched byeoru-dic.scm: > MD5 (byeoru-dic.scm) =3D cee301bd14f261f8a35a695238595dd5 > SHA256 (byeoru-dic.scm) =3D 9322999fc523c632d2b751015273a1c1d694798081366= 66764c210ef0c4be7fa > SIZE (byeoru-dic.scm) =3D 1246039 > Recently there was a feature addition to byeoru, which enables Korean->Chinese word conversion. I think this is the reason for the checksum change. Of course, we should use the recent dic module and checksum. :-) See http://lists.freedesktop.org/archives/uim/2005-November/001375.html > > -- > MANTANI Nobutaka > nobutaka@nobutaka.org, nobutaka@freebsd.org > -- Regards, Sangwoo Shim <sangwoos at gmail.com>
State Changed From-To: feedback->closed Committed, thanks! patch-scm:Makefile.am is not added since it is not necessary for build. Moving uim port to textproc category is also done.