Import im-ja-1.5 as wip/im-ja.

im-ja is a Japanese input module for GTK2 and also has a XIM server.
Currently supports hiragana, katakana, half-width katakana, zenkaku, canna, wnn,
anthy, skk and kanji character recognition inputs.
Conversion hotkeys, status window, preedit text colors, etc. can be customized
through a GUI. An optional applet is also included for the gnome-panel which
can be used to display and change the input method.
This commit is contained in:
OBATA Akio 2010-05-15 06:41:46 +00:00 committed by Thomas Klausner
parent 0c404a638c
commit 7f9e999a1c
5 changed files with 159 additions and 0 deletions

6
im-ja/DESCR Normal file
View file

@ -0,0 +1,6 @@
im-ja is a Japanese input module for GTK2 and also has a XIM server.
Currently supports hiragana, katakana, half-width katakana, zenkaku, canna, wnn,
anthy, skk and kanji character recognition inputs.
Conversion hotkeys, status window, preedit text colors, etc. can be customized
through a GUI. An optional applet is also included for the gnome-panel which
can be used to display and change the input method.

36
im-ja/Makefile Normal file
View file

@ -0,0 +1,36 @@
# $NetBSD: Makefile,v 1.1.1.1 2010/05/15 06:41:46 obache Exp $
#
DISTNAME= im-ja-1.5
CATEGORIES= inputmethod
MASTER_SITES= http://im-ja.sourceforge.net/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://im-ja.sourceforge.net/
COMMENT= Japanese input module for GTK2 and XIM server
#LICENSE= # TODO: (see mk/license.mk)
PKG_DESTDIR_SUPPORT= user-destdir
GNU_CONFIGURE= yes
USE_LIBTOOL= yes
USE_TOOLS+= intltool msgfmt pkg-config gmake
GCONF_SCHEMAS+= im-ja.schemas
GTK2_IMMODULES= yes
CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFDIR}
.include "options.mk"
SUBST_CLASSES+= fixpkgcfg
SUBST_STAGE.fixpkgcfg= pre-configure
SUBST_FILES.fixpkgcfg= configure
SUBST_SED.fixpkgcfg= -e 's|libpanelapplet-2.0|libgnomeui-2.0 libpanelapplet-2.0|g'
.include "../../devel/GConf/schemas.mk"
.include "../../devel/libglade/buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../x11/gtk2/modules.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../mk/bsd.pkg.mk"

47
im-ja/PLIST Normal file
View file

@ -0,0 +1,47 @@
@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/15 06:41:46 obache Exp $
bin/im-ja-conf
${PLIST.xim}bin/im-ja-xim-server
${PLIST.gnome}lib/bonobo/servers/GNOME_ImJaApplet.server
lib/gtk-2.0/2.10.0/immodules/im-ja.la
${PLIST.gnome}libexec/im-ja/im-ja-applet
libexec/im-ja/im-ja-helper
libexec/im-ja/kpengine
man/man1/im-ja-conf.1
${PLIST.xim}man/man1/im-ja-xim-server.1
share/applications/im-ja.desktop
${PLIST.gnome}share/gnome-2.0/ui/GNOME_ImJaApplet.xml
share/gconf/schemas/im-ja.schemas
share/im-ja/01.unistrok
share/im-ja/02.unistrok
share/im-ja/03.unistrok
share/im-ja/04.unistrok
share/im-ja/05.unistrok
share/im-ja/06.unistrok
share/im-ja/07.unistrok
share/im-ja/08.unistrok
share/im-ja/09.unistrok
share/im-ja/10.unistrok
share/im-ja/11.unistrok
share/im-ja/12.unistrok
share/im-ja/13.unistrok
share/im-ja/14.unistrok
share/im-ja/15.unistrok
share/im-ja/16.unistrok
share/im-ja/17.unistrok
share/im-ja/18.unistrok
share/im-ja/19.unistrok
share/im-ja/20.unistrok
share/im-ja/21.unistrok
share/im-ja/22.unistrok
share/im-ja/23.unistrok
share/im-ja/im-ja-conf.glade
share/im-ja/im-ja-doc.html
share/im-ja/im-ja-symbols.txt
share/im-ja/radkfile.utf8
share/locale/ca/LC_MESSAGES/im-ja.mo
share/locale/de/LC_MESSAGES/im-ja.mo
share/locale/es/LC_MESSAGES/im-ja.mo
share/locale/hu/LC_MESSAGES/im-ja.mo
share/locale/ja/LC_MESSAGES/im-ja.mo
share/pixmaps/im-ja-about.jpg
share/pixmaps/im-ja-capplet.png

5
im-ja/distinfo Normal file
View file

@ -0,0 +1,5 @@
$NetBSD: distinfo,v 1.1.1.1 2010/05/15 06:41:46 obache Exp $
SHA1 (im-ja-1.5.tar.gz) = 1f8b4b6286be0dd0e004db018203bb5ec1093674
RMD160 (im-ja-1.5.tar.gz) = 24c16b77bff1caa6b0fa439c4fc81f0772eb3eba
Size (im-ja-1.5.tar.gz) = 905539 bytes

65
im-ja/options.mk Normal file
View file

@ -0,0 +1,65 @@
# $NetBSD: options.mk,v 1.1.1.1 2010/05/15 06:41:46 obache Exp $
#
PKG_OPTIONS_VAR= PKG_OPTIONS.im-ja
PKG_SUPPORTED_OPTIONS= anthy canna skk gnome xim
PKG_SUGGESTED_OPTIONS= anthy canna skk gnome xim
.include "../../mk/bsd.options.mk"
PLIST_VARS+= gnome xim
#
# Canna support
#
.if !empty(PKG_OPTIONS:Mcanna)
.include "../../inputmethod/canna-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-canna
.endif
#
# Anthy support
#
.if !empty(PKG_OPTIONS:Manthy)
.include "../../inputmethod/anthy/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-anthy
.endif
#
# Wnn support
# XXX: broken, need shlib.
#
.if !empty(PKG_OPTIONS:Mwnn4)
.include "../../inputmethod/ja-freewnn-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-wnn
.endif
#
# SKK support
#
.if empty(PKG_OPTIONS:Mskk)
CONFIGURE_ARGS+= --disable-skk
.endif
#
# Gnome applet
#
.if !empty(PKG_OPTIONS:Mgnome)
.include "../../x11/gnome-panel/buildlink3.mk"
PLIST.gnome= yes
.else
CONFIGURE_ARGS+= --disable-gnome
.endif
#
# XIM support
#
.if !empty(PKG_OPTIONS:Mxim)
.include "../../x11/libX11/buildlink3.mk"
PLIST.xim= yes
.else
CONFIGURE_ARGS+= --disable-xim
.endif