Accepting request 306025 from KDE:Frameworks5

Update to 5.10.0.

OBS-URL: https://build.opensuse.org/request/show/306025
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/sonnet?expand=0&rev=17
This commit is contained in:
Stephan Kulow 2015-05-11 17:37:11 +00:00 committed by Git OBS Bridge
commit 04b6139874
5 changed files with 20 additions and 10 deletions

View File

@ -1,8 +1,8 @@
diff --git a/src/plugins/hunspell/hunspellclient.cpp b/src/plugins/hunspell/hunspellclient.cpp 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 --- a/src/plugins/hunspell/hunspellclient.cpp
+++ b/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 HunspellClient::languages() const
{ {
QStringList lst; QStringList lst;
@ -12,13 +12,13 @@ index 9e3aa67..bf2ca71 100644
QStringList lstDic = dir.entryList(QStringList(QStringLiteral("*.dic")), QDir::Files); QStringList lstDic = dir.entryList(QStringList(QStringLiteral("*.dic")), QDir::Files);
foreach (const QString &tmp, lstDic) { foreach (const QString &tmp, lstDic) {
diff --git a/src/plugins/hunspell/hunspelldict.cpp b/src/plugins/hunspell/hunspelldict.cpp 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 --- a/src/plugins/hunspell/hunspelldict.cpp
+++ b/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) : 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/myspell/dicts/%1.dic").arg(lang);
+ QString dic = QStringLiteral("/usr/share/hunspell/%1.dic").arg(lang); + QString dic = QStringLiteral("/usr/share/hunspell/%1.dic").arg(lang);
if (QFileInfo(dic).exists()) { if (QFileInfo(dic).exists()) {

3
sonnet-5.10.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:23cdf79966bec478c0932a37647e1560457b4da76a4dc9371962f2466b01a2a9
size 273408

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:486ce8631556479bbda867f96f7628138759899fdf4bf0e16beaab641b468719
size 272448

View File

@ -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 Sat Apr 4 14:40:57 UTC 2015 - hrvoje.senjan@gmail.com

View File

@ -18,9 +18,9 @@
%bcond_without lang %bcond_without lang
%define sonum 5 %define sonum 5
%define _tar_path 5.9 %define _tar_path 5.10
Name: sonnet Name: sonnet
Version: 5.9.0 Version: 5.10.0
Release: 0 Release: 0
#BuildRequires: aspell-devel #BuildRequires: aspell-devel
BuildRequires: cmake >= 2.8.12 BuildRequires: cmake >= 2.8.12