Hello community,

here is the log from the commit of package kauth for openSUSE:Factory checked 
in at 2018-01-22 15:58:28
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kauth (Old)
 and      /work/SRC/openSUSE:Factory/.kauth.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kauth"

Mon Jan 22 15:58:28 2018 rev:53 rq:566657 version:5.42.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/kauth/kauth.changes      2018-01-09 
14:41:15.749367646 +0100
+++ /work/SRC/openSUSE:Factory/.kauth.new/kauth.changes 2018-01-22 
15:59:10.368242235 +0100
@@ -1,0 +2,13 @@
+Tue Jan 16 22:50:14 CET 2018 - [email protected]
+
+- Update to 5.42.0
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/kde-frameworks-5.42.0.php
+- Changes since 5.41.0:
+  * Remove obsolete reviewboardrc file
+  * Const'ify. Remove unused variables. Minor optimization
+  * Fix CMake AUTOMOC warning
+  * Autogenerate debug file
+
+-------------------------------------------------------------------

Old:
----
  kauth-5.41.0.tar.xz

New:
----
  kauth-5.42.0.tar.xz

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kauth.spec ++++++
--- /var/tmp/diff_new_pack.9un3gG/_old  2018-01-22 15:59:11.100207978 +0100
+++ /var/tmp/diff_new_pack.9un3gG/_new  2018-01-22 15:59:11.104207791 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package kauth
 #
-# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -18,13 +18,13 @@
 
 %bcond_without lang
 %define lname   libKF5Auth5
-%define _tar_path 5.41
+%define _tar_path 5.42
 # 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:           kauth
-Version:        5.41.0
+Version:        5.42.0
 Release:        0
 BuildRequires:  cmake >= 3.0
 BuildRequires:  extra-cmake-modules >= %{_kf5_bugfix_version}
@@ -107,6 +107,7 @@
 %dir %{_kf5_libdir}/libexec
 %{_kf5_libdir}/libexec/kauth
 %config %{_kf5_sysconfdir}/dbus-1/system.d/org.kde.kf5auth.conf
