Hello community,
here is the log from the commit of package sonnet for openSUSE:Factory checked in at 2019-10-14 13:40:44
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/sonnet (Old)
and /work/SRC/openSUSE:Factory/.sonnet.new.2352 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "sonnet"
Mon Oct 14 13:40:44 2019 rev:73 rq:738073 version:5.63.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/sonnet/sonnet.changes 2019-09-23 12:28:02.277702452 +0200
+++ /work/SRC/openSUSE:Factory/.sonnet.new.2352/sonnet.changes 2019-10-14 13:40:45.541513663 +0200
@@ -1,0 +2,10 @@
+Sun Oct 6 13:27:08 UTC 2019 - Christophe Giboudeaux
+
+- Update to 5.63.0
+ * New feature release
+ * For more details please see:
+ * https://www.kde.org/announcements/kde-frameworks-5.63.0.php
+- Changes since 5.62.0:
+ * Use directly QElapsedTimer
+
+-------------------------------------------------------------------
Old:
----
sonnet-5.62.0.tar.xz
sonnet-5.62.0.tar.xz.sig
New:
----
sonnet-5.63.0.tar.xz
sonnet-5.63.0.tar.xz.sig
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ sonnet.spec ++++++
--- /var/tmp/diff_new_pack.774PO7/_old 2019-10-14 13:40:46.189511974 +0200
+++ /var/tmp/diff_new_pack.774PO7/_new 2019-10-14 13:40:46.189511974 +0200
@@ -17,14 +17,14 @@
%define sonum 5
-%define _tar_path 5.62
+%define _tar_path 5.63
# Full KF5 version (e.g. 5.33.0)
%{!?_kf5_version: %global _kf5_version %{version}}
# Last major and minor KF5 version (e.g. 5.33)
%{!?_kf5_bugfix_version: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: sonnet
-Version: 5.62.0
+Version: 5.63.0
Release: 0
Summary: KDE spell checking library
License: LGPL-2.1-or-later
@@ -45,13 +45,13 @@
BuildRequires: kf5-filesystem
BuildRequires: myspell-dictionaries
BuildRequires: pkgconfig
-BuildRequires: cmake(Qt5Core) >= 5.6.0
-BuildRequires: cmake(Qt5Test) >= 5.6.0
-BuildRequires: cmake(Qt5UiPlugin) >= 5.6.0
-BuildRequires: cmake(Qt5Widgets) >= 5.6.0
+BuildRequires: cmake(Qt5Core) >= 5.11.0
+BuildRequires: cmake(Qt5Test) >= 5.11.0
+BuildRequires: cmake(Qt5UiPlugin) >= 5.11.0
+BuildRequires: cmake(Qt5Widgets) >= 5.11.0
BuildRequires: pkgconfig(hunspell)
%if %{with lang}
-BuildRequires: cmake(Qt5LinguistTools) >= 5.6.0
+BuildRequires: cmake(Qt5LinguistTools) >= 5.11.0
%endif
%description
@@ -92,7 +92,7 @@
Requires: extra-cmake-modules
Requires: libKF5SonnetCore%{sonum} = %{version}
Requires: libKF5SonnetUi%{sonum} = %{version}
-Requires: cmake(Qt5Core) >= 5.6.0
+Requires: cmake(Qt5Core) >= 5.11.0
%description devel
Sonnet is a plugin-based spell checking library for Qt-based
++++++ sonnet-5.62.0.tar.xz -> sonnet-5.63.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.62.0/CMakeLists.txt new/sonnet-5.63.0/CMakeLists.txt
--- old/sonnet-5.62.0/CMakeLists.txt 2019-09-07 16:52:27.000000000 +0200
+++ new/sonnet-5.63.0/CMakeLists.txt 2019-10-06 11:52:29.000000000 +0200
@@ -1,11 +1,10 @@
-
cmake_minimum_required(VERSION 3.5)
-set(KF5_VERSION "5.62.0") # handled by release scripts
+set(KF5_VERSION "5.63.0") # handled by release scripts
project(Sonnet VERSION ${KF5_VERSION})
include(FeatureSummary)
-find_package(ECM 5.62.0 NO_MODULE)
+find_package(ECM 5.63.0 NO_MODULE)
set_package_properties(ECM PROPERTIES TYPE REQUIRED DESCRIPTION "Extra CMake Modules." URL "https://projects.kde.org/projects/kdesupport/extra-cmake-modules")
feature_summary(WHAT REQUIRED_PACKAGES_NOT_FOUND FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.62.0/autotests/test_core.cpp new/sonnet-5.63.0/autotests/test_core.cpp
--- old/sonnet-5.62.0/autotests/test_core.cpp 2019-09-07 16:52:27.000000000 +0200
+++ new/sonnet-5.63.0/autotests/test_core.cpp 2019-10-06 11:52:29.000000000 +0200
@@ -21,7 +21,7 @@
#include "test_core.h"
#include "speller.h"
-
+#include <QElapsedTimer>
#include
#include <QDebug>
@@ -46,7 +46,7 @@
<< QStringLiteral("guvernment") << QStringLiteral("farted");
}
- QTime mtime;
+ QElapsedTimer mtime;
mtime.start();
for (QStringList::Iterator itr = words.begin();
itr != words.end(); ++itr) {
@@ -84,7 +84,7 @@
<< QStringLiteral("Regirung") << QStringLiteral("bet");
}
- QTime mtime;
+ QElapsedTimer mtime;
mtime.start();
for (QStringList::Iterator itr = words.begin();
itr != words.end(); ++itr) {
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.62.0/po/se/sonnet5_qt.po new/sonnet-5.63.0/po/se/sonnet5_qt.po
--- old/sonnet-5.62.0/po/se/sonnet5_qt.po 2019-09-07 16:52:27.000000000 +0200
+++ new/sonnet-5.63.0/po/se/sonnet5_qt.po 2019-10-06 11:52:29.000000000 +0200
@@ -232,43 +232,43 @@
msgid "&Remove"
msgstr "&Váldde eret"
-#: ui/dialog.cpp:100 ui/dialog.cpp:222 ui/dialog.cpp:433
+#: ui/dialog.cpp:96 ui/dialog.cpp:218 ui/dialog.cpp:429
#, fuzzy
msgctxt "Sonnet::Dialog|@title:window"
msgid "Check Spelling"
msgstr "Čállindárkkisteapmi"
-#: ui/dialog.cpp:221
+#: ui/dialog.cpp:217
#, fuzzy
msgctxt "Sonnet::Dialog|progress label"
msgid "Spell checking in progress..."
msgstr "Čállindárkkisteapmi lea jođus …"
-#: ui/dialog.cpp:242
+#: ui/dialog.cpp:238
#, fuzzy
msgctxt "Sonnet::Dialog|"
msgid "Spell check stopped."
msgstr "Čállindárkkisteapmi bissehuvvui."
-#: ui/dialog.cpp:252
+#: ui/dialog.cpp:248
#, fuzzy
msgctxt "Sonnet::Dialog|"
msgid "Spell check canceled."
msgstr "Čállindárkkisteapmi gaskkalduhttui."
-#: ui/dialog.cpp:429 ui/dialog.cpp:432
+#: ui/dialog.cpp:425 ui/dialog.cpp:428
#, fuzzy
msgctxt "Sonnet::Dialog|"
msgid "Spell check complete."
msgstr "Čállindárkkisteapmi lea geargan."
-#: ui/highlighter.cpp:252 ui/highlighter.cpp:274
+#: ui/highlighter.cpp:251 ui/highlighter.cpp:273
#, fuzzy
msgctxt "Sonnet::Highlighter|"
msgid "As-you-type spell checking enabled."
msgstr "Čáledettiin dárkkisteapmi lea jođus."
-#: ui/highlighter.cpp:255
+#: ui/highlighter.cpp:254
#, fuzzy
msgctxt "Sonnet::Highlighter|"
msgid "Too many misspelled words. As-you-type spell checking disabled."
@@ -276,7 +276,7 @@
"Menddo máŋga boasttočállon sánit. Čáledettiin dárkkisteapmi ii leat šat "
"jođus."
-#: ui/highlighter.cpp:276
+#: ui/highlighter.cpp:275
#, fuzzy
msgctxt "Sonnet::Highlighter|"
msgid "As-you-type spell checking disabled."
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.62.0/src/core/CMakeLists.txt new/sonnet-5.63.0/src/core/CMakeLists.txt
--- old/sonnet-5.62.0/src/core/CMakeLists.txt 2019-09-07 16:52:27.000000000 +0200
+++ new/sonnet-5.63.0/src/core/CMakeLists.txt 2019-10-06 11:52:29.000000000 +0200
@@ -63,6 +63,8 @@
${SonnetCore_HEADERS}
LINK_QCHS
Qt5Core_QCH
+ INCLUDE_DIRS
+ ${CMAKE_CURRENT_BINARY_DIR}
BLANK_MACROS
SONNETCORE_EXPORT
SONNETCORE_DEPRECATED_EXPORT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.62.0/src/ui/CMakeLists.txt new/sonnet-5.63.0/src/ui/CMakeLists.txt
--- old/sonnet-5.62.0/src/ui/CMakeLists.txt 2019-09-07 16:52:27.000000000 +0200
+++ new/sonnet-5.63.0/src/ui/CMakeLists.txt 2019-10-06 11:52:29.000000000 +0200
@@ -1,15 +1,5 @@
project(sonnetui)
-include_directories(
- ${QT_INCLUDES}
- ${CMAKE_CURRENT_BINARY_DIR}
-)
-
-include_directories(
- ${CMAKE_CURRENT_SOURCE_DIR}/../core
- ${CMAKE_CURRENT_BINARY_DIR}/../core
-)
-
ecm_create_qm_loader(sonnet_QM_LOADER sonnet5_qt)
set(sonnetui_SRCS
@@ -88,6 +78,8 @@
Qt5Core_QCH
Qt5Gui_QCH
Qt5Widgets_QCH
+ INCLUDE_DIRS
+ ${CMAKE_CURRENT_BINARY_DIR}
BLANK_MACROS
SONNETUI_EXPORT
SONNETUI_DEPRECATED_EXPORT
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/sonnet-5.62.0/tests/backgroundtest.h new/sonnet-5.63.0/tests/backgroundtest.h
--- old/sonnet-5.62.0/tests/backgroundtest.h 2019-09-07 16:52:27.000000000 +0200
+++ new/sonnet-5.63.0/tests/backgroundtest.h 2019-10-06 11:52:29.000000000 +0200
@@ -22,7 +22,7 @@
#define BACKGROUNDTEST_H
#include <QObject>
-
+#include <QElapsedTimer>
#include "backgroundchecker.h"
class BackgroundTest : public QObject
@@ -38,7 +38,7 @@
private:
Sonnet::BackgroundChecker *m_checker;
Sonnet::Speller m_speller;
- QTime m_timer;
+ QElapsedTimer m_timer;
int m_len;
};