public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Mattia Verga <mattia.verga@proton.me>
To: git-commits@fedoraproject.org
Subject: [rpms/hunspell] rawhide: Update to 1.7.3 (Fedora#2466659)
Date: Fri, 26 Jun 2026 19:18:59 GMT	[thread overview]
Message-ID: <178250153929.1.14562954271550042585.rpms-hunspell-c3a32cc1f759@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/hunspell
Branch : rawhide
Commit : c3a32cc1f759076c4c8b6dbd1ad3c3f114d7b783
Author : Mattia Verga <mattia.verga@proton.me>
Date   : 2026-06-04T19:01:13+02:00
Stats  : +37/-961 in 6 file(s)
URL    : https://src.fedoraproject.org/rpms/hunspell/c/c3a32cc1f759076c4c8b6dbd1ad3c3f114d7b783?branch=rawhide

Log:
Update to 1.7.3 (Fedora#2466659)

---
diff --git a/.gitignore b/.gitignore
index 088efb4..e9848a8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1 +1,2 @@
 /hunspell-1.7.2.tar.gz
+/hunspell-1.7.3.tar.gz

diff --git a/0001-Resolves-rhbz-2158548-allow-longer-words-for-hunspel.patch b/0001-Resolves-rhbz-2158548-allow-longer-words-for-hunspel.patch
deleted file mode 100644
index c0225fb..0000000
--- a/0001-Resolves-rhbz-2158548-allow-longer-words-for-hunspel.patch
+++ /dev/null
@@ -1,77 +0,0 @@
-From e2fe9f86e1769b440972971240e9b8fb1cd53b97 Mon Sep 17 00:00:00 2001
-From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@redhat.com>
-Date: Fri, 6 Jan 2023 16:20:45 +0000
-Subject: [PATCH] Resolves: rhbz#2158548 allow longer words for hunspell-ko
-MIME-Version: 1.0
-Content-Type: text/plain; charset=UTF-8
-Content-Transfer-Encoding: 8bit
-
-https://github.com/hunspell/hunspell/issues/903
-
-A problem since the sanity check added in:
-
-commit 05e44e069e4cfaa9ce1264bf13f23fc9abd7ed05
-Author: Caolán McNamara <caolanm@redhat.com>
-Date:   Thu Sep 1 13:46:40 2022 +0100
-
-    Check word limit (#813)
-
-    * check against hentry blen max
----
- src/hunspell/hashmgr.cxx | 6 +++---
- src/hunspell/htypes.hxx  | 4 ++--
- tests/korean.dic         | 3 ++-
- 3 files changed, 7 insertions(+), 6 deletions(-)
-
-diff --git a/src/hunspell/hashmgr.cxx b/src/hunspell/hashmgr.cxx
-index 100916d..14201e9 100644
---- a/src/hunspell/hashmgr.cxx
-+++ b/src/hunspell/hashmgr.cxx
-@@ -209,7 +209,7 @@ int HashMgr::add_word(const std::string& in_word,
-   }
- 
-   // limit of hp->blen
--  if (word->size() > std::numeric_limits<unsigned char>::max()) {
-+  if (word->size() > std::numeric_limits<unsigned short>::max()) {
-     HUNSPELL_WARNING(stderr, "error: word len %ld is over max limit\n", word->size());
-     delete desc_copy;
-     delete word_copy;
-@@ -235,8 +235,8 @@ int HashMgr::add_word(const std::string& in_word,
- 
-   int i = hash(hpw, word->size());
- 
--  hp->blen = (unsigned char)word->size();
--  hp->clen = (unsigned char)wcl;
-+  hp->blen = (unsigned short)word->size();
-+  hp->clen = (unsigned short)wcl;
-   hp->alen = (short)al;
-   hp->astr = aff;
-   hp->next = NULL;
-diff --git a/src/hunspell/htypes.hxx b/src/hunspell/htypes.hxx
-index 44366b1..2b896fb 100644
---- a/src/hunspell/htypes.hxx
-+++ b/src/hunspell/htypes.hxx
-@@ -62,8 +62,8 @@
- #endif
- 
- struct hentry {
--  unsigned char blen;    // word length in bytes
--  unsigned char clen;    // word length in characters (different for UTF-8 enc.)
-+  unsigned short blen;   // word length in bytes
-+  unsigned short clen;   // word length in characters (different for UTF-8 enc.)
-   short alen;            // length of affix flag vector
-   unsigned short* astr;  // affix flag vector
-   struct hentry* next;   // next word with same hash code
-diff --git a/tests/korean.dic b/tests/korean.dic
-index 95cb450..d76ea05 100644
---- a/tests/korean.dic
-+++ b/tests/korean.dic
-@@ -1,3 +1,4 @@
--2
-+3
- 들어오세요
- 안녕하세요
-+김수한무거북이와두루미삼천갑자동방삭치치카포사리사리세ᅡ워리워리세브리캉무드셀ᅡ구름위허ᅵ케ᅵᆫᅦ담벼락서생원에ᄀ양
--- 
-2.38.1
-

diff --git a/5038b28.patch b/5038b28.patch
new file mode 100644
index 0000000..bd4c384
--- /dev/null
+++ b/5038b28.patch
@@ -0,0 +1,28 @@
+From 5038b2836057e3a512609f100cf0369bfb167541 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Caol=C3=A1n=20McNamara?= <caolanm@gmail.com>
+Date: Tue, 5 May 2026 19:22:32 +0000
+Subject: [PATCH] Resolves #1117 abi-check: tolerate size_t mangling difference
+
+---
+ tests/abi-check.sh | 8 +++++++-
+ 1 file changed, 7 insertions(+), 1 deletion(-)
+
+diff --git a/tests/abi-check.sh b/tests/abi-check.sh
+index 2933ad01..04c1d893 100755
+--- a/tests/abi-check.sh
++++ b/tests/abi-check.sh
+@@ -69,7 +69,13 @@ if [ "$MODE" = "update" ]; then
+     exit 0
+ fi
+ 
+-MISSING="$(LC_ALL=C comm -23 "$BASELINE" "$CURRENT")"
++# size_t at the end of a parameter list mangles as 'm' on LP64 and 'j'
++# on ILP32; retry with the trailing letter swapped before declaring a
++# baseline symbol gone, so the check passes on 32-bit Linux too.
++MISSING="$(LC_ALL=C comm -23 "$BASELINE" "$CURRENT" | while IFS= read -r sym; do
++    alt=$(printf '%s' "$sym" | sed 's/m$/j/; t; s/j$/m/')
++    grep -qxF -- "$alt" "$CURRENT" || printf '%s\n' "$sym"
++done)"
+ if [ -n "$MISSING" ]; then
+     echo "abi-check: FAIL - symbols missing from current build:"
+     echo "$MISSING" | sed 's/^/  /'

diff --git a/basque_language_code.patch b/basque_language_code.patch
deleted file mode 100644
index 773645b..0000000
--- a/basque_language_code.patch
+++ /dev/null
@@ -1,874 +0,0 @@
-diff -U 3 -dHrN a/po/es_EU.po b/po/es_EU.po
---- a/po/es_EU.po	2022-12-29 20:54:31.000000000 +0100
-+++ b/po/es_EU.po	1970-01-01 01:00:00.000000000 +0100
-@@ -1,427 +0,0 @@
--# SOME DESCRIPTIVE TITLE.
--# Copyright (C) YEAR Free Software Foundation, Inc.
--# This file is distributed under the same license as the hunspell package.
--# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
--#
--msgid ""
--msgstr ""
--"Project-Id-Version: hunspell 1.5.0\n"
--"Report-Msgid-Bugs-To: https://github.com/hunspell/hunspell/issues\n"
--"POT-Creation-Date: 2022-12-29 20:54+0100\n"
--"PO-Revision-Date: 2022-08-25 15:09+0000\n"
--"Last-Translator: Anonymous <noreply@weblate.org>\n"
--"Language-Team: Basque <https://hosted.weblate.org/projects/hunspell/"
--"translations/eu/>\n"
--"Language: es_EU\n"
--"MIME-Version: 1.0\n"
--"Content-Type: text/plain; charset=UTF-8\n"
--"Content-Transfer-Encoding: 8bit\n"
--"Plural-Forms: nplurals=2; plural=n != 1;\n"
--"X-Generator: Weblate 4.14-dev\n"
--
--#: src/tools/hunspell.cxx:261 src/tools/hunspell.cxx:378
--#, c-format
--msgid "error - iconv_open: %s -> %s\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:275
--#, c-format
--msgid "error - iconv: %s -> %s\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:319 src/tools/hunspell.cxx:341
--#, c-format
--msgid "error - iconv_open: UTF-8 -> %s\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:680 src/tools/hunspell.cxx:1592
--msgid "Can't create tmp dir"
--msgstr ""
--
--#: src/tools/hunspell.cxx:691 src/tools/hunspell.cxx:703
--#: src/tools/hunspell.cxx:1575 src/tools/hunspell.cxx:1605
--#: src/tools/hunspell.cxx:1618
--msgid "Can't open inputfile"
--msgstr ""
--
--#: src/tools/hunspell.cxx:693 src/tools/hunspell.cxx:1607
--#: src/tools/hunspell.cxx:2006 src/tools/hunspell.cxx:2181
--#: src/tools/hunspell.cxx:2198
--#, c-format
--msgid "Can't open %s.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:773 src/tools/hunspell.cxx:1362
--#: src/tools/hunspell.cxx:1474
--#, c-format
--msgid "error - missing HOME variable\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:863
--#, c-format
--msgid "Line %d: %s -> "
--msgstr ""
--
--#: src/tools/hunspell.cxx:1143
--msgid "FORBIDDEN!"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1145
--msgid "Spelling mistake?"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1147
--#, c-format
--msgid ""
--"\t%s\t\tFile: %s\n"
--"\n"
--msgstr ""
--
--#. TRANSLATORS: the capital letters are shortcuts, mark one letter similarly
--#. in your translation and translate the standalone letter accordingly later
--#.
--#: src/tools/hunspell.cxx:1206
--msgid ""
--"\n"
--"[SPACE] R)epl A)ccept I)nsert U)ncap S)tem Q)uit e(X)it or ? for help\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1275
--msgid ""
--"Whenever a word is found that is not in the dictionary\n"
--"it is printed on the first line of the screen.  If the dictionary\n"
--"contains any similar words, they are listed with a number\n"
--"next to each one.  You have the option of replacing the word\n"
--"completely, or choosing one of the suggested words.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1281
--msgid ""
--"\n"
--"Commands are:\n"
--"\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1282
--msgid "R\tReplace the misspelled word completely.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1283
--msgid "Space\tAccept the word this time only.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1285
--msgid "A\tAccept the word for the rest of this session.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1287
--msgid "I\tAccept the word, and put it in your private dictionary.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1289
--msgid "U\tAccept and add lowercase version to private dictionary.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1291
--msgid ""
--"S\tAsk a stem and a model word and store them in the private dictionary.\n"
--"\tThe stem will be accepted also with the affixes of the model word.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1295
--msgid "0-n\tReplace with one of the suggested words.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1297
--msgid ""
--"X\tWrite the rest of this file, ignoring misspellings, and start next file.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1300
--msgid "Q\tQuit immediately. Asks for confirmation. Leaves file unchanged.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1302
--msgid "^Z\tSuspend program. Restart with fg command.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1303
--msgid "?\tShow this help screen.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1304
--msgid ""
--"\n"
--"-- Type space to continue -- \n"
--msgstr ""
--
--#. TRANSLATORS: translate this letter according to the shortcut letter
--#. used
--#. previously in the  translation of "R)epl" before
--#: src/tools/hunspell.cxx:1316
--msgid "r"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1325
--msgid "Replace with: "
--msgstr ""
--
--#. TRANSLATORS: translate these letters according to the shortcut letter
--#. used
--#. previously in the  translation of "U)ncap" and I)nsert before
--#. TRANSLATORS: translate this letter according to the shortcut letter
--#. used
--#. previously in the  translation of "U)ncap" and I)nsert before
--#: src/tools/hunspell.cxx:1349 src/tools/hunspell.cxx:1385
--msgid "u"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1350 src/tools/hunspell.cxx:1385
--msgid "i"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1378 src/tools/hunspell.cxx:1490
--#, c-format
--msgid "Cannot update personal dictionary."
--msgstr ""
--
--#: src/tools/hunspell.cxx:1386
--msgid "a"
--msgstr ""
--
--#. TRANSLATORS: translate this letter according to the shortcut letter
--#. used
--#. previously in the  translation of "S)tem" before
--#: src/tools/hunspell.cxx:1394
--msgid "s"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1409
--msgid "New word (stem): "
--msgstr ""
--
--#: src/tools/hunspell.cxx:1437
--msgid "Model word (a similar dictionary word): "
--msgstr ""
--
--#: src/tools/hunspell.cxx:1497
--msgid "Model word must be in the dictionary. Press any key!"
--msgstr ""
--
--#. TRANSLATORS: translate this letter according to the shortcut letter
--#. used
--#. previously in the  translation of "e(X)it" before
--#: src/tools/hunspell.cxx:1507
--msgid "x"
--msgstr ""
--
--#. TRANSLATORS: translate this letter according to the shortcut letter
--#. used
--#. previously in the  translation of "Q)uit" before
--#: src/tools/hunspell.cxx:1513
--msgid "q"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1516
--msgid "Are you sure you want to throw away your changes? "
--msgstr ""
--
--#. TRANSLATORS: translate this letter according to the shortcut
--#. * letter y)es
--#: src/tools/hunspell.cxx:1519
--msgid "y"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1628
--msgid "Can't create tempfile"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1673
--msgid "Can't open outputfile"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1826
--msgid "Usage: hunspell [OPTION]... [FILE]...\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1827
--msgid ""
--"Check spelling of each FILE. Without FILE, check standard input.\n"
--"\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1829
--msgid "  -1\t\tcheck only first field in lines (delimiter = tabulator)\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1831
--msgid "  -a\t\tIspell's pipe interface\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1832
--msgid "  --check-url\tcheck URLs, e-mail addresses and directory paths\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1837
--msgid "  --check-apostrophe\tcheck Unicode typographic apostrophe\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1839
--msgid "  -d d[,d2,...]\tuse d (d2 etc.) dictionaries\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1840
--msgid "  -D\t\tshow available dictionaries\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1841
--msgid "  -G\t\tprint only correct words or lines\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1842
--msgid "  -h, --help\tdisplay this help and exit\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1843
--msgid "  -H\t\tHTML input file format\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1844
--msgid "  -i enc\tinput encoding\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1845
--msgid "  -l\t\tprint misspelled words\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1846
--msgid "  -L\t\tprint lines with misspelled words\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1848
--msgid "  -m \t\tanalyze the words of the input text\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1849
--msgid "  -n\t\tnroff/troff input file format\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1853
--msgid "  -O\t\tOpenDocument (ODF or Flat ODF) input file format\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1854
--msgid "  -p dict\tset dict custom dictionary\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1856
--msgid "  -r\t\twarn of the potential mistakes (rare words)\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1859
--msgid "  -P password\tset password for encrypted dictionaries\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1860
--msgid "  -s \t\tstem the words of the input text\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1861
--msgid "  -S \t\tsuffix words of the input text\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1862
--msgid "  -t\t\tTeX/LaTeX input file format\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1863
--msgid "  -v, --version\tprint version number\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1865
--msgid "  -vv\t\tprint Ispell compatible version number\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1866
--msgid "  -w\t\tprint misspelled words (= lines) from one word/line input.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1868
--msgid ""
--"  -X\t\tXML input file format\n"
--"\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1872
--msgid ""
--"Example: hunspell -d en_US file.txt    # interactive spelling\n"
--"         hunspell -i utf-8 file.txt    # check UTF-8 encoded file\n"
--"         hunspell -l *.odt             # print misspelled words of ODF "
--"files\n"
--"\n"
--"         # Quick fix of ODF documents by personal dictionary creation\n"
--"\n"
--"         # 1 Make a reduced list from misspelled and unknown words:\n"
--"\n"
--"         hunspell -l *.odt | sort | uniq >words\n"
--"\n"
--"         # 2 Delete misspelled words of the file by a text editor.\n"
--"         # 3 Use this personal dictionary to fix the deleted words:\n"
--"\n"
--"         hunspell -p words *.odt\n"
--"\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1887
--msgid "Bug reports: http://hunspell.github.io/\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1895
--msgid ""
--"\n"
--"Copyright (C) 2002-2022 László Németh. License: MPL/GPL/LGPL.\n"
--"\n"
--"Based on OpenOffice.org's Myspell library.\n"
--"Myspell's copyright (C) Kevin Hendricks, 2001-2002, License: BSD.\n"
--"\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:1900
--msgid ""
--"This is free software; see the source for copying conditions.  There is NO\n"
--"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,\n"
--"to the extent permitted by law.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:2077
--#, c-format
--msgid ""
--"SEARCH PATH:\n"
--"%s\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:2081
--msgid "AVAILABLE DICTIONARIES (path is not mandatory for -d option):\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:2095 src/tools/hunspell.cxx:2115
--#, c-format
--msgid ""
--"LOADED DICTIONARY:\n"
--"%s\n"
--"%s\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:2118
--#, c-format
--msgid "error - %s exceeds dictionary limit.\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:2124
--#, c-format
--msgid "Can't open affix or dictionary files for dictionary named \"%s\".\n"
--msgstr ""
--
--#: src/tools/hunspell.cxx:2211
--msgid "Hunspell has been compiled without Ncurses user interface.\n"
--msgstr ""
-diff -U 3 -dHrN a/po/eu.po b/po/eu.po
---- a/po/eu.po	1970-01-01 01:00:00.000000000 +0100
-+++ b/po/eu.po	2026-05-04 18:22:46.849591717 +0200
-@@ -0,0 +1,427 @@
-+# SOME DESCRIPTIVE TITLE.
-+# Copyright (C) YEAR Free Software Foundation, Inc.
-+# This file is distributed under the same license as the hunspell package.
-+# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
-+#
-+msgid ""
-+msgstr ""
-+"Project-Id-Version: hunspell 1.5.0\n"
-+"Report-Msgid-Bugs-To: https://github.com/hunspell/hunspell/issues\n"
-+"POT-Creation-Date: 2022-12-29 20:54+0100\n"
-+"PO-Revision-Date: 2022-08-25 15:09+0000\n"
-+"Last-Translator: Anonymous <noreply@weblate.org>\n"
-+"Language-Team: Basque <https://hosted.weblate.org/projects/hunspell/"
-+"translations/eu/>\n"
-+"Language: eu\n"
-+"MIME-Version: 1.0\n"
-+"Content-Type: text/plain; charset=UTF-8\n"
-+"Content-Transfer-Encoding: 8bit\n"
-+"Plural-Forms: nplurals=2; plural=n != 1;\n"
-+"X-Generator: Weblate 4.14-dev\n"
-+
-+#: src/tools/hunspell.cxx:261 src/tools/hunspell.cxx:378
-+#, c-format
-+msgid "error - iconv_open: %s -> %s\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:275
-+#, c-format
-+msgid "error - iconv: %s -> %s\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:319 src/tools/hunspell.cxx:341
-+#, c-format
-+msgid "error - iconv_open: UTF-8 -> %s\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:680 src/tools/hunspell.cxx:1592
-+msgid "Can't create tmp dir"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:691 src/tools/hunspell.cxx:703
-+#: src/tools/hunspell.cxx:1575 src/tools/hunspell.cxx:1605
-+#: src/tools/hunspell.cxx:1618
-+msgid "Can't open inputfile"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:693 src/tools/hunspell.cxx:1607
-+#: src/tools/hunspell.cxx:2006 src/tools/hunspell.cxx:2181
-+#: src/tools/hunspell.cxx:2198
-+#, c-format
-+msgid "Can't open %s.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:773 src/tools/hunspell.cxx:1362
-+#: src/tools/hunspell.cxx:1474
-+#, c-format
-+msgid "error - missing HOME variable\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:863
-+#, c-format
-+msgid "Line %d: %s -> "
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1143
-+msgid "FORBIDDEN!"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1145
-+msgid "Spelling mistake?"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1147
-+#, c-format
-+msgid ""
-+"\t%s\t\tFile: %s\n"
-+"\n"
-+msgstr ""
-+
-+#. TRANSLATORS: the capital letters are shortcuts, mark one letter similarly
-+#. in your translation and translate the standalone letter accordingly later
-+#.
-+#: src/tools/hunspell.cxx:1206
-+msgid ""
-+"\n"
-+"[SPACE] R)epl A)ccept I)nsert U)ncap S)tem Q)uit e(X)it or ? for help\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1275
-+msgid ""
-+"Whenever a word is found that is not in the dictionary\n"
-+"it is printed on the first line of the screen.  If the dictionary\n"
-+"contains any similar words, they are listed with a number\n"
-+"next to each one.  You have the option of replacing the word\n"
-+"completely, or choosing one of the suggested words.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1281
-+msgid ""
-+"\n"
-+"Commands are:\n"
-+"\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1282
-+msgid "R\tReplace the misspelled word completely.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1283
-+msgid "Space\tAccept the word this time only.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1285
-+msgid "A\tAccept the word for the rest of this session.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1287
-+msgid "I\tAccept the word, and put it in your private dictionary.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1289
-+msgid "U\tAccept and add lowercase version to private dictionary.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1291
-+msgid ""
-+"S\tAsk a stem and a model word and store them in the private dictionary.\n"
-+"\tThe stem will be accepted also with the affixes of the model word.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1295
-+msgid "0-n\tReplace with one of the suggested words.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1297
-+msgid ""
-+"X\tWrite the rest of this file, ignoring misspellings, and start next file.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1300
-+msgid "Q\tQuit immediately. Asks for confirmation. Leaves file unchanged.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1302
-+msgid "^Z\tSuspend program. Restart with fg command.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1303
-+msgid "?\tShow this help screen.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1304
-+msgid ""
-+"\n"
-+"-- Type space to continue -- \n"
-+msgstr ""
-+
-+#. TRANSLATORS: translate this letter according to the shortcut letter
-+#. used
-+#. previously in the  translation of "R)epl" before
-+#: src/tools/hunspell.cxx:1316
-+msgid "r"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1325
-+msgid "Replace with: "
-+msgstr ""
-+
-+#. TRANSLATORS: translate these letters according to the shortcut letter
-+#. used
-+#. previously in the  translation of "U)ncap" and I)nsert before
-+#. TRANSLATORS: translate this letter according to the shortcut letter
-+#. used
-+#. previously in the  translation of "U)ncap" and I)nsert before
-+#: src/tools/hunspell.cxx:1349 src/tools/hunspell.cxx:1385
-+msgid "u"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1350 src/tools/hunspell.cxx:1385
-+msgid "i"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1378 src/tools/hunspell.cxx:1490
-+#, c-format
-+msgid "Cannot update personal dictionary."
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1386
-+msgid "a"
-+msgstr ""
-+
-+#. TRANSLATORS: translate this letter according to the shortcut letter
-+#. used
-+#. previously in the  translation of "S)tem" before
-+#: src/tools/hunspell.cxx:1394
-+msgid "s"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1409
-+msgid "New word (stem): "
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1437
-+msgid "Model word (a similar dictionary word): "
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1497
-+msgid "Model word must be in the dictionary. Press any key!"
-+msgstr ""
-+
-+#. TRANSLATORS: translate this letter according to the shortcut letter
-+#. used
-+#. previously in the  translation of "e(X)it" before
-+#: src/tools/hunspell.cxx:1507
-+msgid "x"
-+msgstr ""
-+
-+#. TRANSLATORS: translate this letter according to the shortcut letter
-+#. used
-+#. previously in the  translation of "Q)uit" before
-+#: src/tools/hunspell.cxx:1513
-+msgid "q"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1516
-+msgid "Are you sure you want to throw away your changes? "
-+msgstr ""
-+
-+#. TRANSLATORS: translate this letter according to the shortcut
-+#. * letter y)es
-+#: src/tools/hunspell.cxx:1519
-+msgid "y"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1628
-+msgid "Can't create tempfile"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1673
-+msgid "Can't open outputfile"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1826
-+msgid "Usage: hunspell [OPTION]... [FILE]...\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1827
-+msgid ""
-+"Check spelling of each FILE. Without FILE, check standard input.\n"
-+"\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1829
-+msgid "  -1\t\tcheck only first field in lines (delimiter = tabulator)\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1831
-+msgid "  -a\t\tIspell's pipe interface\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1832
-+msgid "  --check-url\tcheck URLs, e-mail addresses and directory paths\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1837
-+msgid "  --check-apostrophe\tcheck Unicode typographic apostrophe\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1839
-+msgid "  -d d[,d2,...]\tuse d (d2 etc.) dictionaries\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1840
-+msgid "  -D\t\tshow available dictionaries\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1841
-+msgid "  -G\t\tprint only correct words or lines\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1842
-+msgid "  -h, --help\tdisplay this help and exit\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1843
-+msgid "  -H\t\tHTML input file format\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1844
-+msgid "  -i enc\tinput encoding\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1845
-+msgid "  -l\t\tprint misspelled words\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1846
-+msgid "  -L\t\tprint lines with misspelled words\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1848
-+msgid "  -m \t\tanalyze the words of the input text\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1849
-+msgid "  -n\t\tnroff/troff input file format\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1853
-+msgid "  -O\t\tOpenDocument (ODF or Flat ODF) input file format\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1854
-+msgid "  -p dict\tset dict custom dictionary\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1856
-+msgid "  -r\t\twarn of the potential mistakes (rare words)\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1859
-+msgid "  -P password\tset password for encrypted dictionaries\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1860
-+msgid "  -s \t\tstem the words of the input text\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1861
-+msgid "  -S \t\tsuffix words of the input text\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1862
-+msgid "  -t\t\tTeX/LaTeX input file format\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1863
-+msgid "  -v, --version\tprint version number\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1865
-+msgid "  -vv\t\tprint Ispell compatible version number\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1866
-+msgid "  -w\t\tprint misspelled words (= lines) from one word/line input.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1868
-+msgid ""
-+"  -X\t\tXML input file format\n"
-+"\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1872
-+msgid ""
-+"Example: hunspell -d en_US file.txt    # interactive spelling\n"
-+"         hunspell -i utf-8 file.txt    # check UTF-8 encoded file\n"
-+"         hunspell -l *.odt             # print misspelled words of ODF "
-+"files\n"
-+"\n"
-+"         # Quick fix of ODF documents by personal dictionary creation\n"
-+"\n"
-+"         # 1 Make a reduced list from misspelled and unknown words:\n"
-+"\n"
-+"         hunspell -l *.odt | sort | uniq >words\n"
-+"\n"
-+"         # 2 Delete misspelled words of the file by a text editor.\n"
-+"         # 3 Use this personal dictionary to fix the deleted words:\n"
-+"\n"
-+"         hunspell -p words *.odt\n"
-+"\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1887
-+msgid "Bug reports: http://hunspell.github.io/\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1895
-+msgid ""
-+"\n"
-+"Copyright (C) 2002-2022 László Németh. License: MPL/GPL/LGPL.\n"
-+"\n"
-+"Based on OpenOffice.org's Myspell library.\n"
-+"Myspell's copyright (C) Kevin Hendricks, 2001-2002, License: BSD.\n"
-+"\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:1900
-+msgid ""
-+"This is free software; see the source for copying conditions.  There is NO\n"
-+"warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE,\n"
-+"to the extent permitted by law.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:2077
-+#, c-format
-+msgid ""
-+"SEARCH PATH:\n"
-+"%s\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:2081
-+msgid "AVAILABLE DICTIONARIES (path is not mandatory for -d option):\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:2095 src/tools/hunspell.cxx:2115
-+#, c-format
-+msgid ""
-+"LOADED DICTIONARY:\n"
-+"%s\n"
-+"%s\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:2118
-+#, c-format
-+msgid "error - %s exceeds dictionary limit.\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:2124
-+#, c-format
-+msgid "Can't open affix or dictionary files for dictionary named \"%s\".\n"
-+msgstr ""
-+
-+#: src/tools/hunspell.cxx:2211
-+msgid "Hunspell has been compiled without Ncurses user interface.\n"
-+msgstr ""
-diff -U 3 -dHrN a/po/LINGUAS b/po/LINGUAS
---- a/po/LINGUAS	2022-12-26 00:48:44.000000000 +0100
-+++ b/po/LINGUAS	2026-05-04 18:23:01.105861260 +0200
-@@ -8,7 +8,7 @@
- de_CH
- eo
- es
--es_EU
-+eu
- fr
- fy
- gl

diff --git a/hunspell.spec b/hunspell.spec
index 07573e1..a5fa985 100644
--- a/hunspell.spec
+++ b/hunspell.spec
@@ -2,11 +2,16 @@
 
 Name:      hunspell
 Summary:   A spell checker and morphological analyzer library
-Version:   1.7.2
+Version:   1.7.3
 Release:   %autorelease
 Source:    https://github.com/hunspell/hunspell/releases/download/v%{version}/hunspell-%{version}.tar.gz
 URL:       https://github.com/hunspell/hunspell
 License:   LGPL-2.1-or-later OR GPL-2.0-or-later OR MPL-1.1
+
+# Backport patch to fix tests on 32bit
+# https://github.com/hunspell/hunspell/issues/1117
+Patch:      5038b28.patch
+
 BuildRequires:  gcc-c++
 BuildRequires: autoconf, automake, libtool, ncurses-devel, gettext-devel
 BuildRequires: perl-generators
@@ -20,10 +25,6 @@ BuildRequires: make
 Requires:  hunspell-en-US
 Requires:  hunspell-filesystem = %{version}-%{release}
 
-Patch0: 0001-Resolves-rhbz-2158548-allow-longer-words-for-hunspel.patch
-
-# Backport upstream patch to correct Basque language code
-Patch1: basque_language_code.patch
 
 %description
 Hunspell is a spell checker and morphological analyzer library and program
@@ -46,9 +47,7 @@ Provides a directory in which to store dictionaries provided by other
 packages.
 
 %prep
-%setup -q
-%patch -P0 -p1 -b .rhbz2158548
-%patch -P1 -p1
+%autosetup -p1
 
 %build
 autoreconf -vfi
@@ -99,7 +98,6 @@ mkdir $RPM_BUILD_ROOT/%{_datadir}/hunspell
 mkdir $RPM_BUILD_ROOT/%{_datadir}/myspell
 %find_lang %{name}
 
-%ldconfig_scriptlets
 
 %files -f %{name}.lang
 %doc README COPYING COPYING.LESSER COPYING.MPL AUTHORS license.hunspell license.myspell THANKS

diff --git a/sources b/sources
index 0338530..1156fd6 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (hunspell-1.7.2.tar.gz) = 49b3619bff12e111b6cc3f3d9463612b116f9b2a976896718e65f5bc4a83ece11100aaf56a4d18127ea39107446c495e12affe5ff3c9159ae8aba70e512f44ac
+SHA512 (hunspell-1.7.3.tar.gz) = 0d6c6f43e478c426eaf9d14e963508880d3eacc7f40dea5677c2afa9bbe28b9fc8ebe3db67bbfcc1635c1396fa9474d2c7c775d3be00381cafeb2655215ee336

                 reply	other threads:[~2026-06-26 19:18 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=178250153929.1.14562954271550042585.rpms-hunspell-c3a32cc1f759@fedoraproject.org \
    --to=mattia.verga@proton.me \
    --cc=git-commits@fedoraproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox