]> git.pld-linux.org Git - packages/clementine.git/commitdiff
- do not generate namespace headers for udisks auto/th/clementine-1.2.3-1
authorJan Rękorajski <baggins@pld-linux.org>
Mon, 10 Nov 2014 23:25:48 +0000 (00:25 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Mon, 10 Nov 2014 23:25:48 +0000 (00:25 +0100)
clementine-udisks-headers.patch [new file with mode: 0644]
clementine.spec

diff --git a/clementine-udisks-headers.patch b/clementine-udisks-headers.patch
new file mode 100644 (file)
index 0000000..199661f
--- /dev/null
@@ -0,0 +1,21 @@
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 1104542..65d765c 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -887,7 +887,6 @@ if(HAVE_DBUS)
+   # Hack to get it to generate interfaces without namespaces - required
+   # because otherwise org::freedesktop::UDisks and
+   # org::freedesktop::UDisks::Device conflict.
+-  list(APPEND QT_DBUSXML2CPP_EXECUTABLE -N)
+   # MPRIS DBUS interfaces
+   qt4_add_dbus_adaptor(SOURCES
+@@ -954,6 +953,8 @@ if(HAVE_DBUS)
+   list(APPEND HEADERS ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahientrygroup.h)
+   list(APPEND SOURCES ${CMAKE_CURRENT_BINARY_DIR}/dbus/avahientrygroup.cpp)
++  set_source_files_properties( dbus/org.freedesktop.UDisks.xml dbus/org.freedesktop.UDisks.Device.xml PROPERTIES NO_NAMESPACE TRUE)
++
+   # DeviceKit DBUS interfaces
+   if(HAVE_DEVICEKIT)
+     qt4_add_dbus_interface(SOURCES
index 86272e2355b03c6b9c957122ed6f2dda1ba81869..070faae19d22f3ae6eaa6c70bba25b0395ca9e3a 100644 (file)
@@ -28,6 +28,7 @@ Patch1:               unbundle-po.patch
 Patch3:                %{name}-dt_categories.patch
 Patch4:                %{name}-mygpo.patch
 Patch5:                %{name}-desktop.patch
+Patch6:                %{name}-udisks-headers.patch
 URL:           http://www.clementine-player.org/
 BuildRequires: QtCore-devel >= %{qtver}
 BuildRequires: QtDBus-devel >= %{qtver}
@@ -110,6 +111,7 @@ a Qt4 előnyeit.
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 # Remove all 3rdparty libraries except:
 # - universalchardet - not available as a separate library.
This page took 0.053157 seconds and 4 git commands to generate.