Hello community,

here is the log from the commit of package plasma5-desktop for openSUSE:Factory 
checked in at 2017-02-10 10:03:16
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/plasma5-desktop (Old)
 and      /work/SRC/openSUSE:Factory/.plasma5-desktop.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "plasma5-desktop"

Changes:
--------
--- /work/SRC/openSUSE:Factory/plasma5-desktop/plasma5-desktop.changes  
2017-02-08 10:49:34.598950920 +0100
+++ /work/SRC/openSUSE:Factory/.plasma5-desktop.new/plasma5-desktop.changes     
2017-02-10 10:04:22.983538075 +0100
@@ -1,0 +2,38 @@
+Thu Feb  9 18:17:42 UTC 2017 - [email protected]
+
+- Add patch to fix regression with security fix (allow running .desktop files
+  inside desktop:/, boo#1024446)
+  * plasma-desktop-run.patch
+
+-------------------------------------------------------------------
+Tue Feb  7 18:54:31 CET 2017 - [email protected]
+
+- Update to 5.9.1
+  * New feature release
+  * For more details please see:
+  * https://www.kde.org/announcements/plasma-5.9.1.php
+- Changes since 5.9.0:
+  * [Solid Device Actions KCM] Encode action file name
+  * [Task Manager] Enable "Mark applications that play audio" option only if 
plasma-pa is available
+  * Fix i18n extraction in Kickoff Buttons
+  * Add missing include in sortedactivitiesmodel to fix build with GCC 7
+  * Add missing include in sortedactivitiesmodel to fix build with GCC 7
+  * Fix i18n extraction: xgettext doesn't recognize single quotes
+  * Use consistent default icon in UserManager and Kicker
+  * Revamp (Activity) Pager wheel handling
+  * [Folder View] Open selection in preferred application instead of running 
them
+  * [Folder View] show script execution prompt when clicking item
+  * And maybe don't undo the fix while fixing the fix ...
+  * Fix startup warning introduced in 3568d8e4.
+  * Fix clearing selection when rectangle selection contains no items.
+  * Fix Plasmoid.busy visualization in desktop containment.
+  * Call correct function and fix warning.
+  * Fix crash and loss of favorites model on refresh with pagination on.
+  * Make parts of KCM Touchpad interface translatable (Patch by Victor 
<[email protected]>)
+  * Clip by bounding delegate size instead of Item.clip.
+  * fix autotest
+- Remove patches, now upstream:
+  * 0001-Folder-View-show-script-execution-prompt-when-clicki.patch
+  * 0002-Folder-View-Open-selection-in-preferred-application-.patch
+
+-------------------------------------------------------------------

Old:
----
  0001-Folder-View-show-script-execution-prompt-when-clicki.patch
  0002-Folder-View-Open-selection-in-preferred-application-.patch
  plasma-desktop-5.9.0.tar.xz

New:
----
  plasma-desktop-5.9.1.tar.xz
  plasma-desktop-run.patch

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

Other differences:
------------------
++++++ plasma5-desktop.spec ++++++
--- /var/tmp/diff_new_pack.mUV59G/_old  2017-02-10 10:04:23.735431742 +0100
+++ /var/tmp/diff_new_pack.mUV59G/_new  2017-02-10 10:04:23.735431742 +0100
@@ -20,22 +20,20 @@
 
 %bcond_without lang
 Name:           plasma5-desktop
-Version:        5.9.0
+Version:        5.9.1
 Release:        0
-# Full Plasma 5 version (e.g. 5.9.0)
+# Full Plasma 5 version (e.g. 5.9.1)
 %{!?_plasma5_bugfix: %global _plasma5_bugfix %{version}}
-# Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.0 in KUF)
+# Lasted ABI-stable Plasma (e.g. 5.8 in KF5, but 5.9.1 in KUF)
 %{!?_plasma5_version: %global _plasma5_version %(echo %{_plasma5_bugfix} | awk 
-F. '{print $1"."$2}')}
 Summary:        The KDE Plasma Workspace Components
 License:        GPL-2.0
 Group:          System/GUI/KDE
 Url:            http://www.kde.org/
-Source:         plasma-desktop-%{version}.tar.xz
+Source:         
http://download.kde.org/stable/plasma/%{version}/plasma-desktop-%{version}.tar.xz
+# PATCH-FIX-OPENSUSE plasma-desktop-run.patch [email protected] -- Allow 
running .desktop files inside desktop:/
+Patch0:         plasma-desktop-run.patch
 # PATCHES 100-200 and above are from upstream 5.9 branch
-# PATCH-FIX-UPSTREAM 
0001-Folder-View-show-script-execution-prompt-when-clicki.patch 
[email protected] -- [Folder View] show script execution prompt when 
clicking item
-Patch100:       0001-Folder-View-show-script-execution-prompt-when-clicki.patch
-# PATCH-FIX-UPSTREAM 
0002-Folder-View-Open-selection-in-preferred-application-.patch 
[email protected] -- [Folder View] Open selection in preferred application 
instead of running them
-Patch101:       0002-Folder-View-Open-selection-in-preferred-application-.patch
 # PATCHES 201-300 and above are from upstream master/5.10 branch
 %if 0%{?suse_version} > 1325
 BuildRequires:  libboost_headers-devel
@@ -177,8 +175,7 @@
 %lang_package
 %prep
 %setup -q -n plasma-desktop-%{version}
-%patch100 -p1
-%patch101 -p1
+%patch0 -p1
 
 %build
   %cmake_kf5 -d build -- -DCMAKE_INSTALL_LOCALEDIR=%{_kf5_localedir}

++++++ plasma-desktop-5.9.0.tar.xz -> plasma-desktop-5.9.1.tar.xz ++++++
++++ 44914 lines of diff (skipped)

++++++ plasma-desktop-run.patch ++++++
diff --git a/containments/desktop/plugins/folder/foldermodel.cpp 
b/containments/desktop/plugins/folder/foldermodel.cpp
--- a/containments/desktop/plugins/folder/foldermodel.cpp
+++ b/containments/desktop/plugins/folder/foldermodel.cpp
@@ -535,7 +535,11 @@
     }
 
     KRun *run = new KRun(url, 0);
-    run->setShowScriptExecutionPrompt(true);
+    // On desktop:/ we want to be able to run .desktop files right away,
+    // otherwise ask for security reasons. We also don't use the targetUrl()
+    // from above since we don't want the resolved /home/foo/Desktop URL.
+    run->setShowScriptExecutionPrompt(item.url().scheme() != 
QLatin1String("desktop")
+                                   || 
item.url().adjusted(QUrl::RemoveFilename).path() != QLatin1String("/"));
 }
 
 void FolderModel::runSelected()

Reply via email to