From 61081c549b1ac6fbad67eaea033871a16a946268 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Wed, 25 Sep 2024 23:08:07 -0700 Subject: [PATCH] Switch to sorting wordlists with -f in addition to -d (#1040126) --- debian/changelog | 4 +++- debian/rules | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 6da3cfc..cbc0fae 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,8 +2,10 @@ scowl (2020.12.07-3) unstable; urgency=medium * Include hunspell .bdic files (for qtwebengine and others). (Closes: #1017646) Thanks to Soren Stoutner. + * Wordlists are also sorted with -f in addition to -d, as that is now + the default for look (Closes: #1040126). Thanks to Peter Moulder. - -- Don Armstrong Mon, 19 Sep 2022 16:19:57 -0700 + -- Don Armstrong Wed, 25 Sep 2024 22:57:56 -0700 scowl (2020.12.07-2) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index a9e36b7..7f6ce0d 100755 --- a/debian/rules +++ b/debian/rules @@ -55,7 +55,7 @@ override_dh_auto_build: echo " $${word_list}" >> w$$SPELLING$$SIZE.scowl-word-lists-used;\ fi;\ done; \ - cat $$SPELLING-english$$SIZE.unsorted | LC_ALL=C sort -d | uniq | iconv -f 'iso8859-1' -t 'utf-8' > $$SPELLING-english$$SIZE; rm $$SPELLING-english$$SIZE.unsorted;\ + cat $$SPELLING-english$$SIZE.unsorted | LC_ALL=C sort -d -f | uniq | iconv -f 'iso8859-1' -t 'utf-8' > $$SPELLING-english$$SIZE; rm $$SPELLING-english$$SIZE.unsorted;\ done;\ done cd speller && $(MAKE) hunspell -- 2.39.5