[Frugalware-darcs] crazy: dbus-sharp-0.63-1-i686

crazy crazy at frugalware.org
Wed Sep 20 16:45:40 CEST 2006


Darcsweb-Url: http://darcs.frugalware.org/darcsweb/darcsweb.cgi?r=crazy;a=darcs_commitdiff;h=20060920144245-f6986-b536eb81ea904c0b2b1d9650d1db8423a50790fb.gz;

[dbus-sharp-0.63-1-i686
crazy <crazy at frugalware.org>**20060920144245
 * New package
 * NOTE: tarball and patches are from FC6 devel repo 
         this is the only one does build 
] {
move ./dbus-mess/dbus-mono ./dbus-mess/dbus-sharp
addfile ./dbus-mess/dbus-sharp/FrugalBuild
hunk ./dbus-mess/dbus-sharp/FrugalBuild 1
+# Last modified: Wed, 20 Sep 2006 16:38:42 +0200
+# Compiling time: 0.24 SBU
+# Maintainer: crazy <crazy at frugalware.org>
+
+pkgname=dbus-sharp
+pkgver=0.63
+pkgrel=1
+pkgdesc="Mono bindings for D-BUS"
+url="http://www.freedesktop.org/wiki/Software_2fDBusBindings"
+depends=('dbus-glib>=0.71' 'mono')
+groups=('gnome')
+conflicts=('dbus-mono')
+replaces=('dbus-mono')
+provides=('dbus-mono')
+archs=('i686')
+up2date="$pkgver" ## not even released , this tarball is from FC6 devel repo :P
+source=(http://ftp.frugalware.org/pub/other/sources/dbus/$pkgname-$pkgver.tar.gz \
+	dbus-sharp-0.63-nogtk.patch  dbus-sharp-gchandle.patch)
+Finclude mono
+sha1sums=('8bd599ee0e8f05bfae2ef6174ed40faa70de6be4' \
+          'a2aad7ba1955e520fd4ae946cc51f398ba78c36a' \
+          '2e54b78ca82cdca3af491fa74f9b746af1a8ef08')
+
+build()
+{
+	Fcd
+	Fpatchall
+	Fautoreconf
+	Fmonoexport
+	Fmake
+	Fmakeinstall
+	Fmonocleanup
+}
+
+# optimization OK
addfile ./dbus-mess/dbus-sharp/dbus-sharp-0.63-nogtk.patch
hunk ./dbus-mess/dbus-sharp/dbus-sharp-0.63-nogtk.patch 1
+--- dbus-sharp-0.63/mono/Makefile.am.nogtk	2006-08-18 14:55:13.000000000 +0200
++++ dbus-sharp-0.63/mono/Makefile.am	2006-08-18 14:55:21.000000000 +0200
+@@ -1,4 +1,4 @@
+-SUBDIRS=. doc example
++SUBDIRS=. doc 
+ 
+ TARGET=$(ASSEMBLY)
+ NOINST_EXES=test-dbus-sharp.exe
addfile ./dbus-mess/dbus-sharp/dbus-sharp-gchandle.patch
hunk ./dbus-mess/dbus-sharp/dbus-sharp-gchandle.patch 1
+--- dbus-sharp-0.63/mono/Connection.cs.gchandle	2006-08-30 15:14:28.000000000 +0200
++++ dbus-sharp-0.63/mono/Connection.cs	2006-08-30 15:17:01.000000000 +0200
+@@ -116,7 +116,7 @@
+ 	// Maybe we already have a Connection object associated with
+ 	// this rawConnection then return it
+ 	IntPtr rawThis = dbus_connection_get_data (rawConnection, slot);
+-	if (rawThis != IntPtr.Zero && ((GCHandle)rawThis).Target == typeof(DBus.Connection)) {
++	if (rawThis != IntPtr.Zero && (((GCHandle)rawThis).Target != null)) {
+ 	  return (DBus.Connection) ((GCHandle)rawThis).Target;
+ 	}
+       }
+--- dbus-sharp-0.63/mono/Message.cs.gchandle	2006-08-30 15:14:20.000000000 +0200
++++ dbus-sharp-0.63/mono/Message.cs	2006-08-30 15:16:45.000000000 +0200
+@@ -110,7 +110,7 @@
+       if (slot > -1) {
+ 	// If we already have a Message object associated with this rawMessage then return it
+ 	IntPtr rawThis = dbus_message_get_data(rawMessage, slot);
+-	if (rawThis != IntPtr.Zero && ((GCHandle)rawThis).Target == typeof(DBus.Message))
++	if (rawThis != IntPtr.Zero && (((GCHandle)rawThis).Target != null))
+ 	  return (DBus.Message) ((GCHandle)rawThis).Target;
+       } 
+       // If it doesn't exist then create a new Message around it
}


More information about the Frugalware-darcs mailing list