1 |
commit: 3f39c5021c9a3ce171b3b30718e6f4b0b5b5a72b |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 29 07:59:25 2021 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 29 08:08:02 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f39c502 |
7 |
|
8 |
kde-frameworks/knewstuff: Fix crash in DownloadWidget |
9 |
|
10 |
See also: |
11 |
https://mail.kde.org/pipermail/distributions/2021-September/001051.html |
12 |
KDE-bug: https://bugs.kde.org/show_bug.cgi?id=443025 |
13 |
Package-Manager: Portage-3.0.24, Repoman-3.0.3 |
14 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
15 |
|
16 |
...wstuff-5.86.0-fix-crash-in-DownloadWidget.patch | 26 +++++++++++ |
17 |
.../knewstuff/knewstuff-5.86.0-r1.ebuild | 51 ++++++++++++++++++++++ |
18 |
2 files changed, 77 insertions(+) |
19 |
|
20 |
diff --git a/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch b/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch |
21 |
new file mode 100644 |
22 |
index 00000000000..dbed97665d5 |
23 |
--- /dev/null |
24 |
+++ b/kde-frameworks/knewstuff/files/knewstuff-5.86.0-fix-crash-in-DownloadWidget.patch |
25 |
@@ -0,0 +1,26 @@ |
26 |
+From d09ba1917cb7e035a9aac6c27c86fc4df5da3194 Mon Sep 17 00:00:00 2001 |
27 |
+From: Albert Astals Cid <aacid@×××.org> |
28 |
+Date: Mon, 27 Sep 2021 20:05:09 +0200 |
29 |
+Subject: [PATCH] Fix crash in DownloadWidget |
30 |
+ |
31 |
+BUGS: 443025 |
32 |
+--- |
33 |
+ src/downloadwidget.cpp | 2 +- |
34 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
35 |
+ |
36 |
+diff --git a/src/downloadwidget.cpp b/src/downloadwidget.cpp |
37 |
+index 40df2e8c..36cfde37 100644 |
38 |
+--- a/src/downloadwidget.cpp |
39 |
++++ b/src/downloadwidget.cpp |
40 |
+@@ -97,7 +97,7 @@ Entry::List DownloadWidget::installedEntries() |
41 |
+ } |
42 |
+ |
43 |
+ DownloadWidgetPrivate::DownloadWidgetPrivate(DownloadWidget *qq) |
44 |
+- : q(q) |
45 |
++ : q(qq) |
46 |
+ , engine(new KNSCore::Engine) |
47 |
+ , model(new KNSCore::ItemsModel(engine)) |
48 |
+ , messageTimer(nullptr) |
49 |
+-- |
50 |
+GitLab |
51 |
+ |
52 |
|
53 |
diff --git a/kde-frameworks/knewstuff/knewstuff-5.86.0-r1.ebuild b/kde-frameworks/knewstuff/knewstuff-5.86.0-r1.ebuild |
54 |
new file mode 100644 |
55 |
index 00000000000..293f9356d4a |
56 |
--- /dev/null |
57 |
+++ b/kde-frameworks/knewstuff/knewstuff-5.86.0-r1.ebuild |
58 |
@@ -0,0 +1,51 @@ |
59 |
+# Copyright 1999-2021 Gentoo Authors |
60 |
+# Distributed under the terms of the GNU General Public License v2 |
61 |
+ |
62 |
+EAPI=8 |
63 |
+ |
64 |
+ECM_TEST="false" |
65 |
+PVCUT=$(ver_cut 1-2) |
66 |
+QTMIN=5.15.2 |
67 |
+inherit ecm kde.org |
68 |
+ |
69 |
+DESCRIPTION="Framework for downloading and sharing additional application data" |
70 |
+ |
71 |
+LICENSE="LGPL-2+" |
72 |
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86" |
73 |
+IUSE="opds" |
74 |
+ |
75 |
+DEPEND=" |
76 |
+ >=dev-qt/qtdeclarative-${QTMIN}:5 |
77 |
+ >=dev-qt/qtgui-${QTMIN}:5 |
78 |
+ >=dev-qt/qtnetwork-${QTMIN}:5 |
79 |
+ >=dev-qt/qtwidgets-${QTMIN}:5 |
80 |
+ >=dev-qt/qtxml-${QTMIN}:5 |
81 |
+ =kde-frameworks/attica-${PVCUT}*:5 |
82 |
+ =kde-frameworks/karchive-${PVCUT}*:5 |
83 |
+ =kde-frameworks/kcompletion-${PVCUT}*:5 |
84 |
+ =kde-frameworks/kconfig-${PVCUT}*:5 |
85 |
+ =kde-frameworks/kcoreaddons-${PVCUT}*:5 |
86 |
+ =kde-frameworks/ki18n-${PVCUT}*:5 |
87 |
+ =kde-frameworks/kiconthemes-${PVCUT}*:5 |
88 |
+ =kde-frameworks/kio-${PVCUT}*:5 |
89 |
+ =kde-frameworks/kitemviews-${PVCUT}*:5 |
90 |
+ =kde-frameworks/kpackage-${PVCUT}*:5 |
91 |
+ =kde-frameworks/kservice-${PVCUT}*:5 |
92 |
+ =kde-frameworks/ktextwidgets-${PVCUT}*:5 |
93 |
+ =kde-frameworks/kwidgetsaddons-${PVCUT}*:5 |
94 |
+ =kde-frameworks/kxmlgui-${PVCUT}*:5 |
95 |
+ opds? ( =kde-frameworks/syndication-${PVCUT}*:5 ) |
96 |
+" |
97 |
+RDEPEND="${DEPEND} |
98 |
+ >=kde-frameworks/kirigami-${PVCUT}:5 |
99 |
+" |
100 |
+ |
101 |
+PATCHES=( "${FILESDIR}/${P}-fix-crash-in-DownloadWidget.patch" ) # KDE-bug 443025 |
102 |
+ |
103 |
+src_configure() { |
104 |
+ local mycmakeargs=( |
105 |
+ $(cmake_use_find_package opds KF5Syndication) |
106 |
+ ) |
107 |
+ |
108 |
+ ecm_src_configure |
109 |
+} |