summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/kio-extras')
-rw-r--r--kde-apps/kio-extras/Manifest1
-rw-r--r--kde-apps/kio-extras/files/kio-extras-21.04.3-kio_filenamesearch-crash.patch36
-rw-r--r--kde-apps/kio-extras/files/kio-extras-21.04.3-libmtp-0.1.19.patch26
-rw-r--r--kde-apps/kio-extras/kio-extras-21.04.3-r3.ebuild103
4 files changed, 0 insertions, 166 deletions
diff --git a/kde-apps/kio-extras/Manifest b/kde-apps/kio-extras/Manifest
index d44f0b2ce573..2df74e403599 100644
--- a/kde-apps/kio-extras/Manifest
+++ b/kde-apps/kio-extras/Manifest
@@ -1,2 +1 @@
-DIST kio-extras-21.04.3.tar.xz 663328 BLAKE2B a509513732dbacc2f63a162cef49f297b5ee83a1d4bcd436aee474571d4aad8ff5b34710ca23d590b87c9cef8b58add2be507692648e61abc197befc478effb7 SHA512 98cdf33a73b9321c127cb3174f5ffc243e51222c2c4572afc7b51a949a41c85e8758aafaca5db613b11109af693eb6de061d78bcf1138c12fbaebf3b5dc82da9
DIST kio-extras-21.08.3.tar.xz 627412 BLAKE2B ca6ccebc085b34dc7eef031b504fac50436381502338752c2e8371aeac8a2f24e7e8782a9061a154cf95ec9c8cdc24630d0fcfbc141e7ed541547eef63cc0fb9 SHA512 404eefda445391c2e20f0f7ce6103aa787af050fe6419f65c0153f69c19ed81d62479c2296c5e4b3abd8c0b4971ec102a94a858f7085f5af20eb75cdacc07095
diff --git a/kde-apps/kio-extras/files/kio-extras-21.04.3-kio_filenamesearch-crash.patch b/kde-apps/kio-extras/files/kio-extras-21.04.3-kio_filenamesearch-crash.patch
deleted file mode 100644
index dff398e68a25..000000000000
--- a/kde-apps/kio-extras/files/kio-extras-21.04.3-kio_filenamesearch-crash.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-From 5dff395ecea2977cf149c293c16c4d4a5151493b Mon Sep 17 00:00:00 2001
-From: Ahmad Samir <a.samirh78@gmail.com>
-Date: Fri, 9 Jul 2021 17:11:02 +0200
-Subject: [PATCH] kio_filenamesearch: fix crash due to KCoreDirLister changes
-
-Error reporting was changed in KCoreDirlister, to match the original behaviour
-we need to explicitly disable auto error handling.
-
-This fixes a crash while searching in Dolphin, kio_filenamesearch intrenally
-uses a dirlister, and a nested event loop, if there is an error while listing
-some dir it tries to report it using a job ui delegate, but the parent job
-could well be dead by that time, which causes a crash:
-"QWidget: Cannot create a QWidget without QApplication"
-
-Note that this crash only happens if KDE_FORK_SLAVES is _not_ set.
-
-BUG: 438187
----
- filenamesearch/kio_filenamesearch.cpp | 1 +
- 1 file changed, 1 insertion(+)
-
-diff --git a/filenamesearch/kio_filenamesearch.cpp b/filenamesearch/kio_filenamesearch.cpp
-index 4d15aac2..5651a025 100644
---- a/filenamesearch/kio_filenamesearch.cpp
-+++ b/filenamesearch/kio_filenamesearch.cpp
-@@ -102,6 +102,7 @@ void FileNameSearchProtocol::searchDirectory(const QUrl &directory,
- QScopedPointer<KCoreDirLister> dirLister(new KCoreDirLister);
- dirLister->setDelayedMimeTypes(true);
- dirLister->openUrl(directory);
-+ dirLister->setAutoErrorHandlingEnabled(false);
-
- QEventLoop eventLoop;
- QObject::connect(dirLister.data(), static_cast<void(KCoreDirLister::*)()>(&KCoreDirLister::canceled),
---
-GitLab
-
diff --git a/kde-apps/kio-extras/files/kio-extras-21.04.3-libmtp-0.1.19.patch b/kde-apps/kio-extras/files/kio-extras-21.04.3-libmtp-0.1.19.patch
deleted file mode 100644
index 400fdd859652..000000000000
--- a/kde-apps/kio-extras/files/kio-extras-21.04.3-libmtp-0.1.19.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-From a6ecc8855a0a2a8f76234f77422940b863960944 Mon Sep 17 00:00:00 2001
-From: Antonio Rojas <arojas@archlinux.org>
-Date: Sat, 2 Oct 2021 12:53:27 +0200
-Subject: [PATCH] Fix kio-mtp with libmtp 1.1.19
-
-In libmtp 1.1.19, an empty string is returned instead of NULL for devices without a deviceName, which breaks accessing those devices with kio-mtp
----
- mtp/kiod_module/mtpdevice.cpp | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/mtp/kiod_module/mtpdevice.cpp b/mtp/kiod_module/mtpdevice.cpp
-index 8fe4abb2..f32cd1a4 100644
---- a/mtp/kiod_module/mtpdevice.cpp
-+++ b/mtp/kiod_module/mtpdevice.cpp
-@@ -40,7 +40,7 @@ MTPDevice::MTPDevice(const QString &dbusObjectPath, LIBMTP_mtpdevice_t *device,
- const char *deviceModel = LIBMTP_Get_Modelname(device);
-
- // prefer friendly devicename over model
-- if (!deviceName) {
-+ if (!deviceName || strlen(deviceName) == 0) {
- m_friendlyName = QString::fromUtf8(deviceModel);
- } else {
- m_friendlyName = QString::fromUtf8(deviceName);
---
-GitLab
-
diff --git a/kde-apps/kio-extras/kio-extras-21.04.3-r3.ebuild b/kde-apps/kio-extras/kio-extras-21.04.3-r3.ebuild
deleted file mode 100644
index e3b9672d0d82..000000000000
--- a/kde-apps/kio-extras/kio-extras-21.04.3-r3.ebuild
+++ /dev/null
@@ -1,103 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-ECM_HANDBOOK="forceoptional"
-ECM_TEST="optional"
-KFMIN=5.80.0
-QTMIN=5.15.2
-VIRTUALX_REQUIRED="test"
-inherit ecm kde.org
-
-DESCRIPTION="KIO plugins present a filesystem-like view of arbitrary data"
-HOMEPAGE="https://invent.kde.org/network/kio-extras"
-
-LICENSE="GPL-2" # TODO: CHECK
-SLOT="5"
-KEYWORDS="amd64 ~arm arm64 ~ppc64 ~riscv x86"
-IUSE="activities +man mtp nfs openexr phonon samba +sftp taglib X"
-
-# requires running Plasma environment
-RESTRICT+=" test"
-
-DEPEND="
- >=dev-qt/qtdbus-${QTMIN}:5
- >=dev-qt/qtgui-${QTMIN}:5
- >=dev-qt/qtnetwork-${QTMIN}:5
- >=dev-qt/qtsvg-${QTMIN}:5
- >=dev-qt/qtwidgets-${QTMIN}:5
- >=dev-qt/qtxml-${QTMIN}:5
- >=kde-frameworks/karchive-${KFMIN}:5
- >=kde-frameworks/kbookmarks-${KFMIN}:5
- >=kde-frameworks/kcodecs-${KFMIN}:5
- >=kde-frameworks/kconfig-${KFMIN}:5
- >=kde-frameworks/kconfigwidgets-${KFMIN}:5
- >=kde-frameworks/kcoreaddons-${KFMIN}:5
- >=kde-frameworks/kdbusaddons-${KFMIN}:5
- >=kde-frameworks/kdnssd-${KFMIN}:5
- >=kde-frameworks/kguiaddons-${KFMIN}:5
- >=kde-frameworks/ki18n-${KFMIN}:5
- >=kde-frameworks/kio-${KFMIN}:5
- >=kde-frameworks/kparts-${KFMIN}:5
- >=kde-frameworks/kservice-${KFMIN}:5
- >=kde-frameworks/kxmlgui-${KFMIN}:5
- >=kde-frameworks/solid-${KFMIN}:5
- >=kde-frameworks/syntax-highlighting-${KFMIN}:5
- activities? (
- >=dev-qt/qtsql-${QTMIN}:5
- >=kde-frameworks/kactivities-${KFMIN}:5
- >=kde-frameworks/kactivities-stats-${KFMIN}:5
- )
- mtp? ( >=media-libs/libmtp-1.1.16:= )
- nfs? ( net-libs/libtirpc:= )
- openexr? ( media-libs/openexr:* )
- phonon? ( >=media-libs/phonon-4.11.0 )
- samba? (
- net-fs/samba[client]
- net-libs/kdsoap:=
- net-libs/kdsoap-ws-discovery-client
- )
- sftp? ( net-libs/libssh:=[sftp] )
- taglib? ( >=media-libs/taglib-1.11.1 )
- X? (
- x11-libs/libX11
- x11-libs/libXcursor
- )
-"
-RDEPEND="${DEPEND}
- >=kde-frameworks/kded-${KFMIN}:5
-"
-BDEPEND="man? ( dev-util/gperf )"
-
-PATCHES=(
- "${FILESDIR}"/${P}-libmtp-0.1.19.patch
- "${FILESDIR}"/${P}-kio_filenamesearch-crash.patch # bug 817008
-)
-
-src_prepare() {
- ecm_src_prepare
- cmake_comment_add_subdirectory network
-}
-
-src_configure() {
- local mycmakeargs=(
- $(cmake_use_find_package activities KF5Activities)
- $(cmake_use_find_package activities KF5ActivitiesStats)
- $(cmake_use_find_package activities Qt5Sql)
- $(cmake_use_find_package man Gperf)
- $(cmake_use_find_package mtp Mtp)
- $(cmake_use_find_package nfs TIRPC)
- $(cmake_use_find_package openexr OpenEXR)
- $(cmake_use_find_package phonon Phonon4Qt5)
- $(cmake_use_find_package samba Samba)
- $(cmake_use_find_package sftp libssh)
- $(cmake_use_find_package taglib Taglib)
- $(cmake_use_find_package X X11)
- )
- use samba && mycmakeargs+=(
- -DBUILD_KDSoapWSDiscoveryClient=OFF # disable bundled stuff
- )
-
- ecm_src_configure
-}