Hello community,

here is the log from the commit of package kconfig for openSUSE:Factory checked 
in at 2016-07-03 12:20:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kconfig (Old)
 and      /work/SRC/openSUSE:Factory/.kconfig.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kconfig"

Changes:
--------
--- /work/SRC/openSUSE:Factory/kconfig/kconfig.changes  2016-05-19 
12:06:27.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.kconfig.new/kconfig.changes     2016-07-03 
12:20:29.000000000 +0200
@@ -1,0 +2,8 @@
+Mon Jun  6 21:23:56 UTC 2016 - [email protected]
+
+- Update to 5.23.0
+  * Avoid skipping KAuthorized check
+  * For more details please see:
+    https://www.kde.org/announcements/kde-frameworks-5.23.0.php
+
+-------------------------------------------------------------------

Old:
----
  kconfig-5.22.0.tar.xz

New:
----
  kconfig-5.23.0.tar.xz

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

Other differences:
------------------
++++++ kconfig.spec ++++++
--- /var/tmp/diff_new_pack.znPTxL/_old  2016-07-03 12:20:30.000000000 +0200
+++ /var/tmp/diff_new_pack.znPTxL/_new  2016-07-03 12:20:30.000000000 +0200
@@ -18,9 +18,9 @@
 
 %bcond_without lang
 %define sonum   5
-%define _tar_path 5.22
+%define _tar_path 5.23
 Name:           kconfig
-Version:        5.22.0
+Version:        5.23.0
 Release:        0
 BuildRequires:  cmake >= 2.8.12
 BuildRequires:  extra-cmake-modules >= %{_tar_path}

++++++ kconfig-5.22.0.tar.xz -> kconfig-5.23.0.tar.xz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfig-5.22.0/CMakeLists.txt 
new/kconfig-5.23.0/CMakeLists.txt
--- old/kconfig-5.22.0/CMakeLists.txt   2016-05-07 17:07:22.000000000 +0200
+++ new/kconfig-5.23.0/CMakeLists.txt   2016-06-06 13:28:29.000000000 +0200
@@ -3,7 +3,7 @@
 project(KConfig)
 
 include(FeatureSummary)
-find_package(ECM 5.22.0  NO_MODULE)
+find_package(ECM 5.23.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)
 
@@ -23,7 +23,7 @@
 include(ECMMarkNonGuiExecutable)
 include(ECMPoQmTools)
 
