From raof-guest at moszumanska.debian.org Fri Sep 16 06:11:44 2016 From: raof-guest at moszumanska.debian.org (Christopher Halse Rogers) Date: Fri, 16 Sep 2016 06:11:44 +0000 Subject: [Pkg-cli-apps-commits] [gnome-do-plugins] branch master updated (9b39d84 -> 7a55ca5) Message-ID: <20160916061142.12243.37008@moszumanska.debian.org> This is an automated email from the git hooks/post-receive script. raof-guest pushed a change to branch master in repository gnome-do-plugins. from 9b39d84 finalize changelog new 7a55ca5 Cherry-pick upstream fix for DBus-using plugins. The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/patches/fix-dbus-interfaces.patch | 113 +++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 114 insertions(+) create mode 100644 debian/patches/fix-dbus-interfaces.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/gnome-do-plugins.git From raof-guest at moszumanska.debian.org Fri Sep 16 06:11:44 2016 From: raof-guest at moszumanska.debian.org (Christopher Halse Rogers) Date: Fri, 16 Sep 2016 06:11:44 +0000 Subject: [Pkg-cli-apps-commits] [gnome-do-plugins] 01/01: Cherry-pick upstream fix for DBus-using plugins. In-Reply-To: <20160916061142.12243.37008@moszumanska.debian.org> References: <20160916061142.12243.37008@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. raof-guest pushed a commit to branch master in repository gnome-do-plugins. commit 7a55ca5c6acfc0ec2628604c78fd41387a14a9fa Author: Christopher James Halse Rogers Date: Mon Sep 12 09:05:33 2016 +1000 Cherry-pick upstream fix for DBus-using plugins. This prevented the Banshee and GNOME-Session plugins from working. LP: 1615307 --- debian/patches/fix-dbus-interfaces.patch | 113 +++++++++++++++++++++++++++++++ debian/patches/series | 1 + 2 files changed, 114 insertions(+) diff --git a/debian/patches/fix-dbus-interfaces.patch b/debian/patches/fix-dbus-interfaces.patch new file mode 100644 index 0000000..be3629b --- /dev/null +++ b/debian/patches/fix-dbus-interfaces.patch @@ -0,0 +1,113 @@ +commit 8491a84edcb32345eda0950d33d4a77d28ad39db +Author: Christopher James Halse Rogers +Date: Sat Jun 11 14:26:47 2016 -0400 + + Fix DBus interaction in Banshee and GNOME-Session plugins. + + These plugins had non-public [Interface()]-annotated interface declarations for DBus objects. + DBus# works by generating implementations of these annotated interfaces at runtime in a dynamic DBus.Proxies + assembly, which would fail because the proxies were attempting to implement a non-public interface. + + I'm not sure why this ever worked; presumably Mono is now more correctly implementing the spec. + + This fixes all the actions from GNOME-Session and Banshee which relied on making DBus calls, such as + Suspend, Shutdown, and so on. + +diff --git a/Banshee/src/BansheeDBus.cs b/Banshee/src/BansheeDBus.cs +index 54e83d5..107acdb 100644 +--- a/Banshee/src/BansheeDBus.cs ++++ b/Banshee/src/BansheeDBus.cs +@@ -37,19 +37,19 @@ namespace Banshee + { + + [Interface ("org.bansheeproject.Banshee.PlayerEngine")] +- interface IBansheePlayer { ++ public interface IBansheePlayer { + void Play (); + void Pause (); + string CurrentState { get; } + } + + [Interface ("org.bansheeproject.Banshee.PlayQueue")] +- interface IBansheePlayQueue { ++ public interface IBansheePlayQueue { + void EnqueueUri (string uri, bool prepend); + } + + [Interface ("org.bansheeproject.Banshee.PlaybackController")] +- interface IBansheeController ++ public interface IBansheeController + { + void First (); + void Next (bool restart); +diff --git a/GNOME-Session/src/PowerManagement.cs b/GNOME-Session/src/PowerManagement.cs +index 867a50e..d5b47c0 100644 +--- a/GNOME-Session/src/PowerManagement.cs ++++ b/GNOME-Session/src/PowerManagement.cs +@@ -36,28 +36,28 @@ namespace GNOME + class PowerManagement + { + [Interface ("org.freedesktop.login1.Manager")] +- interface ILogind ++ public interface ILogind + { + void Hibernate (bool interactive); + void Suspend (bool interactive); + } + + [Interface (DeviceKitPowerName)] +- interface IDeviceKitPower ++ public interface IDeviceKitPower + { + void Hibernate (); + void Suspend (); + } + + [Interface (PowerManagementName)] +- interface IPowerManagement ++ public interface IPowerManagement + { + void Hibernate (); + void Suspend (); + } + + [Interface (UPowerName)] +- interface IUPower : org.freedesktop.DBus.Properties ++ public interface IUPower : org.freedesktop.DBus.Properties + { + void Hibernate (); + void Suspend (); +diff --git a/GNOME-Session/src/ScreenSaver.cs b/GNOME-Session/src/ScreenSaver.cs +index 7d22d71..6e9b1e7 100644 +--- a/GNOME-Session/src/ScreenSaver.cs ++++ b/GNOME-Session/src/ScreenSaver.cs +@@ -40,7 +40,7 @@ namespace GNOME + private const string BusName = "org.gnome.ScreenSaver"; + + [Interface ("org.gnome.ScreenSaver")] +- interface IScreenSaver ++ public interface IScreenSaver + { + void Lock (); + void SetActive (bool value); +diff --git a/GNOME-Session/src/SystemManagement.cs b/GNOME-Session/src/SystemManagement.cs +index 4c88bbe..e5deb3c 100644 +--- a/GNOME-Session/src/SystemManagement.cs ++++ b/GNOME-Session/src/SystemManagement.cs +@@ -36,14 +36,14 @@ namespace GNOME + class SystemManagement + { + [Interface ("org.freedesktop.login1.Manager")] +- interface ILogind ++ public interface ILogind + { + void PowerOff (bool interactive); + void Reboot (bool interactive); + } + + [Interface ("org.freedesktop.ConsoleKit.Manager")] +- interface IConsoleKit ++ public interface IConsoleKit + { + void Stop (); + void Restart (); diff --git a/debian/patches/series b/debian/patches/series index db3781e..6d9539e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -3,3 +3,4 @@ use_dbussharp_2.patch Drop-outdated-urls.patch drop-mandatory-gnome-desktop-sharp-dependency.patch +fix-dbus-interfaces.patch -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/gnome-do-plugins.git From raof-guest at moszumanska.debian.org Fri Sep 16 06:21:38 2016 From: raof-guest at moszumanska.debian.org (Christopher Halse Rogers) Date: Fri, 16 Sep 2016 06:21:38 +0000 Subject: [Pkg-cli-apps-commits] [gnome-do-plugins] branch master updated (7a55ca5 -> 5db202f) Message-ID: <20160916062137.16214.20309@moszumanska.debian.org> This is an automated email from the git hooks/post-receive script. raof-guest pushed a change to branch master in repository gnome-do-plugins. from 7a55ca5 Cherry-pick upstream fix for DBus-using plugins. new 5db202f Bump Standards-Version: no changes required The 1 revisions listed above as "new" are entirely new to this repository and will be described in separate emails. The revisions listed as "adds" were already present in the repository and have only been added to this reference. Summary of changes: debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/gnome-do-plugins.git From raof-guest at moszumanska.debian.org Fri Sep 16 06:21:38 2016 From: raof-guest at moszumanska.debian.org (Christopher Halse Rogers) Date: Fri, 16 Sep 2016 06:21:38 +0000 Subject: [Pkg-cli-apps-commits] [gnome-do-plugins] 01/01: Bump Standards-Version: no changes required In-Reply-To: <20160916062137.16214.20309@moszumanska.debian.org> References: <20160916062137.16214.20309@moszumanska.debian.org> Message-ID: This is an automated email from the git hooks/post-receive script. raof-guest pushed a commit to branch master in repository gnome-do-plugins. commit 5db202ff29405a4810b68e881f36d060c8b832d1 Author: Christopher James Halse Rogers Date: Fri Sep 16 16:21:17 2016 +1000 Bump Standards-Version: no changes required --- debian/control | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/control b/debian/control index d6214aa..df0d44c 100644 --- a/debian/control +++ b/debian/control @@ -30,7 +30,7 @@ Build-Depends-Indep: libnotify-cil-dev, libgdata-cil-dev, libnewtonsoft-json-cil-dev, -Standards-Version: 3.9.6 +Standards-Version: 3.9.8 Homepage: http://do.cooperteam.net Vcs-Git: git://git.debian.org/pkg-cli-apps/packages/gnome-do-plugins.git Vcs-Browser: http://git.debian.org/?p=pkg-cli-apps/packages/gnome-do-plugins.git;a=summary -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-cli-apps/packages/gnome-do-plugins.git