summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-07-21 14:32:19 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-07-21 14:37:42 +0200
commit41ed51bc527ac654b50f36644250deab4cd0af0e (patch)
tree94b3e30f9cba0504e0532192927dbc94af240ba5 /kde-misc/kio-stash
parentsci-chemistry/molsketch: do not rdep on linguist-tools (diff)
downloadgentoo-41ed51bc527ac654b50f36644250deab4cd0af0e.tar.gz
gentoo-41ed51bc527ac654b50f36644250deab4cd0af0e.tar.bz2
gentoo-41ed51bc527ac654b50f36644250deab4cd0af0e.zip
kde-misc/kio-stash: update EAPI 7 -> 8, update DESCRIPTION
Drop unused includes, upstream commit c49db3ddb772ae7eb5bf6fc291e5e42391c930f8 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-misc/kio-stash')
-rw-r--r--kde-misc/kio-stash/files/kio-stash-1.0-unused-includes.patch33
-rw-r--r--kde-misc/kio-stash/kio-stash-1.0-r1.ebuild9
2 files changed, 38 insertions, 4 deletions
diff --git a/kde-misc/kio-stash/files/kio-stash-1.0-unused-includes.patch b/kde-misc/kio-stash/files/kio-stash-1.0-unused-includes.patch
new file mode 100644
index 000000000000..93c786d7ad12
--- /dev/null
+++ b/kde-misc/kio-stash/files/kio-stash-1.0-unused-includes.patch
@@ -0,0 +1,33 @@
+From c49db3ddb772ae7eb5bf6fc291e5e42391c930f8 Mon Sep 17 00:00:00 2001
+From: Nicolas Fella <nicolas.fella@gmx.de>
+Date: Sat, 28 Nov 2020 17:28:00 +0100
+Subject: [PATCH] Remove unused includes
+
+---
+ src/iodaemon/stashnotifier.cpp | 8 --------
+ 1 file changed, 8 deletions(-)
+
+diff --git a/src/iodaemon/stashnotifier.cpp b/src/iodaemon/stashnotifier.cpp
+index 4cfbafc..b427836 100644
+--- a/src/iodaemon/stashnotifier.cpp
++++ b/src/iodaemon/stashnotifier.cpp
+@@ -20,16 +20,8 @@
+ #include "stashnotifier.h"
+ #include "stash_adaptor.h"
+
+-#include <QDir>
+-#include <QFile>
+-#include <QFileInfo>
+-#include <QMetaType>
+-#include <QDBusMetaType>
+-
+ #include <KDirWatch>
+ #include <KPluginFactory>
+-#include <KPluginLoader>
+-#include <kdirnotify.h>
+
+ K_PLUGIN_FACTORY_WITH_JSON(StashNotifierFactory, "stashnotifier.json", registerPlugin<StashNotifier>();)
+
+--
+GitLab
+
diff --git a/kde-misc/kio-stash/kio-stash-1.0-r1.ebuild b/kde-misc/kio-stash/kio-stash-1.0-r1.ebuild
index 8d8755da8614..ba9e9501f735 100644
--- a/kde-misc/kio-stash/kio-stash-1.0-r1.ebuild
+++ b/kde-misc/kio-stash/kio-stash-1.0-r1.ebuild
@@ -1,14 +1,14 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
ECM_TEST="forceoptional"
KFMIN=5.60.0
QTMIN=5.12.3
inherit ecm kde.org
-DESCRIPTION="KIO Slave and daemon to stash discontinuous file selections"
+DESCRIPTION="KIO worker and daemon to stash discontinuous file selections"
HOMEPAGE="https://arnavdhamija.com/2017/07/04/kio-stash-shipped/ https://invent.kde.org/utilities/kio-stash"
SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
@@ -17,7 +17,7 @@ SLOT="0"
KEYWORDS="~amd64 ~arm64"
IUSE=""
-RESTRICT+=" test"
+RESTRICT="test"
DEPEND="
>=dev-qt/qtdbus-${QTMIN}:5
@@ -31,4 +31,5 @@ RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/${P}-no-kf5config.patch
"${FILESDIR}"/${P}-kioslave-no-desktop-app.patch
+ "${FILESDIR}"/${P}-unused-includes.patch
)