KDE Frameworks 5.57.0

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kio?expand=0&rev=254
This commit is contained in:
Wolfgang Bauer 2019-04-16 16:54:30 +00:00 committed by Git OBS Bridge
parent ad2829bb1d
commit 58a2187d90
5 changed files with 17 additions and 39 deletions

View File

@ -1,32 +0,0 @@
From 01a7e0e757d3558e131d24fbb079b65af7b70572 Mon Sep 17 00:00:00 2001
From: Wolfgang Bauer <wbauer@tmo.at>
Date: Sun, 3 Mar 2019 12:53:37 +0100
Subject: Fix NTFS hidden check for symlinks to NTFS mountpoints
A symlink to the mountpoint of an NTFS partition can have the type
DT_LNK.
So extend the check to cover that case as well.
BUG: 402738
FIXED-IN: 5.57.0
Differential Revision: https://phabricator.kde.org/D18479
---
src/ioslaves/file/file_unix.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/ioslaves/file/file_unix.cpp b/src/ioslaves/file/file_unix.cpp
index 1816f11..5dca327 100644
--- a/src/ioslaves/file/file_unix.cpp
+++ b/src/ioslaves/file/file_unix.cpp
@@ -589,7 +589,7 @@ void FileProtocol::listDir(const QUrl &url)
bool ntfsHidden = true;
// Bug 392913: NTFS root volume is always "hidden", ignore this
- if (ep->d_type == DT_DIR || ep->d_type == DT_UNKNOWN) {
+ if (ep->d_type == DT_DIR || ep->d_type == DT_UNKNOWN || ep->d_type == DT_LNK) {
const QString fullFilePath = QDir(filename).canonicalPath();
auto mountPoint = KMountPoint::currentMountPoints().findByPath(fullFilePath);
if (mountPoint && mountPoint->mountPoint() == fullFilePath) {
--
cgit v1.1

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d6fb0bdae9454cd67de19806e338fdcb72e8678a27e95fad3626491d8b1a4cd4
size 3158340

3
kio-5.57.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d68151d58f1ed2e0724074c6bca42510dd3e19617baa4b4130198ad3a36a64ab
size 3166500

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun Apr 14 20:21:43 UTC 2019 - lbeltrame@kde.org
- Update to 5.57.0
* New feature release
* For more details please see:
* https://www.kde.org/announcements/kde-frameworks-5.57.0.php
- Changes since 5.56.0:
* Too many changes to list here
- Dropped patches, now upstream:
* Fix-NTFS-hidden-check-for-symlinks.patch
-------------------------------------------------------------------
Sun Mar 10 20:15:36 UTC 2019 - lbeltrame@kde.org

View File

@ -16,14 +16,14 @@
#
%define _tar_path 5.56
%define _tar_path 5.57
# 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: %define _kf5_bugfix_version %(echo %{_kf5_version} | awk -F. '{print $1"."$2}')}
%bcond_without lang
Name: kio
Version: 5.56.0
Version: 5.57.0
Release: 0
Summary: Network transparent access to files and data
License: LGPL-2.1-or-later
@ -33,8 +33,6 @@ Source: http://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%
Source1: baselibs.conf
# PATCH-FIX-OPENSUSE kio_help-fallback-to-kde4-docs.patch -- allow kio_help to see into kde4 documentation, needed especially for khelpcenter5
Patch0: kio_help-fallback-to-kde4-docs.patch
# PATCH-FIX-UPSTREAM
Patch1: Fix-NTFS-hidden-check-for-symlinks.patch
BuildRequires: cmake >= 3.0
BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version}
BuildRequires: fdupes