summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-plasma/drkonqi')
-rw-r--r--kde-plasma/drkonqi/Manifest2
-rw-r--r--kde-plasma/drkonqi/drkonqi-5.26.0.ebuild63
-rw-r--r--kde-plasma/drkonqi/files/drkonqi-5.25.90-unused-dep.patch115
3 files changed, 180 insertions, 0 deletions
diff --git a/kde-plasma/drkonqi/Manifest b/kde-plasma/drkonqi/Manifest
index 8e8500878aeb..a7b7ee70e53a 100644
--- a/kde-plasma/drkonqi/Manifest
+++ b/kde-plasma/drkonqi/Manifest
@@ -1 +1,3 @@
DIST drkonqi-5.25.5.tar.xz 495252 BLAKE2B 1c445ba55c133723569f3d91839cc3b10bba81352a308329185bca21d975651b151057e77d6233bf8c25675b8670325621c10bcbe576c219e78d458d747d348b SHA512 71c450f057e6e8390849249a9c4deabc88eccb8d33ebe1b9cd3311e910d81584594c956c167035f2da6d162cd24a5fb6192d4a7019189e085f1c8ee5dfcf1d73
+DIST drkonqi-5.26.0-revert-add-sentry-support.patch.xz 11656 BLAKE2B dd35a147bc22b5af9e37c61f5013db6f2018154ecdcccd0c6463f55242ed9dbbe71f0268f8b0fa75b835f400403aaecbc2d2a6e1de434276acd2cc3a31ff6611 SHA512 417f760469854f5822af82fd9eecbb653f81c37465ae8704df1cf6e344ed072d26eeb60f809bb95e64e019a10d71ea77b3e7d98530e62f5c5a63fb1b8319b33a
+DIST drkonqi-5.26.0.tar.xz 505600 BLAKE2B bb1090b63ae8fa4407d16ee00bb20d6e7a30b3230a2355822150c0b10b16c3ab242fdd3a0d7a8259d03f9eb56ea28dde425e44fbe5008853846dd4b89430bfd5 SHA512 158231fc87737765d0a2f62cefb524cef9a02469d0df25383ac44b2058b5869998a139d0e31d6f4cb3adaa9827f46a74cbe722ec361e65650bd6aab726db037f
diff --git a/kde-plasma/drkonqi/drkonqi-5.26.0.ebuild b/kde-plasma/drkonqi/drkonqi-5.26.0.ebuild
new file mode 100644
index 000000000000..85dd047cbb11
--- /dev/null
+++ b/kde-plasma/drkonqi/drkonqi-5.26.0.ebuild
@@ -0,0 +1,63 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+KFMIN=5.99.0
+PVCUT=$(ver_cut 1-3)
+QTMIN=5.15.5
+inherit ecm plasma.kde.org
+
+DESCRIPTION="Plasma crash handler, gives the user feedback if a program crashed"
+SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${PN}-5.26.0-revert-add-sentry-support.patch.xz"
+
+LICENSE="GPL-2" # TODO: CHECK
+SLOT="5"
+KEYWORDS="~amd64"
+IUSE=""
+
+COMMON_DEPEND="
+ >=dev-qt/qtdbus-${QTMIN}:5
+ >=dev-qt/qtdeclarative-${QTMIN}:5
+ >=dev-qt/qtgui-${QTMIN}:5
+ >=dev-qt/qtwidgets-${QTMIN}:5
+ >=dev-qt/qtxml-${QTMIN}:5
+ >=kde-frameworks/kcompletion-${KFMIN}:5
+ >=kde-frameworks/kconfig-${KFMIN}:5
+ >=kde-frameworks/kcoreaddons-${KFMIN}:5
+ >=kde-frameworks/kcrash-${KFMIN}:5
+ >=kde-frameworks/ki18n-${KFMIN}:5
+ >=kde-frameworks/kidletime-${KFMIN}:5
+ >=kde-frameworks/kio-${KFMIN}:5
+ >=kde-frameworks/kjobwidgets-${KFMIN}:5
+ >=kde-frameworks/knotifications-${KFMIN}:5
+ >=kde-frameworks/kwallet-${KFMIN}:5
+ >=kde-frameworks/kwayland-${KFMIN}:5
+ >=kde-frameworks/kwidgetsaddons-${KFMIN}:5
+ >=kde-frameworks/kwindowsystem-${KFMIN}:5
+ >=kde-frameworks/syntax-highlighting-${KFMIN}:5
+"
+DEPEND="${COMMON_DEPEND}
+ >=dev-qt/qtconcurrent-${QTMIN}:5
+"
+RDEPEND="${COMMON_DEPEND}
+ >=kde-frameworks/kirigami-${KFMIN}:5
+ >=kde-frameworks/kitemmodels-${KFMIN}:5[qml]
+ || (
+ sys-devel/gdb
+ dev-util/lldb
+ )
+"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-5.25.90-unused-dep.patch" # git master
+ "${WORKDIR}/${P}-revert-add-sentry-support.patch" # bug 871759
+)
+
+src_test() {
+ # needs network access, bug #698510
+ local myctestargs=(
+ -E "(connectiontest)"
+ )
+ ecm_src_test
+}
diff --git a/kde-plasma/drkonqi/files/drkonqi-5.25.90-unused-dep.patch b/kde-plasma/drkonqi/files/drkonqi-5.25.90-unused-dep.patch
new file mode 100644
index 000000000000..896d3468832e
--- /dev/null
+++ b/kde-plasma/drkonqi/files/drkonqi-5.25.90-unused-dep.patch
@@ -0,0 +1,115 @@
+From ef22aade1ae5299367b5cfb4d828c8849839caf2 Mon Sep 17 00:00:00 2001
+From: Alexander Lohnau <alexander.lohnau@gmx.de>
+Date: Sat, 17 Sep 2022 15:51:41 +0200
+Subject: [PATCH] Port away from deprecated KDeclarative::setupEngine
+
+We do not need this, because we neither do network requests from QML
+and also do not use the "image://icon" icon provider that is set up by this method.
+---
+ .kde-ci.yml | 1 -
+ CMakeLists.txt | 1 -
+ src/CMakeLists.txt | 2 +-
+ src/coredump/gui/CMakeLists.txt | 1 -
+ src/coredump/gui/main.cpp | 2 --
+ src/drkonqidialog.cpp | 2 --
+ 6 files changed, 1 insertion(+), 8 deletions(-)
+
+diff --git a/.kde-ci.yml b/.kde-ci.yml
+index 93680ef6..83a819f3 100644
+--- a/.kde-ci.yml
++++ b/.kde-ci.yml
+@@ -11,7 +11,6 @@ Dependencies:
+ 'frameworks/kconfig': '@latest'
+ 'frameworks/kcoreaddons': '@latest'
+ 'frameworks/kcrash': '@latest'
+- 'frameworks/kdeclarative': '@latest'
+ 'frameworks/ki18n': '@latest'
+ 'frameworks/kidletime': '@latest'
+ 'frameworks/kio': '@latest'
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 7d22ee73..92fa795b 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -44,7 +44,6 @@ find_package(
+ CoreAddons
+ Config
+ Service
+- Declarative
+ JobWidgets
+ KIO
+ Crash
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index fb03182b..112d97f7 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -95,6 +95,7 @@ target_link_libraries(
+ KF5::WindowSystem
+ Qt::DBus
+ Qt::Concurrent
++ Qt::Qml
+ KF5::WidgetsAddons
+ KF5::Wallet
+ KF5::Notifications # for status notifier
+@@ -102,7 +103,6 @@ target_link_libraries(
+ KF5::SyntaxHighlighting # Backtrace Highlighting
+ drkonqi_backtrace_parser
+ qbugzilla
+- KF5::Declarative
+ KUserFeedbackCore
+ )
+
+diff --git a/src/coredump/gui/CMakeLists.txt b/src/coredump/gui/CMakeLists.txt
+index f9eebfa9..8c964e1a 100644
+--- a/src/coredump/gui/CMakeLists.txt
++++ b/src/coredump/gui/CMakeLists.txt
+@@ -8,7 +8,6 @@ target_compile_definitions(drkonqi-coredump-gui
+
+ target_link_libraries(drkonqi-coredump-gui
+ DrKonqiInternal
+- KF5::Declarative
+ Qt::Quick
+ KF5::I18n
+ drkonqi-coredump
+diff --git a/src/coredump/gui/main.cpp b/src/coredump/gui/main.cpp
+index 8d5b479a..03164572 100644
+--- a/src/coredump/gui/main.cpp
++++ b/src/coredump/gui/main.cpp
+@@ -10,7 +10,6 @@
+
+ #include <KAboutData>
+ #include <KConfigGroup>
+-#include <KDeclarative/KDeclarative>
+ #include <KLocalizedString>
+
+ #include <config-drkonqi.h>
+@@ -53,7 +52,6 @@ int main(int argc, char *argv[])
+
+ QQmlApplicationEngine engine;
+ engine.rootContext()->setContextObject(&i18nContext);
+- KDeclarative::KDeclarative::setupEngine(&engine);
+
+ const QUrl url(QStringLiteral("qrc:/main.qml"));
+ QObject::connect(
+diff --git a/src/drkonqidialog.cpp b/src/drkonqidialog.cpp
+index e93521c0..78b9d09e 100644
+--- a/src/drkonqidialog.cpp
++++ b/src/drkonqidialog.cpp
+@@ -9,7 +9,6 @@
+
+ #include "drkonqidialog.h"
+
+-#include <KDeclarative/KDeclarative>
+ #include <KLocalizedString>
+ #include <KWindowConfig>
+
+@@ -57,7 +56,6 @@ void DrKonqiDialog::show()
+ static auto l10nContext = new KLocalizedContext(engine);
+ l10nContext->setTranslationDomain(QStringLiteral(TRANSLATION_DOMAIN));
+ engine->rootContext()->setContextObject(l10nContext);
+- KDeclarative::KDeclarative::setupEngine(engine);
+
+ qmlRegisterType<BugzillaManager>("org.kde.drkonqi", 1, 0, "Bugzilla");
+ qmlRegisterType<DuplicateModel>("org.kde.drkonqi", 1, 0, "DuplicateModel");
+--
+GitLab
+