1 |
commit: 56242a2eda1d86a1b813c206bf83e919674b9253 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Feb 1 08:32:26 2023 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Feb 1 09:26:42 2023 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56242a2e |
7 |
|
8 |
kde-plasma/plasma-thunderbolt: drop 5.25.5-r1 |
9 |
|
10 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
11 |
|
12 |
kde-plasma/plasma-thunderbolt/Manifest | 1 - |
13 |
.../plasma-thunderbolt-5.25.5-kcm-crash.patch | 71 ---------------------- |
14 |
.../plasma-thunderbolt-5.25.5-r1.ebuild | 40 ------------ |
15 |
3 files changed, 112 deletions(-) |
16 |
|
17 |
diff --git a/kde-plasma/plasma-thunderbolt/Manifest b/kde-plasma/plasma-thunderbolt/Manifest |
18 |
index 796d94698ac6..901746ff23c4 100644 |
19 |
--- a/kde-plasma/plasma-thunderbolt/Manifest |
20 |
+++ b/kde-plasma/plasma-thunderbolt/Manifest |
21 |
@@ -1,3 +1,2 @@ |
22 |
-DIST plasma-thunderbolt-5.25.5.tar.xz 68828 BLAKE2B 2e43e20f1413b2edf502f5d7a7b766d956e5bae7f69b983f234546270c629148baf126415915360d8991292139c2d41c687df308d143e359c5a47343d35ddc29 SHA512 73280e422e30893f90586ff7248a6ec0db8d8b518a205187c550545381ee34b09fa648ce819129f8cf2823877f7fcdbbc8e3484a4ca86fa427b2c95915f532b7 |
23 |
DIST plasma-thunderbolt-5.26.5.tar.xz 71912 BLAKE2B 40546213181a5b426aaf3bbd03f1a32a3a7cff70438acd1130a2cba364375b3803fb7eeb0da8c0e8489d5cd49881ace39b3ce10eae01cb18fa51ef612f74d2c4 SHA512 182fa9df929eeca0c3fc3960f731c120e4a09fbc4b42babcc1d99374440b8bf32c564628c58fa5492b5ec9d8d50f98160c845d48e3215846e5ca7385256a783b |
24 |
DIST plasma-thunderbolt-5.26.90.tar.xz 71808 BLAKE2B 8b1d8ac1bec8ded89a0752850a42d09381f3a07efbefbbd8bbe98a73190b3fe3a9038d13574a6d91e76b791b5c885f69c0d433b964a64cb65be99f00acce50db SHA512 80416ce459f590ec2de1da1d8236b3e3bb5ea6703caa5ff99dd60fe938e2e8765c23678fec0e8a86ce05e9b8c92736acf9a009d8f59ce3ef675db0aaec346977 |
25 |
|
26 |
diff --git a/kde-plasma/plasma-thunderbolt/files/plasma-thunderbolt-5.25.5-kcm-crash.patch b/kde-plasma/plasma-thunderbolt/files/plasma-thunderbolt-5.25.5-kcm-crash.patch |
27 |
deleted file mode 100644 |
28 |
index f45edfa86f77..000000000000 |
29 |
--- a/kde-plasma/plasma-thunderbolt/files/plasma-thunderbolt-5.25.5-kcm-crash.patch |
30 |
+++ /dev/null |
31 |
@@ -1,71 +0,0 @@ |
32 |
-From 09c37c1c312991d08c10c7af94a83902150cb3ad Mon Sep 17 00:00:00 2001 |
33 |
-From: David Edmundson <kde@×××××××××××××××××.uk> |
34 |
-Date: Mon, 27 Jun 2022 16:46:08 +0100 |
35 |
-Subject: [PATCH] Avoid combining smart pointers and qobject parent ownership |
36 |
- |
37 |
-Devices are stored as QSharedPointer<Device> mDevices. If something has |
38 |
-the memory managed explicitly we don't want QObject parents to also try |
39 |
-and do the same job. |
40 |
- |
41 |
-BUG: 439192 |
42 |
---- |
43 |
- src/lib/device.cpp | 4 ++-- |
44 |
- src/lib/device.h | 2 +- |
45 |
- src/lib/manager.cpp | 4 ++-- |
46 |
- 3 files changed, 5 insertions(+), 5 deletions(-) |
47 |
- |
48 |
-diff --git a/src/lib/device.cpp b/src/lib/device.cpp |
49 |
-index b79d029..94964be 100644 |
50 |
---- a/src/lib/device.cpp |
51 |
-+++ b/src/lib/device.cpp |
52 |
-@@ -45,10 +45,10 @@ Device::Device(const QDBusObjectPath &path, QObject *parent) |
53 |
- |
54 |
- Device::~Device() = default; |
55 |
- |
56 |
--QSharedPointer<Device> Device::create(const QDBusObjectPath &path, QObject *parent) |
57 |
-+QSharedPointer<Device> Device::create(const QDBusObjectPath &path) |
58 |
- { |
59 |
- try { |
60 |
-- return QSharedPointer<Device>::create(path, parent); |
61 |
-+ return QSharedPointer<Device>::create(path); |
62 |
- } catch (const DBusException &e) { |
63 |
- qCWarning(log_libkbolt, "%s", e.what()); |
64 |
- return {}; |
65 |
-diff --git a/src/lib/device.h b/src/lib/device.h |
66 |
-index 9b7e0f0..d183b12 100644 |
67 |
---- a/src/lib/device.h |
68 |
-+++ b/src/lib/device.h |
69 |
-@@ -46,7 +46,7 @@ class KBOLT_EXPORT Device : public QObject, public QEnableSharedFromThis<Device> |
70 |
- friend class Manager; |
71 |
- |
72 |
- public: |
73 |
-- static QSharedPointer<Device> create(const QDBusObjectPath &path, QObject *parent = nullptr); |
74 |
-+ static QSharedPointer<Device> create(const QDBusObjectPath &path); |
75 |
- explicit Device(QObject *parent = nullptr); |
76 |
- ~Device() override; |
77 |
- |
78 |
-diff --git a/src/lib/manager.cpp b/src/lib/manager.cpp |
79 |
-index 683c28c..99f1732 100644 |
80 |
---- a/src/lib/manager.cpp |
81 |
-+++ b/src/lib/manager.cpp |
82 |
-@@ -26,7 +26,7 @@ Manager::Manager(QObject *parent) |
83 |
- } |
84 |
- |
85 |
- connect(mInterface.get(), &ManagerInterface::DeviceAdded, this, [this](const QDBusObjectPath &path) { |
86 |
-- if (auto device = Device::create(path, this)) { |
87 |
-+ if (auto device = Device::create(path)) { |
88 |
- mDevices.push_back(device); |
89 |
- qCDebug(log_libkbolt, |
90 |
- "New Thunderbolt device %s (%s) added, status=%s", |
91 |
-@@ -46,7 +46,7 @@ Manager::Manager(QObject *parent) |
92 |
- |
93 |
- const auto devicePaths = mInterface->ListDevices().argumentAt<0>(); |
94 |
- for (const auto &devicePath : devicePaths) { |
95 |
-- if (auto device = Device::create(devicePath, this)) { |
96 |
-+ if (auto device = Device::create(devicePath)) { |
97 |
- qCDebug(log_libkbolt, |
98 |
- "Discovered Thunderbolt device %s (%s), status=%s", |
99 |
- qUtf8Printable(device->uid()), |
100 |
--- |
101 |
-GitLab |
102 |
- |
103 |
|
104 |
diff --git a/kde-plasma/plasma-thunderbolt/plasma-thunderbolt-5.25.5-r1.ebuild b/kde-plasma/plasma-thunderbolt/plasma-thunderbolt-5.25.5-r1.ebuild |
105 |
deleted file mode 100644 |
106 |
index b68b25270cb1..000000000000 |
107 |
--- a/kde-plasma/plasma-thunderbolt/plasma-thunderbolt-5.25.5-r1.ebuild |
108 |
+++ /dev/null |
109 |
@@ -1,40 +0,0 @@ |
110 |
-# Copyright 1999-2022 Gentoo Authors |
111 |
-# Distributed under the terms of the GNU General Public License v2 |
112 |
- |
113 |
-EAPI=8 |
114 |
- |
115 |
-ECM_TEST="true" |
116 |
-KFMIN=5.95.0 |
117 |
-PVCUT=$(ver_cut 1-3) |
118 |
-QTMIN=5.15.5 |
119 |
-inherit ecm plasma.kde.org |
120 |
- |
121 |
-DESCRIPTION="Plasma integration for controlling Thunderbolt devices" |
122 |
-HOMEPAGE="https://invent.kde.org/plasma/plasma-thunderbolt" |
123 |
- |
124 |
-LICENSE="|| ( GPL-2 GPL-3+ )" |
125 |
-SLOT="5" |
126 |
-KEYWORDS="amd64 ~riscv x86" |
127 |
-IUSE="" |
128 |
- |
129 |
-# tests require DBus |
130 |
-RESTRICT="test" |
131 |
- |
132 |
-DEPEND=" |
133 |
- >=dev-qt/qtdeclarative-${QTMIN}:5 |
134 |
- >=dev-qt/qtdbus-${QTMIN}:5 |
135 |
- >=dev-qt/qtgui-${QTMIN}:5 |
136 |
- >=kde-frameworks/kcmutils-${KFMIN}:5 |
137 |
- >=kde-frameworks/kcoreaddons-${KFMIN}:5 |
138 |
- >=kde-frameworks/kdbusaddons-${KFMIN}:5 |
139 |
- >=kde-frameworks/kdeclarative-${KFMIN}:5 |
140 |
- >=kde-frameworks/ki18n-${KFMIN}:5 |
141 |
- >=kde-frameworks/knotifications-${KFMIN}:5 |
142 |
-" |
143 |
-RDEPEND="${DEPEND} |
144 |
- >=dev-qt/qtquickcontrols2-${QTMIN}:5 |
145 |
- >=kde-frameworks/kirigami-${KFMIN}:5 |
146 |
- sys-apps/bolt |
147 |
-" |
148 |
- |
149 |
-PATCHES=( "${FILESDIR}/${P}-kcm-crash.patch" ) |