1 |
commit: c458d1fc49610955d0ec4d82ecbbdf3fd79df418 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 15 15:23:51 2019 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 15 15:24:58 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c458d1fc |
7 |
|
8 |
kde-plasma/plasma-nm: Fix missing headers with Frameworks 5.62 |
9 |
|
10 |
Package-Manager: Portage-2.3.76, Repoman-2.3.17 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
.../files/plasma-nm-5.16.5-missing-headers.patch | 62 ++++++++++++++++++++++ |
14 |
kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild | 2 + |
15 |
2 files changed, 64 insertions(+) |
16 |
|
17 |
diff --git a/kde-plasma/plasma-nm/files/plasma-nm-5.16.5-missing-headers.patch b/kde-plasma/plasma-nm/files/plasma-nm-5.16.5-missing-headers.patch |
18 |
new file mode 100644 |
19 |
index 00000000000..676087e89ac |
20 |
--- /dev/null |
21 |
+++ b/kde-plasma/plasma-nm/files/plasma-nm-5.16.5-missing-headers.patch |
22 |
@@ -0,0 +1,62 @@ |
23 |
+From a7eb3cb599fbb1d66c6980d53550822cbbfd1520 Mon Sep 17 00:00:00 2001 |
24 |
+From: Andreas Sturmlechner <asturm@g.o> |
25 |
+Date: Wed, 14 Aug 2019 11:25:49 +0200 |
26 |
+Subject: Add missing headers with DISABLE_MODEMMANAGER_SUPPORT=ON |
27 |
+ |
28 |
+Reviewers: jgrulich |
29 |
+ |
30 |
+Reviewed By: jgrulich |
31 |
+ |
32 |
+Subscribers: plasma-devel |
33 |
+ |
34 |
+Tags: #plasma |
35 |
+ |
36 |
+Differential Revision: https://phabricator.kde.org/D23148 |
37 |
+--- |
38 |
+ libs/declarative/networkstatus.cpp | 2 ++ |
39 |
+ libs/handler.cpp | 1 + |
40 |
+ libs/handler.h | 1 + |
41 |
+ 3 files changed, 4 insertions(+) |
42 |
+ |
43 |
+diff --git a/libs/declarative/networkstatus.cpp b/libs/declarative/networkstatus.cpp |
44 |
+index b9db376..e94b7ea 100644 |
45 |
+--- a/libs/declarative/networkstatus.cpp |
46 |
++++ b/libs/declarative/networkstatus.cpp |
47 |
+@@ -20,7 +20,9 @@ |
48 |
+ |
49 |
+ #include "networkstatus.h" |
50 |
+ #include "uiutils.h" |
51 |
++ |
52 |
+ #include <QDBusConnection> |
53 |
++#include <QDBusConnectionInterface> |
54 |
+ |
55 |
+ #include <NetworkManagerQt/ActiveConnection> |
56 |
+ #include <NetworkManagerQt/Connection> |
57 |
+diff --git a/libs/handler.cpp b/libs/handler.cpp |
58 |
+index 40b4b43..0095aa7 100644 |
59 |
+--- a/libs/handler.cpp |
60 |
++++ b/libs/handler.cpp |
61 |
+@@ -46,6 +46,7 @@ |
62 |
+ #endif |
63 |
+ |
64 |
+ #include <QDBusError> |
65 |
++#include <QDBusMetaType> |
66 |
+ #include <QDBusPendingReply> |
67 |
+ #include <QIcon> |
68 |
+ |
69 |
+diff --git a/libs/handler.h b/libs/handler.h |
70 |
+index f8b7941..4c72699 100644 |
71 |
+--- a/libs/handler.h |
72 |
++++ b/libs/handler.h |
73 |
+@@ -22,6 +22,7 @@ |
74 |
+ #define PLASMA_NM_HANDLER_H |
75 |
+ |
76 |
+ #include <QDBusInterface> |
77 |
++#include <QTimer> |
78 |
+ |
79 |
+ #include <NetworkManagerQt/Connection> |
80 |
+ #include <NetworkManagerQt/Settings> |
81 |
+-- |
82 |
+cgit v1.1 |
83 |
+ |
84 |
+ |
85 |
|
86 |
diff --git a/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild b/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild |
87 |
index 995f4b6b6b8..0a6f38e56d3 100644 |
88 |
--- a/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild |
89 |
+++ b/kde-plasma/plasma-nm/plasma-nm-5.16.5.ebuild |
90 |
@@ -53,6 +53,8 @@ RDEPEND="${DEPEND} |
91 |
$(add_plasma_dep kde-cli-tools) |
92 |
" |
93 |
|
94 |
+PATCHES=( "${FILESDIR}/${P}-missing-headers.patch" ) |
95 |
+ |
96 |
src_configure() { |
97 |
local mycmakeargs=( |
98 |
-DDISABLE_MODEMMANAGER_SUPPORT=$(usex !modemmanager) |