Bug 89388 - Add 'byeoru' module to japanese/uim
Summary: Add 'byeoru' module to japanese/uim
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: MANTANI Nobutaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-21 19:20 UTC by Sangwoo Shim
Modified: 2005-12-02 18:54 UTC (History)
0 users

See Also:


Attachments
file.diff (186 bytes, patch)
2005-11-21 19:20 UTC, Sangwoo Shim
no flags Details | Diff
file.diff (3.79 KB, patch)
2005-11-21 19:20 UTC, Sangwoo Shim
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Sangwoo Shim 2005-11-21 19:20:18 UTC
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
Comment 1 Mark Linimon freebsd_committer freebsd_triage 2005-11-21 22:22:10 UTC
Responsible Changed
From-To: freebsd-ports-bugs->nobutaka

Over to maintainer.
Comment 2 MANTANI Nobutaka freebsd_committer freebsd_triage 2005-11-30 16:21:46 UTC
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
Comment 3 MANTANI Nobutaka freebsd_committer freebsd_triage 2005-11-30 16:42:48 UTC
State Changed
From-To: open->feedback

Waiting for response from submitter.
Comment 4 Sangwoo Shim 2005-12-01 03:48:09 UTC
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>
Comment 5 MANTANI Nobutaka freebsd_committer freebsd_triage 2005-12-02 18:54:00 UTC
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.