KDE Frameworks 5.46.0

OBS-URL: https://build.opensuse.org/package/show/KDE:Frameworks5/kio?expand=0&rev=223
This commit is contained in:
Fabian Vogt 2018-05-15 12:58:24 +00:00 committed by Git OBS Bridge
parent 13f5d37588
commit 6c16cbb245
5 changed files with 26 additions and 6 deletions

View File

@ -29,7 +29,7 @@ index afa2bd3f..826c46cd 100644
#include <utime.h> #include <utime.h>
#include <KAuth> #include <KAuth>
@@ -413,44 +410,6 @@ static bool isLocalFileSameHost(const QUrl &url) @@ -413,52 +410,6 @@ static bool isLocalFileSameHost(const QUrl &url)
return (QString::compare(url.host(), QLatin1String(hostname), Qt::CaseInsensitive) == 0); return (QString::compare(url.host(), QLatin1String(hostname), Qt::CaseInsensitive) == 0);
} }
@ -38,13 +38,21 @@ index afa2bd3f..826c46cd 100644
-{ -{
- constexpr auto attrName = "system.ntfs_attrib_be"; - constexpr auto attrName = "system.ntfs_attrib_be";
- const auto filenameEncoded = QFile::encodeName(filename); - const auto filenameEncoded = QFile::encodeName(filename);
-#ifdef Q_OS_MACOS
- auto length = getxattr(filenameEncoded.data(), attrName, nullptr, 0, 0, XATTR_NOFOLLOW);
-#else
- auto length = getxattr(filenameEncoded.data(), attrName, nullptr, 0); - auto length = getxattr(filenameEncoded.data(), attrName, nullptr, 0);
-#endif
- if (length <= 0) { - if (length <= 0) {
- return false; - return false;
- } - }
- constexpr size_t xattr_size = 1024; - constexpr size_t xattr_size = 1024;
- char strAttr[xattr_size]; - char strAttr[xattr_size];
-#ifdef Q_OS_MACOS
- length = getxattr(filenameEncoded.data(), attrName, strAttr, xattr_size, 0, XATTR_NOFOLLOW);
-#else
- length = getxattr(filenameEncoded.data(), attrName, strAttr, xattr_size); - length = getxattr(filenameEncoded.data(), attrName, strAttr, xattr_size);
-#endif
- if (length <= 0) { - if (length <= 0) {
- return false; - return false;
- } - }

View File

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

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

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

View File

@ -1,3 +1,15 @@
-------------------------------------------------------------------
Sun May 13 21:03:03 UTC 2018 - lbeltrame@kde.org
- Update to 5.46.0
* New feature release
* For more details please see:
* https://www.kde.org/announcements/kde-frameworks-5.46.0.php
- Changes since 5.45.0:
* Too many changes to list here
- Refreshed patches:
* 0001-Revert-Support-NTFS-hidden-files.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Fri May 4 14:39:14 UTC 2018 - wbauer@tmo.at Fri May 4 14:39:14 UTC 2018 - wbauer@tmo.at

View File

@ -17,9 +17,9 @@
%bcond_without lang %bcond_without lang
%define _tar_path 5.45 %define _tar_path 5.46
Name: kio Name: kio
Version: 5.45.0 Version: 5.46.0
Release: 0 Release: 0
%define kf5_version %{version} %define kf5_version %{version}
# Full KF5 version (e.g. 5.33.0) # Full KF5 version (e.g. 5.33.0)