Commit f69a7f7b authored by Vasudeva Kamath's avatar Vasudeva Kamath

Import 0.01-2 version to gitolite from Debian

Imported using debian orig tarball as gitorious repo is lost.
parents
This diff is collapsed.
GNU Aspell Kannada Word List Package
Copyright (c) 2011 Vasudev Kamath <kamathvasudev@gmail.com>
Sanchaya <dev@lists.sanchaya.net>
This program is free software; you can redistribute it and/or modifiy it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option)
any later version.
This program is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
# Generated with Aspell Dicts "proc" script version 0.60.4
lang = kn
version = 0.01-2
cwl_files = kn.cwl
data_files = kn.dat u-knda.cset u-knda.cmap
doc_files = README COPYING Copyright
extra_files = configure info Makefile.pre
multi_files = kannada.alias kn.multi
rws_files = kn.rws
distdir=aspell6-${lang}-${version}
all: ${rws_files} ${data_files}
install: all
mkdir -p ${DESTDIR}${dictdir}/
cp ${rws_files} ${multi_files} ${DESTDIR}${dictdir}/
cd ${DESTDIR}${dictdir}/ && chmod 644 ${rws_files} ${multi_files}
mkdir -p ${DESTDIR}${datadir}/
cp ${data_files} ${DESTDIR}${datadir}/
cd ${DESTDIR}${datadir}/ && chmod 644 ${data_files}
clean:
rm -f ${rws_files}
distclean: clean
rm -f Makefile
maintainer-clean: distclean
rm -f ${multi_files} configure Makefile.pre
uninstall:
-cd ${DESTDIR}${dictdir}/ && rm ${rws_files} ${multi_files} ${link_files}
-cd ${DESTDIR}${datadir}/ && rm ${data_files}
dist: ${cwl_files}
perl proc
./configure
@make dist-nogen
dist-nogen:
-rm -r ${distdir}.tar.bz2 ${distdir}
mkdir ${distdir}
cp -p ${extra_files} ${cwl_files} ${multi_files} ${doc_files} ${data_files} ${distdir}/
-test -e doc && mkdir ${distdir}/doc && chmod 755 ${distdir}/doc && cp -pr doc/* ${distdir}/doc/
-test -e misc && mkdir ${distdir}/misc && chmod 755 ${distdir}/misc && cp -pr misc/* ${distdir}/misc/
tar cf ${distdir}.tar ${distdir}/
bzip2 -9 ${distdir}.tar
rm -r ${distdir}/
distcheck:
tar xfj ${distdir}.tar.bz2
cd ${distdir} && ./configure && make
rel:
mv ${distdir}.tar.bz2 ../rel
kn.rws: kn.cwl
.SUFFIXES: .cwl .rws .wl
.cwl.rws:
${PREZIP} -d < $< | ${ASPELL} ${ASPELL_FLAGS} --lang=kn create master ./$@
.wl.cwl:
cat $< | LC_COLLATE=C sort -u | ${PREZIP} -z > $@
.pz:
${PREZIP} -d < $< > $@
GNU Aspell 0.60 Kannada (ಕನ್ನಡ) Dictionary Package
Version 0.01-2
2011-05-30
Maintained By:
Vasudev Kamath (ವಾಸುದೇವ ಕಾಮತ್) <kamathvasudev at gmail dot com>
Original Word List Also By:
Sanchaya (ಸಂಚಯ) <dev at lists dot sanchaya dot net>
Copyright Terms: GPLv3 (see the file Copyright for the exact terms)
Wordlist URL: https://gitorious.org/indic-projects/aspell-kn
This word list is considered accurate but incomplete.
This is the Kannada dictionary for Aspell. It requires Aspell
version 0.60 or better.
If Aspell is installed and aspell and prezip-bin are all
in the path first do a:
./configure
Which should output something like:
Finding Dictionary file location ... /usr/local/lib/aspell
Finding Data file location ... /usr/local/share/aspell
if it did not something likely went wrong.
After that build the package with:
make
and then install it with
make install
If any of the above mentioned programs are not in your path than the
variables, ASPELL and/or PREZIP need to be set to the
commands (with path) to run the utilities. These variables may be set
in the environment before configure is run or specified at the command
line using the following syntax
./configure --vars VAR1=VAL1 ...
Other useful variables configure recognizes are ASPELL_PARMS, and DESTDIR.
To clean up after the build:
make clean
To uninstall the files:
make uninstall
After the dictionaries are installed you can use the main one (kn) by
setting the LANG environmental variable to kn or running Aspell
with "--lang=kn". You may also chose the dictionary directly
with the "-d" or "--master" option of Aspell. You can chose from any of
the following dictionaries:
kn (kannada)
Whereas the names in parentheses are alternate names for the
dictionary preceding the parentheses.
The individual word lists have an extension of ".cwl" and are
compressed to save space. To uncompress a word list use
"preunzip BASE.cwl" which will uncompress it and rename the file
to "BASE.wl". To dump a compressed word list to standard output use
"precat BASE.cwl". To uncompress all word lists in the current
directory use "preunzip *.cwl". For more help on "preunzip" use
"preunzip --help".
If you have any problem with installing or using the word lists please
let the Aspell maintainer, Kevin Atkinson, know at kevina@gnu.org.
If you have problems with the actual word lists please contact one of
the Word lists authors as the Aspell maintainer does not maintain the
actual Word Lists.
Any additional documentation that came with the original word list can
be found in the doc/ directory.
#!/bin/sh
# Note: future version will have a syntax something like
# ./configure [OPTIONS]
# Where OPTIONS is any of:
# --help
# --codes CODE1 ...
# --sizes SIZE1 ...
# --jargons JARGON1 ...
# --extras EXTRA1 ...
# --vars VAR1=VAL1 ...
# which is why I warn when --vars is not used before VAR1=VAL1
# Avoid depending upon Character Ranges.
# Taken from autoconf 2.50
cr_az='abcdefghijklmnopqrstuvwxyz'
cr_AZ='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
cr_09='0123456789'
cr_alnum=$cr_az$cr_AZ$cr_09
# also taken form autoconf
case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
*c*,-n*) ECHO_N= ECHO_C='
' ECHO_T=' ' ;;
*c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
*) ECHO_N= ECHO_C='\c' ECHO_T= ;;
esac
mode=none
for option
do
case $option in
--vars)
mode=vars
;;
*=*)
if test $mode != vars; then
echo "Warning: future versions will require --vars before variables are set"
mode=vars
fi
# Taken from autoconf 2.50
envvar=`expr "x$option" : 'x\([^=]*\)='`
optarg=`expr "x$option" : 'x[^=]*=\(.*\)'`
# Reject names that are not valid shell variable names.
expr "x$envvar" : ".*[^_$cr_alnum]" >/dev/null &&
{ echo "$as_me: error: invalid variable name: $envvar" >&2
{ (exit 1); exit 1; }; }
#echo $envvar $optarg
optarg=`echo "$optarg" | sed "s/'/'\\\\\\\\''/g"`
eval "$envvar='$optarg'"
export $envvar
;;
--help)
echo "Usage: ./configure [--help | --vars VAR1=VAL1 ...]"
echo " Note: Variables may also be set in the environment brefore running config"
echo " Useful vars: ASPELL ASPELL_PARMS PREZIP DESTDIR"
exit 0
;;
*)
echo "Error: unrecognized option $option";
exit 1
;;
esac
done
#echo $ASPELL
if test x = "x$ASPELL"
then ASPELL=aspell; fi
if test x = "x$PREZIP"
then PREZIP=prezip-bin; fi
#echo $ASPELL
echo $ECHO_N "Finding Dictionary file location ... $ECHO_C"
dictdir=`$ASPELL dump config dict-dir`
echo $dictdir
echo $ECHO_N "Finding Data file location ... $ECHO_C"
datadir=`$ASPELL dump config data-dir`
echo $datadir
echo "ASPELL = `which $ASPELL`" > Makefile
echo "ASPELL_FLAGS = $ASPELL_FLAGS" >> Makefile
echo "PREZIP = `which $PREZIP`" >> Makefile
echo "DESTDIR = $DESTDIR" >> Makefile
echo "dictdir = $dictdir" >> Makefile
echo "datadir = $datadir" >> Makefile
echo >> Makefile
cat Makefile.pre >> Makefile
name_english Kannada
name_native ಕನ್ನಡ
lang kn
data-file u-knda.cset
data-file u-knda.cmap
author:
name Vasudev Kamath
name-native ವಾಸುದೇವ ಕಾಮತ್
email kamathvasudev at gmail dot com
maintainer true
author:
name Sanchaya
name-native ಸಂಚಯ
email dev at lists dot sanchaya dot net
copyright GPLv3
url https://gitorious.org/indic-projects/aspell-kn
version 0.01-2
complete false
accurate true
alias kn kannada
dict:
name kn
add kn
notes Based on OpenOffice.org Kannada dictionary
# Generated with Aspell Dicts "proc" script version 0.60.4
add kn.multi
File added
name kn
charset u-knda
data-encoding utf-8
# Generated with Aspell Dicts "proc" script version 0.60.4
add kn.rws
0x11 = U+200C
0x12 = U+200D
0x80..0xFF = U+0C80..U+0CFF
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment