ports/137360: Change japanese/uim-anthy:
YAMASHIRO Jun
yamajun at ofug.net
Sun Aug 2 16:30:07 UTC 2009
>Number: 137360
>Category: ports
>Synopsis: Change japanese/uim-anthy:
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Sun Aug 02 16:30:05 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator: YAMASHIRO Jun
>Release: FreeBSD/i386 8.0-BETA2
>Organization:
Okinawa FreeBSD Users Group
>Environment:
FreeBSD 8.0-BETA2 FreeBSD 8.0-BETA2 #3 r195861M: Sun Jul 26 02:40:25 JST 2009 yamajun@:/usr/obj/usr/src/sys/GENERIC i386
>Description:
Anthy module within UIM(japanese/uim-anthy) has a UTF-8 kana-kanji
dictionary support mode. But, japanese/uim-anthy isn't enable
UTF-8 mode(--with-anthy-utf8).
Merit of UTF-8 support.
* It enable input some characters only in Unicode.
* Make easy enable/disable optional dictionary(ex: 2ch dict, Okinawa dict).
>How-To-Repeat:
>Fix:
# cd /usr/ports/japanese/uim-anthy
# patch -p1 < /path/to/patch.diff
Patch attached with submission follows:
--- uim-anthy/Makefile.orig 2009-07-26 22:13:08.000000000 +0900
+++ uim-anthy/Makefile 2009-07-27 00:21:12.000000000 +0900
@@ -24,7 +24,7 @@
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
-CONFIGURE_ARGS= --with-anthy
+CONFIGURE_ARGS= --with-anthy --with-anthy-utf8
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS+= --with-gtk2 --enable-dict
@@ -37,18 +37,21 @@
do-build:
(cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy.la)
+ (cd ${WRKSRC}/uim && ${GMAKE} libuim-anthy-utf8.la)
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/helper && ${GMAKE} uim-dict-gtk)
.endif
do-install:
(cd ${WRKSRC}/uim && \
- ${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES)
+ ${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy.la install-uim_pluginLTLIBRARIES && \
+ ${GMAKE} uim_plugin_LTLIBRARIES=libuim-anthy-utf8.la install-uim_pluginLTLIBRARIES)
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/helper && ${GMAKE} bin_PROGRAMS=uim-dict-gtk install-binPROGRAMS install-uim_dict_uiDATA)
.endif
post-install:
${LOCALBASE}/bin/uim-module-manager --register anthy
+ ${LOCALBASE}/bin/uim-module-manager --register anthy-utf8
.include "${MASTERDIR}/Makefile"
--- uim-anthy/pkg-plist.orig 2009-07-27 00:18:00.000000000 +0900
+++ uim-anthy/pkg-plist 2009-07-27 00:18:12.000000000 +0900
@@ -2,7 +2,12 @@
lib/uim/plugin/libuim-anthy.a
lib/uim/plugin/libuim-anthy.la
lib/uim/plugin/libuim-anthy.so
+lib/uim/plugin/libuim-anthy-utf8.a
+lib/uim/plugin/libuim-anthy-utf8.la
+lib/uim/plugin/libuim-anthy-utf8.so
%%X11%%%%DATADIR%%/helperdata/uim-dict-ui.xml
@dirrmtry %%X11%%%%DATADIR%%/helperdata
@exec uim-module-manager --register anthy
+ at exec uim-module-manager --register anthy-utf8
@unexec uim-module-manager --unregister anthy
+ at unexec uim-module-manager --unregister anthy-utf8
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list