From f98b983018fadf659b959aceb1dc817eafe446307db7b5d9b79a892cbbe5b461 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 3 May 2015 19:50:06 +0000 Subject: [PATCH 1/3] 5.10.0 OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=51 --- sonnet-5.10.0.tar.xz | 3 +++ sonnet-5.9.0.tar.xz | 3 --- sonnet.changes | 7 +++++++ sonnet.spec | 4 ++-- 4 files changed, 12 insertions(+), 5 deletions(-) create mode 100644 sonnet-5.10.0.tar.xz delete mode 100644 sonnet-5.9.0.tar.xz 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..09fbd49 100644 --- a/sonnet.changes +++ b/sonnet.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun May 3 19:50:00 UTC 2015 - hrvoje.senjan@gmail.com + +- Update to 5.10.0 + * 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 From 1e459a6a82e1d0647f02d94642ff9b7c817af01753b4ae7f7e6fe52101c64929 Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sun, 3 May 2015 19:57:39 +0000 Subject: [PATCH 2/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=52 --- dictionary-locations.patch | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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()) { From 99e81c48a0389c45797a5f61e43f5b02fda521663824481ffd7643428645f7bd Mon Sep 17 00:00:00 2001 From: Hrvoje Senjan Date: Sat, 9 May 2015 00:25:47 +0000 Subject: [PATCH 3/3] OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/sonnet?expand=0&rev=53 --- sonnet.changes | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sonnet.changes b/sonnet.changes index 09fbd49..345a369 100644 --- a/sonnet.changes +++ b/sonnet.changes @@ -2,6 +2,9 @@ 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