[Lunar-commits] r15966 - in moonbase/trunk/i18n: . Canna Canna/init.d
Auke Kok
sofar at lunar-linux.org
Mon Aug 1 08:37:16 UTC 2005
Author: sofar
Date: 2005-08-01 08:37:13 +0000 (Mon, 01 Aug 2005)
New Revision: 15966
Added:
moonbase/trunk/i18n/Canna/
moonbase/trunk/i18n/Canna/BUILD
moonbase/trunk/i18n/Canna/DEPENDS
moonbase/trunk/i18n/Canna/DETAILS
moonbase/trunk/i18n/Canna/init.d/
moonbase/trunk/i18n/Canna/init.d/canna
Log:
Adding Japanese Input server "Canna" (needs kinput2 or similar, coming later)
Added: moonbase/trunk/i18n/Canna/BUILD
===================================================================
--- moonbase/trunk/i18n/Canna/BUILD 2005-08-01 08:17:34 UTC (rev 15965)
+++ moonbase/trunk/i18n/Canna/BUILD 2005-08-01 08:37:13 UTC (rev 15966)
@@ -0,0 +1,9 @@
+(
+
+ sedit "s:define DefCannaPrefix .*:define DefCannaPrefix /usr:" Canna.conf &&
+ xmkmf &&
+ make canna &&
+ prepare_install &&
+ make install
+
+) > $C_FIFO 2>&1
Added: moonbase/trunk/i18n/Canna/DEPENDS
===================================================================
--- moonbase/trunk/i18n/Canna/DEPENDS 2005-08-01 08:17:34 UTC (rev 15965)
+++ moonbase/trunk/i18n/Canna/DEPENDS 2005-08-01 08:37:13 UTC (rev 15966)
@@ -0,0 +1 @@
+depends %X
Added: moonbase/trunk/i18n/Canna/DETAILS
===================================================================
--- moonbase/trunk/i18n/Canna/DETAILS 2005-08-01 08:17:34 UTC (rev 15965)
+++ moonbase/trunk/i18n/Canna/DETAILS 2005-08-01 08:37:13 UTC (rev 15966)
@@ -0,0 +1,14 @@
+ MODULE=Canna
+ VERSION=37p3
+ PKG=${MODULE}${VERSION}
+ SOURCE=${PKG}.tar.bz2
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${PKG}/
+ SOURCE_URL=http://keihanna.dl.sourceforge.jp/canna/9565/
+ WEB_SITE=http://canna.sourceforge.jp/
+ ENTERED=20050801
+ UPDATED=20050801
+ SHORT="The Canna kanji server"
+cat << EOF
+Canna is a kanji server for use with input methods like, for example,
+kinput2.
+EOF
Added: moonbase/trunk/i18n/Canna/init.d/canna
===================================================================
--- moonbase/trunk/i18n/Canna/init.d/canna 2005-08-01 08:17:34 UTC (rev 15965)
+++ moonbase/trunk/i18n/Canna/init.d/canna 2005-08-01 08:37:13 UTC (rev 15966)
@@ -0,0 +1,27 @@
+#!/bin/sh
+#
+# canna Starts the Canna kanji conversion server.
+#
+#
+# chkconfig: 345 88 12
+# processname: /usr/sbin/cannaserver
+# description: Canna is the Japanese kanji conversion server.
+
+start()
+{
+ # I really hate doing this
+ if [ -z `pidof cannaserver` ]
+ then
+ rm -rf /tmp/.iroha_unix
+ fi
+ /usr/sbin/cannaserver
+}
+
+stop()
+{
+ killall /usr/sbin/cannaserver
+ # And because it doesn't always clean up after itself...
+ rm -rf /tmp/.iroha_unix
+}
+
+. /lib/lsb/init-functions
Property changes on: moonbase/trunk/i18n/Canna/init.d/canna
___________________________________________________________________
Name: svn:executable
+ *
More information about the Lunar-commits
mailing list