Hello community,
here is the log from the commit of package kross for openSUSE:Factory checked in at 2017-03-03 17:17:54
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kross (Old)
and /work/SRC/openSUSE:Factory/.kross.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kross"
Fri Mar 3 17:17:54 2017 rev:38 rq:461455 version:5.31.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/kross/kross.changes 2017-02-03 17:46:14.228208998 +0100
+++ /work/SRC/openSUSE:Factory/.kross.new/kross.changes 2017-03-03 17:17:54.986907407 +0100
@@ -1,0 +2,7 @@
+Thu Feb 9 09:32:34 UTC 2017 - hrvoje.senjan@gmail.com
+
+- Update to 5.31.0
+ * For more details please see:
+ https://www.kde.org/announcements/kde-frameworks-5.31.0.php
+
+-------------------------------------------------------------------
Old:
----
kross-5.30.0.tar.xz
New:
----
kross-5.31.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ kross.spec ++++++
--- /var/tmp/diff_new_pack.fcv2cZ/_old 2017-03-03 17:17:55.562825948 +0100
+++ /var/tmp/diff_new_pack.fcv2cZ/_new 2017-03-03 17:17:55.566825381 +0100
@@ -17,9 +17,9 @@
%bcond_without lang
-%define _tar_path 5.30
+%define _tar_path 5.31
Name: kross
-Version: 5.30.0
+Version: 5.31.0
Release: 0
%define kf5_version %{version}
BuildRequires: cmake >= 3.0
@@ -34,11 +34,11 @@
BuildRequires: kparts-devel >= %{_tar_path}
BuildRequires: kwidgetsaddons-devel >= %{_tar_path}
BuildRequires: kxmlgui-devel >= %{_tar_path}
-BuildRequires: cmake(Qt5Core) >= 5.5.0
-BuildRequires: cmake(Qt5Script) >= 5.5.0
-BuildRequires: cmake(Qt5UiTools) >= 5.5.0
-BuildRequires: cmake(Qt5Widgets) >= 5.5.0
-BuildRequires: cmake(Qt5Xml) >= 5.5.0
+BuildRequires: cmake(Qt5Core) >= 5.6.0
+BuildRequires: cmake(Qt5Script) >= 5.6.0
+BuildRequires: cmake(Qt5UiTools) >= 5.6.0
+BuildRequires: cmake(Qt5Widgets) >= 5.6.0
+BuildRequires: cmake(Qt5Xml) >= 5.6.0
%if %{with lang}
Recommends: %{name}-lang = %{version}
%endif
@@ -66,10 +66,10 @@
Requires: kio-devel >= %{_tar_path}
Requires: kparts-devel >= %{_tar_path}
Requires: kwidgetsaddons-devel >= %{_tar_path}
-Requires: cmake(Qt5Core) >= 5.5.0
-Requires: cmake(Qt5Script) >= 5.5.0
-Requires: cmake(Qt5Widgets) >= 5.5.0
-Requires: cmake(Qt5Xml) >= 5.5.0
+Requires: cmake(Qt5Core) >= 5.6.0
+Requires: cmake(Qt5Script) >= 5.6.0
+Requires: cmake(Qt5Widgets) >= 5.6.0
+Requires: cmake(Qt5Xml) >= 5.6.0
%description devel
Kross is a scripting bridge to embed scripting functionality
++++++ kross-5.30.0.tar.xz -> kross-5.31.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/CMakeLists.txt new/kross-5.31.0/CMakeLists.txt
--- old/kross-5.30.0/CMakeLists.txt 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/CMakeLists.txt 2017-02-05 12:10:47.000000000 +0100
@@ -1,11 +1,11 @@
cmake_minimum_required(VERSION 3.0)
-set(KF5_VERSION "5.30.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.30.0") # handled by release scripts
+set(KF5_VERSION "5.31.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.31.0") # handled by release scripts
project(Kross VERSION ${KF5_VERSION})
include(FeatureSummary)
-find_package(ECM 5.30.0 NO_MODULE)
+find_package(ECM 5.31.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)
@@ -29,7 +29,7 @@
PACKAGE_VERSION_FILE "${CMAKE_CURRENT_BINARY_DIR}/KF5KrossConfigVersion.cmake"
SOVERSION 5)
-set(REQUIRED_QT_VERSION 5.5.0)
+set(REQUIRED_QT_VERSION 5.6.0)
find_package(Qt5 ${REQUIRED_QT_VERSION} CONFIG REQUIRED Core Script Xml Widgets UiTools)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/po/gl/kross5.po new/kross-5.31.0/po/gl/kross5.po
--- old/kross-5.30.0/po/gl/kross5.po 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/po/gl/kross5.po 2017-02-05 12:10:47.000000000 +0100
@@ -171,7 +171,7 @@
#: ui/actioncollectionview.cpp:341
#, kde-format
msgid "Edit..."
-msgstr "Editar..."
+msgstr "Editar…"
#: ui/actioncollectionview.cpp:343
#, kde-format
@@ -181,7 +181,7 @@
#: ui/actioncollectionview.cpp:348
#, kde-format
msgid "Add..."
-msgstr "Engadir..."
+msgstr "Engadir…"
#: ui/actioncollectionview.cpp:350
#, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/console/main.cpp new/kross-5.31.0/src/console/main.cpp
--- old/kross-5.30.0/src/console/main.cpp 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/console/main.cpp 2017-02-05 12:10:47.000000000 +0100
@@ -44,7 +44,7 @@
#define ERROR_NOINTERPRETER -4
#define ERROR_EXCEPTION -6
-QApplication *app = 0;
+QApplication *app = nullptr;
int runScriptFile(const QString &scriptfile)
{
@@ -69,7 +69,7 @@
}
// First we need a Action and fill it.
- Kross::Action *action = new Kross::Action(0 /*no parent*/, QUrl::fromUserInput(scriptfile));
+ Kross::Action *action = new Kross::Action(nullptr /*no parent*/, QUrl::fromUserInput(scriptfile));
action->setInterpreter(interpreterinfo->interpreterName());
action->setCode(scriptcode);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/core/action.cpp new/kross-5.31.0/src/core/action.cpp
--- old/kross-5.30.0/src/core/action.cpp 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/core/action.cpp 2017-02-05 12:10:47.000000000 +0100
@@ -97,7 +97,7 @@
*/
QMap< QString, QVariant > options;
- Private() : script(0), version(0) {}
+ Private() : script(nullptr), version(0) {}
};
}
@@ -523,12 +523,12 @@
emit finalized(this);
}
delete d->script;
- d->script = 0;
+ d->script = nullptr;
}
bool Action::isFinalized() const
{
- return d->script == 0;
+ return d->script == nullptr;
}
void Action::slotTriggered()
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/core/actioncollection.cpp new/kross-5.31.0/src/core/actioncollection.cpp
--- old/kross-5.30.0/src/core/actioncollection.cpp 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/core/actioncollection.cpp 2017-02-05 12:10:47.000000000 +0100
@@ -60,8 +60,8 @@
}
ActionCollection::ActionCollection(const QString &name, ActionCollection *parent)
- : QObject(0)
- , d(new Private(0))
+ : QObject(nullptr)
+ , d(new Private(nullptr))
{
setObjectName(name);
d->text = name;
@@ -143,11 +143,11 @@
if (d->parent) {
emit d->parent->collectionToBeRemoved(this, d->parent);
d->parent->unregisterCollection(objectName());
- setParent(0);
+ setParent(nullptr);
emit d->parent->collectionRemoved(this, d->parent);
- d->parent = 0;
+ d->parent = nullptr;
}
- setParent(0);
+ setParent(nullptr);
if (parent) {
emit parent->collectionToBeInserted(this, parent);
setParent(parent);
@@ -165,7 +165,7 @@
ActionCollection *ActionCollection::collection(const QString &name) const
{
- return d->collections.contains(name) ? d->collections[name] : QPointer<ActionCollection>(0);
+ return d->collections.contains(name) ? d->collections[name] : QPointer<ActionCollection>(nullptr);
}
QStringList ActionCollection::collections() const
@@ -205,7 +205,7 @@
Action *ActionCollection::action(const QString &name) const
{
- return d->actionMap.contains(name) ? d->actionMap[name] : 0;
+ return d->actionMap.contains(name) ? d->actionMap[name] : nullptr;
}
void ActionCollection::addAction(Action *action)
@@ -240,7 +240,7 @@
d->actionList.removeAll(action);
d->actionMap.remove(name);
//krossdebug( QString("ActionCollection::removeAction: %1 %2").arg(action->name()).arg(action->parent()->objectName()) );
- action->setParent(0);
+ action->setParent(nullptr);
emit actionRemoved(action, this);
emitUpdated();
}
@@ -342,7 +342,7 @@
const QByteArray description = elem.attribute("comment").toUtf8();
const QString iconname = elem.attribute("icon");
bool enabled = QVariant(elem.attribute("enabled", "true")).toBool();
- ActionCollection *c = d->collections.contains(name) ? d->collections[name] : QPointer<ActionCollection>(0);
+ ActionCollection *c = d->collections.contains(name) ? d->collections[name] : QPointer<ActionCollection>(nullptr);
if (! c) {
c = new ActionCollection(name, this);
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/core/actioncollection.h new/kross-5.31.0/src/core/actioncollection.h
--- old/kross-5.30.0/src/core/actioncollection.h 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/core/actioncollection.h 2017-02-05 12:10:47.000000000 +0100
@@ -59,7 +59,7 @@
* itself as child of the parent \p parent by using the
* \a setParentCollection method.
*/
- explicit ActionCollection(const QString &name, ActionCollection *parent = 0);
+ explicit ActionCollection(const QString &name, ActionCollection *parent = nullptr);
/**
* Destructor.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/core/childreninterface.h new/kross-5.31.0/src/core/childreninterface.h
--- old/kross-5.30.0/src/core/childreninterface.h 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/core/childreninterface.h 2017-02-05 12:10:47.000000000 +0100
@@ -99,7 +99,7 @@
*/
QObject *object(const QString &name) const
{
- return m_objects.contains(name) ? m_objects.value(name) : 0;
+ return m_objects.contains(name) ? m_objects.value(name) : nullptr;
}
/**
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/core/interpreter.cpp new/kross-5.31.0/src/core/interpreter.cpp
--- old/kross-5.30.0/src/core/interpreter.cpp 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/core/interpreter.cpp 2017-02-05 12:10:47.000000000 +0100
@@ -65,13 +65,13 @@
d->wildcard = wildcard;
d->mimetypes = mimetypes;
d->options = options;
- d->interpreter = 0;
+ d->interpreter = nullptr;
}
InterpreterInfo::~InterpreterInfo()
{
delete d->interpreter;
- d->interpreter = 0;
+ d->interpreter = nullptr;
delete d;
}
@@ -97,7 +97,7 @@
InterpreterInfo::Option *InterpreterInfo::option(const QString &name) const
{
- return d->options.contains(name) ? d->options[name] : 0;
+ return d->options.contains(name) ? d->options[name] : nullptr;
}
InterpreterInfo::Option::Map &InterpreterInfo::options()
@@ -126,7 +126,7 @@
// and execute the extern krosspython_instance function.
d->interpreter = interpreter_func
? (Interpreter *)(interpreter_func)(KROSS_VERSION, this)
- : 0;
+ : nullptr;
if (! d->interpreter) {
//#ifdef KROSS_INTERPRETER_DEBUG
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/core/manager.cpp new/kross-5.31.0/src/core/manager.cpp
--- old/kross-5.30.0/src/core/manager.cpp 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/core/manager.cpp 2017-02-05 12:10:47.000000000 +0100
@@ -103,7 +103,7 @@
libname << "' library: " << lib.errorString();
}
#endif
- return 0;
+ return nullptr;
}
QFunctionPointer funcPtr = lib.resolve(functionname);
@@ -236,7 +236,7 @@
InterpreterInfo *Manager::interpreterInfo(const QString &interpretername) const
{
- return hasInterpreterInfo(interpretername) ? d->interpreterinfos[interpretername] : 0;
+ return hasInterpreterInfo(interpretername) ? d->interpreterinfos[interpretername] : nullptr;
}
const QString Manager::interpreternameForFile(const QString &file)
@@ -261,7 +261,7 @@
{
if (! hasInterpreterInfo(interpretername)) {
qCWarning(KROSS_LOG) << "No such interpreter " << interpretername;
- return 0;
+ return nullptr;
}
return d->interpreterinfos[interpretername]->interpreter();
}
@@ -278,7 +278,7 @@
bool Manager::hasAction(const QString &name)
{
- return findChild< Action * >(name) != 0L;
+ return findChild< Action * >(name) != nullptr;
}
QObject *Manager::action(const QString &name)
@@ -304,7 +304,7 @@
if (modulename.isEmpty() || modulename.contains(QRegExp("[^a-zA-Z0-9]"))) {
qCWarning(KROSS_LOG) << "Invalid module name " << modulename;
- return 0;
+ return nullptr;
}
QByteArray libraryname = QString("krossmodule%1").arg(modulename).toLower().toLatin1();
@@ -320,7 +320,7 @@
} else {
qCWarning(KROSS_LOG) << "Failed to load module " << modulename;
}
- return 0;
+ return nullptr;
}
void Manager::deleteModules()
@@ -332,7 +332,7 @@
bool Manager::executeScriptFile(const QUrl &file)
{
qCDebug(KROSS_LOG) << "Manager::executeScriptFile() file=" << file.toString();
- Action *action = new Action(0 /*no parent*/, file);
+ Action *action = new Action(nullptr /*no parent*/, file);
action->trigger();
bool ok = ! action->hadError();
delete action; //action->delayedDestruct();
@@ -356,7 +356,7 @@
MetaTypeHandler *Manager::metaTypeHandler(const QByteArray &typeName) const
{
- return d->wrappers.contains(typeName) ? d->wrappers[typeName] : 0;
+ return d->wrappers.contains(typeName) ? d->wrappers[typeName] : nullptr;
}
void Manager::registerMetaTypeHandler(const QByteArray &typeName, MetaTypeHandler::FunctionPtr *handler)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/kross-5.30.0/src/core/metafunction.cpp new/kross-5.31.0/src/core/metafunction.cpp
--- old/kross-5.30.0/src/core/metafunction.cpp 2017-01-08 22:00:56.000000000 +0100
+++ new/kross-5.31.0/src/core/metafunction.cpp 2017-02-05 12:10:47.000000000 +0100
@@ -104,9 +104,9 @@
staticMetaObject.d.superdata = &QObject::staticMetaObject;
staticMetaObject.d.stringdata = reinterpret_cast