commit:     41ed51bc527ac654b50f36644250deab4cd0af0e
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 12:32:19 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 12:37:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41ed51bc

kde-misc/kio-stash: update EAPI 7 -> 8, update DESCRIPTION

Drop unused includes, upstream commit c49db3ddb772ae7eb5bf6fc291e5e42391c930f8

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 .../files/kio-stash-1.0-unused-includes.patch      | 33 ++++++++++++++++++++++
 kde-misc/kio-stash/kio-stash-1.0-r1.ebuild         |  9 +++---
 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 <[email protected]>
+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
 )

Reply via email to