From b7c48633b3f3f64e1123a79c4149d065404609ffa4af679e13f74c9e2abaec06 Mon Sep 17 00:00:00 2001 From: Wolfgang Bauer Date: Fri, 8 Nov 2019 22:13:18 +0000 Subject: [PATCH] KDE Applications 19.08.3 OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/kio-extras5?expand=0&rev=108 --- ...finder-ensure-the-new-ssh-target-is-.patch | 89 +++++++++++++++++++ kio-extras-19.08.2.tar.xz | 3 - kio-extras-19.08.2.tar.xz.sig | 11 --- kio-extras-19.08.3.tar.xz | 3 + kio-extras-19.08.3.tar.xz.sig | 11 +++ kio-extras5.changes | 15 +++- kio-extras5.spec | 6 +- 7 files changed, 122 insertions(+), 16 deletions(-) create mode 100644 0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch delete mode 100644 kio-extras-19.08.2.tar.xz delete mode 100644 kio-extras-19.08.2.tar.xz.sig create mode 100644 kio-extras-19.08.3.tar.xz create mode 100644 kio-extras-19.08.3.tar.xz.sig diff --git a/0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch b/0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch new file mode 100644 index 0000000..e29cdce --- /dev/null +++ b/0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch @@ -0,0 +1,89 @@ +From 8bd31391bbe592fd5d7f36b5d5bd378d773d0b4b Mon Sep 17 00:00:00 2001 +From: Harald Sitter +Date: Thu, 7 Nov 2019 21:57:00 +0100 +Subject: [PATCH] make the libssh finder ensure the new ssh target is set + +Summary: +starting with 0.9.2 the libssh cmake config defines a new ssh imported +target, use this as the new gold standard and ensure older versions +are compatible + +broken ubuntu: no cmake config -> manual finder -> target injected +0.9.0 and earlier: cmake config -> target injected +0.9.2: cmake config -> target already defined; noop + +(0.9.1 is broken as it neither matches the old nor the new expectation) + +Test Plan: +no cmake config -> target injected +older cmake config -> target injected +newer cmake config (with merge request) -> noop + +Subscribers: asn, heikobecker, kde-frameworks-devel, kfm-devel + +Tags: #dolphin, #frameworks + +Differential Revision: https://phabricator.kde.org/D25170 +--- + cmake/Findlibssh.cmake | 18 ++++++++++++++++++ + sftp/CMakeLists.txt | 2 +- + 2 files changed, 19 insertions(+), 1 deletion(-) + +diff --git a/cmake/Findlibssh.cmake b/cmake/Findlibssh.cmake +index bf6d797f..f37846f1 100644 +--- a/cmake/Findlibssh.cmake ++++ b/cmake/Findlibssh.cmake +@@ -32,6 +32,19 @@ + # OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF + # SUCH DAMAGE. + ++# Define an imported target to have compatibility with newer libssh and so ++# we have a single target to use regardless of the code path taken in the ++# finder and the actual libssh version defining the target. ++macro(libssh_ensure_imported_target) ++ if(NOT TARGET ssh) ++ add_library(ssh SHARED IMPORTED) ++ set_target_properties(ssh PROPERTIES ++ IMPORTED_LOCATION "${LIBSSH_LIBRARIES}" ++ INTERFACE_INCLUDE_DIRECTORIES "${LIBSSH_INCLUDE_DIR}" ++ ) ++ endif() ++endmacro() ++ + # We prefer the config, but on Ubuntu 18.04 LTS (and to some extent later + # versions it seems) they've not packaged the config properly. So, go for the + # config by default and fall back to manual lookup iff the config was not found. +@@ -39,6 +52,9 @@ + # https://bugs.launchpad.net/ubuntu/+source/libssh/+bug/1800135 + find_package(libssh ${libssh_FIND_VERSION} NO_MODULE QUIET) + if(libssh_FOUND) ++ # Certain versions with config may not have the target, so make sure it's ++ # defined. ++ libssh_ensure_imported_target() + return() + endif() + +@@ -109,5 +125,7 @@ find_package_handle_standard_args(libssh + VERSION_VAR + LIBSSH_VERSION) + ++libssh_ensure_imported_target() ++ + # show the LIBSSH_INCLUDE_DIRS and LIBSSH_LIBRARIES variables only in the advanced view + mark_as_advanced(LIBSSH_INCLUDE_DIR LIBSSH_LIBRARIES) +diff --git a/sftp/CMakeLists.txt b/sftp/CMakeLists.txt +index 2f134c2c..f3b737c6 100644 +--- a/sftp/CMakeLists.txt ++++ b/sftp/CMakeLists.txt +@@ -20,7 +20,7 @@ target_link_libraries(kio_sftp + KF5::WidgetsAddons # KMessageBox + KF5::I18n + Qt5::Network +- ${LIBSSH_LIBRARIES}) ++ ssh) + set_target_properties(kio_sftp PROPERTIES OUTPUT_NAME "sftp") + + install(TARGETS kio_sftp DESTINATION ${KDE_INSTALL_PLUGINDIR}/kf5/kio) +-- +2.23.0 + diff --git a/kio-extras-19.08.2.tar.xz b/kio-extras-19.08.2.tar.xz deleted file mode 100644 index 1952b60..0000000 --- a/kio-extras-19.08.2.tar.xz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:a0b8f08ab8f9d36cfdc950470f75726e90e9fba159bc2035931cfa6efbfe4394 -size 578324 diff --git a/kio-extras-19.08.2.tar.xz.sig b/kio-extras-19.08.2.tar.xz.sig deleted file mode 100644 index 5b250ab..0000000 --- a/kio-extras-19.08.2.tar.xz.sig +++ /dev/null @@ -1,11 +0,0 @@ ------BEGIN PGP SIGNATURE----- - -iQEzBAABCgAdFiEE8jJ15L8Qr8HfaRSm29LOiT4tHIcFAl2b3TgACgkQ29LOiT4t -HIeJ9gf+Pe85/gQk9mxBr4nD7dBPVQ3EoIWV2kL/sd0JOyGv18lQjAolo+biyPkp -vGWEsu+XFQmKwhmGwvjWu2R8+DxJDzA0svyA3HgBOo2yh7LB6Os3djRNzCWw9ZWD -IBBBREooWYyYMpRHSXW8alI6TbTwPZ1iECpdv5r6LLmu1Ad1iXebUgaQFRRIJFNY -XxvERT52vYq/lNfon2bKV+KGS/j+7tGW/HgxkvpaJtjD1GyiodNmMLACBZR8sz+S -CMw+m5H4oK1nZIAmTSddl7yLnoEgOfj8/LjsJ7pEja/K3tsL7pNjq6MuY/H9KotQ -WrL050BvJrNMXW0k1DtjmZj+WKB3bQ== -=42v1 ------END PGP SIGNATURE----- diff --git a/kio-extras-19.08.3.tar.xz b/kio-extras-19.08.3.tar.xz new file mode 100644 index 0000000..6af0cb8 --- /dev/null +++ b/kio-extras-19.08.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e38e872f78ff24fe512ec7ff9ed4f6b6a8e1fef6111fdb0222c133bed0a8861f +size 577520 diff --git a/kio-extras-19.08.3.tar.xz.sig b/kio-extras-19.08.3.tar.xz.sig new file mode 100644 index 0000000..c44358e --- /dev/null +++ b/kio-extras-19.08.3.tar.xz.sig @@ -0,0 +1,11 @@ +-----BEGIN PGP SIGNATURE----- + +iQEzBAABCgAdFiEE8jJ15L8Qr8HfaRSm29LOiT4tHIcFAl3A/OgACgkQ29LOiT4t +HIdUYgf+OSVMM0f+YQ9CWfXswPJ99CDWhd+kDx8TvIMkq/VJ6rTWAJvxjseNpdRP +9QeEVFhnRoF9qu9FNesDndwaz0GCcSfoxnbSx6qZTqY3TqEEGTnbVStDnzc6Dzgq +BrefOCPX/Th/c4p/po4VMNK+tetvKQ5yPPAeB57HTL0Wnw9YW8mPUaC4EjW9W7sT +zsdFNOor6jieyKiG5e4ssYoYEMD6ER4GGL2oVT5bVAElLJJd2I2Ojru23hFKAE2v +x7i/plBYe/VeMrWuZwzEL8Do3QVia5nUIb6LU/v7vPiah84zAhZk/UjDVKwvejLB +CzUmgd7jzLRwsq5H72uvdajw3oefFg== +=iSwp +-----END PGP SIGNATURE----- diff --git a/kio-extras5.changes b/kio-extras5.changes index daf7b18..e634b2e 100644 --- a/kio-extras5.changes +++ b/kio-extras5.changes @@ -1,3 +1,16 @@ +------------------------------------------------------------------- +Thu Nov 7 23:13:01 UTC 2019 - Luca Beltrame + +- Update to 19.08.3 + * New bugfix release + * For more details please see: + * https://www.kde.org/announcements/announce-applications-19.08.3.php +- Changes since 19.08.2: + * fix password error condition handling of smb mount + * improve error reporting for when kpasswdserver is unreachable +- Add upstream patch to support building with newer libssh: + * 0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch + ------------------------------------------------------------------- Fri Oct 11 07:47:20 UTC 2019 - Luca Beltrame @@ -15,7 +28,7 @@ Thu Sep 5 14:00:35 UTC 2019 - Luca Beltrame * For more details please see: * https://www.kde.org/announcements/announce-applications-19.08.1.php - Changes since 19.08.0: - * Fixing implementation of FileJob interface in smb/sftp slaves + * Fixing implementation of FileJob interface in smb/sftp slaves * Fixing bug where MTP slave does not return error in stat()/mimetype() ------------------------------------------------------------------- diff --git a/kio-extras5.spec b/kio-extras5.spec index 8fe360a..d3e9c0b 100644 --- a/kio-extras5.spec +++ b/kio-extras5.spec @@ -22,7 +22,7 @@ %{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')} %bcond_without lang Name: kio-extras5 -Version: 19.08.2 +Version: 19.08.3 Release: 0 Summary: Additional KIO slaves for KDE applications License: GPL-2.0-or-later @@ -34,6 +34,8 @@ Source1: https://download.kde.org/stable/applications/%{version}/src/%{rn Source2: applications.keyring %endif Source99: %{name}-rpmlintrc +# PATCH-FIX-UPSTREAM +Patch0: 0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch BuildRequires: OpenEXR-devel BuildRequires: flac-devel BuildRequires: gperf @@ -106,6 +108,8 @@ This is the development package for libkioarchive %prep %setup -q -n %{rname}-%{version} +%autopatch -p1 + sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt %build