tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
clementine: patch for cmake-3.2
Thomas Tuegel
11 years ago
355e3e90
a89c14dc
+41
-1
2 changed files
expand all
collapse all
unified
split
pkgs
applications
audio
clementine
clementine-dbus-namespace.patch
default.nix
+36
pkgs/applications/audio/clementine/clementine-dbus-namespace.patch
reviewed
···
1
1
+
From ec580cb815c16ec1ab43a469d5af7d51d8d03082 Mon Sep 17 00:00:00 2001
2
2
+
From: Chocobozzz <florian.chocobo@gmail.com>
3
3
+
Date: Wed, 16 Jul 2014 15:57:25 +0200
4
4
+
Subject: [PATCH] No namespaces for DBus interfaces. Fixes #4401
5
5
+
6
6
+
---
7
7
+
src/CMakeLists.txt | 9 ++++-----
8
8
+
1 file changed, 4 insertions(+), 5 deletions(-)
9
9
+
10
10
+
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
11
11
+
index 650fa74..775b0a5 100644
12
12
+
--- a/src/CMakeLists.txt
13
13
+
+++ b/src/CMakeLists.txt
14
14
+
@@ -892,11 +892,6 @@ optional_source(LINUX SOURCES widgets/osd_x11.cpp)
15
15
+
if(HAVE_DBUS)
16
16
+
file(MAKE_DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/dbus)
17
17
+
18
18
+
- # Hack to get it to generate interfaces without namespaces - required
19
19
+
- # because otherwise org::freedesktop::UDisks and
20
20
+
- # org::freedesktop::UDisks::Device conflict.
21
21
+
- list(APPEND QT_DBUSXML2CPP_EXECUTABLE -N)
22
22
+
-
23
23
+
# MPRIS DBUS interfaces
24
24
+
qt4_add_dbus_adaptor(SOURCES
25
25
+
dbus/org.freedesktop.MediaPlayer.player.xml
26
26
+
@@ -964,6 +959,10 @@ if(HAVE_DBUS)
27
27
+
28
28
+
# DeviceKit DBUS interfaces
29
29
+
if(HAVE_DEVICEKIT)
30
30
+
+ set_source_files_properties(dbus/org.freedesktop.UDisks.xml
31
31
+
+ PROPERTIES NO_NAMESPACE dbus/udisks)
32
32
+
+ set_source_files_properties(dbus/org.freedesktop.UDisks.Device.xml
33
33
+
+ PROPERTIES NO_NAMESPACE dbus/udisksdevice)
34
34
+
qt4_add_dbus_interface(SOURCES
35
35
+
dbus/org.freedesktop.UDisks.xml
36
36
+
dbus/udisks)
+5
-1
pkgs/applications/audio/clementine/default.nix
reviewed
···
14
14
sha256 = "1gx1109i4pylz6x7gvp4rdzc6dvh0w6in6hfbygw01d08l26bxbx";
15
15
};
16
16
17
17
-
patches = [ ./clementine-1.2.1-include-paths.patch ];
17
17
+
patches =
18
18
+
[
19
19
+
./clementine-1.2.1-include-paths.patch
20
20
+
./clementine-dbus-namespace.patch
21
21
+
];
18
22
19
23
buildInputs = [
20
24
boost