diff options
Diffstat (limited to 'dev-dotnet/dbus-sharp')
-rw-r--r-- | dev-dotnet/dbus-sharp/Manifest | 9 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild | 31 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild | 29 | ||||
-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 | ||||
-rw-r--r-- | dev-dotnet/dbus-sharp/metadata.xml | 11 |
6 files changed, 134 insertions, 0 deletions
diff --git a/dev-dotnet/dbus-sharp/Manifest b/dev-dotnet/dbus-sharp/Manifest new file mode 100644 index 000000000000..3502773609cf --- /dev/null +++ b/dev-dotnet/dbus-sharp/Manifest @@ -0,0 +1,9 @@ +AUX dbus-sharp-0.7.0-fix-signals.patch 1242 SHA256 7a9ab7be15804251c4a666394db426755f6b1b0a7004dc6d38ba9f2ad2fc197a SHA512 8d7e1d29a465f4f6749a65d279b4fd93cc4c08a0a8855b2933ffed47e72b6fee5bfbaebaca874a9b1b0da84336c3ea9230aa0b2a5af0c2794b93b6231f7bb7ab WHIRLPOOL f3a4cf59ac091898aa252e0c2dc33d97999320901460dce7453d11d651db8755380a3ad733eef3b39b99439963bdd1e0a70d1c2e45248873af4af32accc53a06 +AUX dbus-sharp-0.7.0-fix-signals2.patch 978 SHA256 04de01e4a409947e7b4677339106cb2cfdc74ac2d71457d866943058b8461615 SHA512 e25337f5e7db06691401c9d4f6b4da5be226db56f821b139f514be181b30ac4eb44573972df08c31693018f94354e24f5eb7c35b7bc007652471a3981bc24e04 WHIRLPOOL 295150abc859eeb7cbb241267e694940caf051eeab814203047867912b9dd0890cfc053095ef91ce94e25f896510f93cec778a031d10774a7a5c38172dee0467 +DIST dbus-sharp-0.7.0.tar.gz 127651 SHA256 92529aef9063f477d1975947c6388c63d03234018f45d007c07716dd3e21dd41 SHA512 76d9c83aae227476e40efee1e987a03a8b1da29def79657365906a8220d2cceabe433f4b4679a87dd74e77431382b6c2857ca5498b0671b679d5ddd566d0229d WHIRLPOOL 275c0149c40cf65a7967eb86936f077aa0d526c70ce315dbf43057a2c962be0b7e07f5b9d3a69ac30ed88c785e9f0f1f7f105002b1709e202dee52433627158b +DIST dbus-sharp-0.8.1.tar.gz 148177 SHA256 0866c001f2d6e01a6f1b4d080db08d25ba1422e34c7d03020e0e70f3de3a9859 SHA512 da5f6cb9fb653a2303eb99865100cc959b0b27d463dee744459666c3a5851f87e30fcb229da08505be45fcc28f4a44629e707073944b321556478f9c7b5c20d3 WHIRLPOOL 2bebf89950cd8f611775a3115669694db559be75b3b4d2cafcf77b409b26df97e5e685701354dd3b35e4050dcf8be7906c745bd333dfbb196980b157b7535ca3 +EBUILD dbus-sharp-0.7.0-r2.ebuild 648 SHA256 2af93bcfcbd860b3f41290a1ae658258515565e124aa23ed1b9b50d8b5a7a006 SHA512 50cbd4706db4029019a11a23ebf9dfea8cbc8b21cae8678b165ac84e3754f74ea07f4d2fe0b2ec782a237c1c995e39192a37db894984a11f296ef327dcd7f8c8 WHIRLPOOL 0a022631be8bf2d996498487eafe72ce1ec4188f2843fb341d2c2e7f5463224176c43362f52099c714c907b9557e2fff815dfa0055da0fc5f59861f11f598c01 +EBUILD dbus-sharp-0.8.1.ebuild 578 SHA256 82adff2ae07fe9bff8b28893752812357f535572b3d6f8499e70af9a269070a7 SHA512 787afc50836fbe6acc6def378ba51619780d1e1c94b09a995e0dbd182f555a98715bd88c66d35e13bc9c493c9961a4d6a70130545ae6d2d3ebc344d98c515621 WHIRLPOOL faafd727c245a8bb2af492b25279561501fa9bcf95707575e2315c3660f6ee28cbea62368b593ddcdac626e194a44e0635db62713eb2cc4d34bcee82f23983dd +MISC ChangeLog 3893 SHA256 5470473c483c7a6e38ccc0ab1b9987c5d10acea547af618c0d3d0a8cf2bf52d1 SHA512 a15e4582158ee976564fb78c458f525f8329cc885229d7156ea570fa9cd94acc984ea17d3a677ac5571ca02f69c1abbbe582fecc9fb609266044313536c54f53 WHIRLPOOL 3878c8273521af44fb73194cd38bc0641be3ab7c2e707eed87790ee162549f4d49eb14c13fdc85e825bb73673c76fe2ada84f2db511636e4ced642f33bee2692 +MISC ChangeLog-2015 1851 SHA256 889f39fe0bef29ad11b40163883aeea02076694113af5dc239749b28a9dc762d SHA512 5295b5490872caf0e494e94b4fadb211e95c9f785f278c1e9432976795789f7781f1ba693a6f0c5e7928a506e9a9ced2c7bf2e6cb38c3bcfafe82bd293b09920 WHIRLPOOL b7fcfa2409c387c89d28a5bba55396fac88dc5ec9abdeefdae2a804d9307ab3eea21452fb20a49abae84c511f2af662e40ec86817f13c775778920eb16ce19b8 +MISC metadata.xml 345 SHA256 f61de7f69acf606762e1c7ecd8213ae6cb8e66249c4ba4bae79e5731971c1234 SHA512 95f9d22cdd905aa129746117df1e9b17319e95e4b388dcc63758990c5ae6df6e1305974b63fd9917b5218eecc45db6e6ae0696141e8a39adc8c3e8360ca6448f WHIRLPOOL 352ac1e480ac79840bfe81d0e7c61025f6c1b80d5b9952c3ab9a4a9ada8318647d97d69e8eba7c533d8a5806f2028a1475817e892e2ec5d74add747cd26cf9b8 diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild new file mode 100644 index 000000000000..9507e48260dc --- /dev/null +++ b/dev-dotnet/dbus-sharp/dbus-sharp-0.7.0-r2.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools mono-env eutils + +DESCRIPTION="D-Bus for .NET" +HOMEPAGE="https://github.com/mono/dbus-sharp" +SRC_URI="mirror://github/mono/${PN}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="1.0" +KEYWORDS="amd64 ppc x86" +IUSE="" + +RDEPEND="dev-lang/mono + sys-apps/dbus" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + DOCS="AUTHORS README" +} + +src_prepare() { + # Fix signals, bug #387097 + epatch "${FILESDIR}/${P}-fix-signals.patch" + epatch "${FILESDIR}/${P}-fix-signals2.patch" + sed -i -e 's/gmcs/mcs/' configure.ac || die + eautoreconf +} diff --git a/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild b/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild new file mode 100644 index 000000000000..627f525f470d --- /dev/null +++ b/dev-dotnet/dbus-sharp/dbus-sharp-0.8.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit autotools mono-env eutils + +DESCRIPTION="D-Bus for .NET" +HOMEPAGE="https://github.com/mono/dbus-sharp" +SRC_URI="https://github.com/mono/${PN}/releases/download/v${PV}/${P}.tar.gz" + +LICENSE="MIT" +SLOT="2.0" +KEYWORDS="amd64 ~ppc x86" +IUSE="" + +RDEPEND="dev-lang/mono + sys-apps/dbus" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +pkg_setup() { + DOCS="AUTHORS README" + mono-env_pkg_setup +} + +src_prepare() { + sed -i -e 's/gmcs/mcs/' configure.ac || die + eautoreconf +} 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 + diff --git a/dev-dotnet/dbus-sharp/metadata.xml b/dev-dotnet/dbus-sharp/metadata.xml new file mode 100644 index 000000000000..a949fc66c226 --- /dev/null +++ b/dev-dotnet/dbus-sharp/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>dotnet@gentoo.org</email> + <name>Gentoo Dotnet Project</name> + </maintainer> + <upstream> + <remote-id type="github">mono/dbus-sharp</remote-id> + </upstream> +</pkgmetadata> |