================================ hunspell:source=1.2.8-1 cvc rdiff hunspell -1 /weasel.rpath.org@wgl:3-devel/1.2.8-1 ================================ 1.2.8-1 Filip Brcic (brcha@xxxxxxx) Sun Jan 31 08:29:48 2010 hunspell 1.2.8 hunspell-1.2.8.tar.gz: new hunspell-1.2.2-renameexes.patch: new --- /dev/null +++ hunspell-1.2.2-renameexes.patch @@ -0,0 +115 @@ +=== modified file 'src/tools/Makefile.am' +--- src/tools/Makefile.am 2008-05-04 15:53:24 +0000 ++++ src/tools/Makefile.am 2008-05-04 15:55:45 +0000 +@@ -1,4 +1,4 @@ +-bin_PROGRAMS=analyze chmorph example hunspell munch unmunch hzip hunzip ++bin_PROGRAMS=hunspell-analyze hunspell-chmorph hunspell-example hunspell hunspell-munch hunspell-unmunch hzip hunzip + + INCLUDES=-I${top_srcdir}/src/hunspell -I${top_srcdir}/src/parsers + +@@ -6,23 +6,23 @@ + hunzip_SOURCES=hunzip.cxx + hunzip_LDADD = ../hunspell/libhunspell-1.2.la + +-munch_SOURCES=munch.c +-unmunch_SOURCES=unmunch.c ++hunspell_munch_SOURCES=munch.c ++hunspell_unmunch_SOURCES=unmunch.c + include_HEADERS=munch.h unmunch.h + +-example_SOURCES=example.cxx +-example_LDADD = ../hunspell/libhunspell-1.2.la ++hunspell_example_SOURCES=example.cxx ++hunspell_example_LDADD = ../hunspell/libhunspell-1.2.la + + hunspell_SOURCES=hunspell.cxx + hunspell_LDADD = @LIBINTL@ ../hunspell/libhunspell-1.2.la \ + ../parsers/libparsers.a @CURSESLIB@ @READLINELIB@ + +-analyze_SOURCES=analyze.cxx +-analyze_LDADD = ../hunspell/libhunspell-1.2.la +- +-chmorph_SOURCES=chmorph.cxx +-chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a +- +-noinst_PROGRAMS=example ++hunspell_analyze_SOURCES=analyze.cxx ++hunspell_analyze_LDADD = ../hunspell/libhunspell-1.2.la ++ ++hunspell_chmorph_SOURCES=chmorph.cxx ++hunspell_chmorph_LDADD = ../hunspell/libhunspell-1.2.la ../parsers/libparsers.a ++ ++noinst_PROGRAMS=hunspell-example + + EXTRA_DIST=makealias affixcompress + +=== modified file 'src/tools/example.cxx' +--- src/tools/example.cxx 2008-05-04 15:53:24 +0000 ++++ src/tools/example.cxx 2008-05-04 15:54:12 +0000 +@@ -17,8 +17,8 @@ + /* first parse the command line options */ + + if (argc < 4) { +- fprintf(stderr,"example (now it works with more dictionary files):\n"); +- fprintf(stderr,"example affix_file dictionary_file(s) file_of_words_to_check\n"); ++ fprintf(stderr,"hunspell-example (now it works with more dictionary files):\n"); ++ fprintf(stderr,"hunspell-example affix_file dictionary_file(s) file_of_words_to_check\n"); + exit(1); + } + + +=== modified file 'src/tools/munch.c' +--- src/tools/munch.c 2008-05-04 15:53:24 +0000 ++++ src/tools/munch.c 2008-05-04 15:56:18 +0000 +@@ -42,14 +42,14 @@ + wf = mystrdup(argv[1]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"munch word_list_file affix_file\n"); ++ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); + exit(1); + } + if (argv[2]) { + af = mystrdup(argv[2]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"munch word_list_file affix_file\n"); ++ fprintf(stderr,"hunspell-munch word_list_file affix_file\n"); + exit(1); + } + + +=== modified file 'src/tools/unmunch.c' +--- src/tools/unmunch.c 2008-05-04 15:53:24 +0000 ++++ src/tools/unmunch.c 2008-05-04 15:56:39 +0000 +@@ -39,14 +39,14 @@ + wf = mystrdup(argv[1]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"unmunch dic_file affix_file\n"); ++ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); + exit(1); + } + if (argv[2]) { + af = mystrdup(argv[2]); + } else { + fprintf(stderr,"correct syntax is:\n"); +- fprintf(stderr,"unmunch dic_file affix_file\n"); ++ fprintf(stderr,"hunspell-unmunch dic_file affix_file\n"); + exit(1); + } + + +=== modified file 'tests/test.sh' +--- tests/test.sh 2008-05-04 15:53:24 +0000 ++++ tests/test.sh 2008-05-04 15:57:07 +0000 +@@ -34,7 +34,7 @@ + shopt -s expand_aliases + + alias hunspell='../src/tools/hunspell' +-alias analyze='../src/tools/analyze' ++alias analyze='../src/tools/hunspell-analyze' + + if [ "$VALGRIND" != "" ]; then + rm -f $TEMPDIR/test.pid* + hunspell.recipe: new --- /dev/null +++ hunspell.recipe @@ -0,0 +42 @@ +# +# Copyright (c) 2010 Filip Brcic <brcha@xxxxxxxxxxxx> +# Distributed under the terms of the GNU General Public License v3 +# + +class Hunspell(AutoPackageRecipe): + name = 'hunspell' + version = '1.2.8' + + buildRequires = [ + 'autoconf:runtime', 'automake:runtime', 'gettext:runtime', + 'intltool:runtime', 'libstdc++:devel', 'libtool:runtime', + 'ncurses:devel', 'readline:devel', + ] + + shortDesc = 'Hunspell spell checker' + longDesc = """ +Hunspell spell checker - an improved replacement for myspell in OOo. +Install myspell-{lang} package(s) as well. +""" + url = 'http://hunspell.sourceforge.net/' + licenses = [ 'MPL-1.1', 'GPL-2', 'LGPL-2.1' ] + categories = [ 'Applications/Text' ] + + def unpack(r): + r.addArchive('mirror://sourceforge/%(name)s/') + + r.addPatch('hunspell-1.2.2-renameexes.patch') + + r.Autoreconf(m4Dir='m4') + + def configure(r): + r.Configure( + ' --enable-nls' + ' --with-ui' + ' --with-readline' + ) + + def policy(r): + r.Doc('AUTHORS', 'ChangeLog', 'NEWS', 'README', 'THANKS', + 'TODO', 'license.hunspell', 'AUTHORS.myspell', + 'README.myspell', 'license.myspell') Committed by: brcha