+%{_kf5_debugdir}/*.categories
 
 %files devel
 %defattr(-,root,root)

++++++ kauth-5.41.0.tar.xz -> kauth-5.42.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/.reviewboardrc 
new/kauth-5.42.0/.reviewboardrc
--- old/kauth-5.41.0/.reviewboardrc     2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/.reviewboardrc     1970-01-01 01:00:00.000000000 +0100
@@ -1,4 +0,0 @@
-REVIEWBOARD_URL = "https://git.reviewboard.kde.org";
-REPOSITORY = 'git://anongit.kde.org/kauth'
-BRANCH = 'master'
-TARGET_GROUPS = 'kdeframeworks'
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/CMakeLists.txt 
new/kauth-5.42.0/CMakeLists.txt
--- old/kauth-5.41.0/CMakeLists.txt     2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/CMakeLists.txt     2018-01-07 17:06:08.000000000 +0100
@@ -1,11 +1,11 @@
 cmake_minimum_required(VERSION 3.0)
 
-set(KF5_VERSION "5.41.0") # handled by release scripts
-set(KF5_DEP_VERSION "5.41.0") # handled by release scripts
+set(KF5_VERSION "5.42.0") # handled by release scripts
+set(KF5_DEP_VERSION "5.42.0") # handled by release scripts
 project(KAuth VERSION ${KF5_VERSION})
 
 include(FeatureSummary)
-find_package(ECM 5.41.0  NO_MODULE)
+find_package(ECM 5.42.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)
 
@@ -27,6 +27,7 @@
 include(GenerateExportHeader)
 include(ECMSetupVersion)
 include(ECMGenerateHeaders)
+include(ECMQtDeclareLoggingCategory)
 
 include(ECMPoQmTools)
 include(ECMAddQch)
@@ -101,5 +102,5 @@
 install(FILES ${CMAKE_CURRENT_BINARY_DIR}/kauth_version.h
         DESTINATION ${KDE_INSTALL_INCLUDEDIR_KF5} COMPONENT Devel )
 
-
+install(FILES kauth.categories DESTINATION ${KDE_INSTALL_CONFDIR})
 feature_summary(WHAT ALL FATAL_ON_MISSING_REQUIRED_PACKAGES)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/autotests/CMakeLists.txt 
new/kauth-5.42.0/autotests/CMakeLists.txt
--- old/kauth-5.41.0/autotests/CMakeLists.txt   2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/autotests/CMakeLists.txt   2018-01-07 17:06:08.000000000 
+0100
@@ -13,12 +13,15 @@
 
 include(ECMAddTests)
 
+set(kauthdebug_SRCS)
+ecm_qt_declare_logging_category(kauthdebug_tests_SRCS HEADER kauthdebug.h 
IDENTIFIER KAUTH CATEGORY_NAME kf5.kauth)
+
+
 set(libkauth_tests_static_SRCS
     ../src/kauthaction.cpp
     ../src/kauthactionreply.cpp
     ../src/kauthexecutejob.cpp
     ../src/AuthBackend.cpp
-    ../src/kauthdebug.cpp
     # Use our "special" backends manager
     BackendsManager.cpp
     ../src/HelperProxy.cpp
@@ -26,6 +29,7 @@
     TestBackend.cpp
     ../src/backends/dbus/DBusHelperProxy.cpp
     ${kauth_dbus_adaptor_tests_SRCS}
+    ${kauthdebug_tests_SRCS}
 )
 
 add_library(kauth_tests_static STATIC ${libkauth_tests_static_SRCS})
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/examples/client.cpp 
new/kauth-5.42.0/examples/client.cpp
--- old/kauth-5.41.0/examples/client.cpp        2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/examples/client.cpp        2018-01-07 17:06:08.000000000 
+0100
@@ -49,4 +49,3 @@
     return app.exec();
 }
 
-#include "client.moc"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/kauth.categories 
new/kauth-5.42.0/kauth.categories
--- old/kauth-5.41.0/kauth.categories   1970-01-01 01:00:00.000000000 +0100
+++ new/kauth-5.42.0/kauth.categories   2018-01-07 17:06:08.000000000 +0100
@@ -0,0 +1 @@
+kf5.kauth KAuth
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/gl/kauth5_qt.po 
new/kauth-5.42.0/po/gl/kauth5_qt.po
--- old/kauth-5.41.0/po/gl/kauth5_qt.po 2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/po/gl/kauth5_qt.po 2018-01-07 17:06:08.000000000 +0100
@@ -52,7 +52,7 @@
 "DBus Backend error: could not contact the helper. Connection error: %1. "
 "Message error: %2"
 msgstr ""
-"Erro da infraestrutura DBus: non foi posíbel contactar co auxiliar. Erro de "
+"Erro da infraestrutura DBus: non se puido contactar co auxiliar. Erro de "
 "conexión: %1. Mensaxe de erro: %2"
 
 #: kauthexecutejob.cpp:88
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/ko/kauth5_qt.po 
new/kauth-5.42.0/po/ko/kauth5_qt.po
--- old/kauth-5.41.0/po/ko/kauth5_qt.po 2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/po/ko/kauth5_qt.po 2018-01-07 17:06:08.000000000 +0100
@@ -2,14 +2,14 @@
 # Copyright (C) Free Software Foundation, Inc.
 # Cho Sung Jae <[email protected]>, 2007.
 # Shinjo Park <[email protected]>, 2007, 2008, 2009, 2010, 2011.
-# Shinjo Park <[email protected]>, 2011, 2012, 2013, 2014, 2015, 2016.
+# Shinjo Park <[email protected]>, 2011, 2012, 2013, 2014, 2015, 2016, 2017.
 #
 msgid ""
 msgstr ""
 "Project-Id-Version: kdelibs4\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
-"PO-Revision-Date: 2016-12-05 21:23+0100\n"
+"PO-Revision-Date: 2017-12-02 20:35+0100\n"
 "Last-Translator: Shinjo Park <[email protected]>\n"
 "Language-Team: Korean <[email protected]>\n"
 "Language: ko\n"
@@ -27,14 +27,14 @@
 msgstr "DBus 백엔드 오류: service start %1 실패: %2"
 
 #: backends/dbus/DBusHelperProxy.cpp:91
-#, fuzzy, qt-format
-#| msgctxt "KAuth::DBusHelperProxy|"
-#| msgid "DBus Backend error: connection to helper failed. %1"
+#, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
 "DBus Backend error: connection to helper failed. %1\n"
 "(application: %2 helper: %3)"
-msgstr "DBus 백엔드 오류: 도우미에 연결할 수 없습니다. %1"
+msgstr ""
+"DBus 백엔드 오류: 도우미에 연결할 수 없습니다. %1\n"
+"(프로그램: %2 도우미: %3)"
 
 #: backends/dbus/DBusHelperProxy.cpp:119
 #, qt-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/pt_BR/kauth5_qt.po 
new/kauth-5.42.0/po/pt_BR/kauth5_qt.po
--- old/kauth-5.41.0/po/pt_BR/kauth5_qt.po      2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/po/pt_BR/kauth5_qt.po      2018-01-07 17:06:08.000000000 
+0100
@@ -8,7 +8,7 @@
 # Marcus Gama <[email protected]>, 2006.
 # Diniz Bortolotto <[email protected]>, 2007, 2008.
 # André Marcelo Alvarenga <[email protected]>, 2008, 2009, 2010, 2011, 2012, 
2013, 2014.
-# Luiz Fernando Ranghetti <[email protected]>, 2008, 2009, 2010, 2012.
+# Luiz Fernando Ranghetti <[email protected]>, 2008, 2009, 2010, 2012, 
2017.
 # Fernando Boaglio <[email protected]>, 2009.
 # Doutor Zero <[email protected]>, 2007, 2009.
 # Marcus Vinícius de Andrade Gama <[email protected]>, 2010, 2012.
@@ -18,46 +18,42 @@
 "Project-Id-Version: kauth5_qt\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2014-03-23 01:50+0000\n"
-"PO-Revision-Date: 2014-11-25 19:09-0200\n"
-"Last-Translator: André Marcelo Alvarenga <[email protected]>\n"
-"Language-Team: Brazilian Portuguese <[email protected]>\n"
+"PO-Revision-Date: 2017-12-12 15:54-0300\n"
+"Last-Translator: Luiz Fernando Ranghetti <[email protected]>\n"
+"Language-Team: Portuguese <[email protected]>\n"
 "Language: pt_BR\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.5\n"
+"X-Generator: Lokalize 2.0\n"
 "X-Qt-Contexts: true\n"
 
 #: backends/dbus/DBusHelperProxy.cpp:81
-#, fuzzy, qt-format
-#| msgctxt "KAuth::DBusHelperProxy|"
-#| msgid "DBus Backend error: connection to helper failed. "
+#, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid "DBus Backend error: service start %1 failed: %2"
-msgstr "Erro da infraestrutura D-Bus: A conexão ao utilitário falhou. "
+msgstr "Erro da infraestrutura D-Bus: o serviço iniciado %1 falhou: %2"
 
 #: backends/dbus/DBusHelperProxy.cpp:91
-#, fuzzy, qt-format
-#| msgctxt "KAuth::DBusHelperProxy|"
-#| msgid "DBus Backend error: connection to helper failed. "
+#, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
 "DBus Backend error: connection to helper failed. %1\n"
 "(application: %2 helper: %3)"
-msgstr "Erro da infraestrutura D-Bus: A conexão ao utilitário falhou. "
+msgstr ""
+"Erro da infraestrutura D-Bus: A conexão ao utilitário falhou. %1\n"
+"(aplicativo: %2 utilitário: %3)"
 
 #: backends/dbus/DBusHelperProxy.cpp:119
-#, fuzzy, qt-format
-#| msgctxt "KAuth::DBusHelperProxy|"
-#| msgid "DBus Backend error: could not contact the helper. Connection error: "
+#, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
 "DBus Backend error: could not contact the helper. Connection error: %1. "
 "Message error: %2"
 msgstr ""
 "Erro da infraestrutura D-Bus: Não foi possível contactar o utilitário. Erro "
-"de conexão: "
+"de conexão: %1. Mensagem de erro: %2"
 
 #: kauthexecutejob.cpp:88
 msgctxt "KAuth::ExecuteJob|"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/sr/kauth5_qt.po 
new/kauth-5.42.0/po/sr/kauth5_qt.po
--- old/kauth-5.41.0/po/sr/kauth5_qt.po 2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/po/sr/kauth5_qt.po 2018-01-07 17:06:08.000000000 +0100
@@ -23,13 +23,13 @@
 "X-Wrapping: fine\n"
 "X-Qt-Contexts: true\n"
 
-#: backends/dbus/DBusHelperProxy.cpp:86
+#: backends/dbus/DBusHelperProxy.cpp:81
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid "DBus Backend error: service start %1 failed: %2"
 msgstr "Грешка д‑бус позадине: покретање сервиса %1 пропало: %2"
 
-#: backends/dbus/DBusHelperProxy.cpp:96
+#: backends/dbus/DBusHelperProxy.cpp:91
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
@@ -39,7 +39,7 @@
 "Грешка д‑бус позадине: пропала веза са помоћником. %1\n"
 "(програм: %2 помоћник: %3)"
 
-#: backends/dbus/DBusHelperProxy.cpp:124
+#: backends/dbus/DBusHelperProxy.cpp:119
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/sr@ijekavian/kauth5_qt.po 
new/kauth-5.42.0/po/sr@ijekavian/kauth5_qt.po
--- old/kauth-5.41.0/po/sr@ijekavian/kauth5_qt.po       2017-12-02 
21:02:04.000000000 +0100
+++ new/kauth-5.42.0/po/sr@ijekavian/kauth5_qt.po       2018-01-07 
17:06:08.000000000 +0100
@@ -22,13 +22,13 @@
 "X-Environment: kde\n"
 "X-Qt-Contexts: true\n"
 
-#: backends/dbus/DBusHelperProxy.cpp:86
+#: backends/dbus/DBusHelperProxy.cpp:81
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid "DBus Backend error: service start %1 failed: %2"
 msgstr "Грешка д‑бус позадине: покретање сервиса %1 пропало: %2"
 
-#: backends/dbus/DBusHelperProxy.cpp:96
+#: backends/dbus/DBusHelperProxy.cpp:91
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
@@ -38,7 +38,7 @@
 "Грешка д‑бус позадине: пропала веза са помоћником. %1\n"
 "(програм: %2 помоћник: %3)"
 
-#: backends/dbus/DBusHelperProxy.cpp:124
+#: backends/dbus/DBusHelperProxy.cpp:119
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/sr@ijekavianlatin/kauth5_qt.po 
new/kauth-5.42.0/po/sr@ijekavianlatin/kauth5_qt.po
--- old/kauth-5.41.0/po/sr@ijekavianlatin/kauth5_qt.po  2017-12-02 
21:02:04.000000000 +0100
+++ new/kauth-5.42.0/po/sr@ijekavianlatin/kauth5_qt.po  2018-01-07 
17:06:08.000000000 +0100
@@ -22,13 +22,13 @@
 "X-Environment: kde\n"
 "X-Qt-Contexts: true\n"
 
-#: backends/dbus/DBusHelperProxy.cpp:86
+#: backends/dbus/DBusHelperProxy.cpp:81
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid "DBus Backend error: service start %1 failed: %2"
 msgstr "Greška D‑Bus pozadine: pokretanje servisa %1 propalo: %2"
 
-#: backends/dbus/DBusHelperProxy.cpp:96
+#: backends/dbus/DBusHelperProxy.cpp:91
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
@@ -38,7 +38,7 @@
 "Greška D‑Bus pozadine: propala veza sa pomoćnikom. %1\n"
 "(program: %2 pomoćnik: %3)"
 
-#: backends/dbus/DBusHelperProxy.cpp:124
+#: backends/dbus/DBusHelperProxy.cpp:119
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/sr@latin/kauth5_qt.po 
new/kauth-5.42.0/po/sr@latin/kauth5_qt.po
--- old/kauth-5.41.0/po/sr@latin/kauth5_qt.po   2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/po/sr@latin/kauth5_qt.po   2018-01-07 17:06:08.000000000 
+0100
@@ -22,13 +22,13 @@
 "X-Environment: kde\n"
 "X-Qt-Contexts: true\n"
 
-#: backends/dbus/DBusHelperProxy.cpp:86
+#: backends/dbus/DBusHelperProxy.cpp:81
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid "DBus Backend error: service start %1 failed: %2"
 msgstr "Greška D‑Bus pozadine: pokretanje servisa %1 propalo: %2"
 
-#: backends/dbus/DBusHelperProxy.cpp:96
+#: backends/dbus/DBusHelperProxy.cpp:91
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
@@ -38,7 +38,7 @@
 "Greška D‑Bus pozadine: propala veza sa pomoćnikom. %1\n"
 "(program: %2 pomoćnik: %3)"
 
-#: backends/dbus/DBusHelperProxy.cpp:124
+#: backends/dbus/DBusHelperProxy.cpp:119
 #, qt-format
 msgctxt "KAuth::DBusHelperProxy|"
 msgid ""
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/po/zh_CN/kauth5_qt.po 
new/kauth-5.42.0/po/zh_CN/kauth5_qt.po
--- old/kauth-5.41.0/po/zh_CN/kauth5_qt.po      2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/po/zh_CN/kauth5_qt.po      2018-01-07 17:06:08.000000000 
+0100
@@ -16,7 +16,7 @@
 "Project-Id-Version: kdeorg\n"
 "Report-Msgid-Bugs-To: http://bugs.kde.org\n";
 "POT-Creation-Date: 2016-11-19 20:11+0100\n"
-"PO-Revision-Date: 2017-07-13 11:17-0400\n"
+"PO-Revision-Date: 2018-01-05 06:38-0500\n"
 "Last-Translator: guoyunhebrave <[email protected]>\n"
 "Language-Team: Chinese Simplified\n"
 "Language: zh_CN\n"
@@ -26,6 +26,12 @@
 "Plural-Forms: nplurals=1; plural=0;\n"
 "X-Generator: crowdin.com\n"
 "X-Qt-Contexts: true\n"
+"X-Qt-Contexts: true\n"
+"Plural-Forms: nplurals=1; plural=0;\n"
+"X-Generator: crowdin.com\n"
+"X-Crowdin-Project: kdeorg\n"
+"X-Crowdin-Language: zh-CN\n"
+"X-Crowdin-File: /kf5-trunk/messages/frameworks/kauth5_qt.pot\n"
 
 #: backends/dbus/DBusHelperProxy.cpp:81
 #, qt-format
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/src/BackendsManager.cpp 
new/kauth-5.42.0/src/BackendsManager.cpp
--- old/kauth-5.41.0/src/BackendsManager.cpp    2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/src/BackendsManager.cpp    2018-01-07 17:06:08.000000000 
+0100
@@ -50,9 +50,9 @@
 
     const QFileInfoList entryList = 
pluginPath.entryInfoList(QDir::NoDotAndDotDot | QDir::Files);
 
-    Q_FOREACH (const QFileInfo &fi, entryList) {
-        QString filePath = fi.filePath(); // file name with path
-        QString fileName = fi.fileName(); // just file name
+    for (const QFileInfo &fi : entryList) {
+        const QString filePath = fi.filePath(); // file name with path
+        //QString fileName = fi.fileName(); // just file name
 
         if (!QLibrary::isLibrary(filePath)) {
             continue;
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/src/CMakeLists.txt 
new/kauth-5.42.0/src/CMakeLists.txt
--- old/kauth-5.41.0/src/CMakeLists.txt 2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/src/CMakeLists.txt 2018-01-07 17:06:08.000000000 +0100
@@ -6,6 +6,9 @@
 
 ecm_create_qm_loader(KAuth_QM_LOADER kauth5_qt)
 
+set(kauthdebug_SRCS)
+ecm_qt_declare_logging_category(kauthdebug_SRCS HEADER kauthdebug.h IDENTIFIER 
KAUTH CATEGORY_NAME kf5.kauth)
+
 if(TARGET Qt5::Widgets)
     set(libkauth_SRCS
         kauthaction.cpp
@@ -16,7 +19,7 @@
         BackendsManager.cpp
         HelperProxy.cpp
         kauthhelpersupport.cpp
-        kauthdebug.cpp
+        ${kauthdebug_SRCS}
         backends/fake/FakeBackend.cpp
         backends/fakehelper/FakeHelperProxy.cpp
         ${KAuth_QM_LOADER}
@@ -102,7 +105,7 @@
 if (NOT "${KAUTH_BACKEND_NAME}" STREQUAL "FAKE" AND TARGET Qt5::Widgets)
     set(KAUTH_BACKEND_SRCS ${KAUTH_BACKEND_SRCS})
     # KAuth::AuthBackend is not exported
-    add_library(kauth_backend_plugin MODULE ${KAUTH_BACKEND_SRCS} 
AuthBackend.cpp kauthdebug.cpp)
+    add_library(kauth_backend_plugin MODULE ${KAUTH_BACKEND_SRCS} 
AuthBackend.cpp ${kauthdebug_SRCS})
     target_link_libraries(kauth_backend_plugin PRIVATE ${KAUTH_BACKEND_LIBS})
     set_target_properties(kauth_backend_plugin PROPERTIES PREFIX "")
 
@@ -117,7 +120,7 @@
 
 if (NOT "${KAUTH_HELPER_BACKEND_NAME}" STREQUAL "FAKE" AND TARGET Qt5::Widgets)
     # KAuth::HelperProxy is not exported
-    add_library(kauth_helper_plugin MODULE ${KAUTH_HELPER_BACKEND_SRCS} 
HelperProxy.cpp kauthdebug.cpp)
+    add_library(kauth_helper_plugin MODULE ${KAUTH_HELPER_BACKEND_SRCS} 
HelperProxy.cpp ${kauthdebug_SRCS})
     target_link_libraries(kauth_helper_plugin PRIVATE 
${KAUTH_HELPER_BACKEND_LIBS})
     set_target_properties(kauth_helper_plugin PROPERTIES PREFIX "")
     install(TARGETS kauth_helper_plugin
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' 
old/kauth-5.41.0/src/backends/polkit-1/kauth-policy-gen-polkit1.cpp 
new/kauth-5.42.0/src/backends/polkit-1/kauth-policy-gen-polkit1.cpp
--- old/kauth-5.41.0/src/backends/polkit-1/kauth-policy-gen-polkit1.cpp 
2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/src/backends/polkit-1/kauth-policy-gen-polkit1.cpp 
2018-01-07 17:06:08.000000000 +0100
@@ -39,7 +39,7 @@
 
 const char dent[] = "   ";
 
-void output(QList<Action> actions, QMap<QString, QString> domain)
+void output(QList<Action> actions, const QMap<QString, QString> &domain)
 {
     QTextStream out(stdout);
     out.setCodec("UTF-8");
@@ -51,9 +51,8 @@
     blacklist.insert(QLatin1Char('&'), QLatin1String("&amp;"));
 
     if (domain.contains(QLatin1String("vendor"))) {
-        QMap< QChar, QString >::const_iterator blI;
         QString vendor = domain[QLatin1String("vendor")];
-        for (blI = blacklist.constBegin(); blI != blacklist.constEnd(); ++blI) 
{
+        for (QMap< QChar, QString >::const_iterator blI = 
blacklist.constBegin(), total = blacklist.constEnd(); blI != total; ++blI) {
             vendor.replace(blI.key(), blI.value());
         }
         out << "<vendor>" << vendor << "</vendor>\n";
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/src/kauthaction.cpp 
new/kauth-5.42.0/src/kauthaction.cpp
--- old/kauth-5.41.0/src/kauthaction.cpp        2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/src/kauthaction.cpp        2018-01-07 17:06:08.000000000 
+0100
@@ -51,7 +51,7 @@
     QString helperId;
     QVariantMap args;
     bool valid;
-    QWidget *parent;
+    QWidget *parent = nullptr;
     int timeout;
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/src/kauthdebug.cpp 
new/kauth-5.42.0/src/kauthdebug.cpp
--- old/kauth-5.41.0/src/kauthdebug.cpp 2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/src/kauthdebug.cpp 1970-01-01 01:00:00.000000000 +0100
@@ -1,19 +0,0 @@
-/*
-  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 "kauthdebug.h"
-
-// logging category for this framework, default: log stuff >= warning
-Q_LOGGING_CATEGORY(KAUTH, "kf5.kauth", QtWarningMsg)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/src/kauthdebug.h 
new/kauth-5.42.0/src/kauthdebug.h
--- old/kauth-5.41.0/src/kauthdebug.h   2017-12-02 21:02:04.000000000 +0100
+++ new/kauth-5.42.0/src/kauthdebug.h   1970-01-01 01:00:00.000000000 +0100
@@ -1,24 +0,0 @@
-/*
-  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 KAUTH_DEBUG_H
-#define KAUTH_DEBUG_H
-
-#include <QLoggingCategory>
-#include <QDebug>
-
-Q_DECLARE_LOGGING_CATEGORY(KAUTH)
-
-#endif
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/src/kauthexecutejob.cpp 
new/kauth-5.42.0/src/kauthexecutejob.cpp
--- old/kauth-5.41.0/src/kauthexecutejob.cpp    2017-12-02 21:02:04.000000000 
+0100
+++ new/kauth-5.42.0/src/kauthexecutejob.cpp    2018-01-07 17:06:08.000000000 
+0100
@@ -92,10 +92,10 @@
 
     switch (d->mode) {
     case Action::ExecuteMode:
-        QTimer::singleShot(0, this, SLOT(doExecuteAction()));
+        QTimer::singleShot(0, this, [this]() {d->doExecuteAction();});
         break;
     case Action::AuthorizeOnlyMode:
-        QTimer::singleShot(0, this, SLOT(doAuthorizeAction()));
+        QTimer::singleShot(0, this, [this]() {d->doAuthorizeAction();});
         break;
     default: {
         ActionReply reply(ActionReply::InvalidActionError);
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kauth-5.41.0/src/policy-gen/policy-gen.h 
new/kauth-5.42.0/src/policy-gen/policy-gen.h
--- old/kauth-5.41.0/src/policy-gen/policy-gen.h        2017-12-02 
21:02:04.000000000 +0100
+++ new/kauth-5.42.0/src/policy-gen/policy-gen.h        2018-01-07 
17:06:08.000000000 +0100
@@ -36,6 +36,6 @@
     QString persistence;
 };
 
-extern void output(QList<Action> actions, QMap<QString, QString> domain);
+extern void output(QList<Action> actions, const QMap<QString, QString> 
&domain);
 
 #endif


Reply via email to