japanese/anthy: Remove it and its consumers

japanese/anthy uses Debian Project's fork of Anthy as the upstream
(https://salsa.debian.org/debian/anthy). The development of the upstream
has stopped for five years. There is a newer fork, anthy-unicode
(https://github.com/fujiwarat/anthy-unicode) and we have its port
japanese/anthy-unicode.

japanese/anthy-unicode has become the replacement of japanese/anthy.

japanese/kasumi and japanese/uim-anthy have been removed.
japanese/kasumi-unicode and japanese/uim-anthy-unicode have become their
replacements.

japanese/fcitx-anthy, japanese/fcitx5-anthy, and japanese/ibus-anthy
have been unflavorized in accordance with the removal of japanese/anthy.

japanese/scim-anthy has been modified to support japanese/anthy-unicode.

CONFLICTS_INSTALL has been removed because there is no conflict now.
This commit is contained in:
MANTANI Nobutaka 2025-06-30 01:54:05 +09:00
parent 779e504136
commit c4a81f1b8d
27 changed files with 58 additions and 378 deletions

9
MOVED
View File

@ -4562,3 +4562,12 @@ textproc/py-libxml2|textproc/libxml2-python|2025-06-28|Use correct Python packag
audio/carla||2025-06-29|Remove expired port. Depends on expired audio/py-pyliblo
audio/lmms||2025-06-29|Remove expired port. Depends on expiring audio/carla
audio/py-pyliblo||2025-06-29|Remove expired port. Upstream is inactive for over 9 years
japanese/anthy|japanese/anthy-unicode|2025-06-29|Has expired: Use japanese/anthy-unicode instead
japanese/kasumi|japanese/kasumi-unicode|2025-06-29|Has expired: Use japanese/kasumi-unicode instead
japanese/uim-anthy|japanese/uim-anthy-unicode|2025-06-29|Has expired: Use japanese/uim-anthy-unicode instead
japanese/fcitx-anthy@original|japanese/fcitx-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/fcitx-anthy@unicode|japanese/fcitx-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/fcitx5-anthy@original|japanese/fcitx5-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/fcitx5-anthy@unicode|japanese/fcitx5-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/ibus-anthy@original|japanese/ibus-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported
japanese/ibus-anthy@unicode|japanese/ibus-anthy|2025-06-29|Has unflavorized: japanese/anthy was removed and only japanese/anthy-unicode is supported

View File

@ -5,6 +5,31 @@ they are unavoidable.
You should get into the habit of checking this file for changes each time
you update your ports collection, before attempting any port upgrades.
20250629:
AFFECTS: users of japanese/anthy
AUTHOR: nobutaka@FreeBSD.org
japanese/anthy has been removed. Please use japanese/anthy-unicode as the
replacement.
japanese/anthy and japanese/anthy-unicode use different user dictionary
file location.
japanese/anthy: ~/.anthy/private_words_default
japanese/anthy-unicode: ~/.config/anthy/private_words_default
You can migrate your user dictionary for japanese/anthy with
anthy-dic-tool-unicode.
anthy-dic-tool-unicode --migrate
If you use the japanese-anthy or japanese-anthy-uim input method on Emacs,
please change them in your Emacs init file such as ~/.emacs.el and ~/.emacs
as follows:
japanese-anthy -> japanese-anthy-unicode
japanese-anthy-uim -> japanese-anthy-utf8-uim
20250627:
AFFECTS: users of finance/ktoblzcheck
AUTHOR: jhale@FreeBSD.org

View File

@ -13,7 +13,6 @@
SUBDIR += ajaxzip2-data
SUBDIR += alias-fonts
SUBDIR += another-htmllint
SUBDIR += anthy
SUBDIR += anthy-unicode
SUBDIR += aobook
SUBDIR += bible_names-fpw
@ -142,7 +141,6 @@
SUBDIR += jls
SUBDIR += jvim3
SUBDIR += kakasi
SUBDIR += kasumi
SUBDIR += kasumi-unicode
SUBDIR += kbanner
SUBDIR += kcc
@ -280,7 +278,6 @@
SUBDIR += timidity++-slang
SUBDIR += today
SUBDIR += tomoe
SUBDIR += uim-anthy
SUBDIR += uim-anthy-unicode
SUBDIR += uim-mozc
SUBDIR += uim-tomoe-gtk

View File

@ -19,8 +19,6 @@ USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
CONFLICTS_INSTALL= ja-anthy
ELISPDIR= share/emacs/site-lisp/anthy-unicode
PLIST_SUB= ELISPDIR=${ELISPDIR}

View File

@ -1,77 +0,0 @@
PORTNAME= anthy
PORTVERSION= 0.4
PORTREVISION= 5
PORTEPOCH= 1
CATEGORIES= japanese
MASTER_SITES= DEBIAN
DISTFILES= ${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX}
EXTRACT_ONLY= ${DISTNAME:S/-/_/}.orig${EXTRACT_SUFX}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Another Kana-Kanji conversion system
WWW= https://salsa.debian.org/debian/anthy
LICENSE= GPLv2 LGPL21
LICENSE_COMB= multi
LICENSE_FILE_GPLv2= ${WRKSRC}/alt-cannadic/COPYING
LICENSE_FILE_LGPL21= ${WRKSRC}/COPYING
USES= iconv:patch libtool pathfix pkgconfig
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
INSTALL_TARGET= install-strip
DOCSDIR= ${PREFIX}/share/doc/ja/anthy
ELISPDIR= share/emacs/site-lisp/anthy
PLIST_SUB= ELISPDIR=${ELISPDIR}
CONFLICTS_INSTALL= ja-anthy-unicode
OPTIONS_DEFINE= ODIC GSKKDIC DOCS
ODIC_DESC= Okinawa Dictionary
GSKKDIC_DESC= SKK Dictionary
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MODIC}
MASTER_SITES+= http://www.ofug.net/~yamajun/files/:odic
DISTFILES+= ${ODIC_SRCS}:odic
ODIC_SRCS= ${ODIC_VERS}.t
ODIC_VERS= okinawa-20070717
.endif
.if ${PORT_OPTIONS:MGSKKDIC}
MASTER_SITES+= http://www.ohnolab.org/~kimoto/:gskk
DISTFILES+= ${GSKK_SRCS}:gskk
GSKK_SRCS= ${GSKK_VERS}.t.gz
GSKK_VERS= gskk-20041208
.endif
post-extract:
.if ${PORT_OPTIONS:MODIC}
${CP} ${DISTDIR}/${DIST_SUBDIR}/${ODIC_SRCS} ${WRKSRC}/mkworddic
${PRINTF} "/mkworddic\\\\/base.t/a\\\\\\nread @top_srcdir@/mkworddic/${ODIC_SRCS}\\n" | \
${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkworddic/dict.args.in
.endif
.if ${PORT_OPTIONS:MGSKKDIC}
${CP} ${DISTDIR}/${DIST_SUBDIR}/${GSKK_SRCS} ${WRKSRC}/mkworddic
${GUNZIP_CMD} ${WRKSRC}/mkworddic/${GSKK_SRCS}
${PRINTF} "/mkworddic\\\\/base.t/a\\\\\\nread @top_srcdir@/mkworddic/${GSKK_VERS}.t\\n" | \
${REINPLACE_CMD} -f /dev/stdin ${WRKSRC}/mkworddic/dict.args.in
.endif
post-patch:
${REINPLACE_CMD} -e \
's| install-lispLISP||g' ${WRKSRC}/src-util/Makefile.in
${CP} ${WRKSRC}/src-util/rkhelper.c ${WRKSRC}/src-util/rkhelper.c.orig
${ICONV_CMD} -f utf-8 -t euc-jp ${WRKSRC}/src-util/rkhelper.c.orig > ${WRKSRC}/src-util/rkhelper.c
post-install:
${MKDIR} ${STAGEDIR}${PREFIX}/${ELISPDIR}
${INSTALL_DATA} ${WRKSRC}/src-util/*.el ${STAGEDIR}${PREFIX}/${ELISPDIR}
${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/doc/ELISP ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,7 +0,0 @@
TIMESTAMP = 1569037948
SHA256 (anthy_0.4.orig.tar.gz) = fdf590beea7093f3327b1eee76013e4936e4c6659e7cc01dd1fdd6e6f2e9c9f7
SIZE (anthy_0.4.orig.tar.gz) = 5619024
SHA256 (okinawa-20070717.t) = dd7c9d5e5bfe3f7632af3aa4dbf707da7578c1cd31a4d614944b26d6b194b204
SIZE (okinawa-20070717.t) = 158199
SHA256 (gskk-20041208.t.gz) = d366b0b76d8b39c33244aa289c758663c260ef4402eaf49f0f53d14d55efbad7
SIZE (gskk-20041208.t.gz) = 760867

View File

@ -1,29 +0,0 @@
--- src-diclib/u2e.h.orig 2019-07-05 02:37:13 UTC
+++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4ae,0xa4af,

View File

@ -1,38 +0,0 @@
--- src-util/anthy.el.orig 2019-07-05 02:37:13 UTC
+++ src-util/anthy.el
@@ -71,7 +71,7 @@
(defvar anthy-highlight-face nil)
(defvar anthy-underline-face nil)
(copy-face 'highlight 'anthy-highlight-face)
-(set-face-underline-p 'anthy-highlight-face t)
+(set-face-underline 'anthy-highlight-face t)
(copy-face 'underline 'anthy-underline-face)
;;
@@ -745,7 +745,7 @@
(if anthy-agent-process
(kill-process anthy-agent-process))
(setq anthy-agent-process proc)
- (process-kill-without-query proc)
+ (set-process-query-on-exit-flag proc nil)
(if anthy-xemacs
(if (coding-system-p (find-coding-system 'euc-japan))
(set-process-coding-system proc 'euc-japan 'euc-japan))
@@ -864,7 +864,7 @@
;; leim $B$N(B activate
;;
(defun anthy-leim-activate (&optional name)
- (setq inactivate-current-input-method-function 'anthy-leim-inactivate)
+ (setq deactivate-current-input-method-function 'anthy-leim-inactivate)
(setq anthy-leim-active-p t)
(anthy-update-mode)
(when (eq (selected-window) (minibuffer-window))
@@ -874,7 +874,7 @@
;; emacs$B$N%P%0Hr$1$i$7$$$G$9(B
;;
(defun anthy-leim-exit-from-minibuffer ()
- (inactivate-input-method)
+ (deactivate-input-method)
(when (<= (minibuffer-depth) 1)
(remove-hook 'minibuffer-exit-hook 'anthy-leim-exit-from-minibuffer)))

View File

@ -1,6 +0,0 @@
Anthy is a Japanese input method working on X11 and emacs.
It converts Hiragana text to Kana Kanji mixed text.
Supplemental 2ch BBS terms dictionary which is installed by WITH_2CHDIC knob
is developed by Omaemona 2ch/Linux (DQN) Project.
(http://omaemona.sourceforge.net/packages/Zisyo/)

View File

@ -1,31 +0,0 @@
bin/anthy-agent
bin/anthy-dic-tool
etc/anthy-conf
include/anthy/anthy.h
include/anthy/dicutil.h
include/anthy/input.h
lib/libanthy.a
lib/libanthy.so
lib/libanthy.so.1
lib/libanthy.so.1.1.2
lib/libanthydic.a
lib/libanthydic.so
lib/libanthydic.so.1
lib/libanthydic.so.1.1.3
lib/libanthyinput.a
lib/libanthyinput.so
lib/libanthyinput.so.0
lib/libanthyinput.so.0.0.0
libdata/pkgconfig/anthy.pc
%%DATADIR%%/anthy.dic
%%DATADIR%%/dic-tool-usage.txt
%%DATADIR%%/typetab
%%DATADIR%%/zipcode.t
%%PORTDOCS%%%%DOCSDIR%%/ELISP
%%ELISPDIR%%/anthy-azik.el
%%ELISPDIR%%/anthy-conf.el
%%ELISPDIR%%/anthy-dic.el
%%ELISPDIR%%/anthy-isearch.el
%%ELISPDIR%%/anthy-kyuri.el
%%ELISPDIR%%/anthy.el
%%ELISPDIR%%/leim-list.el

View File

@ -1,5 +1,6 @@
PORTNAME= fcitx-anthy
DISTVERSION= 0.2.4
PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= http://download.fcitx-im.org/${PORTNAME}/
DIST_SUBDIR= fcitx
@ -13,19 +14,8 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash \
fcitx:chinese/fcitx
FLAVORS= original unicode
FLAVOR?= ${FLAVORS:[1]}
LIB_DEPENDS= libanthy-unicode.so:japanese/anthy-unicode
USES= cmake gettext gnome pkgconfig tar:xz
.if ${FLAVOR} == original
LIB_DEPENDS+= libanthy.so:japanese/anthy
CONFLICTS_INSTALL= ${PORTNAME}-unicode
.else
PKGNAMESUFFIX= -unicode
LIB_DEPENDS+= libanthy-unicode.so:japanese/anthy-unicode
CONFLICTS_INSTALL= ${PORTNAME}
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
PORTNAME= fcitx5-anthy
DISTVERSION= 5.1.6
PORTREVISION= 1
CATEGORIES= japanese textproc
MASTER_SITES= https://download.fcitx-im.org/fcitx5/${PORTNAME}/
@ -10,22 +11,11 @@ WWW= https://github.com/fcitx/fcitx5-anthy
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/LICENSES/GPL-2.0-or-later.txt
LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5
FLAVORS= original unicode
FLAVOR?= ${FLAVORS:[1]}
LIB_DEPENDS= libFcitx5Core.so:textproc/fcitx5 \
libanthy-unicode.so:japanese/anthy-unicode
USES= cmake compiler:c++17-lang gettext-tools kde:5 pkgconfig tar:zst
USE_KDE= ecm
.if ${FLAVOR} == original
LIB_DEPENDS+= libanthy.so:japanese/anthy
CONFLICTS_INSTALL= ${PORTNAME}-unicode
.else
PKGNAMESUFFIX= -unicode
LIB_DEPENDS+= libanthy-unicode.so:japanese/anthy-unicode
CONFLICTS_INSTALL= ${PORTNAME}
.endif
.include <bsd.port.mk>

View File

@ -1,5 +1,6 @@
PORTNAME= ibus-anthy
DISTVERSION= 1.5.17
PORTREVISION= 1
CATEGORIES= japanese
MASTER_SITES= https://github.com/ibus/ibus-anthy/releases/download/${DISTVERSION}/
PKGNAMEPREFIX= ja-
@ -11,15 +12,8 @@ WWW= https://github.com/ibus/ibus-anthy
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libibus-1.0.so:textproc/ibus
FLAVORS= original unicode
original_LIB_DEPENDS= libanthy.so:japanese/anthy
original_CONFLICTS_INSTALL= ${PORTNAME}-unicode
unicode_PKGNAMESUFFIX= -unicode
unicode_LIB_DEPENDS= libanthy-unicode.so:japanese/anthy-unicode
unicode_CONFLICTS_INSTALL= ${PORTNAME}
LIB_DEPENDS= libibus-1.0.so:textproc/ibus \
libanthy-unicode.so:japanese/anthy-unicode
USES= gettext gmake gnome libtool pkgconfig python
USE_GNOME= pygobject3

View File

@ -19,8 +19,6 @@ USE_GNOME= gtk30
GNU_CONFIGURE= yes
CONFLICTS_INSTALL= kasumi
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes

View File

@ -1,38 +0,0 @@
PORTNAME= kasumi
PORTVERSION= 2.5
PORTREVISION= 10
CATEGORIES= japanese
MASTER_SITES= OSDN/${PORTNAME}
MAINTAINER= nobutaka@FreeBSD.org
COMMENT= Dictionary management tool for anthy
WWW= http://kasumi.sourceforge.jp/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libanthy.so:japanese/anthy \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= compiler:c++11-lang gmake gnome iconv:wchar_t localbase:ldflags pkgconfig
USE_GNOME= gtk20 cairo gdkpixbuf
USE_CXXSTD= c++11
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
OPTIONS_DEFINE= NLS
CONFLICTS_INSTALL= kasumi-unicode
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MNLS}
USES+= gettext
PLIST_SUB+= NLS=""
.else
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
.endif
.include <bsd.port.mk>

View File

@ -1,2 +0,0 @@
SHA256 (kasumi-2.5.tar.gz) = f21841ac9991e365abdb515e2c2a1ec9be5914fe8562f01e8571264ceb2528de
SIZE (kasumi-2.5.tar.gz) = 279587

View File

@ -1,10 +0,0 @@
--- KasumiDic.cxx.orig 2007-10-30 15:09:23 UTC
+++ KasumiDic.cxx
@@ -75,7 +75,6 @@ void KasumiDic::load(KasumiConfiguration *conf)
const int FREQ_UBOUND = conf->getPropertyValueByInt("MaxFrequency");
int anthy_version = atoi(anthy_get_version_string());
- assert(anthy_version != 0);
try{
if(anthy_priv_dic_select_first_entry() == -1){

View File

@ -1,11 +0,0 @@
--- KasumiException.hxx.orig 2006-05-26 17:41:25 UTC
+++ KasumiException.hxx
@@ -30,6 +30,8 @@
#include "config.h"
#endif
+#include <string>
+
using namespace std;
enum _output {STDOUT, STDERR, ERR_DIALOG, WARNING_DIALOG};

View File

@ -1,20 +0,0 @@
--- configure.orig 2009-07-17 00:52:02 UTC
+++ configure
@@ -7365,7 +7365,7 @@ fi
fi
if test "X$ltrpathdirs" != "X"; then
for found_dir in $ltrpathdirs; do
- LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
+ LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }"
done
fi
@@ -8587,7 +8587,7 @@ fi
fi
if test "X$ltrpathdirs" != "X"; then
for found_dir in $ltrpathdirs; do
- LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }-R$found_dir"
+ LTLIBINTL="${LTLIBINTL}${LTLIBINTL:+ }"
done
fi

View File

@ -1 +0,0 @@
Kasumi is a dictionary management tool for anthy kana-kanji conversion system.

View File

@ -1,6 +0,0 @@
bin/kasumi
share/man/man1/kasumi.1.gz
%%NLS%%share/locale/ja/LC_MESSAGES/kasumi.mo
%%NLS%%share/locale/it/LC_MESSAGES/kasumi.mo
share/applications/kasumi.desktop
share/pixmaps/kasumi.png

View File

@ -1,6 +1,6 @@
PORTNAME= scim-anthy
PORTVERSION= 1.2.7
PORTREVISION= 7
PORTREVISION= 8
CATEGORIES= japanese
MASTER_SITES= OSDN/scim-imengine
@ -12,14 +12,16 @@ LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= scim:textproc/scim
LIB_DEPENDS= libanthy.so:japanese/anthy \
LIB_DEPENDS= libanthy-unicode.so:japanese/anthy-unicode \
libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
RUN_DEPENDS:= ${BUILD_DEPENDS} \
kasumi:japanese/kasumi
kasumi:japanese/kasumi-unicode
USES= gettext-runtime gmake gnome iconv libtool:keepla pkgconfig
USE_GNOME= atk cairo gdkpixbuf glib20 gtk20 pango
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include/anthy-unicode-1.0
.include <bsd.port.mk>

View File

@ -0,0 +1,11 @@
--- configure.orig 2025-06-28 16:38:51 UTC
+++ configure
@@ -31260,7 +31260,7 @@ fi
fi
-ANTHY_LIBS="-lanthy -lanthydic"
+ANTHY_LIBS="-lanthy-unicode -lanthydic-unicode"
ANTHY_CFLAGS=""

View File

@ -25,8 +25,6 @@ CONFIGURE_ARGS= --with-anthy-utf8
CONFIGURE_ARGS+= --with-gtk3 --enable-dict
.endif
CONFLICTS_INSTALL= ja-uim-anthy
UIM_SLAVE= yes
do-build:

View File

@ -1,47 +0,0 @@
CATEGORIES= japanese
.if defined(WITHOUT_X11)
PKGNAMESUFFIX= -anthy-nox11
.else
PKGNAMESUFFIX= -anthy
.endif
COMMENT= Uim plugin using Anthy input method
.if !defined(WITHOUT_X11)
USE_GNOME= cairo gdkpixbuf gtk30
.endif
LIB_DEPENDS= libanthy.so:japanese/anthy \
libfreetype.so:print/freetype2 \
libuim.so:textproc/uim \
libfontconfig.so:x11-fonts/fontconfig \
libharfbuzz.so:print/harfbuzz
MASTERDIR= ${.CURDIR}/../../textproc/uim
PKGDIR= ${.CURDIR}
CONFIGURE_ARGS= --with-anthy --with-anthy-utf8
.if !defined(WITHOUT_X11)
CONFIGURE_ARGS+= --with-gtk3 --enable-dict
.endif
CONFLICTS_INSTALL= ja-uim-anthy-unicode
UIM_SLAVE= yes
do-build:
(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-anthy.la)
(cd ${WRKSRC}/uim && ${MAKE_CMD} libuim-anthy-utf8.la)
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/gtk3/dict && ${MAKE_CMD} uim-dict-gtk3)
.endif
do-install:
(cd ${WRKSRC}/uim && \
${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-anthy.la INSTALL_STRIP_FLAG=-s install-uim_pluginLTLIBRARIES && \
${MAKE_CMD} DESTDIR=${STAGEDIR} uim_plugin_LTLIBRARIES=libuim-anthy-utf8.la INSTALL_STRIP_FLAG=-s install-uim_pluginLTLIBRARIES)
.if !defined(WITHOUT_X11)
(cd ${WRKSRC}/gtk3/dict && ${MAKE_CMD} DESTDIR=${STAGEDIR} bin_PROGRAMS=uim-dict-gtk3 INSTALL_STRIP_FLAG=-s install-binPROGRAMS install-uim_dict_uiDATA)
.endif
.include "${MASTERDIR}/Makefile"

View File

@ -1 +0,0 @@
uim plugin using Anthy input method.

View File

@ -1,8 +0,0 @@
%%X11%%bin/uim-dict-gtk3
lib/uim/plugin/libuim-anthy.so
lib/uim/plugin/libuim-anthy-utf8.so
%%X11%%%%DATADIR%%/helperdata/uim-dict-ui.xml
@postexec uim-module-manager --register anthy
@postexec uim-module-manager --register anthy-utf8
@preunexec uim-module-manager --unregister anthy
@preunexec uim-module-manager --unregister anthy-utf8