[arch-commits] Commit in cairo-dock-plug-ins/repos (6 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Mon Dec 28 22:00:45 UTC 2015


    Date: Monday, December 28, 2015 @ 23:00:44
  Author: bpiotrowski
Revision: 154725

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  cairo-dock-plug-ins/repos/community-staging-i686/
  cairo-dock-plug-ins/repos/community-staging-i686/PKGBUILD
    (from rev 154724, cairo-dock-plug-ins/trunk/PKGBUILD)
  cairo-dock-plug-ins/repos/community-staging-i686/cairo-dock-plug-ins-mono.patch
    (from rev 154724, cairo-dock-plug-ins/trunk/cairo-dock-plug-ins-mono.patch)
  cairo-dock-plug-ins/repos/community-staging-x86_64/
  cairo-dock-plug-ins/repos/community-staging-x86_64/PKGBUILD
    (from rev 154724, cairo-dock-plug-ins/trunk/PKGBUILD)
  cairo-dock-plug-ins/repos/community-staging-x86_64/cairo-dock-plug-ins-mono.patch
    (from rev 154724, cairo-dock-plug-ins/trunk/cairo-dock-plug-ins-mono.patch)

---------------------------------------------------------+
 community-staging-i686/PKGBUILD                         |   74 +++++++++
 community-staging-i686/cairo-dock-plug-ins-mono.patch   |  106 ++++++++++++++
 community-staging-x86_64/PKGBUILD                       |   74 +++++++++
 community-staging-x86_64/cairo-dock-plug-ins-mono.patch |  106 ++++++++++++++
 4 files changed, 360 insertions(+)

Copied: cairo-dock-plug-ins/repos/community-staging-i686/PKGBUILD (from rev 154724, cairo-dock-plug-ins/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2015-12-28 22:00:44 UTC (rev 154725)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tofe <chris.chapuis at gmail.com>
+# Contributor: zhuqin <zhuqin83 at gmail.com>
+# Contributor: tri1976 <trile7 at gmail.com>
+# Contributor: snoopy33 <snoopy33 at no-log.org>
+
+pkgname=cairo-dock-plug-ins
+pkgver=3.4.1
+pkgrel=4
+pkgdesc='Plugins for Cairo-Dock'
+arch=('i686' 'x86_64')
+url='http://glx-dock.org'
+license=('GPL')
+depends=('cairo-dock')
+makedepends=('alsa-lib' 'cmake' 'dbus-sharp-glib' 'fftw' 'gnome-menus'
+             'gtk-sharp-3' 'gvfs' 'libetpan' 'libexif' 'libical' 'libpulse'
+             'libxklavier' 'lm_sensors' 'python' 'python2' 'ruby' 'upower'
+             'vala' 'vte3' 'webkitgtk' 'zeitgeist')
+optdepends=('alsa-lib: Sound Control, Sound Effects applets'
+            'dbus-sharp-glib: Mono API'
+            'fftw: Impulse applet'
+            'gnome-menus: Applications Menu applet'
+            'gtk-sharp-3: Mono API'
+            'gvfs: GVFS integration'
+            'libetpan: Mail applet'
+            'libexif: Slider applet'
+            'libical: Clock applet'
+            'libpulse: Impulse applet'
+            'libxklavier: Keyboard Indicator applet'
+            'lm_sensors: System Monitor applet'
+            'python: Python 3 API'
+            'python2: Python 2 API'
+            'ruby: Ruby API'
+            'upower: Power Manager applet'
+            'vte3: Terminal applet'
+            'webkitgtk: Weblets applet'
+            'wireless_tools: Wifi applet'
+            'zeitgeist: Recent Events applet')
+replaces=('cairo-dock-plugins')
+source=("cairo-dock-plug-ins-${pkgver}.tar.gz::https://github.com/Cairo-Dock/cairo-dock-plug-ins/archive/${pkgver}.tar.gz"
+        'cairo-dock-plug-ins-mono.patch')
+sha256sums=('321113fb8fa214d965c9827b82890651dc4cd0beb23aef0e2d3f5caf806ebdc2'
+            '061115f3638c47eab04d48808d4cc61e294877643a61c82061d7af2523b4f724')
+
+prepare() {
+  cd cairo-dock-plug-ins-${pkgver}
+
+  patch -Np1 -i ../cairo-dock-plug-ins-mono.patch
+  sed 's/gmcs/mcs/' -i CMakeLists.txt
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd cairo-dock-plug-ins-${pkgver}/build
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE='Release' \
+    -DCMAKE_INSTALL_PREFIX='/usr'
+  make
+}
+
+package() {
+  cd cairo-dock-plug-ins-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+  mv "${pkgdir}"/usr/lib/{cli,mono}
+}
+
+# vim: ts=2 sw=2 et:

Copied: cairo-dock-plug-ins/repos/community-staging-i686/cairo-dock-plug-ins-mono.patch (from rev 154724, cairo-dock-plug-ins/trunk/cairo-dock-plug-ins-mono.patch)
===================================================================
--- community-staging-i686/cairo-dock-plug-ins-mono.patch	                        (rev 0)
+++ community-staging-i686/cairo-dock-plug-ins-mono.patch	2015-12-28 22:00:44 UTC (rev 154725)
@@ -0,0 +1,106 @@
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt cairo-dock-plug-ins-3.4.1/CMakeLists.txt
+--- cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt	2015-03-12 09:43:57.171067365 +0100
++++ cairo-dock-plug-ins-3.4.1/CMakeLists.txt	2015-03-12 09:46:20.717120675 +0100
+@@ -573,11 +573,11 @@ if (enable-mono-interface)
+ 	if (NOT GMCS_EXECUTABLE OR NOT EXISTS ${GMCS_EXECUTABLE})
+ 		message (STATUS "Could not find Mono compiler gmcs, won't build Mono interface.")
+ 	else()
+-		pkg_check_modules (MONO_PACKAGE glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0)
++		pkg_check_modules (MONO_PACKAGE dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0)
+ 		if (NOT MONO_PACKAGE_FOUND)
+-			message (STATUS "Could not find glib-sharp-2.0, ndesk-dbus-1.0 or ndesk-dbus-glib-1.0; won't be built Mono interface.")
+-			message (WARNING "These modules are required to compile DBus applet with Mono interface: glib-sharp-2.0, ndesk-dbus-1.0 and ndesk-dbus-glib-1.0")
+-			set (MODULES_MISSING "${MODULES_MISSING} glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0")
++			message (STATUS "Could not find dbus-sharp-2.0, dbus-sharp-glib-2.0 or glib-sharp-3.0; won't be built Mono interface.")
++			message (WARNING "These modules are required to compile DBus applet with Mono interface: dbus-sharp-2.0, dbus-sharp-glib-2.0 and glib-sharp-3.0")
++			set (MODULES_MISSING "${MODULES_MISSING} dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0")
+ 		else()
+ 			set (MONO_FOUND TRUE)
+ 			set (with_mono yes)
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CDApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CDApplet.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CDApplet.cs	2015-03-12 09:52:56.491934965 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CDApplet.cs	2015-03-12 09:56:50.191652099 +0100
+@@ -21,7 +21,7 @@
+ // Make your own class derive from a CDApplet, and override the functions you need (the ones which don't start with an underscore).
+ 
+ // Compile it with the following command, then rename 'demo_mono.exe' to 'demo_mono'.
+-// gmcs /target:library CDApplet.cs ISubApplet.cs IApplet.cs -pkg:glib-sharp-2.0 -pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0
++// gmcs /target:library CDApplet.cs ISubApplet.cs IApplet.cs -pkg:dbus-sharp-2.0 -pkg:dbus-sharp-glib-2.0 -pkg:glib-sharp-3.0
+   //////////////////////////
+  ////// dependancies //////
+ //////////////////////////
+@@ -29,7 +29,7 @@ using System;  // Environment
+ using System.IO;  // Path, Directory
+ using System.Reflection;
+ using GLib;
+-using NDesk.DBus;
++using DBus;
+ using CairoDock.Applet;
+ 
+ //namespace CairoDock.Applet
+@@ -258,8 +258,8 @@ public class CDApplet
+ 	
+ 	private void _connect_to_dock ()
+ 	{
+-		NDesk.DBus.BusG.Init();
+-		NDesk.DBus.Bus bus = NDesk.DBus.Bus.Session;
++		DBus.BusG.Init();
++		DBus.Bus bus = DBus.Bus.Session;
+ 		this.icon = bus.GetObject<IApplet> ("org.cairodock.CairoDock", new ObjectPath (this.cBusPath));
+ 		this.icon.on_click 			+= new OnClickEvent (on_click);
+ 		this.icon.on_middle_click 	+= new OnMiddleClickEvent (on_middle_click);
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt	2015-03-12 09:52:56.491934965 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt	2015-03-12 09:54:07.418777441 +0100
+@@ -3,7 +3,7 @@
+ 
+ execute_process(COMMAND ${GMCS_EXECUTABLE}
+ 	-target:library
+-	-pkg:glib-sharp-2.0 -pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0
++	-pkg:dbus-sharp-2.0 -pkg:dbus-sharp-glib-2.0 -pkg:glib-sharp-3.0
+ 	-out:${CMAKE_CURRENT_BINARY_DIR}/CDApplet.dll
+ 	${CMAKE_CURRENT_SOURCE_DIR}/CDApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/ISubApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/IApplet.cs)
+ ### find how to register to GAC ...
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/demos/demo_mono/demo_mono.cs cairo-dock-plug-ins-3.4.1/Dbus/demos/demo_mono/demo_mono.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/demos/demo_mono/demo_mono.cs	2015-03-12 09:59:41.064312097 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/demos/demo_mono/demo_mono.cs	2015-03-12 10:02:39.473424651 +0100
+@@ -138,7 +138,7 @@ public class Applet : CDApplet
+ 	public override void on_build_menu ()
+ 	{
+ 		Console.WriteLine("*** build menu");
+-		/// Warning : teh AddMenuItems fails with NDesk-DBus 0.6.0; until this is fixed, use the PopulateMenu method.
++		/// Warning : the AddMenuItems fails with DBus Sharp 0.6.0; until this is fixed, use the PopulateMenu method.
+ 		/**Dictionary<string, object>[] pItems = new Dictionary<string, object>[] {
+ 			new Dictionary<string, object>()
+ 			{
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/IApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/IApplet.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/IApplet.cs	2015-03-12 09:59:41.067645289 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/IApplet.cs	2015-03-12 10:00:35.395334804 +0100
+@@ -1,6 +1,6 @@
+ using System;
+ using System.Collections.Generic;  // Dictionnary
+-using NDesk.DBus;
++using DBus;
+ 
+ namespace CairoDock.Applet
+ {
+@@ -27,7 +27,7 @@ namespace CairoDock.Applet
+ 		Left
+ 	}
+ 
+-	[NDesk.DBus.Interface("org.cairodock.CairoDock.applet")]
++	[DBus.Interface("org.cairodock.CairoDock.applet")]
+ 	public interface IApplet
+ 	{
+ 		object Get(string cProperty);
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/ISubApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/ISubApplet.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/ISubApplet.cs	2015-03-12 09:59:41.067645289 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/ISubApplet.cs	2015-03-12 10:00:16.522802989 +0100
+@@ -1,6 +1,6 @@
+ using System;
+ using System.Collections.Generic;  // Dictionnary
+-using NDesk.DBus;
++using DBus;
+ 
+ namespace CairoDock.Applet
+ {

Copied: cairo-dock-plug-ins/repos/community-staging-x86_64/PKGBUILD (from rev 154724, cairo-dock-plug-ins/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2015-12-28 22:00:44 UTC (rev 154725)
@@ -0,0 +1,74 @@
+# $Id$
+# Maintainer: Maxime Gauduin <alucryd at archlinux.org>
+# Contributor: Tofe <chris.chapuis at gmail.com>
+# Contributor: zhuqin <zhuqin83 at gmail.com>
+# Contributor: tri1976 <trile7 at gmail.com>
+# Contributor: snoopy33 <snoopy33 at no-log.org>
+
+pkgname=cairo-dock-plug-ins
+pkgver=3.4.1
+pkgrel=4
+pkgdesc='Plugins for Cairo-Dock'
+arch=('i686' 'x86_64')
+url='http://glx-dock.org'
+license=('GPL')
+depends=('cairo-dock')
+makedepends=('alsa-lib' 'cmake' 'dbus-sharp-glib' 'fftw' 'gnome-menus'
+             'gtk-sharp-3' 'gvfs' 'libetpan' 'libexif' 'libical' 'libpulse'
+             'libxklavier' 'lm_sensors' 'python' 'python2' 'ruby' 'upower'
+             'vala' 'vte3' 'webkitgtk' 'zeitgeist')
+optdepends=('alsa-lib: Sound Control, Sound Effects applets'
+            'dbus-sharp-glib: Mono API'
+            'fftw: Impulse applet'
+            'gnome-menus: Applications Menu applet'
+            'gtk-sharp-3: Mono API'
+            'gvfs: GVFS integration'
+            'libetpan: Mail applet'
+            'libexif: Slider applet'
+            'libical: Clock applet'
+            'libpulse: Impulse applet'
+            'libxklavier: Keyboard Indicator applet'
+            'lm_sensors: System Monitor applet'
+            'python: Python 3 API'
+            'python2: Python 2 API'
+            'ruby: Ruby API'
+            'upower: Power Manager applet'
+            'vte3: Terminal applet'
+            'webkitgtk: Weblets applet'
+            'wireless_tools: Wifi applet'
+            'zeitgeist: Recent Events applet')
+replaces=('cairo-dock-plugins')
+source=("cairo-dock-plug-ins-${pkgver}.tar.gz::https://github.com/Cairo-Dock/cairo-dock-plug-ins/archive/${pkgver}.tar.gz"
+        'cairo-dock-plug-ins-mono.patch')
+sha256sums=('321113fb8fa214d965c9827b82890651dc4cd0beb23aef0e2d3f5caf806ebdc2'
+            '061115f3638c47eab04d48808d4cc61e294877643a61c82061d7af2523b4f724')
+
+prepare() {
+  cd cairo-dock-plug-ins-${pkgver}
+
+  patch -Np1 -i ../cairo-dock-plug-ins-mono.patch
+  sed 's/gmcs/mcs/' -i CMakeLists.txt
+
+  if [[ -d build ]]; then
+    rm -rf build
+  fi
+  mkdir build
+}
+
+build() {
+  cd cairo-dock-plug-ins-${pkgver}/build
+
+  cmake .. \
+    -DCMAKE_BUILD_TYPE='Release' \
+    -DCMAKE_INSTALL_PREFIX='/usr'
+  make
+}
+
+package() {
+  cd cairo-dock-plug-ins-${pkgver}/build
+
+  make DESTDIR="${pkgdir}" install
+  mv "${pkgdir}"/usr/lib/{cli,mono}
+}
+
+# vim: ts=2 sw=2 et:

Copied: cairo-dock-plug-ins/repos/community-staging-x86_64/cairo-dock-plug-ins-mono.patch (from rev 154724, cairo-dock-plug-ins/trunk/cairo-dock-plug-ins-mono.patch)
===================================================================
--- community-staging-x86_64/cairo-dock-plug-ins-mono.patch	                        (rev 0)
+++ community-staging-x86_64/cairo-dock-plug-ins-mono.patch	2015-12-28 22:00:44 UTC (rev 154725)
@@ -0,0 +1,106 @@
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt cairo-dock-plug-ins-3.4.1/CMakeLists.txt
+--- cairo-dock-plug-ins-3.4.1.orig/CMakeLists.txt	2015-03-12 09:43:57.171067365 +0100
++++ cairo-dock-plug-ins-3.4.1/CMakeLists.txt	2015-03-12 09:46:20.717120675 +0100
+@@ -573,11 +573,11 @@ if (enable-mono-interface)
+ 	if (NOT GMCS_EXECUTABLE OR NOT EXISTS ${GMCS_EXECUTABLE})
+ 		message (STATUS "Could not find Mono compiler gmcs, won't build Mono interface.")
+ 	else()
+-		pkg_check_modules (MONO_PACKAGE glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0)
++		pkg_check_modules (MONO_PACKAGE dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0)
+ 		if (NOT MONO_PACKAGE_FOUND)
+-			message (STATUS "Could not find glib-sharp-2.0, ndesk-dbus-1.0 or ndesk-dbus-glib-1.0; won't be built Mono interface.")
+-			message (WARNING "These modules are required to compile DBus applet with Mono interface: glib-sharp-2.0, ndesk-dbus-1.0 and ndesk-dbus-glib-1.0")
+-			set (MODULES_MISSING "${MODULES_MISSING} glib-sharp-2.0 ndesk-dbus-1.0 ndesk-dbus-glib-1.0")
++			message (STATUS "Could not find dbus-sharp-2.0, dbus-sharp-glib-2.0 or glib-sharp-3.0; won't be built Mono interface.")
++			message (WARNING "These modules are required to compile DBus applet with Mono interface: dbus-sharp-2.0, dbus-sharp-glib-2.0 and glib-sharp-3.0")
++			set (MODULES_MISSING "${MODULES_MISSING} dbus-sharp-2.0 dbus-sharp-glib-2.0 glib-sharp-3.0")
+ 		else()
+ 			set (MONO_FOUND TRUE)
+ 			set (with_mono yes)
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CDApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CDApplet.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CDApplet.cs	2015-03-12 09:52:56.491934965 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CDApplet.cs	2015-03-12 09:56:50.191652099 +0100
+@@ -21,7 +21,7 @@
+ // Make your own class derive from a CDApplet, and override the functions you need (the ones which don't start with an underscore).
+ 
+ // Compile it with the following command, then rename 'demo_mono.exe' to 'demo_mono'.
+-// gmcs /target:library CDApplet.cs ISubApplet.cs IApplet.cs -pkg:glib-sharp-2.0 -pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0
++// gmcs /target:library CDApplet.cs ISubApplet.cs IApplet.cs -pkg:dbus-sharp-2.0 -pkg:dbus-sharp-glib-2.0 -pkg:glib-sharp-3.0
+   //////////////////////////
+  ////// dependancies //////
+ //////////////////////////
+@@ -29,7 +29,7 @@ using System;  // Environment
+ using System.IO;  // Path, Directory
+ using System.Reflection;
+ using GLib;
+-using NDesk.DBus;
++using DBus;
+ using CairoDock.Applet;
+ 
+ //namespace CairoDock.Applet
+@@ -258,8 +258,8 @@ public class CDApplet
+ 	
+ 	private void _connect_to_dock ()
+ 	{
+-		NDesk.DBus.BusG.Init();
+-		NDesk.DBus.Bus bus = NDesk.DBus.Bus.Session;
++		DBus.BusG.Init();
++		DBus.Bus bus = DBus.Bus.Session;
+ 		this.icon = bus.GetObject<IApplet> ("org.cairodock.CairoDock", new ObjectPath (this.cBusPath));
+ 		this.icon.on_click 			+= new OnClickEvent (on_click);
+ 		this.icon.on_middle_click 	+= new OnMiddleClickEvent (on_middle_click);
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/CMakeLists.txt	2015-03-12 09:52:56.491934965 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/CMakeLists.txt	2015-03-12 09:54:07.418777441 +0100
+@@ -3,7 +3,7 @@
+ 
+ execute_process(COMMAND ${GMCS_EXECUTABLE}
+ 	-target:library
+-	-pkg:glib-sharp-2.0 -pkg:ndesk-dbus-1.0 -pkg:ndesk-dbus-glib-1.0
++	-pkg:dbus-sharp-2.0 -pkg:dbus-sharp-glib-2.0 -pkg:glib-sharp-3.0
+ 	-out:${CMAKE_CURRENT_BINARY_DIR}/CDApplet.dll
+ 	${CMAKE_CURRENT_SOURCE_DIR}/CDApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/ISubApplet.cs ${CMAKE_CURRENT_SOURCE_DIR}/IApplet.cs)
+ ### find how to register to GAC ...
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/demos/demo_mono/demo_mono.cs cairo-dock-plug-ins-3.4.1/Dbus/demos/demo_mono/demo_mono.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/demos/demo_mono/demo_mono.cs	2015-03-12 09:59:41.064312097 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/demos/demo_mono/demo_mono.cs	2015-03-12 10:02:39.473424651 +0100
+@@ -138,7 +138,7 @@ public class Applet : CDApplet
+ 	public override void on_build_menu ()
+ 	{
+ 		Console.WriteLine("*** build menu");
+-		/// Warning : teh AddMenuItems fails with NDesk-DBus 0.6.0; until this is fixed, use the PopulateMenu method.
++		/// Warning : the AddMenuItems fails with DBus Sharp 0.6.0; until this is fixed, use the PopulateMenu method.
+ 		/**Dictionary<string, object>[] pItems = new Dictionary<string, object>[] {
+ 			new Dictionary<string, object>()
+ 			{
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/IApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/IApplet.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/IApplet.cs	2015-03-12 09:59:41.067645289 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/IApplet.cs	2015-03-12 10:00:35.395334804 +0100
+@@ -1,6 +1,6 @@
+ using System;
+ using System.Collections.Generic;  // Dictionnary
+-using NDesk.DBus;
++using DBus;
+ 
+ namespace CairoDock.Applet
+ {
+@@ -27,7 +27,7 @@ namespace CairoDock.Applet
+ 		Left
+ 	}
+ 
+-	[NDesk.DBus.Interface("org.cairodock.CairoDock.applet")]
++	[DBus.Interface("org.cairodock.CairoDock.applet")]
+ 	public interface IApplet
+ 	{
+ 		object Get(string cProperty);
+diff -rupN cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/ISubApplet.cs cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/ISubApplet.cs
+--- cairo-dock-plug-ins-3.4.1.orig/Dbus/interfaces/mono/ISubApplet.cs	2015-03-12 09:59:41.067645289 +0100
++++ cairo-dock-plug-ins-3.4.1/Dbus/interfaces/mono/ISubApplet.cs	2015-03-12 10:00:16.522802989 +0100
+@@ -1,6 +1,6 @@
+ using System;
+ using System.Collections.Generic;  // Dictionnary
+-using NDesk.DBus;
++using DBus;
+ 
+ namespace CairoDock.Applet
+ {



More information about the arch-commits mailing list