pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/textproc/hunspell Update to 1.2.8.
details: https://anonhg.NetBSD.org/pkgsrc/rev/b8b1096271df
branches: trunk
changeset: 554100:b8b1096271df
user: ahoka <ahoka%pkgsrc.org@localhost>
date: Sun Feb 08 18:25:40 2009 +0000
description:
Update to 1.2.8.
No longer needs ncurses (at least on NetBSD 5.0).
Official changelog:
2008-11-01: Hunspell 1.2.8 release:
- Default BREAK feature and better hyphenated word suggestion to accept
and fix (compound) words with hyphen characters by spell checker
instead of by work breaking code of OpenOffice.org. With this feature
it's possible to accept hyphenated compound words, such as "scot-free",
where "scot" is not a correct English word.
- ICONV & OCONV: input and output conversion tables for optional character
handling or using special inner format. Example:
# Accepting de facto replacements of the Romanian comma acuted letters
SET UTF-8
ICONV 4
ICONV Å? È?
ICONV Å£ È?
ICONV Å? È?
ICONV Å¢ È?
Typical usage of ICONV/OCONV is to manage an inner format for a segmental
writing system, like the Ethiopic script of the Amharic language.
- Extended CHECKCOMPOUNDPATTERN to handle conpound word alternations, like
sandhi feature of Telugu and other writing systems.
- SIMPLIFIEDTRIPLE compound word feature: allow simplified Swedish and
Norwegian compound word forms, like tillåta (till|låta) and
bussjåfør (buss|sjåfør)
- wordforms: word generator script for dictionary developers (Hunspell
version of unmunch).
- bug fixes
2008-08-15: Hunspell 1.2.7 release:
- FULLSTRIP: new option for affix handling. With FULLSTRIP, affix rules can
strip full words, not only one less characters.
- COMPOUNDRULE works with all flag types. (COMPOUNDRULE is for pattern
matching. For example, en_US dictionary of OpenOffice.org uses COMPOUNDRULE
for ordinal number recognition: 1st, 2nd, 11th, 12th, 22nd, 112th, 1000122nd
etc.).
- optimized suggestions:
- modified 1-character distance suggestion algorithms: search a TRY character
in all position instead of all TRY characters in a character position
(it can give more readable suggestion order, also better suggestions
in the first positions, when TRY characters are sorted by frequency.)
For example, suggestions for "moze":
ooze, doze, Roze, maze, more etc. (Hunspell 1.2.6),
maze, more, mote, ooze, mole etc. (Hunspell 1.2.7).
- extended compound word checking for better COMPOUNDRULE related
suggestions, for example English ordinal numbers: 121323th -> 121323rd
(it needs also a th->rd REP definition).
- bug fixes
2008-07-15: Hunspell 1.2.6 release:
- bug fix release (fix affix rule condition checking of sk_SK dictionary,
iconv support in stemming and morphological analysis of the Hunspell
utility, see also Changelog)
2008-07-09: Hunspell 1.2.5 release:
- bug fix release (fix affix rule condition checking of en_GB dictionary,
also morphological analysis by dictionaries with two-level suffixes)
2008-06-18: Hunspell 1.2.4-2 release:
- fix GCC compiler warnings
2008-06-17: Hunspell 1.2.4 release:
- add free_list() for C, C++ interfaces to deallocate suggestion lists
- bug fixes
2008-06-17: Hunspell 1.2.3 release:
- extended XML interface to use morphological functions by standard
spell checking interface, spell() and suggest(). See hunspell.3 manual page.
- default dash suggestions for compound words: newword-> new word and new-word
- new manual pages: hunspell.3, hzip.1, hunzip.1.
- bug fixes
diffstat:
textproc/hunspell/Makefile | 4 ++--
textproc/hunspell/PLIST | 6 +++++-
textproc/hunspell/distinfo | 8 ++++----
textproc/hunspell/options.mk | 16 ++++++++++++----
4 files changed, 23 insertions(+), 11 deletions(-)
diffs (84 lines):
diff -r 716ae01e2847 -r b8b1096271df textproc/hunspell/Makefile
--- a/textproc/hunspell/Makefile Sun Feb 08 15:30:26 2009 +0000
+++ b/textproc/hunspell/Makefile Sun Feb 08 18:25:40 2009 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.9 2008/07/20 23:54:06 abs Exp $
+# $NetBSD: Makefile,v 1.10 2009/02/08 18:25:40 ahoka Exp $
#
-DISTNAME= hunspell-1.2.2
+DISTNAME= hunspell-1.2.8
CATEGORIES= textproc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=hunspell/}
diff -r 716ae01e2847 -r b8b1096271df textproc/hunspell/PLIST
--- a/textproc/hunspell/PLIST Sun Feb 08 15:30:26 2009 +0000
+++ b/textproc/hunspell/PLIST Sun Feb 08 18:25:40 2009 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2008/04/14 09:39:00 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2009/02/08 18:25:40 ahoka Exp $
bin/analyze
bin/chmorph
bin/example
@@ -21,6 +21,7 @@
include/hunspell/hunzip.hxx
include/hunspell/langnum.hxx
include/hunspell/phonet.hxx
+include/hunspell/replist.hxx
include/hunspell/suggestmgr.hxx
include/hunspell/w_char.hxx
include/munch.h
@@ -31,6 +32,9 @@
man/hu/man1/hunspell.1
man/hu/man4/hunspell.4
man/man1/hunspell.1
+man/man1/hunzip.1
+man/man1/hzip.1
+man/man3/hunspell.3
man/man4/hunspell.4
share/locale/hu/LC_MESSAGES/hunspell.mo
@dirrm man/hu/man4
diff -r 716ae01e2847 -r b8b1096271df textproc/hunspell/distinfo
--- a/textproc/hunspell/distinfo Sun Feb 08 15:30:26 2009 +0000
+++ b/textproc/hunspell/distinfo Sun Feb 08 18:25:40 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.3 2009/01/26 20:09:48 sketch Exp $
+$NetBSD: distinfo,v 1.4 2009/02/08 18:25:40 ahoka Exp $
-SHA1 (hunspell-1.2.2.tar.gz) = 521063ff64b2182e92e92f5355ae2cf396f39420
-RMD160 (hunspell-1.2.2.tar.gz) = 110c428f2b6734afefb8865dc3d63a4492594552
-Size (hunspell-1.2.2.tar.gz) = 752046 bytes
+SHA1 (hunspell-1.2.8.tar.gz) = eaa76f82fcf08678e49f7a30afdaa268bcc75235
+RMD160 (hunspell-1.2.8.tar.gz) = e4fd39e5fadf96da1311f2aa7163ec17eacf0f83
+Size (hunspell-1.2.8.tar.gz) = 784360 bytes
SHA1 (patch-aa) = 47dbec62c0ffe972275cc7e554a35d8acdbf495a
SHA1 (patch-ab) = 01ff90fc2ebf1049d791a0669ddcc3f5495729c0
diff -r 716ae01e2847 -r b8b1096271df textproc/hunspell/options.mk
--- a/textproc/hunspell/options.mk Sun Feb 08 15:30:26 2009 +0000
+++ b/textproc/hunspell/options.mk Sun Feb 08 18:25:40 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.2 2008/02/22 17:04:34 jlam Exp $
+# $NetBSD: options.mk,v 1.3 2009/02/08 18:25:40 ahoka Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.hunspell
PKG_SUPPORTED_OPTIONS= wide-curses
@@ -9,8 +9,16 @@
USE_NCURSES= yes
-.if !empty(PKG_OPTIONS:Mwide-curses)
-. include "../../devel/ncursesw/buildlink3.mk"
+###
+### Wide curses support; otherwise, default to using narrow curses.
+###
+.if !empty(MACHINE_PLATFORM:MNetBSD-[5-9].*-*)
+ CONFIGURE_ENV+= ac_cv_lib_curses_tparm=yes
+. include "../../mk/curses.buildlink3.mk"
.else
-. include "../../devel/ncurses/buildlink3.mk"
+. if !empty(PKG_OPTIONS:Mwide-curses)
+. include "../../devel/ncursesw/buildlink3.mk"
+. else
+. include "../../devel/ncurses/buildlink3.mk"
+. endif
.endif
Home |
Main Index |
Thread Index |
Old Index