diff --git a/dictionary-locations.patch b/dictionary-locations.patch index b31e52a..2701655 100644 --- a/dictionary-locations.patch +++ b/dictionary-locations.patch @@ -1,8 +1,8 @@ diff --git a/src/plugins/hunspell/hunspellclient.cpp b/src/plugins/hunspell/hunspellclient.cpp -index 9e3aa67..bf2ca71 100644 +index 46963ef..80c2636 100644 --- a/src/plugins/hunspell/hunspellclient.cpp +++ b/src/plugins/hunspell/hunspellclient.cpp -@@ -46,7 +46,7 @@ SpellerPlugin *HunspellClient::createSpeller(const QString &language) +@@ -47,7 +47,7 @@ SpellerPlugin *HunspellClient::createSpeller(const QString &language) QStringList HunspellClient::languages() const { QStringList lst; @@ -12,13 +12,13 @@ index 9e3aa67..bf2ca71 100644 QStringList lstDic = dir.entryList(QStringList(QStringLiteral("*.dic")), QDir::Files); foreach (const QString &tmp, lstDic) { diff --git a/src/plugins/hunspell/hunspelldict.cpp b/src/plugins/hunspell/hunspelldict.cpp -index 621113d..5baa65f 100644 +index fda4a4c..489bc9b 100644 --- a/src/plugins/hunspell/hunspelldict.cpp +++ b/src/plugins/hunspell/hunspelldict.cpp -@@ -30,9 +30,9 @@ HunspellDict::HunspellDict(const QString &lang) +@@ -31,9 +31,9 @@ HunspellDict::HunspellDict(const QString &lang) : SpellerPlugin(lang), m_speller(0) { - qDebug() << " HunspellDict::HunspellDict( const QString& lang ):" << lang; + qCDebug(SONNET_HUNSPELL) << " HunspellDict::HunspellDict( const QString& lang ):" << lang; - QString dic = QStringLiteral("/usr/share/myspell/dicts/%1.dic").arg(lang); + QString dic = QStringLiteral("/usr/share/hunspell/%1.dic").arg(lang); if (QFileInfo(dic).exists()) { diff --git a/sonnet-5.10.0.tar.xz b/sonnet-5.10.0.tar.xz new file mode 100644 index 0000000..720445e --- /dev/null +++ b/sonnet-5.10.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:23cdf79966bec478c0932a37647e1560457b4da76a4dc9371962f2466b01a2a9 +size 273408 diff --git a/sonnet-5.9.0.tar.xz b/sonnet-5.9.0.tar.xz deleted file mode 100644 index 21dec4c..0000000 --- a/sonnet-5.9.0.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:486ce8631556479bbda867f96f7628138759899fdf4bf0e16beaab641b468719 -size 272448 diff --git a/sonnet.changes b/sonnet.changes index 7b91043..345a369 100644 --- a/sonnet.changes +++ b/sonnet.changes @@ -1,3 +1,13 @@ +------------------------------------------------------------------- +Sun May 3 19:50:00 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.10.0 + * Don't try to highlight if there is no spell checker found. + This would lead to an infinite loop with rehighlighRequest + timer firing constanty. + * For more details please see: + https://www.kde.org/announcements/kde-frameworks-5.10.0.php + ------------------------------------------------------------------- Sat Apr 4 14:40:57 UTC 2015 - hrvoje.senjan@gmail.com diff --git a/sonnet.spec b/sonnet.spec index 77f31d7..b05d2c4 100644 --- a/sonnet.spec +++ b/sonnet.spec @@ -18,9 +18,9 @@ %bcond_without lang %define sonum 5 -%define _tar_path 5.9 +%define _tar_path 5.10 Name: sonnet -Version: 5.9.0 +Version: 5.10.0 Release: 0 #BuildRequires: aspell-devel BuildRequires: cmake >= 2.8.12