Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159793 - New package: ndesk-dbus: C# implementation of DBus
Summary: New package: ndesk-dbus: C# implementation of DBus
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Project Gentopia
URL: http://www.ndesk.org/DBusSharp
Whiteboard:
Keywords: EBUILD
Depends on:
Blocks: 159794
  Show dependency tree
 
Reported: 2007-01-02 17:25 UTC by Ed Catmur
Modified: 2008-02-18 20:30 UTC (History)
8 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
dbus-sharp-0.3.ebuild (dbus-sharp-0.3.ebuild,1.08 KB, text/plain)
2007-01-02 17:30 UTC, Ed Catmur
Details
files/dbus-sharp.pc (dbus-sharp.pc,168 bytes, text/plain)
2007-01-02 17:31 UTC, Ed Catmur
Details
ndesk-dbus-0.5.2.ebuild (ndesk-dbus-0.5.2.ebuild,1.32 KB, text/plain)
2007-06-03 21:41 UTC, Santiago M. Mola (RETIRED)
Details
ndesk-dbus-0.5.2.ebuild (ndesk-dbus-0.5.2.ebuild,1.33 KB, text/plain)
2007-06-03 21:46 UTC, Santiago M. Mola (RETIRED)
Details
ndesk-dbus-0.6.0.ebuild (ndesk-dbus-0.6.0.ebuild,589 bytes, text/plain)
2007-10-19 15:21 UTC, Nicolas Cortot
Details
ndesk-dbus-glib-0.4.1.ebuild (ndesk-dbus-glib-0.4.1.ebuild,633 bytes, text/plain)
2007-10-19 15:21 UTC, Nicolas Cortot
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Catmur 2007-01-02 17:25:19 UTC
C# bindings to dbus.  Probably not ready yet.
Comment 1 Ed Catmur 2007-01-02 17:30:31 UTC
Created attachment 105255 [details]
dbus-sharp-0.3.ebuild
Comment 2 Ed Catmur 2007-01-02 17:31:29 UTC
Created attachment 105256 [details]
files/dbus-sharp.pc
Comment 3 Steev Klimaszewski (RETIRED) gentoo-dev 2007-01-04 06:18:25 UTC
Is .3 meant to be installed in gac?  If not, then no, its not a dropin replacement yet (as far as I know, old software that used dbus-sharp needs to be updated regardless)
Comment 4 Ed Catmur 2007-01-04 08:14:06 UTC
(In reply to comment #3)
> Is .3 meant to be installed in gac?  If not, then no, its not a dropin
> replacement yet (as far as I know, old software that used dbus-sharp needs to
> be updated regardless)

No, not yet.  I had the idea that it should be possible to get working anyway (through pkgconfig hackery, mostly), but that didn't work out all that well.

Comment 5 Doug Goldstein (RETIRED) gentoo-dev 2007-01-04 15:55:41 UTC
I also wrote an ebuild. It's not meant for GAC. It's meant for applications to integrate on their own. i.e. Banshee has done this.

Also this package is no where near a drop-in replacement. Totally different API that behaves totally diff. The old bindings wrapped the C library. These are totally written from scratch in C# with a diff API.

0.5 is the targeted release for GAC
Comment 6 Doug Goldstein (RETIRED) gentoo-dev 2007-01-20 03:47:52 UTC
As I previously stated. Once there's a release meant for GAC, feel free to re-open.
Comment 7 Santiago M. Mola (RETIRED) gentoo-dev 2007-06-03 20:52:39 UTC
Please reopen.

Both 0.4.* and 0.5.* series are ready for GAC. Upstream ask distros to package only stable releases (that is, 0.4.* series) and packages should be named ndesk-dbus and ndesk-dbus-glib.
Comment 8 Santiago M. Mola (RETIRED) gentoo-dev 2007-06-03 21:41:39 UTC
Created attachment 121074 [details]
ndesk-dbus-0.5.2.ebuild

Ebuild for 0.4 and 0.5 (I wrote it for 0.5.2 but I realized it works on the other releases without problems) based on Ed Catmur's one.
Comment 9 Santiago M. Mola (RETIRED) gentoo-dev 2007-06-03 21:46:46 UTC
Created attachment 121078 [details]
ndesk-dbus-0.5.2.ebuild

Forgot to inherit multilib.
Comment 10 Santiago M. Mola (RETIRED) gentoo-dev 2007-06-27 00:38:22 UTC
It uses gac now, reopening.
Comment 11 Doug Goldstein (RETIRED) gentoo-dev 2007-07-02 14:37:15 UTC
coldwind: you want to maintain it? compnerd was suppose to take care of it but has been MIA.
Comment 12 Santiago M. Mola (RETIRED) gentoo-dev 2007-07-02 14:52:12 UTC
(In reply to comment #11)
> coldwind: you want to maintain it? compnerd was suppose to take care of it but
> has been MIA.

Actually, I don't want to maintain it unless I get some success with landell ebuilds, which is the only reason to being iterested in this package.

Do you know more packages which can take advantage of ndesk-dbus? I may reconsider maintaining it if I find some use.
Comment 13 Luis Medinas (RETIRED) gentoo-dev 2007-07-16 03:09:44 UTC
yes actually muine, banshee and tomboy will take advantage of this package they could be build with the built in ndesk-dbus and with this (external).
Comment 14 Steev Klimaszewski (RETIRED) gentoo-dev 2007-07-16 12:55:19 UTC
Do they actually take advantage of it if its externally built, or do they still use/build their own source/build versions?
Comment 15 Doug Goldstein (RETIRED) gentoo-dev 2007-07-16 13:34:30 UTC
I know banshee still bundles it's own and builds it's own. As far as muine, it would probably be good to ask latexer since well, he's the author of that package.
Comment 16 Luis Medinas (RETIRED) gentoo-dev 2007-08-01 02:59:51 UTC
banshee and muine can use external dbus and the internal dbus the only thing that changes is that usually external dbus gets updated more often. Of course new packages can depend of this external dbus.
Comment 17 dario 2007-08-27 10:12:00 UTC
I'm not an expert, I'm just trying to use f-spot that (probably since version 0.4) need ndesk-dbus-glib.
I get this trace at startup:

dario@giquattro ~ $ f-spot
Stacktrace:

  at (wrapper managed-to-native) NDesk.GLib.IO.g_io_add_watch (NDesk.GLib.IOChannel,NDesk.GLib.IOCondition,NDesk.GLib.IOFunc,intptr) <0xffffffff>
  at (wrapper managed-to-native) NDesk.GLib.IO.g_io_add_watch (NDesk.GLib.IOChannel,NDesk.GLib.IOCondition,NDesk.GLib.IOFunc,intptr) <0x000a4>
  at NDesk.GLib.IO.AddWatch (NDesk.GLib.IOChannel,NDesk.GLib.IOCondition,NDesk.GLib.IOFunc) <0x00064>
  at NDesk.DBus.BusG.Init (NDesk.DBus.Connection,NDesk.GLib.IOFunc) <0x00080>
  at NDesk.DBus.BusG.Init (NDesk.DBus.Connection) <0x000cc>
  at NDesk.DBus.BusG.Init () <0x00044>
  at FSpot.Driver.Main (string[]) <0x0039c>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0x00080>

Native stacktrace:

        f-spot [0x1012b11c]
        f-spot [0x100f56c0]
        [0x100380]
        [(nil)]
        /usr/lib/libglib-2.0.so.0(g_io_add_watch_full+0x54) [0xff14538]
        [0x311b29dc]
        [0x311b2858]
        [0x311b253c]
        [0x311b23c8]
        [0x3110bf50]
        [0x30b7c8b0]
        [0x30b7a0dc]
        f-spot [0x10115720]
        f-spot(mono_runtime_invoke+0x1c) [0x100929a8]
        f-spot(mono_runtime_exec_main+0x74) [0x1009a0c0]
        f-spot(mono_runtime_run_main+0x188) [0x1009a3a0]
        f-spot(mono_jit_exec+0xa0) [0x1000ef50]
        f-spot(mono_main+0xff4) [0x1000ff80]
        f-spot [0x1000e980]
        /lib/libc.so.6 [0xfc7cd3c]
        /lib/libc.so.6 [0xfc7cf60]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0x0fd30198 in select () from /lib/libc.so.6


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================

Abortito


On irc people suggested me to look at the patch in http://bugzilla.gnome.org/show_bug.cgi?id=458078 but I don't know where to apply it. I guess it should apply to the ebuild in this bug report.

Please, give me some hints.

Bye, Dario
Comment 18 dario 2007-08-28 07:56:31 UTC
I solved my problem.
I was not able to link esternal ndesk library (those of this bug report) to f-spot ; f-spot instead used the same ndesk code integrated in its package. I applied the patch I linked before in dbus-sharp-glib/GLib.IO.cs of f-spot source and it worked.

So, even if I didn't test it directly, I guess this patch should be necessary for ndesk-dbus ebuild on ppc.
Comment 19 Nicolas Cortot 2007-10-19 15:21:27 UTC
Created attachment 133900 [details]
ndesk-dbus-0.6.0.ebuild
Comment 20 Nicolas Cortot 2007-10-19 15:21:56 UTC
Created attachment 133902 [details]
ndesk-dbus-glib-0.4.1.ebuild
Comment 21 Arun Raghavan (RETIRED) gentoo-dev 2007-11-25 05:12:52 UTC
Both ebuilds install fine here. I'd be happy to help maintain this.
Comment 22 Samuli Suominen (RETIRED) gentoo-dev 2007-11-29 19:21:10 UTC
Just For The Record, 

media-sound/muine could be using this but it's using a internal copy now instead. It should be "fixed" when this is in tree.
Comment 23 Saleem Abdulrasool (RETIRED) gentoo-dev 2007-12-30 03:26:38 UTC
I had completely forgotten about pushing this into the tree (its been in my overlay forever).
Comment 24 Jose daLuz 2008-02-10 17:29:54 UTC
(In reply to comment #23)
> I had completely forgotten about pushing this into the tree (its been in my
> overlay forever).
> 
ndesk-dbus and ndesk-dbus-glib are still not in the tree. I've been using them (in  my own overlay) with beagle 0.3.3 with no problems.
Comment 25 Saleem Abdulrasool (RETIRED) gentoo-dev 2008-02-18 20:30:18 UTC
Yes they are.  Look for dbus-sharp and dbus-glib-sharp