head 1.8; access; symbols pkgsrc-2023Q4:1.8.0.12 pkgsrc-2023Q4-base:1.8 pkgsrc-2023Q3:1.8.0.10 pkgsrc-2023Q3-base:1.8 pkgsrc-2023Q2:1.8.0.8 pkgsrc-2023Q2-base:1.8 pkgsrc-2023Q1:1.8.0.6 pkgsrc-2023Q1-base:1.8 pkgsrc-2022Q4:1.8.0.4 pkgsrc-2022Q4-base:1.8 pkgsrc-2022Q3:1.8.0.2 pkgsrc-2022Q3-base:1.8 pkgsrc-2022Q2:1.6.0.30 pkgsrc-2022Q2-base:1.6 pkgsrc-2022Q1:1.6.0.28 pkgsrc-2022Q1-base:1.6 pkgsrc-2021Q4:1.6.0.26 pkgsrc-2021Q4-base:1.6 pkgsrc-2021Q3:1.6.0.24 pkgsrc-2021Q3-base:1.6 pkgsrc-2021Q2:1.6.0.22 pkgsrc-2021Q2-base:1.6 pkgsrc-2021Q1:1.6.0.20 pkgsrc-2021Q1-base:1.6 pkgsrc-2020Q4:1.6.0.18 pkgsrc-2020Q4-base:1.6 pkgsrc-2020Q3:1.6.0.16 pkgsrc-2020Q3-base:1.6 pkgsrc-2020Q2:1.6.0.14 pkgsrc-2020Q2-base:1.6 pkgsrc-2020Q1:1.6.0.10 pkgsrc-2020Q1-base:1.6 pkgsrc-2019Q4:1.6.0.12 pkgsrc-2019Q4-base:1.6 pkgsrc-2019Q3:1.6.0.8 pkgsrc-2019Q3-base:1.6 pkgsrc-2019Q2:1.6.0.6 pkgsrc-2019Q2-base:1.6 pkgsrc-2019Q1:1.6.0.4 pkgsrc-2019Q1-base:1.6 pkgsrc-2018Q4:1.6.0.2 pkgsrc-2018Q4-base:1.6 pkgsrc-2018Q3:1.4.0.56 pkgsrc-2018Q3-base:1.4 pkgsrc-2018Q2:1.4.0.54 pkgsrc-2018Q2-base:1.4 pkgsrc-2018Q1:1.4.0.52 pkgsrc-2018Q1-base:1.4 pkgsrc-2017Q4:1.4.0.50 pkgsrc-2017Q4-base:1.4 pkgsrc-2017Q3:1.4.0.48 pkgsrc-2017Q3-base:1.4 pkgsrc-2017Q2:1.4.0.44 pkgsrc-2017Q2-base:1.4 pkgsrc-2017Q1:1.4.0.42 pkgsrc-2017Q1-base:1.4 pkgsrc-2016Q4:1.4.0.40 pkgsrc-2016Q4-base:1.4 pkgsrc-2016Q3:1.4.0.38 pkgsrc-2016Q3-base:1.4 pkgsrc-2016Q2:1.4.0.36 pkgsrc-2016Q2-base:1.4 pkgsrc-2016Q1:1.4.0.34 pkgsrc-2016Q1-base:1.4 pkgsrc-2015Q4:1.4.0.32 pkgsrc-2015Q4-base:1.4 pkgsrc-2015Q3:1.4.0.30 pkgsrc-2015Q3-base:1.4 pkgsrc-2015Q2:1.4.0.28 pkgsrc-2015Q2-base:1.4 pkgsrc-2015Q1:1.4.0.26 pkgsrc-2015Q1-base:1.4 pkgsrc-2014Q4:1.4.0.24 pkgsrc-2014Q4-base:1.4 pkgsrc-2014Q3:1.4.0.22 pkgsrc-2014Q3-base:1.4 pkgsrc-2014Q2:1.4.0.20 pkgsrc-2014Q2-base:1.4 pkgsrc-2014Q1:1.4.0.18 pkgsrc-2014Q1-base:1.4 pkgsrc-2013Q4:1.4.0.16 pkgsrc-2013Q4-base:1.4 pkgsrc-2013Q3:1.4.0.14 pkgsrc-2013Q3-base:1.4 pkgsrc-2013Q2:1.4.0.12 pkgsrc-2013Q2-base:1.4 pkgsrc-2013Q1:1.4.0.10 pkgsrc-2013Q1-base:1.4 pkgsrc-2012Q4:1.4.0.8 pkgsrc-2012Q4-base:1.4 pkgsrc-2012Q3:1.4.0.6 pkgsrc-2012Q3-base:1.4 pkgsrc-2012Q2:1.4.0.4 pkgsrc-2012Q2-base:1.4 pkgsrc-2012Q1:1.4.0.2 pkgsrc-2012Q1-base:1.4 pkgsrc-2011Q4:1.3.0.24 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q3:1.3.0.22 pkgsrc-2011Q3-base:1.3 pkgsrc-2011Q2:1.3.0.20 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.3.0.18 pkgsrc-2011Q1-base:1.3 pkgsrc-2010Q4:1.3.0.16 pkgsrc-2010Q4-base:1.3 pkgsrc-2010Q3:1.3.0.14 pkgsrc-2010Q3-base:1.3 pkgsrc-2010Q2:1.3.0.12 pkgsrc-2010Q2-base:1.3 pkgsrc-2010Q1:1.3.0.10 pkgsrc-2010Q1-base:1.3 pkgsrc-2009Q4:1.3.0.8 pkgsrc-2009Q4-base:1.3 pkgsrc-2009Q3:1.3.0.6 pkgsrc-2009Q3-base:1.3 pkgsrc-2009Q2:1.3.0.4 pkgsrc-2009Q2-base:1.3 pkgsrc-2009Q1:1.3.0.2 pkgsrc-2009Q1-base:1.3 pkgsrc-2008Q4:1.2.0.10 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.8 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.6 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.4 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.2 pkgsrc-2008Q1:1.1.0.6 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.4 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.2 pkgsrc-2007Q3-base:1.1; locks; strict; comment @# @; 1.8 date 2022.08.14.20.44.00; author tnn; state Exp; branches; next 1.7; commitid RUv4264jjtn99TPD; 1.7 date 2022.06.28.11.36.10; author wiz; state Exp; branches; next 1.6; commitid D2UoJrTHpoHEANJD; 1.6 date 2018.11.16.13.02.20; author bsiegert; state Exp; branches; next 1.5; commitid tQB8vLeT9bImwa0B; 1.5 date 2018.10.23.11.45.34; author bsiegert; state Exp; branches; next 1.4; commitid NRmqwVEVG0ytS4XA; 1.4 date 2012.02.13.14.46.11; author wiz; state Exp; branches; next 1.3; 1.3 date 2009.03.20.19.25.29; author joerg; state Exp; branches; next 1.2; 1.2 date 2008.04.14.09.39.00; author wiz; state Exp; branches; next 1.1; 1.1 date 2007.09.11.17.48.06; author wiz; state Exp; branches; next ; desc @@ 1.8 log @hunspell: propagate iconv and intl dependencies in bl3.mk @ text @# $NetBSD: buildlink3.mk,v 1.7 2022/06/28 11:36:10 wiz Exp $ BUILDLINK_TREE+= hunspell .if !defined(HUNSPELL_BUILDLINK3_MK) HUNSPELL_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.hunspell+= hunspell>=1.2.2 BUILDLINK_ABI_DEPENDS.hunspell+= hunspell>=1.7.0nb7 BUILDLINK_PKGSRCDIR.hunspell?= ../../textproc/hunspell .include "../../converters/libiconv/buildlink3.mk" .include "../../devel/gettext-lib/buildlink3.mk" .endif # HUNSPELL_BUILDLINK3_MK BUILDLINK_TREE+= -hunspell @ 1.7 log @*: recursive bump for perl 5.36 @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.6 2018/11/16 13:02:20 bsiegert Exp $ d11 3 @ 1.6 log @Update hunspell to 1.7.0. Bump ABI_DEPENDS in bl3.mk. New features and bug fixes by Laszlo Nemeth, supported by FSF.hu Foundation: • No annoying suggestion times any more, especially in languages with compound word handling and complex morphology. By adding balanced multi-level time limits, now the guaranteed suggestion time is there within half a second, not seconds (nor dozen of seconds or more in extreme cases) for longer misspellings, too. • add SPELLML support for run-time dictionary extension with optional affixation of user words. See new "Grammar By" feature of language-specific user dictionaries of LibreOffice 6.0: News: https://wiki.documentfoundation.org/ReleaseNotes/6.0#.E2.80.9CGrammar_By.E2.80.9D_spell_checking Screencast with English example: https://www.youtube.com/watch?v=EsS3gaBTfOo Screencast with German example: https://www.youtube.com/watch?v=aYVFDqCUb6I • Improved, highly customizable suggestions on level of dictionary words: Pronunciations and typical misspellings defined by optional "ph:" fields of the dictionary words are used not only in n-gram suggestions, but as elements of the REP replacement list getting the highest priority in normal suggestions, also giving the best suggestions for short words, too. More information: see "ph:" in man 5 hunspell. • Handling multiple word suggestions is much more easier. Like in a traditional spelling dictionary, for example, to get the correct suggestion "a lot" for the typical misspelling "alot" at the first place, now it's enough to put the following line to the dic(tionary) file: a lot • Limit compound overgeneration by dictionary based word pairs: Now it's possible to filter bad compound words by listing the correct word pairs with space in the dictionary, as in a traditional spelling dictionary. • clean-up suggestion: □ no n-gram and compound word suggestions, if "good" suggestion exists, ie. uppercase, REP, ph: or dictionary word pair suggestions □ word pairs are always suggested, if they exist in the dic file □ word pairs have top priority in suggestions, and these are the only suggestions if there is no other good suggestion. □ also dictionary word pairs separated by dash instead of space are handled specially in two-word suggestion (depending from the language) • limit bad suggestions by improved n-gram suggestion rules: don't suggest capitalized dictionary words for lower case misspellings in n-gram suggestions, except □ PHONE usage, or □ in the case of German, where not only proper nouns are capitalized, or □ the capitalized word has special pronunciation and don't suggest if the difference of lengths of misspellings and suggestions is 5 or more characters. • Extend dotless i and dotted I rules to Crimean Tatar language Allow dotted I in dictionary, and disable bad capitalization of i. • BREAK: extended recursive word breaking algorithm to handle words or words with suffixes when they already contain word break characters, for example, "e-mail" is a dictionary word with a word break character, and it wasn't accepted before in compounds in some languages. • FORBIDDENWORD precedes BREAK: Now it's possible to forbid compound forms recognized by BREAK word breaking by adding the bad compounds to the dictionary with FORBIDDENWORD flags. • lower limit for "doubletwochars" suggestion algorithm: one of the typical misspellings recognized by Hunspell suggestion mechanism is the syllable duplication. Along the old pattern ABABA -> ABA, for example nutrITITIon -> nutrITIon, now also the simpler ABAB -> AB pattern is recognized in non-starting position, for example, regretTETEd -> regretTEd. • lower limit for longswapchar and movechar: recognized only max. 4-character distances to avoid slow and bad suggestions. • fix compound handling for new Hungarian orthography reform • Allow suggestion search for prefix + two suffixes: Remove artificial performance limit to get correct suggestions for relatively simple misspellings in Hungarian, etc., when the word form contains prefix and both derivative and inflectional suffixes, too: lefikszálása -> lefixálása Improvements for command-line Hunspell: • Remove false alarms during checking OpenDocument (ODF) documents by ignoring elements. (LibreOffice creates a lot of elements also within words during text reediting, resulted often huge amount of broken words before this fix.) • List filenames during filtering multiple files in command-line: Examples: $ hunspell -l *.odt a.odt: mispelling b.odt: egzample $ hunspell -l -G *.odt a.odt: good b.odt: words • Dictionary search by option -D doesn't wait for the standard input (fixed by Siva Mahadevan) Other improvements: • makealias dictionary compression: add option --minimize-diff to reuse free positions of alias lists to create minimal and readable diffs for alias compressed dictionaries stored in revision control systems, as dictionaries of LibreOffice. • Brazilian-Portuguese translation by Rafael Fontenelle • Catalan translation by robert dot buj at gmail • Minor bug fixes by several contributors, see git log @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.5 2018/10/23 11:45:34 bsiegert Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.hunspell+= hunspell>=1.7.0 @ 1.5 log @Update hunspell to 1.6.2. 1.6.2 Library changes: no. Same as 1.6.1. Command line tool: - Added German translation - Fixed bug with wrong output encoding, not respecting system locale. 1.6.1 Library changes: - Performance improvements in suggest() - Fixes regressions for Hungarian related to compounding. - Fixes regressions for Korean related to ICONV. Command line tool: - Added Tajik translation - Fix regarding serching of OOo dicts installed in user folder Manpages: - Fix microsoft-cp1251 to cp1251. Dicts should not use the first. - Typos. 1.6.0 Changes in the library: - Performance improvement in ngsuggest(), suggestions should be faster. - Revert MAXWORDLEN to 100 as in 1.3.3 for performance reasons. - MAXWORDLEN can be set during build time with -D defines. - Fix crash when word with 102 consecutive X is spelled. Changes in the command line tool: - -D shows all loaded dictionares insted of only the first. - -D properly lists all available dictionaries on Windows. 1.5.4 Fixes bug related to the Hungarian dictionary and the command COMPOUNDSYLLABLE 1.5.3 Remove a unneded #include header in the public hunspell.hxx 1.5.2 Fixes backward compatibility with 1.4 at API level. Now it should be complete. 1.5.1 - Lot of stability fixes - Fixed compilation errors on various systems (Windows, FreeBSD) - Small performance improvement compared to 1.4.0 - Added new API with C++ types (string, vector), yet full API backward compatibility with 1.4 is kept 1.4.1 Past begin() iterator decrement error VS Debug build threw error on decrement past begin. 1.4.0 New release that strips out fixed length buffers from large parts of the library Note: dictmgr.hxx header is dropped @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.4 2012/02/13 14:46:11 wiz Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.hunspell+= hunspell>=1.6.2 @ 1.4 log @hunspell shlib name change -> recursive bump @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.3 2009/03/20 19:25:29 joerg Exp $ d9 1 a9 1 BUILDLINK_ABI_DEPENDS.hunspell+= hunspell>=1.3.2 @ 1.3 log @Simply and speed up buildlink3.mk files and processing. This changes the buildlink3.mk files to use an include guard for the recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS, BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of enter/exit marker, which can be used to reconstruct the tree and to determine first level includes. Avoiding := for large variables (BUILDLINK_ORDER) speeds up parse time as += has linear complexity. The include guard reduces system time by avoiding reading files over and over again. For complex packages this reduces both %user and %sys time to half of the former time. @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.2 2008/04/14 09:39:00 wiz Exp $ d9 1 @ 1.2 log @Update to 1.2.2. pkgsrc change: buildlink3.mk: Bump API_DEPENDS, since shlib name changed. No dependencies in pkgsrc. Release notes: 2008-04-12: Hunspell 1.2.2 release: - extended dictionary (dic file) support to use multiple base and special dictionaries. - new and improved options of command line hunspell: -m: morphological analysis or flag debug mode (without affix rule data it signs the flag of the affix rules) -s: stemming mode -D: list available dictionaries and search path -d: support extra dictionaries by comma separated list. Example: hunspell -d en_US,en_med,de_DE,de_med,de_geo UNESCO.txt - forbidding in personal dictionary (with asterisk, / signs affixation) - optional compressed dictionary format "hzip" for aff and dic files usage: hzip example.aff example.dic mv example.aff example.dic /tmp hunspell -d example hunzip example.aff.hz >example.aff hunzip example.dic.hz >example.dic - new affix compression tool "affixcompress": compression tool for large (millions of words) dictionaries. - support encrypted dictionaries for closed OpenOffice.org extensions or other commercial programs - improved manual - bug fixes 2007-11-01: Hunspell 1.2.1 release: - new memory efficient condition checking algorithm for affix rules - new morphological functions: - stem() for stemming - analyze() for morphological analysis - generate() for morphological generation - new demos: - analyze: stemming, morphological analysis and generation - chmorph: morphological conversion of texts @ text @d1 1 a1 1 # $NetBSD: buildlink3.mk,v 1.1 2007/09/11 17:48:06 wiz Exp $ d3 1 a3 2 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ HUNSPELL_BUILDLINK3_MK:= ${HUNSPELL_BUILDLINK3_MK}+ d5 2 a6 3 .if ${BUILDLINK_DEPTH} == "+" BUILDLINK_DEPENDS+= hunspell .endif a7 5 BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nhunspell} BUILDLINK_PACKAGES+= hunspell BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}hunspell .if ${HUNSPELL_BUILDLINK3_MK} == "+" d10 1 a10 1 .endif # HUNSPELL_BUILDLINK3_MK d12 1 a12 1 BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} @ 1.1 log @Add buildlink3.mk file. @ text @d1 1 a1 1 # $NetBSD$ d15 1 a15 1 BUILDLINK_API_DEPENDS.hunspell+= hunspell>=1.1.12.2 @