diff -Nru rus-ispell-0.99g5/debian/changelog rus-ispell-0.99g5/debian/changelog --- rus-ispell-0.99g5/debian/changelog 2021-10-06 21:37:42.000000000 +0000 +++ rus-ispell-0.99g5/debian/changelog 2022-02-22 20:30:04.000000000 +0000 @@ -1,3 +1,11 @@ +rus-ispell (0.99g5-28) unstable; urgency=medium + + * Drop myspell-tools build-dep. Use hunspell-tools ispellaff2myspell to + generate aspell affix file (Closes: #1006131). + * debian/copyright: Make DEP5. + + -- Agustin Martin Domingo Tue, 22 Feb 2022 21:30:04 +0100 + rus-ispell (0.99g5-27) unstable; urgency=medium [ Debian Janitor ] diff -Nru rus-ispell-0.99g5/debian/control rus-ispell-0.99g5/debian/control --- rus-ispell-0.99g5/debian/control 2021-10-06 21:37:42.000000000 +0000 +++ rus-ispell-0.99g5/debian/control 2022-02-22 09:33:45.000000000 +0000 @@ -7,7 +7,8 @@ dictionaries-common-dev, aspell, ispell, - myspell-tools + hunspell-tools, + locales-all Standards-Version: 4.6.0.1 Homepage: http://scon155.phys.msu.su/eng/lebedev.html Vcs-Browser: https://salsa.debian.org/debian/rus-ispell diff -Nru rus-ispell-0.99g5/debian/copyright rus-ispell-0.99g5/debian/copyright --- rus-ispell-0.99g5/debian/copyright 2020-04-23 20:57:43.000000000 +0000 +++ rus-ispell-0.99g5/debian/copyright 2022-02-22 20:19:52.000000000 +0000 @@ -1,37 +1,66 @@ -This package was debianized by Peter Novodvorsky . -Oleg P. Philon later maintained it. -It was migrated to dict-common by Agustín Martín Domingo . -The current maintainer is Martin-Éric Racine - -It was downloaded from - -The copyright notice, copied from the upstream LICENSE: - -Copyright (c) 1997-2008, Alexander I. Lebedev - -All rights reserved. - -Redistribution and use in source and binary forms, with or without -modification, are permitted provided that the following conditions -are met: -* Redistributions of source code must retain the above copyright - notice, this list of conditions and the following disclaimer. -* Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. -* Modified versions must be clearly marked as such. -* The name of Alexander I. Lebedev may not be used to endorse or promote - products derived from this software without specific prior written - permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" -AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE -IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE -ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE -LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR -CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF -SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS -INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN -CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) -ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE -POSSIBILITY OF SUCH DAMAGE. +Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ispell.pt +Source: http://scon155.phys.msu.su/eng/lebedev.html + +Files: * +Copyright: 1997-2008, Alexander I. Lebedev +License: BSD-3+RSDL + +Files: debian/* +Copyright: 2001-2005 Peter Novodvorsky + 2002-2003 Oleg P. Philon + 2005-2011 Martin-Éric Racine + 2002-2022 Agustin Martin Domingo +License: GPL-3+ + +License: BSD-3+RSDL + Russian spellchecking dictionary license + . + All rights reserved + . + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions + are met: + . + * Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. + . + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + . + * Modified versions must be clearly marked as such. + . + * The name of Alexander I. Lebedev may not be used to endorse or promote + products derived from this software without specific prior written + permission. + . + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" + AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE + IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE + ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE + LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR + CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF + SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN + CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) + ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE + POSSIBILITY OF SUCH DAMAGE. + +License: GPL-3+ + This program is free software: you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation, either version 3 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, see . + . + On Debian systems, the complete text of the GNU General + Public License version 3 can be found in + "/usr/share/common-licenses/GPL-3". \ No newline at end of file diff -Nru rus-ispell-0.99g5/debian/ru_affix.header rus-ispell-0.99g5/debian/ru_affix.header --- rus-ispell-0.99g5/debian/ru_affix.header 1970-01-01 00:00:00.000000000 +0000 +++ rus-ispell-0.99g5/debian/ru_affix.header 2022-02-22 10:51:38.000000000 +0000 @@ -0,0 +1,18 @@ +# Affix file automatically generated by ispellaff2myspell from russian.aff.koi +# +# Original russian.aff.koi copyright header follows +# ------------------------------------------------------------------------- +# +# Russian affix file and dictionaries for ispell +# Version number: 0.99g5 +# +# Copyright (c) 1997-2008 by Alexander I. Lebedev +# (swan@scon155.phys.msu.su) +# +# Permission to use, copy, redistribute is granted. Permission to +# redistribute modifications in patch form is granted. Permission +# to redistribute binaries made of modified sources is granted. +# All other rights reserved. +# +# Affix table for Russian +# ------------------------------------------------------------------------- diff -Nru rus-ispell-0.99g5/debian/rules rus-ispell-0.99g5/debian/rules --- rus-ispell-0.99g5/debian/rules 2020-04-23 20:57:43.000000000 +0000 +++ rus-ispell-0.99g5/debian/rules 2022-02-22 10:03:12.000000000 +0000 @@ -3,7 +3,7 @@ # [debian/rules] for rus-ispell # # COPYRIGHT C 2005-2011 Martin-Eric Racine -# COPYRIGHT C 2011-2018 Agustin martin Domingo +# COPYRIGHT C 2011-2022 Agustin Martin Domingo # # LICENSE # This package is free software; you can redistribute it and/or modify @@ -34,15 +34,13 @@ buildhash $(ILANGUAGE).dict $(ILANGUAGE).aff $(ILANGUAGE).hash # Generate gzipped munched wordlist for ispell 3.3 dictionary. gzip -nc --best $(ILANGUAGE).dict > $(ILANGUAGE).mwl.gz - # Generate myspell dictionary (KOI8-R). - i2myspell -d ./$(ILANGUAGE).dict > $(LANG_COUNTRY).dic - i2myspell ./$(ILANGUAGE) KOI8-R áâ÷çäå³öúéêëìíîïðòóôõæèãþûýÿùøüàñ \ - ÁÂ×ÇÄÅ£ÖÚÉÊËÌÍÎÏÐÒÓÔÕÆÈÃÞÛÝßÙØÜÀÑ | \ - sed 's/ - / 0 /' > $(LANG_COUNTRY).aff + # Generate aspell dictionary; build-depends on aspell because of prezip. - cp $(LANG_COUNTRY).aff $(DICT_LANG)_affix.dat - cat $(LANG_COUNTRY).dic | sed 1d | LC_COLLATE=C sort -u | prezip > $(DICT_LANG).cwl - gzip -n $(DICT_LANG).cwl + cat ./$(ILANGUAGE).dict | prezip -s -c | \ + gzip -9n -c > $(DICT_LANG).cwl.gz + LC_ALL=ru_RU.KOI8-R ispellaff2myspell \ + --bylocale --myheader=./debian/ru_affix.header \ + ./$(ILANGUAGE).aff > $(DICT_LANG)_affix.dat echo "add $(DICT_LANG).rws" > $(DICT_LANG).multi echo "add $(DICT_LANG).multi" > $(ILANGUAGE).alias