-set(KF5_VERSION "5.22.0") # handled by release scripts
+set(KF5_VERSION "5.23.0") # handled by release scripts
 
 ecm_setup_version(${KF5_VERSION} VARIABLE_PREFIX KCONFIG
                         VERSION_HEADER 
"${CMAKE_CURRENT_BINARY_DIR}/kconfig_version.h"
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfig-5.22.0/autotests/kdesktopfiletest.cpp 
new/kconfig-5.23.0/autotests/kdesktopfiletest.cpp
--- old/kconfig-5.22.0/autotests/kdesktopfiletest.cpp   2016-05-07 
17:07:22.000000000 +0200
+++ new/kconfig-5.23.0/autotests/kdesktopfiletest.cpp   2016-06-06 
13:28:29.000000000 +0200
@@ -18,6 +18,7 @@
 #include "kdesktopfiletest.h"
 #include "helper.h"
 #include <kconfiggroup.h>
+#include <ksharedconfig.h>
 #include <qtemporaryfile.h>
 
 #include "kdesktopfile.h"
@@ -26,6 +27,14 @@
 
 QTEST_MAIN(KDesktopFileTest)
 
+void KDesktopFileTest::initTestCase()
+{
+    QStandardPaths::enableTestMode(true);
+
+    KConfigGroup actionRestrictions(KSharedConfig::openConfig(), "KDE Action 
Restrictions");
+    actionRestrictions.writeEntry("someBlockedAction", false);
+}
+
 void KDesktopFileTest::testRead()
 {
     QTemporaryFile file("testReadXXXXXX.desktop");
@@ -206,3 +215,43 @@
         qWarning("Skipping test for plasma-desktop.desktop, not found. 
kde-workspace not installed?");
     }
 }
+
+void KDesktopFileTest::testTryExecWithAuthorizeAction()
+{
+    {
+        QTemporaryFile file("testAuthActionXXXXXX.desktop");
+        QVERIFY(file.open());
+        const QString fileName = file.fileName();
+        QTextStream ts(&file);
+        ts <<
+        "[Desktop Entry]\n"
+        "Type=Application\n"
+        "Name=My Application\n"
+        "Exec=kfoo\n"
+        "TryExec=bash\n"
+        "X-KDE-AuthorizeAction=someAction"
+        "\n";
+        file.close();
+
+        KDesktopFile desktopFile(fileName);
+        QVERIFY(desktopFile.tryExec());
+    }
+    {
+        QTemporaryFile file("testAuthActionXXXXXX.desktop");
+        QVERIFY(file.open());
+        const QString fileName = file.fileName();
+        QTextStream ts(&file);
+        ts <<
+        "[Desktop Entry]\n"
+        "Type=Application\n"
+        "Name=My Application\n"
+        "Exec=kfoo\n"
+        "TryExec=bash\n"
+        "X-KDE-AuthorizeAction=someBlockedAction"
+        "\n";
+        file.close();
+
+        KDesktopFile desktopFile(fileName);
+        QVERIFY(!desktopFile.tryExec());
+    }
+}
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfig-5.22.0/autotests/kdesktopfiletest.h 
new/kconfig-5.23.0/autotests/kdesktopfiletest.h
--- old/kconfig-5.22.0/autotests/kdesktopfiletest.h     2016-05-07 
17:07:22.000000000 +0200
+++ new/kconfig-5.23.0/autotests/kdesktopfiletest.h     2016-06-06 
13:28:29.000000000 +0200
@@ -25,6 +25,7 @@
 {
     Q_OBJECT
 private Q_SLOTS:
+    void initTestCase();
     void testRead();
     void testReadLocalized_data();
     void testReadLocalized();
@@ -32,6 +33,7 @@
     void testSuccessfulTryExec();
     void testActionGroup();
     void testIsAuthorizedDesktopFile();
+    void testTryExecWithAuthorizeAction();
 
 };
 
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfig-5.22.0/metainfo.yaml 
new/kconfig-5.23.0/metainfo.yaml
--- old/kconfig-5.22.0/metainfo.yaml    2016-05-07 17:07:22.000000000 +0200
+++ new/kconfig-5.23.0/metainfo.yaml    2016-06-06 13:28:29.000000000 +0200
@@ -13,3 +13,7 @@
  - qmake: KConfigGui
    cmake: "KF5::ConfigGui"
 cmakename: KF5Config
+
+public_lib: true
+group: Frameworks
+subgroup: Tier 1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfig-5.22.0/src/core/kconfiggroup.h 
new/kconfig-5.23.0/src/core/kconfiggroup.h
--- old/kconfig-5.22.0/src/core/kconfiggroup.h  2016-05-07 17:07:22.000000000 
+0200
+++ new/kconfig-5.23.0/src/core/kconfiggroup.h  2016-06-06 13:28:29.000000000 
+0200
@@ -35,7 +35,7 @@
 class KConfig;
 class KConfigGroupPrivate;
 class KSharedConfig;
-typedef QExplicitlySharedDataPointer<KSharedConfig> KSharedConfigPtr;
+
 /**
  * \class KConfigGroup kconfiggroup.h <KConfigGroup>
  *
@@ -83,9 +83,9 @@
     KConfigGroup(const KConfigBase *master, const char *group);
 
     /** Overload for KConfigGroup(const KConfigBase*,const QString&) */
-    KConfigGroup(const KSharedConfigPtr &master, const QString &group);
+    KConfigGroup(const QExplicitlySharedDataPointer<KSharedConfig> &master, 
const QString &group);
     /** Overload for KConfigGroup(const KConfigBase*,const QString&) */
-    KConfigGroup(const KSharedConfigPtr &master, const char *group);
+    KConfigGroup(const QExplicitlySharedDataPointer<KSharedConfig> &master, 
const char *group);
 
     /**
      * Creates a copy of a group.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfig-5.22.0/src/core/kdesktopfile.cpp 
new/kconfig-5.23.0/src/core/kdesktopfile.cpp
--- old/kconfig-5.22.0/src/core/kdesktopfile.cpp        2016-05-07 
17:07:22.000000000 +0200
+++ new/kconfig-5.23.0/src/core/kdesktopfile.cpp        2016-06-06 
13:28:29.000000000 +0200
@@ -281,9 +281,12 @@
     QString te = d->desktopGroup.readEntry("TryExec", QString());
 
     if (!te.isEmpty()) {
-        return !QStandardPaths::findExecutable(te).isEmpty();
+        if (QStandardPaths::findExecutable(te).isEmpty()) {
+            return false;
+        }
     }
     const QStringList list = 
d->desktopGroup.readEntry("X-KDE-AuthorizeAction", QStringList());
+
     if (!list.isEmpty()) {
         for (QStringList::ConstIterator it = list.begin();
                 it != list.end();
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' 
'--exclude=.svnignore' old/kconfig-5.22.0/src/gui/kstandardshortcut.h 
new/kconfig-5.23.0/src/gui/kstandardshortcut.h
--- old/kconfig-5.22.0/src/gui/kstandardshortcut.h      2016-05-07 
17:07:22.000000000 +0200
+++ new/kconfig-5.23.0/src/gui/kstandardshortcut.h      2016-06-06 
13:28:29.000000000 +0200
@@ -308,12 +308,6 @@
 KCONFIGGUI_EXPORT const QList<QKeySequence> &zoomOut();
 
 /**
- * Toggle insert/overwrite (with visual feedback, e.g. in the statusbar). 
Default: Insert
- * @return the shortcut of the standard accelerator
- */
-KCONFIGGUI_EXPORT const QList<QKeySequence> &insert();
-
-/**
  * Goto home page. Default: Alt-Home
  * @return the shortcut of the standard accelerator
  */


Reply via email to