Hello community, here is the log from the commit of package kio.13398 for openSUSE:Leap:15.2:Update checked in at 2020-07-21 20:26:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Leap:15.2:Update/kio.13398 (Old) and /work/SRC/openSUSE:Leap:15.2:Update/.kio.13398.new.3592 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "kio.13398" Tue Jul 21 20:26:41 2020 rev:1 rq:821665 version:5.71.0 Changes: -------- New Changes file: --- /dev/null 2020-07-16 02:54:20.700682797 +0200 +++ /work/SRC/openSUSE:Leap:15.2:Update/.kio.13398.new.3592/kio.changes 2020-07-21 20:26:42.600773063 +0200 @@ -0,0 +1,1620 @@ +------------------------------------------------------------------- +Thu Jul 16 19:27:34 UTC 2020 - Fabian Vogt <[email protected]> + +- Add patch to fix running files with spaces in the path + (boo#1174141, kde#423412, kde#423645): + * 0001-OpenUrlJob-fix-support-for-shell-scripts-with-a-spac.patch + +------------------------------------------------------------------- +Wed Jul 15 18:02:09 UTC 2020 - Fabian Vogt <[email protected]> + +- Add patch to fix copying to protocols which don't always report + available space (boo#1174169): + * 0001-FileSystemFreeSpaceJob-emit-error-if-the-kioslave-di.patch + +------------------------------------------------------------------- +Sun Jun 7 08:06:45 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.71.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/kde-frameworks-5.71.0 +- Too many changes to list here. +- Drop upstream patches: + * Fix-service-file-specifying-Run-in-terminal-giving-error.patch + * CopyJob-Check-if-destination-dir-is-a-symlink.patch + +------------------------------------------------------------------- +Mon May 18 07:13:59 UTC 2020 - Antonio Larrosa <[email protected]> + +- Add kded as a required package since kio calls org.kde.kded5 via dbus + +------------------------------------------------------------------- +Fri May 15 17:03:12 UTC 2020 - Wolfgang Bauer <[email protected]> + +- Add Fix-service-file-specifying-Run-in-terminal-giving-error.patch + to fix starting services that use "Run in terminal" (kde#421374) +- Add CopyJob-Check-if-destination-dir-is-a-symlink.patch to fix + copying files to symlinked folders (kde#421213) + +------------------------------------------------------------------- +Sun May 3 09:40:02 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.70.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/kde-frameworks-5.70.0 +- Too many changes since 5.69.0, only listing bugfixes: + * [RenameDialog] Add an arrow indicating direction from src to dest (kde#268600) + * Make the HTML file template more useful (kde#419935) + * kio_trash: Add size, modification, access and create date for trash:/ (kde#413091) + * Show previews on encrypted filesystems (kde#411919) + * [KPropertiesDialog] Disable changing remote dir icons (kde#205954) + +------------------------------------------------------------------- +Sun Apr 5 19:45:39 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.69.0 + * New feature release + * For more details please see: + * https://kde.org/announcements/kde-frameworks-5.69.0 +- Too many changes since 5.68.0, only listing bugfixes: + * FileWidgets: Ignore Return events from KDirOperator (kde#412737) + * [KNewFileMenu] Add extension to proposed filename (kde#61669) + * [DesktopExecParser] Open {ssh,telnet,rlogin}:// urls with ktelnetservice (kde#418258) + +------------------------------------------------------------------- +Sun Mar 8 09:17:50 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.68.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.68.0.php +- Too many changes since 5.67.0, only listing bugfixes: + * [KFileFilterCombo] Don't add invalid QMimeType to mimes filter (kde#417355) + * Fix running konsole on Wayland (kde#408497) + * KIO::iconNameForUrl: fix searching for kde protocol icons (kde#417922) + * Change "AutoSkip" to "Skip All" (kde#416964) + * [KOpenWithDialog] Automatically select the result if the model filter has only one match (kde#400725) + +------------------------------------------------------------------- +Sun Feb 2 18:07:00 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Replace %make_jobs with %cmake_build. + +------------------------------------------------------------------- +Sun Feb 2 14:32:48 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.67.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.67.0.php +- Too many changes since 5.66.0, only listing bugfixes: + * Allow to handle apps with Terminal=True in their desktop + file, handle their associated mimetype properly (kde#410506) + * Add KIO::DropJobFlag to allow manually showing the menu (kde#415917) + * [KOpenWithDialog] Hide collapsible group box when all + options inside are hidden (kde#415510) + * SlaveBase::dispatchLoop: Fix timeout calculation (kde#392768) + * [KDirOperator] Allow renaming files from the context menu (kde#189482) + +------------------------------------------------------------------- +Sun Jan 5 09:02:12 UTC 2020 - Christophe Giboudeaux <[email protected]> + +- Update to 5.66.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.66.0.php +- Too many changes since 5.65.0, only listing bugfixes: + * Adding support for mounting KIOFuse URLs for applications that don't use KIO (kde#398216) + * [KUrlNavigator] Add RPM support to krarc: (kde#408082) + * KFilePlaceEditDialog: fix crash when editing the Trash place (kde#415676) + +------------------------------------------------------------------- +Sun Dec 8 11:18:38 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Update to 5.65.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.65.0.php +- Too many changes since 5.64.0, only listing bugfixes: + * [KFileWidget] Avoid calling slotOk right after the url changed (kde#412737) + * KRun: don't override user preferred app when opening local *.*html and co. files (kde#399020) + * [KPropertiesDialog] provide a way of showing the target of a symlink (kde#413002) + * [Remote ioslave] Add Display Name to remote:/ (kde#414345) + * Fix HTTP proxy settings (kde#414346) + * [DeleteJob] Use a separate worker thread to run actual IO operation (kde#390748) + * [KPropertiesDialog] Make creation date string mouse-selectable too (kde#413902) + +------------------------------------------------------------------- +Sun Nov 3 15:47:05 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Update to 5.64.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.64.0.php +- Too many changes since 5.63.0, only listing bugfixes: + * Treat "application/x-ms-dos-executable" as executable on all platforms (kde#412694) +- Drop kio-5.63.0-fix-depth-with-kdav.patch. Merged upstream. + +------------------------------------------------------------------- +Wed Oct 23 14:08:56 UTC 2019 - Matthias Fehring <[email protected]> + +- Fix nextcloud calendar content not visible (kde#413316) + * kio-5.63.0-fix-depth-with-kdav.patch + +------------------------------------------------------------------- +Sun Oct 6 13:26:40 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Update to 5.63.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.63.0.php +- Too many changes since 5.62.1, only listing bugfixes: + * Fix crash on exit in kio_file (kde#408797) + * [KUrlNavigatorPlacesSelector] Properly identify teardown action (kde#403454) + * KCoreDirLister: fix crash when creating new folders from kfilewidget (kde#401916) + * [Advanced Permissions] Fix icon names (kde#411915) + +------------------------------------------------------------------- +Tue Sep 17 05:35:16 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Update to 5.62.1 + * Fixed interaction with DOS/Windows executables in KRun::runUrl + +------------------------------------------------------------------- +Sat Sep 7 20:36:52 UTC 2019 - Christophe Giboudeaux <[email protected]> + +- Update to 5.62.0 + * New feature release + * For more details please see: + * https://www.kde.org/announcements/kde-frameworks-5.62.0.php +- Changes since 5.61.0: + * [CopyJob] Use resolved URL in copyingDone so undo can rename back using local file (kde#391606) + * FileUndoManager: improve debugging facilities + * kio_trash: split up copyOrMove, for a better error than "should never happen" + * FileUndoManager: clearer assert when forgetting to record + * Fix exit and crash in kio_file when put() fails in readData. + * autotests: use QVERIFY2 to print the job error if exec() fails + * [CopyJob] Fix crash when copying an already existing dir and pressing "Skip" (kde#408350) + * [KUrlNavigator] Add MIME types supported by krarc to isCompressedPath (kde#386448) + * Added dialog to set execute permission for executable file when trying to run it. + * [KPropertiesDialog] Always check mount point being null (kde#411517) + * [KRun] Check mime type for isExecutableFile first + * Add an icon for the trash root and a proper label + * Add support for handling QNAM SSL errors to KSslErrorUiData + * Making FileJob behave consistently. + * assert slave command finality + * [KFilePlacesView] Use asynchronous KIO::FileSystemFreeSpaceJob + * rename internal 'kioslave' helper executable to 'kioslave5' (kde#386859) + * [KDirOperator] Middle-elide labels that are too long to fit + * [KDirOperator] Add follow new directories options + * KDirOperator: Only enable "Create New" menu if the selected item is a directory + * KIO FTP: Fix file copy hanging when copying to existing file + * KIO: port to non-deprecated KWindowSystem::setMainWindow + * KRun: fix runtime warning when widget is null + * KRun: remove KProcessRunner dependency on QtWidgets + * Port KIO::Job documentation to Qt5-style connect syntax ++++ 1423 more lines (skipped) ++++ between /dev/null ++++ and /work/SRC/openSUSE:Leap:15.2:Update/.kio.13398.new.3592/kio.changes New: ---- 0001-FileSystemFreeSpaceJob-emit-error-if-the-kioslave-di.patch 0001-OpenUrlJob-fix-support-for-shell-scripts-with-a-spac.patch baselibs.conf frameworks.keyring kio-5.71.0.tar.xz kio-5.71.0.tar.xz.sig kio.changes kio.spec kio_help-fallback-to-kde4-docs.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ kio.spec ++++++ # # spec file for package kio # # Copyright (c) 2020 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed # upon. The license for this file, and modifications and additions to the # file, is the same license as for the pristine package itself (unless the # license for the pristine package is not an Open Source License, in which # case the license is the MIT License). An "Open Source License" is a # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. # Please submit bugfixes or comments via https://bugs.opensuse.org/ # %define _tar_path 5.71 # 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.71.0 Release: 0 Summary: Network transparent access to files and data License: LGPL-2.1-or-later Group: System/GUI/KDE URL: https://www.kde.org Source: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz %if %{with lang} Source1: https://download.kde.org/stable/frameworks/%{_tar_path}/%{name}-%{version}.tar.xz.sig Source2: frameworks.keyring %endif Source99: 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: 0001-FileSystemFreeSpaceJob-emit-error-if-the-kioslave-di.patch Patch2: 0001-OpenUrlJob-fix-support-for-shell-scripts-with-a-spac.patch BuildRequires: cmake >= 3.0 BuildRequires: extra-cmake-modules >= %{_kf5_bugfix_version} BuildRequires: fdupes BuildRequires: kf5-filesystem BuildRequires: krb5-devel BuildRequires: libacl-devel BuildRequires: libattr-devel BuildRequires: pkgconfig BuildRequires: cmake(KF5Archive) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Bookmarks) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Completion) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5ConfigWidgets) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Crash) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5DBusAddons) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5DocTools) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5GuiAddons) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5I18n) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5IconThemes) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5ItemViews) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5JobWidgets) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Notifications) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Service) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Solid) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5TextWidgets) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5Wallet) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5WidgetsAddons) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version} BuildRequires: cmake(KF5XmlGui) >= %{_kf5_bugfix_version} BuildRequires: cmake(Qt5Concurrent) >= 5.12.0 BuildRequires: cmake(Qt5Core) >= 5.12.0 BuildRequires: cmake(Qt5DBus) >= 5.12.0 BuildRequires: cmake(Qt5Network) >= 5.12.0 BuildRequires: cmake(Qt5Qml) >= 5.12.0 BuildRequires: cmake(Qt5Test) >= 5.12.0 BuildRequires: cmake(Qt5UiPlugin) >= 5.12.0 BuildRequires: cmake(Qt5Widgets) >= 5.12.0 BuildRequires: cmake(Qt5X11Extras) >= 5.12.0 BuildRequires: cmake(Qt5Xml) >= 5.12.0 BuildRequires: pkgconfig(openssl) BuildRequires: pkgconfig(x11) Requires: %{name}-core = %{version} Requires: kded >= %{_kf5_bugfix_version} # KIO/FileDialog uses klauncher directly, but we can't add Requires, as that would introduce dep cycle Recommends: kinit %if %{with lang} Recommends: %{name}-lang = %{version} %endif %description This framework implements almost all the file management functions you will ever need. In fact, the KDE file manager (Dolphin) and the KDE file dialog also uses this to provide its network-enabled file management. %package core Summary: Network transparent access to files and data Group: System/GUI/KDE # core subpackage created with 5.9.0 Conflicts: kio <= 5.8.0 %description core This framework implements almost all the file management functions you will ever need. In fact, the KDE file manager (Dolphin) and the KDE file dialog also uses this to provide its network-enabled file management. KIO core libraries, ioslave and daemons. %package devel Summary: Network transparent access to files and data Group: Development/Libraries/KDE Requires: %{name} = %{version} Requires: %{name}-core = %{version} Requires: extra-cmake-modules Requires: cmake(KF5Bookmarks) >= %{_kf5_bugfix_version} Requires: cmake(KF5Completion) >= %{_kf5_bugfix_version} Requires: cmake(KF5Config) >= %{_kf5_bugfix_version} Requires: cmake(KF5CoreAddons) >= %{_kf5_bugfix_version} Requires: cmake(KF5ItemViews) >= %{_kf5_bugfix_version} Requires: cmake(KF5JobWidgets) >= %{_kf5_bugfix_version} Requires: cmake(KF5Service) >= %{_kf5_bugfix_version} Requires: cmake(KF5Solid) >= %{_kf5_bugfix_version} Requires: cmake(KF5WindowSystem) >= %{_kf5_bugfix_version} Requires: cmake(KF5XmlGui) >= %{_kf5_bugfix_version} Requires: cmake(Qt5Concurrent) >= 5.12.0 Requires: cmake(Qt5DBus) >= 5.12.0 Requires: cmake(Qt5Network) >= 5.12.0 %description devel This framework implements almost all the file management functions you will ever need. In fact, the KDE file manager (Dolphin) and the KDE file dialog also uses this to provide its network-enabled file management. Development files. %lang_package %prep %setup -q %autopatch -p1 %build %cmake_kf5 -d build %cmake_build %install %kf5_makeinstall -C build %fdupes %{buildroot} %if %{with lang} %find_lang %{name} --with-man --all-name %{kf5_find_htmldocs} %endif %post core -p /sbin/ldconfig %postun core -p /sbin/ldconfig %post -p /sbin/ldconfig %postun -p /sbin/ldconfig %if %{with lang} %files lang -f %{name}.lang %endif %files core %doc README* %license COPYING* %dir %{_kf5_plugindir}/kf5 %dir %{_kf5_plugindir}/kf5/kio %dir %{_kf5_plugindir}/kf5/kiod %dir %{_kf5_sharedir}/kconf_update/ %{_kf5_applicationsdir}/ktelnetservice5.desktop %{_kf5_bindir}/ktelnetservice5 %{_kf5_bindir}/ktrash5 %{_kf5_configdir}/accept-languages.codes %{_kf5_debugdir}/kio.categories %{_kf5_libdir}/libKF5KIOCore.so.* %{_kf5_libdir}/libKF5KIONTLM.so.* %{_kf5_libexecdir}/kio_http_cache_cleaner %{_kf5_libexecdir}/kiod5 %{_kf5_plugindir}/kcm_trash.so %{_kf5_plugindir}/kf5/kio/file.so %{_kf5_plugindir}/kf5/kio/ftp.so %{_kf5_plugindir}/kf5/kio/ghelp.so %{_kf5_plugindir}/kf5/kio/help.so %{_kf5_plugindir}/kf5/kio/http.so %{_kf5_plugindir}/kf5/kio/trash.so %{_kf5_plugindir}/kf5/kiod/kssld.so %{_kf5_servicesdir}/data.protocol %{_kf5_servicesdir}/http_cache_cleaner.desktop %{_kf5_servicesdir}/kcmtrash.desktop %{_kf5_servicesdir}/mms.protocol %{_kf5_servicesdir}/mmst.protocol %{_kf5_servicesdir}/mmsu.protocol %{_kf5_servicesdir}/pnm.protocol %{_kf5_servicesdir}/rtsp.protocol %{_kf5_servicesdir}/rtspt.protocol %{_kf5_servicesdir}/rtspu.protocol %{_kf5_sharedir}/dbus-1/services/org.kde.kiod5.service %{_kf5_sharedir}/dbus-1/services/org.kde.kioexecd.service %{_kf5_sharedir}/dbus-1/services/org.kde.kssld5.service %{_kf5_sharedir}/kconf_update/filepicker.upd %files %doc README* %license COPYING* %dir %{_kf5_htmldir} %dir %{_kf5_htmldir}/en %dir %{_kf5_plugindir}/kf5/kded %doc %lang(en) %{_kf5_htmldir}/en/*/ %doc %lang(en) %{_kf5_mandir}/*/kcookiejar5.* %{_kf5_bindir}/kcookiejar5 %{_kf5_configdir}/kshorturifilterrc %{_kf5_datadir}/kcookiejar/ %{_kf5_libdir}/libKF5KIOFileWidgets.so.* %{_kf5_libdir}/libKF5KIOGui.so.* %{_kf5_libdir}/libKF5KIOWidgets.so.* %{_kf5_libexecdir}/kioexec %{_kf5_libexecdir}/kioslave5 %{_kf5_libexecdir}/kpac_dhcp_helper %{_kf5_notifydir}/proxyscout.notifyrc %{_kf5_plugindir}/kcm_kio.so %{_kf5_plugindir}/kcm_webshortcuts.so %{_kf5_plugindir}/kf5/kded/kcookiejar.so %{_kf5_plugindir}/kf5/kded/proxyscout.so %{_kf5_plugindir}/kf5/kded/remotenotifier.so %{_kf5_plugindir}/kf5/kio/remote.so %{_kf5_plugindir}/kf5/kiod/kioexecd.so %{_kf5_plugindir}/kf5/kiod/kpasswdserver.so %{_kf5_plugindir}/kf5/urifilters/ %{_kf5_servicesdir}/cache.desktop %{_kf5_servicesdir}/cookies.desktop %{_kf5_servicesdir}/netpref.desktop %{_kf5_servicesdir}/proxy.desktop %{_kf5_servicesdir}/searchproviders/ %{_kf5_servicesdir}/smb.desktop %{_kf5_servicesdir}/useragent.desktop %{_kf5_servicesdir}/useragentstrings/ %{_kf5_servicesdir}/webshortcuts.desktop %{_kf5_servicetypesdir}/ %{_kf5_sharedir}/dbus-1/services/org.kde.kcookiejar5.service %{_kf5_sharedir}/dbus-1/services/org.kde.kpasswdserver.service %files devel %dir %{_kf5_plugindir}/designer %{_kf5_bindir}/protocoltojson %{_kf5_dbusinterfacesdir}/kf5_org.kde.KCookieServer.xml %{_kf5_dbusinterfacesdir}/kf5_org.kde.KDirNotify.xml %{_kf5_dbusinterfacesdir}/kf5_org.kde.KPasswdServer.xml %{_kf5_dbusinterfacesdir}/kf5_org.kde.KSlaveLauncher.xml %{_kf5_dbusinterfacesdir}/kf5_org.kde.kio.FileUndoManager.xml %{_kf5_includedir}/ %{_kf5_libdir}/cmake/KF5KIO/ %{_kf5_libdir}/libKF5KIOCore.so %{_kf5_libdir}/libKF5KIOFileWidgets.so %{_kf5_libdir}/libKF5KIOGui.so %{_kf5_libdir}/libKF5KIONTLM.so %{_kf5_libdir}/libKF5KIOWidgets.so %{_kf5_mkspecsdir}/qt_KIOCore.pri %{_kf5_mkspecsdir}/qt_KIOFileWidgets.pri %{_kf5_mkspecsdir}/qt_KIOGui.pri %{_kf5_mkspecsdir}/qt_KIOWidgets.pri %{_kf5_mkspecsdir}/qt_KNTLM.pri %{_kf5_plugindir}/designer/kio5widgets.so %changelog ++++++ 0001-FileSystemFreeSpaceJob-emit-error-if-the-kioslave-di.patch ++++++ >From 31360df4b52d2894b54291e477b13cfaa621931a Mon Sep 17 00:00:00 2001 From: David Faure <[email protected]> Date: Fri, 19 Jun 2020 01:00:33 +0200 Subject: [PATCH] FileSystemFreeSpaceJob: emit error if the kioslave didn't provide the metadata This is part of the upcoming fix for copying from WebDav. Reviewed by Ben Gruber in https://invent.kde.org/frameworks/kio/-/merge_requests/23. (cherry picked from commit 3ef79a074c833314db4189c45aa03a8177f79664) --- src/core/filesystemfreespacejob.cpp | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/src/core/filesystemfreespacejob.cpp b/src/core/filesystemfreespacejob.cpp index 17468188..670cff41 100644 --- a/src/core/filesystemfreespacejob.cpp +++ b/src/core/filesystemfreespacejob.cpp @@ -67,9 +67,14 @@ void FileSystemFreeSpaceJobPrivate::start(Slave *slave) void FileSystemFreeSpaceJob::slotFinished() { - KIO::filesize_t total = queryMetaData(QStringLiteral("total")).toULongLong(); - KIO::filesize_t available = queryMetaData(QStringLiteral("available")).toULongLong(); + const QString totalStr = queryMetaData(QStringLiteral("total")); + const QString availableStr = queryMetaData(QStringLiteral("available")); + if (availableStr.isEmpty()) { // CopyJob only cares for available. "total" is optional + setError(KIO::ERR_UNSUPPORTED_ACTION); + } + const KIO::filesize_t total = totalStr.toULongLong(); + const KIO::filesize_t available = availableStr.toULongLong(); emit result(this, total, available); // Return slave to the scheduler -- 2.25.1 ++++++ 0001-OpenUrlJob-fix-support-for-shell-scripts-with-a-spac.patch ++++++ >From 329a20c90be895355a2ddd9c5bd9ce6cfce6bee5 Mon Sep 17 00:00:00 2001 From: David Faure <[email protected]> Date: Mon, 29 Jun 2020 00:43:21 +0200 Subject: [PATCH] OpenUrlJob: fix support for shell scripts with a space in the filename When executing a shell script or an executable in dolphin in a folder with a blank e.g. "/my test/test.sh" the path was truncated to "/my" and the command was not executed. Document the API trap. BUG: 423412 BUG: 423645 FIXED-IN: 5.72 (cherry picked from commit 8d6b306f585920230acecd19903325f6f0387b8e) --- src/gui/commandlauncherjob.h | 2 ++ src/gui/openurljob.cpp | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/src/gui/commandlauncherjob.h b/src/gui/commandlauncherjob.h index 48058a25..58728405 100644 --- a/src/gui/commandlauncherjob.h +++ b/src/gui/commandlauncherjob.h @@ -57,6 +57,8 @@ public: /** * Creates a CommandLauncherJob. * @param command the shell command to run + * The command is given "as is" to the shell, it must already be quoted if necessary. + * If @p command is instead a filename, consider using the other constructor, even if no args are present. * @param parent the parent QObject * * Please consider also calling setDesktopName(), or setExecutable() and setIcon() diff --git a/src/gui/openurljob.cpp b/src/gui/openurljob.cpp index 93818d15..207190fa 100644 --- a/src/gui/openurljob.cpp +++ b/src/gui/openurljob.cpp @@ -532,7 +532,7 @@ bool KIO::OpenUrlJobPrivate::handleExecutables(const QMimeType &mimeType) void KIO::OpenUrlJobPrivate::executeCommand() { // Execute the URL as a command. This is how we start scripts and executables - KIO::CommandLauncherJob *job = new KIO::CommandLauncherJob(m_url.toLocalFile()); + KIO::CommandLauncherJob *job = new KIO::CommandLauncherJob(m_url.toLocalFile(), QStringList()); job->setUiDelegate(q->uiDelegate()); job->setStartupId(m_startupId); job->setWorkingDirectory(m_url.adjusted(QUrl::RemoveFilename).toLocalFile()); -- 2.25.1 ++++++ baselibs.conf ++++++ kio-core conflicts "kio-<targettype> <= 5.8.0" kio requires "kio-core-<targettype> = <version>" kio-devel requires "kio-core-<targettype> = <version>" requires "kio-<targettype> = <version>" ++++++ kio_help-fallback-to-kde4-docs.patch ++++++ Index: kio-5.36.0git.20170624T013155~b715b585/src/ioslaves/help/kio_help.cpp =================================================================== --- kio-5.36.0git.20170624T013155~b715b585.orig/src/ioslaves/help/kio_help.cpp +++ kio-5.36.0git.20170624T013155~b715b585/src/ioslaves/help/kio_help.cpp @@ -51,7 +51,9 @@ QString HelpProtocol::langLookup(const Q QStringList search; // assemble the local search paths - const QStringList localDoc = KDocTools::documentationDirs(); + QStringList localDoc = KDocTools::documentationDirs(); + QStringList fallbacklocalDoc = QStandardPaths::locateAll(QStandardPaths::GenericDataLocation, QStringLiteral("doc/kde/HTML"), QStandardPaths::LocateDirectory); + localDoc.append(fallbacklocalDoc); QStringList langs = KLocalizedString::languages(); langs.append(QStringLiteral("en"));
