Hello community,
here is the log from the commit of package krunner for openSUSE:Factory checked in at 2015-11-24 22:24:58
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/krunner (Old)
and /work/SRC/openSUSE:Factory/.krunner.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "krunner"
Changes:
--------
--- /work/SRC/openSUSE:Factory/krunner/krunner.changes 2015-10-19 22:27:19.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.krunner.new/krunner.changes 2015-11-24 22:24:59.000000000 +0100
@@ -1,0 +2,8 @@
+Sun Nov 8 17:03:33 UTC 2015 - hrvoje.senjan@gmail.com
+
+- Update to 5.16.0 (boo#955067)
+ * RunnerManager: Simplify plugin loading code
+ * For more details please see:
+ https://www.kde.org/announcements/kde-frameworks-5.16.0.php
+
+-------------------------------------------------------------------
Old:
----
krunner-5.15.0.tar.xz
New:
----
krunner-5.16.0.tar.xz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ krunner.spec ++++++
--- /var/tmp/diff_new_pack.pbVtcb/_old 2015-11-24 22:24:59.000000000 +0100
+++ /var/tmp/diff_new_pack.pbVtcb/_new 2015-11-24 22:24:59.000000000 +0100
@@ -17,9 +17,9 @@
%define lname libKF5Runner5
-%define _tar_path 5.15
+%define _tar_path 5.16
Name: krunner
-Version: 5.15.0
+Version: 5.16.0
Release: 0
%define kf5_version %{version}
BuildRequires: cmake >= 2.8.12
++++++ krunner-5.15.0.tar.xz -> krunner-5.16.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/CMakeLists.txt new/krunner-5.16.0/CMakeLists.txt
--- old/krunner-5.15.0/CMakeLists.txt 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/CMakeLists.txt 2015-11-08 13:34:36.000000000 +0100
@@ -4,7 +4,7 @@
# ECM setup
include(FeatureSummary)
-find_package(ECM 5.15.0 NO_MODULE)
+find_package(ECM 5.16.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)
@@ -19,8 +19,8 @@
include(KDECompilerSettings)
include(KDECMakeSettings)
-set(KF5_VERSION "5.15.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.15.0") # handled by release scripts
+set(KF5_VERSION "5.16.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.16.0") # handled by release scripts
ecm_setup_version(${KF5_VERSION}
VARIABLE_PREFIX KRUNNER
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/autotests/runnercontexttest.cpp new/krunner-5.16.0/autotests/runnercontexttest.cpp
--- old/krunner-5.15.0/autotests/runnercontexttest.cpp 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/autotests/runnercontexttest.cpp 2015-11-08 13:34:36.000000000 +0100
@@ -29,7 +29,7 @@
QTest::addColumn<QString>("url");
QTest::addColumnPlasma::RunnerContext::Type("type");
- if (KProtocolInfo::isKnownProtocol("man")) {
+ if (KProtocolInfo::isKnownProtocol(QStringLiteral("man"))) {
QTest::newRow("man page listing") << "man:/" << Plasma::RunnerContext::NetworkLocation;
QTest::newRow("ls man page listing") << "man://ls" << Plasma::RunnerContext::NetworkLocation;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/examples/runner/plasma-runner-example-homefiles.desktop new/krunner-5.16.0/examples/runner/plasma-runner-example-homefiles.desktop
--- old/krunner-5.15.0/examples/runner/plasma-runner-example-homefiles.desktop 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/examples/runner/plasma-runner-example-homefiles.desktop 2015-11-08 13:34:36.000000000 +0100
@@ -48,6 +48,7 @@
Comment[cs]=Část ukázky demonstrující vytváření modulů pro Runner
Comment[da]=Del af vejledning til demonstration af hvordan man laver Runner-plugins
Comment[de]=Teil einer Anleitung zur Demonstration, wie Runner-Module erstellt werden
+Comment[el]=Τμήμα ενός οδηγού εκμάθησης που παρουσιάζει τη δημιουργία προσθέτων εκτελεστή
Comment[en_GB]=Part of a tutorial demonstrating how to create Runner plugins
Comment[es]=Parte de un tutorial que demuestra cómo crear complementos de Runner
Comment[fi]=Osa tutoriaalia, joka näyttää, miten Runner-liitännäisiä tehdään
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/po/ca@valencia/plasma_runner_example_homefiles.po new/krunner-5.16.0/po/ca@valencia/plasma_runner_example_homefiles.po
--- old/krunner-5.15.0/po/ca@valencia/plasma_runner_example_homefiles.po 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/po/ca@valencia/plasma_runner_example_homefiles.po 2015-11-08 13:34:36.000000000 +0100
@@ -1,29 +1,30 @@
-# Translation of plasma_runner_example_homefiles.po to Catalan
+# Translation of plasma_runner_example_homefiles.po to Catalan (Valencian)
# Copyright (C) 2014 This_file_is_part_of_KDE
# This file is distributed under the license LGPL version 2.1 or
# version 3 or later versions approved by the membership of KDE e.V.
#
# Josep Ma. Ferrer , 2014.
+# Antoni Bella Pérez , 2014.
msgid ""
msgstr ""
"Project-Id-Version: plasma_runner_example_homefiles\n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2014-04-27 20:56+0000\n"
-"PO-Revision-Date: 2014-02-15 10:10+0100\n"
-"Last-Translator: Josep Ma. Ferrer \n"
+"PO-Revision-Date: 2014-07-28 22:58+0200\n"
+"Last-Translator: Antoni Bella Pérez \n"
"Language-Team: Catalan \n"
"Language: ca@valencia\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=2; plural=n != 1;\n"
-"X-Generator: Lokalize 1.4\n"
"X-Accelerator-Marker: &\n"
+"X-Generator: Lokalize 1.5\n"
#: homefilesrunner.cpp:71
#, kde-format
msgid "Finds files matching :q: in the %1 folder"
-msgstr "Cerca fitxer que coincidisquen amb :q: en la carpeta %1"
+msgstr "Cerca els fitxers que coincidisquen amb :q: en la carpeta %1"
#: homefilesrunner.cpp:116
#, kde-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/po/de/plasma_runner_example_homefiles.po new/krunner-5.16.0/po/de/plasma_runner_example_homefiles.po
--- old/krunner-5.15.0/po/de/plasma_runner_example_homefiles.po 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/po/de/plasma_runner_example_homefiles.po 2015-11-08 13:34:36.000000000 +0100
@@ -1,6 +1,3 @@
-# Copyright (C) YEAR This_file_is_part_of_KDE
-# This file is distributed under the same license as the PACKAGE package.
-#
# Burkhard Lück , 2013.
msgid ""
msgstr ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/po/el/plasma_runner_example_homefiles.po new/krunner-5.16.0/po/el/plasma_runner_example_homefiles.po
--- old/krunner-5.15.0/po/el/plasma_runner_example_homefiles.po 1970-01-01 01:00:00.000000000 +0100
+++ new/krunner-5.16.0/po/el/plasma_runner_example_homefiles.po 2015-11-08 13:34:36.000000000 +0100
@@ -0,0 +1,32 @@
+# Copyright (C) YEAR This_file_is_part_of_KDE
+# This file is distributed under the same license as the PACKAGE package.
+#
+# Dimitris Kardarakos , 2015.
+msgid ""
+msgstr ""
+"Project-Id-Version: \n"
+"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
+"POT-Creation-Date: 2014-04-27 20:56+0000\n"
+"PO-Revision-Date: 2015-11-05 11:18+0200\n"
+"Last-Translator: Dimitris Kardarakos \n"
+"Language-Team: Greek \n"
+"Language: el\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"Plural-Forms: nplurals=2; plural=n != 1;\n"
+"X-Generator: Lokalize 2.0\n"
+
+#: homefilesrunner.cpp:71
+#, kde-format
+msgid "Finds files matching :q: in the %1 folder"
+msgstr "Εύρεση αρχείων που ταιριάζουν με το :q: στον φάκελο %1"
+
+#: homefilesrunner.cpp:116
+#, kde-format
+msgid "Open %1"
+msgstr "Άνοιγμα του %1"
+
+#: homefilesrunner.cpp:157
+msgid "This is just for show"
+msgstr "Αυτό είναι μόνο για εμφάνιση"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/po/gd/plasma_runner_example_homefiles.po new/krunner-5.16.0/po/gd/plasma_runner_example_homefiles.po
--- old/krunner-5.15.0/po/gd/plasma_runner_example_homefiles.po 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/po/gd/plasma_runner_example_homefiles.po 2015-11-08 13:34:36.000000000 +0100
@@ -4,11 +4,11 @@
# GunChleoc , 2014.
msgid ""
msgstr ""
-"Project-Id-Version: plasma_runner_example_homefiles\n"
+"Project-Id-Version: \n"
"Report-Msgid-Bugs-To: http://bugs.kde.org\n"
"POT-Creation-Date: 2014-04-27 20:56+0000\n"
-"PO-Revision-Date: 2014-12-09 12:16+0100\n"
-"Last-Translator: GunChleoc \n"
+"PO-Revision-Date: 2015-11-04 15:14+0000\n"
+"Last-Translator: Michael Bauer \n"
"Language-Team: Fòram na Gàidhlig\n"
"Language: gd\n"
"MIME-Version: 1.0\n"
@@ -16,7 +16,7 @@
"Content-Transfer-Encoding: 8bit\n"
"Plural-Forms: nplurals=4; plural=(n==1 || n==11) ? 0 : (n==2 || n==12) ? 1 : "
"(n > 2 && n < 20) ? 2 : 3;\n"
-"X-Generator: Virtaal 0.7.1\n"
+"X-Generator: Poedit 1.8.4\n"
"X-Project-Style: kde\n"
#: homefilesrunner.cpp:71
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/src/abstractrunner.cpp new/krunner-5.16.0/src/abstractrunner.cpp
--- old/krunner-5.15.0/src/abstractrunner.cpp 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/src/abstractrunner.cpp 2015-11-08 13:34:36.000000000 +0100
@@ -78,7 +78,7 @@
{
QString group = id();
if (group.isEmpty()) {
- group = "UnnamedRunner";
+ group = QStringLiteral("UnnamedRunner");
}
KConfigGroup runners(KSharedConfig::openConfig(), "Runners");
@@ -311,7 +311,7 @@
QString AbstractRunner::description() const
{
if (d->runnerDescription.isValid()) {
- return d->runnerDescription.property("Comment").toString();
+ return d->runnerDescription.property(QStringLiteral("Comment")).toString();
}
return objectName();
@@ -380,7 +380,7 @@
void AbstractRunnerPrivate::init(const QString &path)
{
runnerDescription = KPluginInfo(path + "/metadata.desktop");
- const QString api = runnerDescription.property("X-Plasma-API").toString();
+ const QString api = runnerDescription.property(QStringLiteral("X-Plasma-API")).toString();
}
} // Plasma namespace
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/src/data/servicetypes/plasma-runner.desktop new/krunner-5.16.0/src/data/servicetypes/plasma-runner.desktop
--- old/krunner-5.15.0/src/data/servicetypes/plasma-runner.desktop 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/src/data/servicetypes/plasma-runner.desktop 2015-11-08 13:34:36.000000000 +0100
@@ -10,6 +10,7 @@
Comment[cs]=Modul KRunneru
Comment[da]=KRunner-plugin
Comment[de]=KRunner-Modul
+Comment[el]=Πρόσθετο KRunner
Comment[en_GB]=KRunner plugin
Comment[es]=Complemento para KRunner
Comment[fi]=KRunner-liitännäinen
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/src/runnercontext.cpp new/krunner-5.16.0/src/runnercontext.cpp
--- old/krunner-5.15.0/src/runnercontext.cpp 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/src/runnercontext.cpp 2015-11-08 13:34:36.000000000 +0100
@@ -207,10 +207,10 @@
}
}
const bool hasProtocol = !url.scheme().isEmpty();
- const bool isLocalProtocol = KProtocolInfo::protocolClass(url.scheme()) == ":local";
+ const bool isLocalProtocol = KProtocolInfo::protocolClass(url.scheme()) == QLatin1String(":local");
if (hasProtocol &&
((!isLocalProtocol && !url.host().isEmpty()) ||
- (isLocalProtocol && url.scheme() != "file"))) {
+ (isLocalProtocol && url.scheme() != QLatin1String("file")))) {
// we either have a network protocol with a host, so we can show matches for it
// or we have a non-file url that may be local so a host isn't required
type = RunnerContext::NetworkLocation;
@@ -234,7 +234,7 @@
}
if (info.isDir()) {
type = RunnerContext::Directory;
- mimeType = "inode/folder";
+ mimeType = QStringLiteral("inode/folder");
} else if (info.isFile()) {
type = RunnerContext::File;
QMimeDatabase db;
@@ -568,7 +568,7 @@
{
const QStringList cfgList = config.readEntry("LaunchCounts", QStringList());
- const QRegExp r("(\\d*) (.*)");
+ const QRegExp r(QStringLiteral("(\\d*) (.*)"));
foreach (const QString& entry, cfgList) {
r.indexIn(entry);
int count = r.cap(1).toInt();
@@ -584,7 +584,7 @@
typedef QHash::const_iterator Iterator;
Iterator end = d->launchCounts.constEnd();
for (Iterator i = d->launchCounts.constBegin(); i != end; ++i) {
- countList << QString("%2 %1").arg(i.key()).arg(i.value());
+ countList << QStringLiteral("%2 %1").arg(i.key()).arg(i.value());
}
config.writeEntry("LaunchCounts", countList);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/src/runnermanager.cpp new/krunner-5.16.0/src/runnermanager.cpp
--- old/krunner-5.15.0/src/runnermanager.cpp 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/src/runnermanager.cpp 2015-11-08 13:34:36.000000000 +0100
@@ -154,7 +154,7 @@
return;
}
- KService::List offers = KServiceTypeTrader::self()->query("Plasma/Runner", QString("[X-KDE-PluginInfo-Name] == '%1'").arg(singleModeRunnerId));
+ KService::List offers = KServiceTypeTrader::self()->query(QStringLiteral("Plasma/Runner"), QStringLiteral("[X-KDE-PluginInfo-Name] == '%1'").arg(singleModeRunnerId));
if (!offers.isEmpty()) {
const KService::Ptr &service = offers[0];
currentSingleRunner = loadInstalledRunner(service);
@@ -190,7 +190,7 @@
KPluginInfo &description = it.next();
qCDebug(KRUNNER) << "Loading runner: " << description.pluginName();
- QString tryExec = description.property("TryExec").toString();
+ QString tryExec = description.property(QStringLiteral("TryExec")).toString();
if (!tryExec.isEmpty() && QStandardPaths::findExecutable(tryExec).isEmpty()) {
// we don't actually have this application!
continue;
@@ -202,7 +202,7 @@
const bool loaded = runners.contains(runnerName);
const bool selected = loadAll || (description.isPluginEnabled() && (noWhiteList || whiteList.contains(runnerName)));
- const bool singleQueryModeEnabled = description.property("X-Plasma-AdvertiseSingleRunnerQueryMode").toBool();
+ const bool singleQueryModeEnabled = description.property(QStringLiteral("X-Plasma-AdvertiseSingleRunnerQueryMode")).toBool();
if (singleQueryModeEnabled) {
advertiseSingleRunnerIds.insert(runnerName, description.name());
@@ -298,7 +298,7 @@
AbstractRunner *runner = 0;
- const QString api = service->property("X-Plasma-API").toString();
+ const QString api = service->property(QStringLiteral("X-Plasma-API")).toString();
if (api.isEmpty()) {
QVariantList args;
@@ -701,8 +701,6 @@
KPluginInfo::List RunnerManager::listRunnerInfo(const QString &parentApp)
{
- KPluginInfo::List list;
-
QString constraint;
if (parentApp.isEmpty()) {
constraint.append("not exist [X-KDE-ParentApp]");
@@ -710,8 +708,8 @@
constraint.append("[X-KDE-ParentApp] == '").append(parentApp).append("'");
}
- KService::List offers = KServiceTypeTrader::self()->query("Plasma/Runner", constraint);
- return list + KPluginInfo::fromServices(offers);
+ KService::List offers = KServiceTypeTrader::self()->query(QStringLiteral("Plasma/Runner"), constraint);
+ return KPluginInfo::fromServices(offers);
}
void RunnerManager::setupMatchSession()
@@ -775,7 +773,7 @@
if (term.isEmpty()) {
if (d->singleMode && d->currentSingleRunner->defaultSyntax()) {
- term = d->currentSingleRunner->defaultSyntax()->exampleQueries().first().remove(QRegExp(":q:"));
+ term = d->currentSingleRunner->defaultSyntax()->exampleQueries().first().remove(QRegExp(QStringLiteral(":q:")));
} else {
reset();
return;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/src/runnersyntax.cpp new/krunner-5.16.0/src/runnersyntax.cpp
--- old/krunner-5.15.0/src/runnersyntax.cpp 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/src/runnersyntax.cpp 2015-11-08 13:34:36.000000000 +0100
@@ -88,7 +88,7 @@
QString RunnerSyntax::description() const
{
QString description = d->description;
- description.replace(":q:", '<' + searchTermDescription() + '>');
+ description.replace(QLatin1String(":q:"), '<' + searchTermDescription() + '>');
return description;
}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.15.0/tests/runnertest.cpp new/krunner-5.16.0/tests/runnertest.cpp
--- old/krunner-5.15.0/tests/runnertest.cpp 2015-10-05 10:22:13.000000000 +0200
+++ new/krunner-5.16.0/tests/runnertest.cpp 2015-11-08 13:34:36.000000000 +0100
@@ -33,18 +33,18 @@
QCommandLineParser parser;
parser.addPositionalArgument(QStringLiteral("query"), QStringLiteral("words to query"));
- parser.addOption(QCommandLineOption(QStringList() << QLatin1String("r") << QLatin1String("runner"),
- QLatin1String("Name of the runner"),
- QLatin1String("runnerName")));
+ parser.addOption(QCommandLineOption(QStringList() << QStringLiteral("r") << QStringLiteral("runner"),
+ QStringLiteral("Name of the runner"),
+ QStringLiteral("runnerName")));
parser.addHelpOption();
parser.process(app);
- QString query = parser.positionalArguments().join(" ");
+ QString query = parser.positionalArguments().join(QStringLiteral(" "));
if (query.isEmpty()) {
parser.showHelp(1);
}
- QString runnerName = parser.value("runner");
+ QString runnerName = parser.value(QStringLiteral("runner"));
RunnerManager manager;