Hello community, here is the log from the commit of package krunner for openSUSE:Factory checked in at 2018-03-20 21:47:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/krunner (Old) and /work/SRC/openSUSE:Factory/.krunner.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "krunner" Tue Mar 20 21:47:21 2018 rev:49 rq:586854 version:5.44.0 Changes: -------- --- /work/SRC/openSUSE:Factory/krunner/krunner.changes 2018-02-16 21:33:46.826669535 +0100 +++ /work/SRC/openSUSE:Factory/.krunner.new/krunner.changes 2018-03-20 21:47:24.305671196 +0100 @@ -1,0 +2,10 @@ +Mon Mar 12 23:29:42 CET 2018 - lbeltr...@kde.org + +- Update to 5.44.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.44.0.php +- Changes since 5.43.0: + * Update krunner plugin template + +------------------------------------------------------------------- Old: ---- krunner-5.43.0.tar.xz New: ---- krunner-5.44.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ krunner.spec ++++++ --- /var/tmp/diff_new_pack.hawKdG/_old 2018-03-20 21:47:25.277636193 +0100 +++ /var/tmp/diff_new_pack.hawKdG/_new 2018-03-20 21:47:25.281636049 +0100 @@ -17,13 +17,13 @@ %define lname libKF5Runner5 -%define _tar_path 5.43 +%define _tar_path 5.44 # 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: %global _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')} Name: krunner -Version: 5.43.0 +Version: 5.44.0 Release: 0 %define kf5_version %{version} BuildRequires: cmake >= 3.0 @@ -43,7 +43,7 @@ BuildRequires: cmake(Qt5Quick) >= 5.6.0 BuildRequires: cmake(Qt5Test) >= 5.6.0 Summary: Plugins responsible for better integration of Qt applications in KDE Workspace -License: LGPL-2.1+ +License: LGPL-2.1-or-later Group: System/GUI/KDE Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz ++++++ krunner-5.43.0.tar.xz -> krunner-5.44.0.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/CMakeLists.txt new/krunner-5.44.0/CMakeLists.txt --- old/krunner-5.43.0/CMakeLists.txt 2018-02-05 09:11:52.000000000 +0100 +++ new/krunner-5.44.0/CMakeLists.txt 2018-03-03 10:53:34.000000000 +0100 @@ -1,12 +1,12 @@ cmake_minimum_required(VERSION 3.0) -set(KF5_VERSION "5.43.0") # handled by release scripts -set(KF5_DEP_VERSION "5.43.0") # handled by release scripts +set(KF5_VERSION "5.44.0") # handled by release scripts +set(KF5_DEP_VERSION "5.44.0") # handled by release scripts project(KRunner VERSION ${KF5_VERSION}) # ECM setup include(FeatureSummary) -find_package(ECM 5.43.0 NO_MODULE) +find_package(ECM 5.44.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/krunner-5.43.0/templates/runner/%{APPNAMELC}.cpp new/krunner-5.44.0/templates/runner/%{APPNAMELC}.cpp --- old/krunner-5.43.0/templates/runner/%{APPNAMELC}.cpp 2018-02-05 09:11:52.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/%{APPNAMELC}.cpp 1970-01-01 01:00:00.000000000 +0100 @@ -1,32 +0,0 @@ -#include "%{APPNAMELC}.h" - -K_EXPORT_PLASMA_RUNNER(%{APPNAMELC}, %{APPNAME}) - -%{APPNAME}::%{APPNAME}(QObject *parent, const QVariantList &args) - : Plasma::AbstractRunner(parent, args) -{ - setObjectName("%{APPNAME}"); -} - -%{APPNAME}::~%{APPNAME}() -{ -} - - -void %{APPNAME}::match(Plasma::RunnerContext &context) -{ - - const QString term = context.query(); - if (term.length() < 3) { - return; - } - //TODO -} - -void %{APPNAME}::run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match) -{ - Q_UNUSED(context) - Q_UNUSED(match) -} - -#include "%{APPNAMELC}.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/%{APPNAMELC}.desktop new/krunner-5.44.0/templates/runner/%{APPNAMELC}.desktop --- old/krunner-5.43.0/templates/runner/%{APPNAMELC}.desktop 2018-02-05 09:11:52.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/%{APPNAMELC}.desktop 1970-01-01 01:00:00.000000000 +0100 @@ -1,14 +0,0 @@ -[Desktop Entry] -Name=%{APPNAME} -Comment=%{APPNAME} runner -Icon= - -X-KDE-ServiceTypes=Plasma/Runner -Type=Service -X-KDE-Library=krunner_%{APPNAMELC} -X-KDE-PluginInfo-Author=%{AUTHOR} -X-KDE-PluginInfo-Email=%{EMAIL} -X-KDE-PluginInfo-Name=%{APPNAMELC} -X-KDE-PluginInfo-Version=0.1 -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-EnabledByDefault=true diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/%{APPNAMELC}.h new/krunner-5.44.0/templates/runner/%{APPNAMELC}.h --- old/krunner-5.43.0/templates/runner/%{APPNAMELC}.h 2018-02-05 09:11:52.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/%{APPNAMELC}.h 1970-01-01 01:00:00.000000000 +0100 @@ -1,19 +0,0 @@ -#ifndef %{APPNAMEUC}_H -#define %{APPNAMEUC}_H - -#include <krunner/abstractrunner.h> - -class %{APPNAME} : public Plasma::AbstractRunner -{ - Q_OBJECT - -public: - %{APPNAME}(QObject *parent, const QVariantList &args); - ~%{APPNAME}(); - -public: // Plasma::AbstractRunner API - void match(Plasma::RunnerContext &context) override; - void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match) override; -}; - -#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/CMakeLists.txt new/krunner-5.44.0/templates/runner/CMakeLists.txt --- old/krunner-5.43.0/templates/runner/CMakeLists.txt 2018-02-05 09:11:52.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/CMakeLists.txt 2018-03-03 10:53:34.000000000 +0100 @@ -1,31 +1,20 @@ -project(plasma-%{APPNAMELC}) +cmake_minimum_required(VERSION 3.0) -cmake_minimum_required(VERSION 2.8.12 FATAL_ERROR) +project(%{APPNAMELC}) -set(QT_MIN_VERSION "5.4.0") -set(KF5_MIN_VERSION "5.14.0") -set(INSTALL_SDDM_THEME TRUE) -find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets ) -find_package(ECM 1.8.0 REQUIRED NO_MODULE) +set(QT_MIN_VERSION "5.9.0") +set(KF5_MIN_VERSION "5.42.0") + +find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE) set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR}) -find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Runner) +find_package(Qt5 ${QT_MIN_VERSION} CONFIG REQUIRED COMPONENTS Widgets) +find_package(KF5 ${KF5_MIN_VERSION} REQUIRED COMPONENTS Runner I18n) include(KDEInstallDirs) include(KDECMakeSettings) include(KDECompilerSettings NO_POLICY_SCOPE) -include(ECMPackageConfigHelpers) -include(ECMMarkNonGuiExecutable) -include(CMakePackageConfigHelpers) -include(WriteBasicConfigVersionFile) -include(CheckIncludeFiles) include(FeatureSummary) -include(ECMOptionalAddSubdirectory) - -set(%{APPNAMELC}_SRCS %{APPNAMELC}.cpp) - -add_library(krunner_%{APPNAMELC} MODULE ${%{APPNAMELC}_SRCS}) -target_link_libraries(krunner_%{APPNAMELC} KF5::Runner) -install(TARGETS krunner_%{APPNAMELC} DESTINATION ${KDE_INSTALL_PLUGINDIR}) +add_subdirectory(src) -install(FILES %{APPNAMELC}.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) +feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/Messages.sh new/krunner-5.44.0/templates/runner/Messages.sh --- old/krunner-5.43.0/templates/runner/Messages.sh 1970-01-01 01:00:00.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/Messages.sh 2018-03-03 10:53:34.000000000 +0100 @@ -0,0 +1,2 @@ +#! /usr/bin/env bash +$XGETTEXT src/*.cpp -o $podir/plasma_runner_org.kde.%{APPNAMELC}.pot diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/src/%{APPNAMELC}.cpp new/krunner-5.44.0/templates/runner/src/%{APPNAMELC}.cpp --- old/krunner-5.43.0/templates/runner/src/%{APPNAMELC}.cpp 1970-01-01 01:00:00.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/src/%{APPNAMELC}.cpp 2018-03-03 10:53:34.000000000 +0100 @@ -0,0 +1,55 @@ +/* + Copyright %{CURRENT_YEAR} by %{AUTHOR} <%{EMAIL}> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. +*/ + +#include "%{APPNAMELC}.h" + +// KF +#include <KLocalizedString> + +%{APPNAME}::%{APPNAME}(QObject *parent, const QVariantList &args) + : Plasma::AbstractRunner(parent, args) +{ + setObjectName("%{APPNAME}"); +} + +%{APPNAME}::~%{APPNAME}() +{ +} + + +void %{APPNAME}::match(Plasma::RunnerContext &context) +{ + const QString term = context.query(); + if (term.length() < 3) { + return; + } + + // TODO +} + +void %{APPNAME}::run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match) +{ + Q_UNUSED(context) + Q_UNUSED(match) + + // TODO +} + +K_EXPORT_PLASMA_RUNNER(%{APPNAMELC}, %{APPNAME}) + +// needed for the QObject subclass declared as part of K_EXPORT_PLASMA_RUNNER +#include "%{APPNAMELC}.moc" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/src/%{APPNAMELC}.h new/krunner-5.44.0/templates/runner/src/%{APPNAMELC}.h --- old/krunner-5.43.0/templates/runner/src/%{APPNAMELC}.h 1970-01-01 01:00:00.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/src/%{APPNAMELC}.h 2018-03-03 10:53:34.000000000 +0100 @@ -0,0 +1,36 @@ +/* + Copyright %{CURRENT_YEAR} by %{AUTHOR} <%{EMAIL}> + + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with this library. If not, see <http://www.gnu.org/licenses/>. +*/ + +#ifndef %{APPNAMEUC}_H +#define %{APPNAMEUC}_H + +#include <KRunner/AbstractRunner> + +class %{APPNAME} : public Plasma::AbstractRunner +{ + Q_OBJECT + +public: + %{APPNAME}(QObject *parent, const QVariantList &args); + ~%{APPNAME}() override; + +public: // Plasma::AbstractRunner API + void match(Plasma::RunnerContext &context) override; + void run(const Plasma::RunnerContext &context, const Plasma::QueryMatch &match) override; +}; + +#endif diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/src/CMakeLists.txt new/krunner-5.44.0/templates/runner/src/CMakeLists.txt --- old/krunner-5.43.0/templates/runner/src/CMakeLists.txt 1970-01-01 01:00:00.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/src/CMakeLists.txt 2018-03-03 10:53:34.000000000 +0100 @@ -0,0 +1,10 @@ +add_definitions(-DTRANSLATION_DOMAIN=\"plasma_runner_org.kde.%{APPNAMELC}\") + +set(%{APPNAMELC}_SRCS %{APPNAMELC}.cpp) + +add_library(krunner_%{APPNAMELC} MODULE ${%{APPNAMELC}_SRCS}) +target_link_libraries(krunner_%{APPNAMELC} KF5::Runner KF5::I18n) + +install(TARGETS krunner_%{APPNAMELC} DESTINATION ${KDE_INSTALL_PLUGINDIR}) + +install(FILES plasma-runner-%{APPNAMELC}.desktop DESTINATION ${KDE_INSTALL_KSERVICES5DIR}) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/krunner-5.43.0/templates/runner/src/plasma-runner-%{APPNAMELC}.desktop new/krunner-5.44.0/templates/runner/src/plasma-runner-%{APPNAMELC}.desktop --- old/krunner-5.43.0/templates/runner/src/plasma-runner-%{APPNAMELC}.desktop 1970-01-01 01:00:00.000000000 +0100 +++ new/krunner-5.44.0/templates/runner/src/plasma-runner-%{APPNAMELC}.desktop 2018-03-03 10:53:34.000000000 +0100 @@ -0,0 +1,14 @@ +[Desktop Entry] +Name=%{APPNAME} +Comment=%{APPNAME} runner +Icon= + +X-KDE-ServiceTypes=Plasma/Runner +Type=Service +X-KDE-Library=krunner_%{APPNAMELC} +X-KDE-PluginInfo-Author=%{AUTHOR} +X-KDE-PluginInfo-Email=%{EMAIL} +X-KDE-PluginInfo-Name=%{APPNAMELC} +X-KDE-PluginInfo-Version=0.1 +X-KDE-PluginInfo-License=LGPL 2.1+ +X-KDE-PluginInfo-EnabledByDefault=true