Re: LibUnique as blessed dependency
- From: jamie <jamiemcc blueyonder co uk>
- To: Havoc Pennington <hp redhat com>
- Cc: GNOME Desktop Devel <desktop-devel-list gnome org>
- Subject: Re: LibUnique as blessed dependency
- Date: Thu, 12 Jul 2007 21:01:24 +0100
On Thu, 2007-07-12 at 14:07 -0400, Havoc Pennington wrote:
> Is libunique really the right approach? To me, I think there are two
> approaches I would consider:
> 1) a cross-platform API in GTK using Xlib (via X selections) on Linux
> and whatever on Windows, so this is cross platform and no dependencies.
> I guess the cross-platform API in GTK could also use D-Bus if it jumped
> through the right hoops to make it optional or something.
whilst Im not really bothered which is used for uniqueness, I do think
its high time dbus was used in GLIB/GTK anyhow
I would like to see a GtkApplication class that would make this all so
easy (EG with a single/multiple instance property) as well as providing
means to abstracting dbus/dcom introspection on all platforms. Could
also deprecate gnome_program as well.
It seems to me things like GVFS and no doubt a future config system will
require IPC anyhow and we definitely want this stuff in our core
platform libs if we want them to become ubiquitous
And as other have pointed out, Dbus is widely used on embedded systems
so I cant see any reason to hold back on this.
Just my thoughts
] [Thread Prev