Module submission - Canna
dagbrown@lart.ca
dagbrown at lart.ca
Mon Aug 1 08:13:52 UTC 2005
module name : Canna
suggested section : i18n
update (y/n) : n
bugfix (y/n) : n
security (y/n) : n
I submitted this a long time ago, but now there's an actual submission thing!
Anyway, I was inspired to do a proper submission by the announcement of the
creation of lunarlinux.jp. This is for the guys in Japan. :)
Dave Brown
-------------- next part --------------
--- Canna/BUILD 1970-01-01 09:00:00.000000000 +0900
+++ Canna/BUILD 2005-08-01 16:43:50.000000000 +0900
@@ -0,0 +1,8 @@
+(
+ cd ${SOURCE_DIRECTORY} &&
+ sedit "s:define DefCannaPrefix .*:define DefCannaPrefix /usr:" Canna.conf &&
+ xmkmf &&
+ make canna &&
+ prepare_install &&
+ make install
+) > $C_FIFO 2>&1
--- Canna/DETAILS 1970-01-01 09:00:00.000000000 +0900
+++ Canna/DETAILS 2005-08-01 16:45:49.000000000 +0900
@@ -0,0 +1,15 @@
+ MODULE=Canna
+ VERSION=37p3
+ PKG=${MODULE}${VERSION}
+ SOURCE=${PKG}.tar.bz2
+SOURCE_DIRECTORY=${BUILD_DIRECTORY}/${PKG}/
+ SOURCE_URL=http://kyushu-u.dl.sourceforge.jp/canna/9565/${SOURCE}
+ SOURCE_VFY=sha1:e39eece7c70c669dd46dd74b26121a60a2496fde
+ WEB_SITE=http://canna.sourceforge.jp
+ ENTERED=20040121
+ UPDATED=20050801
+ SHORT="The Canna kanji server"
+cat << EOF
+Canna is a kanji server for use with input methods like, for example,
+kinput2.
+EOF
--- Canna/init.d/canna 1970-01-01 09:00:00.000000000 +0900
+++ Canna/init.d/canna 2005-08-01 16:43:14.000000000 +0900
@@ -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.
+
+. /lib/lsb/init-functions
+
+case "$1" in
+ 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
+ ;;
+esac
-------------- next part --------------
lvu submit Canna e36efbe7365683dfda96e582eae7c51b -
2.6.11 2.6.9 gcc-3.3.3 glibc-2.3.3
More information about the Lunar
mailing list