diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-dotnet/dbus-sharp/files |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-dotnet/dbus-sharp/files')
-rw-r--r-- | dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch | 28 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch | 26 |
2 files changed, 54 insertions, 0 deletions
diff --git a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch new file mode 100644 index 000000000000..934d7630d164 --- /dev/null +++ b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals.patch @@ -0,0 +1,28 @@ +From 608328ba1e0ccc8d0387c244793b229bcc184648 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Laval?= <jeremie.laval@gmail.com> +Date: Fri, 10 Dec 2010 15:03:12 +0000 +Subject: [PATCH] Disable broken matching on sender for signals. Fix issue #8. + +--- + src/BusObject.cs | 5 ++++- + 1 files changed, 4 insertions(+), 1 deletions(-) + +diff --git a/src/BusObject.cs b/src/BusObject.cs +index e12207e..fe32b72 100644 +--- a/src/BusObject.cs ++++ b/src/BusObject.cs +@@ -56,7 +56,10 @@ public void ToggleSignal (string iface, string member, Delegate dlg, bool adding + rule.Fields.Add (FieldCode.Interface, new MatchTest (iface)); + rule.Fields.Add (FieldCode.Member, new MatchTest (member)); + rule.Fields.Add (FieldCode.Path, new MatchTest (object_path)); +- rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name)); ++ // FIXME: Cause a regression compared to 0.6 as name wasn't matched before ++ // the problem arises because busname is not used by DBus daemon and ++ // instead it uses the canonical name of the sender (i.e. similar to ':1.13') ++ //rule.Fields.Add (FieldCode.Sender, new MatchTest (alt_bus_name ?? bus_name)); + + if (adding) { + if (conn.Handlers.ContainsKey (rule)) +-- +1.7.5.4 + diff --git a/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch new file mode 100644 index 000000000000..d74361c08019 --- /dev/null +++ b/dev-dotnet/dbus-sharp/files/dbus-sharp-0.7.0-fix-signals2.patch @@ -0,0 +1,26 @@ +From 76f43e6cc25eae25b658831111b37b10376311d2 Mon Sep 17 00:00:00 2001 +From: =?UTF-8?q?J=C3=A9r=C3=A9mie=20Laval?= <jeremie.laval@gmail.com> +Date: Thu, 10 Feb 2011 17:31:38 +0000 +Subject: [PATCH] Remove sender match check on receiving side too. Properly + fix issue 8. + +--- + src/Connection.cs | 2 +- + 1 files changed, 1 insertions(+), 1 deletions(-) + +diff --git a/src/Connection.cs b/src/Connection.cs +index b414994..e593db9 100644 +--- a/src/Connection.cs ++++ b/src/Connection.cs +@@ -278,7 +278,7 @@ internal void HandleSignal (Message msg) + rule.MessageType = MessageType.Signal; + rule.Fields.Add (FieldCode.Interface, new MatchTest (signal.Interface)); + rule.Fields.Add (FieldCode.Member, new MatchTest (signal.Member)); +- rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender)); ++ //rule.Fields.Add (FieldCode.Sender, new MatchTest (signal.Sender)); + rule.Fields.Add (FieldCode.Path, new MatchTest (signal.Path)); + + Delegate dlg; +-- +1.7.5.4 + |