Accepting request 756234 from KDE:Applications
KDE Applications 19.12.0 OBS-URL: https://build.opensuse.org/request/show/756234 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/kio-extras5?expand=0&rev=77
This commit is contained in:
commit
a055df4415
@ -1,89 +0,0 @@
|
|||||||
From 8bd31391bbe592fd5d7f36b5d5bd378d773d0b4b Mon Sep 17 00:00:00 2001
|
|
||||||
From: Harald Sitter <sitter@kde.org>
|
|
||||||
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
|
|
||||||
|
|
Binary file not shown.
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:e38e872f78ff24fe512ec7ff9ed4f6b6a8e1fef6111fdb0222c133bed0a8861f
|
|
||||||
size 577520
|
|
@ -1,11 +0,0 @@
|
|||||||
-----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-----
|
|
3
kio-extras-19.12.0.tar.xz
Normal file
3
kio-extras-19.12.0.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:7943c14a5a095a8d8d3ee868be085ddc59d6a0ec172637c3551e148fadc9ac6c
|
||||||
|
size 579188
|
11
kio-extras-19.12.0.tar.xz.sig
Normal file
11
kio-extras-19.12.0.tar.xz.sig
Normal file
@ -0,0 +1,11 @@
|
|||||||
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
|
iQEzBAABCgAdFiEE8jJ15L8Qr8HfaRSm29LOiT4tHIcFAl3puH4ACgkQ29LOiT4t
|
||||||
|
HIdS/wf+MUpbiadECc4w/ts68QdXNJnI5bwHwC7+3xyBu7VJQHMQvedF8kJFm3c3
|
||||||
|
IrPaLU1I+0ITG/FH56vCxcWph962XsvylMsrXeRnDKVxHhBIoKwxYVPLURKywxWb
|
||||||
|
8PqM97rA76cfCIGWtEmdq2++K7THWRtl5RFzzibJTIRvKW4MoDxRvY/F9Dv2AIVg
|
||||||
|
0vtzjO8yhDsib8ClFW13UOzLCsptOGECfy7oh7DnhmuUD5BFDM58okvLre9yPZcb
|
||||||
|
W/kFWldIjG5MW9YPEoI6qVJwAi+jGQOWU/50ujIyFu3j6kEdCLDlMMf2QZ+aSREz
|
||||||
|
Cz19ep2wMi+a2zPaTwVBYugYe6Wlrg==
|
||||||
|
=ovAE
|
||||||
|
-----END PGP SIGNATURE-----
|
@ -1,3 +1,32 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 10 06:38:36 UTC 2019 - Luca Beltrame <lbeltrame@kde.org>
|
||||||
|
|
||||||
|
- Update to 19.12.0
|
||||||
|
* New feature release
|
||||||
|
* For more details please see:
|
||||||
|
* https://www.kde.org/announcements/releases/19.12.0
|
||||||
|
- No code change since 19.11.90
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sat Nov 30 09:11:56 UTC 2019 - Luca Beltrame <lbeltrame@kde.org>
|
||||||
|
|
||||||
|
- Update to 19.11.90
|
||||||
|
* New feature release
|
||||||
|
* For more details please see:
|
||||||
|
* https://kde.org/announcements/releases/19.12-rc
|
||||||
|
- Changes since 19.11.80:
|
||||||
|
* Apply KIO's klauncher CI workaround here too
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Sun Nov 24 13:29:28 UTC 2019 - Luca Beltrame <lbeltrame@kde.org>
|
||||||
|
|
||||||
|
- Update to 19.11.80
|
||||||
|
* New feature release
|
||||||
|
- Too many changes since 19.08.3, only listing bugfixes:
|
||||||
|
* [Comic Thumbnailer] Add support for 7zip-compressed comic books (kde#410696)
|
||||||
|
- Dropped patches, now upstream:
|
||||||
|
* 0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Thu Nov 7 23:13:01 UTC 2019 - Luca Beltrame <lbeltrame@kde.org>
|
Thu Nov 7 23:13:01 UTC 2019 - Luca Beltrame <lbeltrame@kde.org>
|
||||||
|
|
||||||
|
@ -17,59 +17,57 @@
|
|||||||
|
|
||||||
|
|
||||||
%define rname kio-extras
|
%define rname kio-extras
|
||||||
%define kf5_version 5.26.0
|
%define kf5_version 5.60.0
|
||||||
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
# Latest stable Applications (e.g. 17.08 in KA, but 17.11.80 in KUA)
|
||||||
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
%{!?_kapp_version: %define _kapp_version %(echo %{version}| awk -F. '{print $1"."$2}')}
|
||||||
%bcond_without lang
|
%bcond_without lang
|
||||||
Name: kio-extras5
|
Name: kio-extras5
|
||||||
Version: 19.08.3
|
Version: 19.12.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: Additional KIO slaves for KDE applications
|
Summary: Additional KIO slaves for KDE applications
|
||||||
License: GPL-2.0-or-later
|
License: GPL-2.0-or-later
|
||||||
Group: System/GUI/KDE
|
Group: System/GUI/KDE
|
||||||
URL: https://www.kde.org
|
URL: https://www.kde.org
|
||||||
Source: https://download.kde.org/stable/applications/%{version}/src/%{rname}-%{version}.tar.xz
|
Source: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz
|
||||||
%if %{with lang}
|
%if %{with lang}
|
||||||
Source1: https://download.kde.org/stable/applications/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
Source1: https://download.kde.org/stable/release-service/%{version}/src/%{rname}-%{version}.tar.xz.sig
|
||||||
Source2: applications.keyring
|
Source2: applications.keyring
|
||||||
%endif
|
%endif
|
||||||
Source99: %{name}-rpmlintrc
|
Source99: %{name}-rpmlintrc
|
||||||
# PATCH-FIX-UPSTREAM
|
|
||||||
Patch0: 0001-make-the-libssh-finder-ensure-the-new-ssh-target-is-.patch
|
|
||||||
BuildRequires: OpenEXR-devel
|
BuildRequires: OpenEXR-devel
|
||||||
BuildRequires: flac-devel
|
BuildRequires: flac-devel
|
||||||
BuildRequires: gperf
|
BuildRequires: gperf
|
||||||
BuildRequires: kactivities5-devel
|
BuildRequires: cmake(KF5Activities)
|
||||||
BuildRequires: karchive-devel
|
BuildRequires: cmake(KF5Archive)
|
||||||
BuildRequires: kconfig-devel
|
BuildRequires: cmake(KF5Config)
|
||||||
BuildRequires: kconfigwidgets-devel
|
BuildRequires: cmake(KF5ConfigWidgets)
|
||||||
BuildRequires: kcoreaddons-devel
|
BuildRequires: cmake(KF5CoreAddons)
|
||||||
BuildRequires: kdbusaddons-devel
|
BuildRequires: cmake(KF5DBusAddons)
|
||||||
BuildRequires: kdelibs4support-devel
|
BuildRequires: cmake(KF5KDELibs4Support)
|
||||||
BuildRequires: kdnssd-framework-devel
|
BuildRequires: cmake(KF5DNSSD)
|
||||||
BuildRequires: kdoctools-devel
|
BuildRequires: cmake(KF5DocTools)
|
||||||
BuildRequires: kf5-filesystem
|
BuildRequires: kf5-filesystem
|
||||||
BuildRequires: khtml-devel
|
BuildRequires: cmake(KF5KHtml)
|
||||||
BuildRequires: ki18n-devel
|
BuildRequires: cmake(KF5I18n)
|
||||||
BuildRequires: kiconthemes-devel
|
BuildRequires: cmake(KF5IconThemes)
|
||||||
BuildRequires: kio-devel
|
BuildRequires: cmake(KF5KIO)
|
||||||
BuildRequires: kpty-devel
|
BuildRequires: cmake(KF5Pty)
|
||||||
BuildRequires: libjpeg-devel
|
BuildRequires: libjpeg-devel
|
||||||
BuildRequires: libmtp-devel
|
BuildRequires: libmtp-devel
|
||||||
BuildRequires: libssh-devel
|
BuildRequires: libssh-devel
|
||||||
BuildRequires: libtag-devel
|
BuildRequires: libtag-devel
|
||||||
BuildRequires: openslp-devel
|
BuildRequires: openslp-devel
|
||||||
BuildRequires: phonon4qt5-devel
|
BuildRequires: cmake(Phonon4Qt5)
|
||||||
BuildRequires: pkgconfig
|
BuildRequires: pkgconfig
|
||||||
BuildRequires: solid-devel
|
BuildRequires: cmake(KF5Solid)
|
||||||
BuildRequires: syntax-highlighting-devel
|
BuildRequires: cmake(KF5SyntaxHighlighting)
|
||||||
BuildRequires: xz
|
BuildRequires: xz
|
||||||
BuildRequires: pkgconfig(Qt5DBus) >= 5.4.0
|
BuildRequires: cmake(Qt5DBus) >= 5.4.0
|
||||||
BuildRequires: pkgconfig(Qt5Network) >= 5.4.0
|
BuildRequires: cmake(Qt5Network) >= 5.4.0
|
||||||
BuildRequires: pkgconfig(Qt5Sql)
|
BuildRequires: cmake(Qt5Sql)
|
||||||
BuildRequires: pkgconfig(Qt5Svg) >= 5.4.0
|
BuildRequires: cmake(Qt5Svg) >= 5.4.0
|
||||||
BuildRequires: pkgconfig(Qt5Test) >= 5.4.0
|
BuildRequires: cmake(Qt5Test) >= 5.4.0
|
||||||
BuildRequires: pkgconfig(Qt5Widgets) >= 5.4.0
|
BuildRequires: cmake(Qt5Widgets) >= 5.4.0
|
||||||
BuildRequires: pkgconfig(bzip2)
|
BuildRequires: pkgconfig(bzip2)
|
||||||
BuildRequires: pkgconfig(exiv2)
|
BuildRequires: pkgconfig(exiv2)
|
||||||
BuildRequires: pkgconfig(smbclient)
|
BuildRequires: pkgconfig(smbclient)
|
||||||
@ -108,8 +106,6 @@ This is the development package for libkioarchive
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q -n %{rname}-%{version}
|
%setup -q -n %{rname}-%{version}
|
||||||
%autopatch -p1
|
|
||||||
|
|
||||||
sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt
|
sed -i '/^add_subdirectory( doc )/d' CMakeLists.txt
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
Loading…
Reference in New Issue
Block a user