Hello community, here is the log from the commit of package solid for openSUSE:Factory checked in at 2018-02-28 20:00:02 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/solid (Old) and /work/SRC/openSUSE:Factory/.solid.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "solid" Wed Feb 28 20:00:02 2018 rev:53 rq:579845 version:5.43.0 Changes: -------- --- /work/SRC/openSUSE:Factory/solid/solid.changes 2018-02-16 21:36:20.861107728 +0100 +++ /work/SRC/openSUSE:Factory/.solid.new/solid.changes 2018-02-28 20:00:04.613727701 +0100 @@ -1,0 +2,6 @@ +Sat Feb 24 14:31:31 UTC 2018 - wbauer@tmo.at + +- Add Fix-auto-mount-regression.patch to fix broken "Automount on + login" with solid 5.43.0 (kde#389479) + +------------------------------------------------------------------- New: ---- Fix-auto-mount-regression.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ solid.spec ++++++ --- /var/tmp/diff_new_pack.bMHS9C/_old 2018-02-28 20:00:05.837683414 +0100 +++ /var/tmp/diff_new_pack.bMHS9C/_new 2018-02-28 20:00:05.845683125 +0100 @@ -44,6 +44,8 @@ Url: http://www.kde.org Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz Source1: baselibs.conf +# PATCH-FIX-UPSTREAM +Patch: Fix-auto-mount-regression.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build %description @@ -103,6 +105,7 @@ %lang_package -n %lname %prep %setup -q +%patch -p1 %build %cmake_kf5 -d build -- -DWITH_NEW_SOLID_JOB=ON -DWITH_NEW_POWER_ASYNC_API=ON -DWITH_NEW_POWER_ASYNC_FREEDESKTOP=ON -Dlconvert_executable=%{_kf5_libdir}/qt5/bin/lconvert ++++++ Fix-auto-mount-regression.patch ++++++
From e94ba0619477e990903abd0ea0ab584b98dbac08 Mon Sep 17 00:00:00 2001 From: Dmitry Khlestkov
Date: Sat, 24 Feb 2018 07:15:07 -0700 Subject: [UDisks] Fix auto-mount regression
Summary: BUG: 389479 Devices with empty path stopped auto-mounting after commit 1384f275ab2f1ad1841753ee163af6d1b0bb952b. This diff fixes the regression by checking if the path is empty. Reviewers: #frameworks, broulik Reviewed By: broulik Subscribers: ngraham, sefaeyeoglu, rikmills, #frameworks Tags: #frameworks Differential Revision: https://phabricator.kde.org/D10671 --- src/solid/devices/backends/udisks2/udisksstorageaccess.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/solid/devices/backends/udisks2/udisksstorageaccess.cpp b/src/solid/devices/backends/udisks2/udisksstorageaccess.cpp index 5630e80..dd8f76f 100644 --- a/src/solid/devices/backends/udisks2/udisksstorageaccess.cpp +++ b/src/solid/devices/backends/udisks2/udisksstorageaccess.cpp @@ -111,7 +111,8 @@ bool StorageAccess::isIgnored() const const QString path = filePath(); - return !path.startsWith(QLatin1String("/media/")) + return !path.isEmpty() + && !path.startsWith(QLatin1String("/media/")) && !path.startsWith(QLatin1String("/run/media/")) && !path.startsWith(QDir::homePath()); } -- cgit v0.11.2