summaryrefslogtreecommitdiff
path: root/inputmethod
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2010-05-20 08:18:00 +0000
committerobache <obache@pkgsrc.org>2010-05-20 08:18:00 +0000
commit350d0a34f06e926243bb4732fb65f7a800d2afbf (patch)
tree4c670ce9aad2e2122de6bab7b6a3ae86da3111c8 /inputmethod
parent10046e470fd1631db4c1b74a13153b1eceb4e42d (diff)
downloadpkgsrc-350d0a34f06e926243bb4732fb65f7a800d2afbf.tar.gz
Import im-ja-1.5 as inputmethod/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.
Diffstat (limited to 'inputmethod')
-rw-r--r--inputmethod/im-ja/DESCR6
-rw-r--r--inputmethod/im-ja/Makefile37
-rw-r--r--inputmethod/im-ja/PLIST47
-rw-r--r--inputmethod/im-ja/distinfo5
-rw-r--r--inputmethod/im-ja/options.mk65
5 files changed, 160 insertions, 0 deletions
diff --git a/inputmethod/im-ja/DESCR b/inputmethod/im-ja/DESCR
new file mode 100644
index 00000000000..9dbd8fa5192
--- /dev/null
+++ b/inputmethod/im-ja/DESCR
@@ -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.
diff --git a/inputmethod/im-ja/Makefile b/inputmethod/im-ja/Makefile
new file mode 100644
index 00000000000..5ff44a40597
--- /dev/null
+++ b/inputmethod/im-ja/Makefile
@@ -0,0 +1,37 @@
+# $NetBSD: Makefile,v 1.1.1.1 2010/05/20 08:18:00 obache Exp $
+#
+
+DISTNAME= im-ja-1.5
+CATEGORIES= inputmethod japanese
+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= gnu-gpl-v2 AND gnu-lgpl-v2 # AND bsd?
+
+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"
diff --git a/inputmethod/im-ja/PLIST b/inputmethod/im-ja/PLIST
new file mode 100644
index 00000000000..2428efebe7a
--- /dev/null
+++ b/inputmethod/im-ja/PLIST
@@ -0,0 +1,47 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2010/05/20 08:18:00 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
diff --git a/inputmethod/im-ja/distinfo b/inputmethod/im-ja/distinfo
new file mode 100644
index 00000000000..1f1f25d2d7d
--- /dev/null
+++ b/inputmethod/im-ja/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2010/05/20 08:18:00 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
diff --git a/inputmethod/im-ja/options.mk b/inputmethod/im-ja/options.mk
new file mode 100644
index 00000000000..27e84d2e9d7
--- /dev/null
+++ b/inputmethod/im-ja/options.mk
@@ -0,0 +1,65 @@
+# $NetBSD: options.mk,v 1.1.1.1 2010/05/20 08:18:00 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