[squeak-dev] DBus bindings

Bert Freudenberg bert at freudenbergs.de
Thu Feb 24 18:14:59 UTC 2011


On 24.02.2011, at 09:57, Gary Dunn wrote:

> On Wed, Feb 23, 2011 at 1:33 PM, Bert Freudenberg <bert at freudenbergs.de> wrote:
>> On 23.02.2011, at 11:04, Gary Dunn wrote:
>> 
>>> Someone told me Gnome's
>>> library just traps DBus signals, so I looked into DBus and read that I
>>> should use one of the higher level bindings. And what did I find on the
>>> bindings page (www.freedesktop.org)? Bindings for Squeak by Bert
>>> Freudenberg!
>>> 
>>> Can someone give me a 1-2-3 on how to incorporate the six mcz files on
>>> SqueakSource into a 4.2 image? I am a Monticello newbie. Anyone using
>>> them care to share their insights and experiences?
>> 
>> I have not tried this in a 4.x image, but in general you need to load DBus-Core first,
>> then DBus-Objects. Those are the two you would need "in production". And of course
>> the DBusPlugin in your VM directory.
> 
> [snip]
> 
> I figured out how to load the mcz files with Monticello but
> 
> 1. What constitutes the DBusPlugin? There is a DBus-Plugin-bf.32.mcz
> but I don't think that goes in my VM directory. I can unpack the
> archive but I don't know what to do with the individual files.

The DBus-Plugin package is the source code for the plugin. You only need that if you want to recompile the plugin. As I wrote, you just need to load DBus-Core and DBus-Objects.

> 2. Which directory is my VM directory? I am on FreeBSD. Looks like
> /usr/local/lib/squeak/3.11.3-2135/. I see a likely looking suspect in
> the listing, so I guess I already have that plugin?

Yes, you're set.

> 3. When I load DBus-Plugin-bf.32.mcz I get a dependency warning about
> SmartSyntaxInterpreterPlugin, followed by a long list of things that
> depend on it.

You do not need to load this. If you wanted to, you would need to load VMMaker first.

- Bert -





More information about the Squeak-dev mailing list