From 527b440da4a4b341a4282af01f8af3eb575aaa8c Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Thu, 4 Jun 2015 18:01:19 -0500 Subject: [PATCH] fix sonnect/hunspell dictionary paths --- kdelibs-4.14.9-myspell_paths.patch | 27 +++++++++++++++++++++++++++ kdelibs.spec | 9 ++++++++- 2 files changed, 35 insertions(+), 1 deletion(-) create mode 100644 kdelibs-4.14.9-myspell_paths.patch diff --git a/kdelibs-4.14.9-myspell_paths.patch b/kdelibs-4.14.9-myspell_paths.patch new file mode 100644 index 0000000..6ed1661 --- /dev/null +++ b/kdelibs-4.14.9-myspell_paths.patch @@ -0,0 +1,27 @@ +diff -up kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp.myspell_paths kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp +--- kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp.myspell_paths 2015-05-28 20:27:39.000000000 -0500 ++++ kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspellclient.cpp 2015-06-04 17:59:10.824869047 -0500 +@@ -52,7 +52,7 @@ SpellerPlugin *HunspellClient::createSpe + QStringList HunspellClient::languages() const + { + QStringList lst; +- QDir dir("/usr/share/myspell/dicts/"); ++ QDir dir("/usr/share/myspell/"); + if(dir.exists()) + { + QStringList lstDic = dir.entryList(QStringList("*.dic"), QDir::Files ); +diff -up kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp.myspell_paths kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp +--- kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp.myspell_paths 2015-05-28 20:27:39.000000000 -0500 ++++ kdelibs-4.14.9/sonnet/plugins/hunspell/kspell_hunspelldict.cpp 2015-06-04 17:58:49.055774079 -0500 +@@ -31,9 +31,9 @@ HunspellDict::HunspellDict( const QStrin + : SpellerPlugin(lang), m_speller(0) + { + kDebug()<<" HunspellDict::HunspellDict( const QString& lang ):"< /dev/null || : %changelog +* Thu Jun 04 2015 Rex Dieter 6:4.14.9-2 +- fix sonnect/hunspell dictionary paths + * Thu Jun 04 2015 Rex Dieter 6:4.14.9-1.1 - Revert upstream kplaces sync fix (