summaryrefslogtreecommitdiff
path: root/kde-plasma/plasma-pa/files/plasma-pa-no-GCONF-we-DONT-need-thx.patch
blob: bdac8934fbdd6d0097fb182067d568f70cc43a8d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
diff -Naur plasma-pa-5.10.2/CMakeLists.txt plasma-pa-5.10.2-p/CMakeLists.txt
--- plasma-pa-5.10.2/CMakeLists.txt	2017-06-13 20:39:26.000000000 +0200
+++ plasma-pa-5.10.2-p/CMakeLists.txt	2017-06-26 14:26:36.736579362 +0200
@@ -19,8 +19,6 @@
 include(ECMOptionalAddSubdirectory)
 
 include(FindPkgConfig)
-pkg_check_modules(GCONF REQUIRED gconf-2.0)
-pkg_check_modules(GOBJECT REQUIRED gobject-2.0)
 
 find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS
     Core
diff -Naur plasma-pa-5.10.2/src/CMakeLists.txt plasma-pa-5.10.2-p/src/CMakeLists.txt
--- plasma-pa-5.10.2/src/CMakeLists.txt	2017-06-13 20:37:09.000000000 +0200
+++ plasma-pa-5.10.2-p/src/CMakeLists.txt	2017-06-26 14:26:36.736579362 +0200
@@ -14,8 +14,6 @@
     pulseobject.cpp
     sink.cpp
     sinkinput.cpp
-    modulemanager.cpp
-    gconfitem.cpp
     source.cpp
     sourceoutput.cpp
     stream.cpp
@@ -47,8 +45,6 @@
     KF5::GlobalAccel
     ${PULSEAUDIO_LIBRARY}
     ${PULSEAUDIO_MAINLOOP_LIBRARY}
-    ${GCONF_LDFLAGS}
-    ${GOBJECT_LDFLAGS}
     ${CANBERRA_LIBRARIES}
 )
 
diff -Naur plasma-pa-5.10.2/src/kcm/package/contents/ui/main.qml plasma-pa-5.10.2-p/src/kcm/package/contents/ui/main.qml
--- plasma-pa-5.10.2/src/kcm/package/contents/ui/main.qml	2017-06-13 20:37:09.000000000 +0200
+++ plasma-pa-5.10.2-p/src/kcm/package/contents/ui/main.qml	2017-06-26 14:26:26.642305764 +0200
@@ -68,9 +68,5 @@
             title: i18nc("@title:tab", "Applications")
             Applications {}
         }
-        Tab {
-            title: i18nc("@title:tab", "Advanced")
-            Advanced {}
-        }
     }
 }
diff -Naur plasma-pa-5.10.2/src/qml/plugin.cpp plasma-pa-5.10.2-p/src/qml/plugin.cpp
--- plasma-pa-5.10.2/src/qml/plugin.cpp	2017-06-13 20:37:09.000000000 +0200
+++ plasma-pa-5.10.2-p/src/qml/plugin.cpp	2017-06-26 14:26:36.737579389 +0200
@@ -27,7 +27,6 @@
 #include "sink.h"
 #include "source.h"
 #include "context.h"
-#include "modulemanager.h"
 #include "port.h"
 
 #include "globalactioncollection.h"
@@ -51,7 +50,6 @@
     qmlRegisterType<QPulseAudio::SinkModel>(uri, 0, 1, "SinkModel");
     qmlRegisterType<QPulseAudio::SinkInputModel>(uri, 0, 1, "SinkInputModel");
     qmlRegisterType<QPulseAudio::SourceModel>(uri, 0, 1, "SourceModel");
-    qmlRegisterType<QPulseAudio::ModuleManager>(uri, 0, 1, "ModuleManager");
     qmlRegisterType<QPulseAudio::SourceOutputModel>(uri, 0, 1, "SourceOutputModel");
     qmlRegisterType<QPulseAudio::StreamRestoreModel>(uri, 0, 1, "StreamRestoreModel");
     qmlRegisterType<QPulseAudio::ModuleModel>(uri, 0, 1, "ModuleModel");